Tweaks for the new rateLimited(): remove @todo i18n, allow robot follow (if it sees...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 20 Nov 2007 17:32:43 +0000 (17:32 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Tue, 20 Nov 2007 17:32:43 +0000 (17:32 +0000)
includes/OutputPage.php

index db91c14..fcd3a8d 100644 (file)
@@ -1333,13 +1333,12 @@ class OutputPage {
        /**
         * Turn off regular page output and return an error reponse
         * for when rate limiting has triggered.
-        * @todo i18n
         */
        public function rateLimited() {
                global $wgOut;
 
                $this->setPageTitle(wfMsg('actionthrottled'));
-               $this->setRobotPolicy( 'noindex,nofollow' );
+               $this->setRobotPolicy( 'noindex,follow' );
                $this->setArticleRelated( false );
                $this->enableClientCache( false );
                $this->mRedirect = '';