mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ConfirmEdit
synced 2024-11-23 15:56:50 +00:00
Use OutputPage::setPageTitleMsg() instead of ::setPageTitle()
Bug: T343994 Change-Id: I706a44af75c85bb8d1e4dd6b8e813e436fd8943b
This commit is contained in:
parent
26a4cafe14
commit
1349c099c6
|
@ -109,7 +109,7 @@ class QuestyCaptcha extends SimpleCaptcha {
|
|||
public function showHelp() {
|
||||
$context = RequestContext::getMain();
|
||||
$out = $context->getOutput();
|
||||
$out->setPageTitle( $context->msg( 'captchahelp-title' ) );
|
||||
$out->setPageTitleMsg( $context->msg( 'captchahelp-title' ) );
|
||||
$out->addWikiMsg( 'questycaptchahelp-text' );
|
||||
if ( CaptchaStore::get()->cookiesNeeded() ) {
|
||||
$out->addWikiMsg( 'captchahelp-cookies-needed' );
|
||||
|
|
|
@ -1111,7 +1111,7 @@ class SimpleCaptcha {
|
|||
public function showHelp() {
|
||||
$context = RequestContext::getMain();
|
||||
$out = $context->getOutput();
|
||||
$out->setPageTitle( $context->msg( 'captchahelp-title' ) );
|
||||
$out->setPageTitleMsg( $context->msg( 'captchahelp-title' ) );
|
||||
$out->addWikiMsg( 'captchahelp-text' );
|
||||
if ( CaptchaStore::get()->cookiesNeeded() ) {
|
||||
$out->addWikiMsg( 'captchahelp-cookies-needed' );
|
||||
|
|
Loading…
Reference in a new issue