diff --git a/QuestyCaptcha/includes/QuestyCaptcha.php b/QuestyCaptcha/includes/QuestyCaptcha.php index 9fcb2ca2c..39177a503 100644 --- a/QuestyCaptcha/includes/QuestyCaptcha.php +++ b/QuestyCaptcha/includes/QuestyCaptcha.php @@ -109,7 +109,7 @@ class QuestyCaptcha extends SimpleCaptcha { public function showHelp() { $context = RequestContext::getMain(); $out = $context->getOutput(); - $out->setPageTitle( $context->msg( 'captchahelp-title' )->text() ); + $out->setPageTitle( $context->msg( 'captchahelp-title' ) ); $out->addWikiMsg( 'questycaptchahelp-text' ); if ( CaptchaStore::get()->cookiesNeeded() ) { $out->addWikiMsg( 'captchahelp-cookies-needed' ); diff --git a/SimpleCaptcha/SimpleCaptcha.php b/SimpleCaptcha/SimpleCaptcha.php index e3165ef34..ba8a23637 100644 --- a/SimpleCaptcha/SimpleCaptcha.php +++ b/SimpleCaptcha/SimpleCaptcha.php @@ -1207,7 +1207,7 @@ class SimpleCaptcha { public function showHelp() { $context = RequestContext::getMain(); $out = $context->getOutput(); - $out->setPageTitle( $context->msg( 'captchahelp-title' )->text() ); + $out->setPageTitle( $context->msg( 'captchahelp-title' ) ); $out->addWikiMsg( 'captchahelp-text' ); if ( CaptchaStore::get()->cookiesNeeded() ) { $out->addWikiMsg( 'captchahelp-cookies-needed' );