diff --git a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js index 8189479cf5..920c46eed0 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.DesktopArticleTarget.js @@ -1544,7 +1544,7 @@ ve.init.mw.DesktopArticleTarget.prototype.switchToFallbackWikitextEditor = funct section: target.section, veswitched: 1 } ); - if ( oldId ) { + if ( oldId && oldId !== mw.config.get( 'wgCurRevisionId' ) ) { uri.extend( { oldid: oldId } ); } location.href = uri.toString();