diff --git a/ApiVisualEditor.php b/ApiVisualEditor.php index d332825bb1..9b07384f72 100644 --- a/ApiVisualEditor.php +++ b/ApiVisualEditor.php @@ -164,9 +164,6 @@ class ApiVisualEditor extends ApiBase { if ( $parserParams['oldid'] ) { $path .= '/' . $parserParams['oldid']; } - if ( !is_string( $etag ) || $etag === '' ) { - wfDebugLog( 'AdHocDebug', 'VisualEditor T135171 - bad etag: ' . var_export( $etag, true ) ); - } return $this->requestRestbase( 'POST', $path, diff --git a/modules/ve-mw/init/ve.init.mw.ArticleTargetLoader.js b/modules/ve-mw/init/ve.init.mw.ArticleTargetLoader.js index 4640340bfc..d1cb39ceca 100644 --- a/modules/ve-mw/init/ve.init.mw.ArticleTargetLoader.js +++ b/modules/ve-mw/init/ve.init.mw.ArticleTargetLoader.js @@ -196,9 +196,6 @@ duration: ve.now() - start, targetName: targetName } ); - mw.track( 'event.VET135171', { - msg: 'getResponseHeader: ' + jqxhr.getResponseHeader( 'etag' ) - } ); return [ data, jqxhr.getResponseHeader( 'etag' ) ]; }, function ( response ) {