diff --git a/modules/controller.js b/modules/controller.js index cd4b07c7e..a0b70cc33 100644 --- a/modules/controller.js +++ b/modules/controller.js @@ -260,7 +260,7 @@ function init( $container, state ) { // TODO: Isn't this too early to load it? We will only need it if the user tries replying... getPageData( mw.config.get( 'wgRelevantPageName' ), - mw.config.get( 'wgRevisionId' ) + mw.config.get( 'wgCurRevisionId' ) ); } diff --git a/modules/dt.ui.ReplyWidget.js b/modules/dt.ui.ReplyWidget.js index 6fe673489..80b40d649 100644 --- a/modules/dt.ui.ReplyWidget.js +++ b/modules/dt.ui.ReplyWidget.js @@ -236,7 +236,7 @@ ReplyWidget.prototype.onBeforeUnload = function ( e ) { ReplyWidget.prototype.getParsoidCommentData = function () { return controller.getParsoidCommentData( mw.config.get( 'wgRelevantPageName' ), - mw.config.get( 'wgRevisionId' ), + mw.config.get( 'wgCurRevisionId' ), this.comment.id ); };