From: Tim Starling Date: Sat, 17 Jan 2004 15:12:33 +0000 (+0000) Subject: setArticleRelated required in more places than I realised at first X-Git-Tag: 1.3.0beta1~1152 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22statistiques_visites%22%2C%22%22%29%20.%20%22?a=commitdiff_plain;h=85e6528f38c2b616bc9b93e65f4d246ac7f82fac;p=lhc%2Fweb%2Fwiklou.git setArticleRelated required in more places than I realised at first --- 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" );