Tweaks for the new rateLimited(): remove @todo i18n, allow robot follow (if it sees any worthwhile links, why not?)
This commit is contained in:
parent
a83bc69965
commit
fff54fb0c2
1 changed files with 1 additions and 2 deletions
|
|
@ -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 = '';
|
||||
|
|
|
|||
Loading…
Reference in a new issue