diff --git a/modules/ve-mw/init/ve.init.mw.DiffPage.init.js b/modules/ve-mw/init/ve.init.mw.DiffPage.init.js index 90a307d8e5..8ec60eb0e1 100644 --- a/modules/ve-mw/init/ve.init.mw.DiffPage.init.js +++ b/modules/ve-mw/init/ve.init.mw.DiffPage.init.js @@ -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();