Chad has uploaded a new change for review. https://gerrit.wikimedia.org/r/308878
Change subject: Provide message a title context where we know it ...................................................................... Provide message a title context where we know it Change-Id: I746f7b6ceb2c231c7e5eb40543bfd22ad58eea21 --- M includes/page/EditPagePage.php M includes/page/PageContent.php 2 files changed, 3 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ProofreadPage refs/changes/78/308878/1 diff --git a/includes/page/EditPagePage.php b/includes/page/EditPagePage.php index 6c9a169..5d4f422 100644 --- a/includes/page/EditPagePage.php +++ b/includes/page/EditPagePage.php @@ -181,7 +181,7 @@ $html . Html::closeElement( 'span' ) . Html::OpenElement( 'label', [ 'for' => 'wpQuality-container' ] ) . - wfMessage( 'proofreadpage_page_status' )->parse() . + wfMessage( 'proofreadpage_page_status' )->title( $this->getTitle() )->parse() . Html::closeElement( 'label' ); } diff --git a/includes/page/PageContent.php b/includes/page/PageContent.php index 5417b22..346371c 100644 --- a/includes/page/PageContent.php +++ b/includes/page/PageContent.php @@ -240,7 +240,8 @@ // html container $html = Html::openElement( 'div', [ 'class' => 'prp-page-qualityheader quality' . $this->level->getLevel() ] ) . - wfMessage( 'proofreadpage_quality' . $this->level->getLevel() . '_message' )->inContentLanguage()->parse() . + wfMessage( 'proofreadpage_quality' . $this->level->getLevel() . '_message' ) + ->title( $title )->inContentLanguage()->parse() . Html::closeElement( 'div' ) . Html::openElement( 'div', [ 'class' => 'pagetext' ] ) . $parserOutput->getText() . -- To view, visit https://gerrit.wikimedia.org/r/308878 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I746f7b6ceb2c231c7e5eb40543bfd22ad58eea21 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ProofreadPage Gerrit-Branch: master Gerrit-Owner: Chad <ch...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits