[MediaWiki-commits] [Gerrit] Replace call to old wfMsgForContent function - change (mediawiki...ProofreadPage)
jenkins-bot has submitted this change and it was merged. Change subject: Replace call to old wfMsgForContent function .. Replace call to old wfMsgForContent function This was deprecated in MW 1.18. Change-Id: I016bcd2a30e8af82d0dd06b440439d8b942b7ee2 --- M SpecialPagesWithoutScans.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Tpt: Looks good to me, approved jenkins-bot: Verified diff --git a/SpecialPagesWithoutScans.php b/SpecialPagesWithoutScans.php index a1a42b9..7f713c3 100644 --- a/SpecialPagesWithoutScans.php +++ b/SpecialPagesWithoutScans.php @@ -43,7 +43,7 @@ * @return mixed */ function disambiguation_templates( $dbr ) { - $dMsgText = wfMsgForContent('proofreadpage-disambiguationspage'); + $dMsgText = wfMessage( 'proofreadpage-disambiguationspage' )->inContentLanguage()->text(); $linkBatch = new LinkBatch; -- To view, visit https://gerrit.wikimedia.org/r/247097 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I016bcd2a30e8af82d0dd06b440439d8b942b7ee2 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ProofreadPage Gerrit-Branch: master Gerrit-Owner: Alex Monk Gerrit-Reviewer: Tpt Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Replace call to old wfMsgForContent function - change (mediawiki...ProofreadPage)
Alex Monk has uploaded a new change for review. https://gerrit.wikimedia.org/r/247097 Change subject: Replace call to old wfMsgForContent function .. Replace call to old wfMsgForContent function This was deprecated in MW 1.18. Change-Id: I016bcd2a30e8af82d0dd06b440439d8b942b7ee2 --- M SpecialPagesWithoutScans.php 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ProofreadPage refs/changes/97/247097/1 diff --git a/SpecialPagesWithoutScans.php b/SpecialPagesWithoutScans.php index a1a42b9..7f713c3 100644 --- a/SpecialPagesWithoutScans.php +++ b/SpecialPagesWithoutScans.php @@ -43,7 +43,7 @@ * @return mixed */ function disambiguation_templates( $dbr ) { - $dMsgText = wfMsgForContent('proofreadpage-disambiguationspage'); + $dMsgText = wfMessage( 'proofreadpage-disambiguationspage' )->inContentLanguage()->text(); $linkBatch = new LinkBatch; -- To view, visit https://gerrit.wikimedia.org/r/247097 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I016bcd2a30e8af82d0dd06b440439d8b942b7ee2 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/ProofreadPage Gerrit-Branch: master Gerrit-Owner: Alex Monk ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits