mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +00:00
Merge "Visual diffs: Use new wgDiffOldId/wgDiffNewId"
This commit is contained in:
commit
8baf524006
|
@ -36,8 +36,8 @@
|
|||
var oldRevPromise, newRevPromise, modulePromise, progress,
|
||||
$revSlider = $( '.mw-revslider-container' ),
|
||||
$wikitextDiff = $( 'table.diff[data-mw="interface"]' ),
|
||||
oldId = +( new mw.Uri() ).query.oldid,
|
||||
newId = mw.config.get( 'wgRevisionId' );
|
||||
oldId = mw.config.get( 'wgDiffOldId' ),
|
||||
newId = mw.config.get( 'wgDiffNewId' );
|
||||
|
||||
mode = item.getData();
|
||||
|
||||
|
|
Loading…
Reference in a new issue