Merge "When launched from an old revision, reply to latest revision"

This commit is contained in:
jenkins-bot 2020-02-24 16:23:21 +00:00 committed by Gerrit Code Review
commit 37bf81bf37
2 changed files with 2 additions and 2 deletions

View file

@ -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' )
);
}

View file

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