Tweaks for the new rateLimited(): remove @todo i18n, allow robot follow (if it sees any worthwhile links, why not?)

This commit is contained in:
Aryeh Gregor 2007-11-20 17:32:43 +00:00
parent a83bc69965
commit fff54fb0c2

View 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 = '';