Catrope has uploaded a new change for review. https://gerrit.wikimedia.org/r/205194
Change subject: Export wgRevisionId to JS on edit pages too ...................................................................... Export wgRevisionId to JS on edit pages too Was already set on read pages, but not on edit pages. Change-Id: I7fbec7eb94105170f1d5171df44bedf45894cfe8 --- M includes/EditPage.php 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/94/205194/1 diff --git a/includes/EditPage.php b/includes/EditPage.php index 8d27eac..3f257f9 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -482,6 +482,7 @@ } $this->importFormData( $wgRequest ); + $wgOut->setRevisionId( $this->oldid ?: $this->mArticle->getRevIdFetched() ); $this->firsttime = false; if ( wfReadOnly() && $this->save ) { -- To view, visit https://gerrit.wikimedia.org/r/205194 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7fbec7eb94105170f1d5171df44bedf45894cfe8 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Catrope <roan.katt...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits