Merge "Visual diffs: Use new wgDiffOldId/wgDiffNewId"

This commit is contained in:
jenkins-bot 2017-07-18 15:40:28 +00:00 committed by Gerrit Code Review
commit 8baf524006

View file

@ -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();