mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 06:24:08 +00:00
Apparently this is now fixed, so no need to keep this. Bug: T135171 Change-Id: Ie5c0f9140c6de4bb73770276011adce23fa69f9e
This commit is contained in:
parent
166588c726
commit
1993c51a49
|
@ -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,
|
||||
|
|
|
@ -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 ) {
|
||||
|
|
Loading…
Reference in a new issue