From 85e6528f38c2b616bc9b93e65f4d246ac7f82fac Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sat, 17 Jan 2004 15:12:33 +0000 Subject: [PATCH] setArticleRelated required in more places than I realised at first --- includes/GlobalFunctions.php | 2 +- includes/SearchEngine.php | 2 +- includes/SpecialPreferences.php | 2 +- includes/SpecialUserlogin.php | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index e945a31c35..b0a0fd1650 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -335,7 +335,7 @@ function wfSpecialPage() $sysopSP = $wgLang->getSysopSpecialPages(); $devSP = $wgLang->getDeveloperSpecialPages(); - $wgOut->setArticleFlag( false ); + $wgOut->setArticleRelated( false ); $wgOut->setRobotpolicy( "noindex,follow" ); $par = NULL; diff --git a/includes/SearchEngine.php b/includes/SearchEngine.php index 35a4be12f6..95dd539cbd 100644 --- a/includes/SearchEngine.php +++ b/includes/SearchEngine.php @@ -154,7 +154,7 @@ class SearchEngine { $wgOut->setPageTitle( wfMsg( "searchresults" ) ); $q = wfMsg( "searchquery", htmlspecialchars( $this->mUsertext ) ); $wgOut->setSubtitle( $q ); - $wgOut->setArticleFlag( false ); + $wgOut->setArticleRelated( false ); $wgOut->setRobotpolicy( "noindex,nofollow" ); $sk = $wgUser->getSkin(); diff --git a/includes/SpecialPreferences.php b/includes/SpecialPreferences.php index 6c0c396d84..da71418778 100644 --- a/includes/SpecialPreferences.php +++ b/includes/SpecialPreferences.php @@ -198,7 +198,7 @@ function wfSpecialPreferences() global $wpSearchLines, $wpSearchChars, $wpStubs, $wgValidSkinNames; $wgOut->setPageTitle( wfMsg( "preferences" ) ); - $wgOut->setArticleFlag( false ); + $wgOut->setArticleRelated( false ); $wgOut->setRobotpolicy( "noindex,nofollow" ); if ( "" != $err ) { diff --git a/includes/SpecialUserlogin.php b/includes/SpecialUserlogin.php index 7daa17ca7c..0927e30624 100644 --- a/includes/SpecialUserlogin.php +++ b/includes/SpecialUserlogin.php @@ -54,7 +54,7 @@ function wfSpecialUserlogin() $wgOut->setPageTitle( wfMsg( "accmailtitle" ) ); $wgOut->setRobotpolicy( "noindex,nofollow" ); - $wgOut->setArticleFlag( false ); + $wgOut->setArticleRelated( false ); $wgOut->addWikiText( wfMsg( "accmailtext", $u->getName(), $u->getEmail() ) ); $wgOut->returnToMain( false ); @@ -250,7 +250,7 @@ function wfSpecialUserlogin() $wgOut->setPageTitle( wfMsg( "loginsuccesstitle" ) ); $wgOut->setRobotpolicy( "noindex,nofollow" ); - $wgOut->setArticleFlag( false ); + $wgOut->setArticleRelated( false ); $wgOut->addHTML( $msg . "\n

" ); $wgOut->returnToMain(); } @@ -261,7 +261,7 @@ function userNotPrivilegedMessage() $wgOut->setPageTitle( wfMsg( "whitelistacctitle" ) ); $wgOut->setRobotpolicy( "noindex,nofollow" ); - $wgOut->setArticleFlag( false ); + $wgOut->setArticleRelated( false ); $wgOut->addWikiText( wfMsg( "whitelistacctext" ) ); @@ -299,7 +299,7 @@ function userNotPrivilegedMessage() $wgOut->setPageTitle( wfMsg( "userlogin" ) ); $wgOut->setRobotpolicy( "noindex,nofollow" ); - $wgOut->setArticleFlag( false ); + $wgOut->setArticleRelated( false ); if ( "" == $err ) { $lp = wfMsg( "loginprompt" ); -- 2.20.1