mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 03:08:42 +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'] ) {
|
if ( $parserParams['oldid'] ) {
|
||||||
$path .= '/' . $parserParams['oldid'];
|
$path .= '/' . $parserParams['oldid'];
|
||||||
}
|
}
|
||||||
if ( !is_string( $etag ) || $etag === '' ) {
|
|
||||||
wfDebugLog( 'AdHocDebug', 'VisualEditor T135171 - bad etag: ' . var_export( $etag, true ) );
|
|
||||||
}
|
|
||||||
return $this->requestRestbase(
|
return $this->requestRestbase(
|
||||||
'POST',
|
'POST',
|
||||||
$path,
|
$path,
|
||||||
|
|
|
@ -196,9 +196,6 @@
|
||||||
duration: ve.now() - start,
|
duration: ve.now() - start,
|
||||||
targetName: targetName
|
targetName: targetName
|
||||||
} );
|
} );
|
||||||
mw.track( 'event.VET135171', {
|
|
||||||
msg: 'getResponseHeader: ' + jqxhr.getResponseHeader( 'etag' )
|
|
||||||
} );
|
|
||||||
return [ data, jqxhr.getResponseHeader( 'etag' ) ];
|
return [ data, jqxhr.getResponseHeader( 'etag' ) ];
|
||||||
},
|
},
|
||||||
function ( response ) {
|
function ( response ) {
|
||||||
|
|
Loading…
Reference in a new issue