mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-27 17:51:09 +00:00
Merge "When launched from an old revision, reply to latest revision"
This commit is contained in:
commit
37bf81bf37
|
@ -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' )
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue