'numberofadmins',
'defaultsort',
'pagesincategory',
- 'index',
- 'noindex',
);
/* Array of caching hints for ParserCache */
'noeditsection',
'newsectionlink',
'hiddencat',
- 'index',
- 'noindex',
);
wfDebug( __METHOD__.": [[MediaWiki:hidden-category-category]] is not a valid title!\n" );
}
}
- # (bug 8068) Allow control over whether robots index a page. FIXME:
- # __INDEX__ always overrides __NOINDEX__ here! This is not desirable,
- # the last one on the page should win.
- if( isset( $this->mDoubleUnderscores['noindex'] ) ) {
- $this->mOutput->setIndexPolicy( 'noindex' );
- } elseif( isset( $this->mDoubleUnderscores['index'] ) ) {
- $this->mOutput->setIndexPolicy( 'index' );
- }
-
return $text;
}
$mOutputHooks, # Hook tags as per $wgParserOutputHooks
$mWarnings, # Warning text to be returned to the user. Wikitext formatted, in the key only
$mSections, # Table of contents
- $mProperties, # Name/value pairs to be cached in the DB
- $mIndexPolicy; # 'index' or 'noindex'? Default is null
+ $mProperties; # Name/value pairs to be cached in the DB
/**
* Overridden title for display
$this->mOutputHooks = array();
$this->mWarnings = array();
$this->mProperties = array();
- $this->mIndexPolicy = null;
}
function getText() { return $this->mText; }
'hiddencat' => array( 1, '__HIDDENCAT__' ),
'pagesincategory' => array( 1, 'PAGESINCATEGORY', 'PAGESINCAT' ),
'pagesize' => array( 1, 'PAGESIZE' ),
- 'index' => array( 1, '__INDEX__' ),
- 'noindex' => array( 1, '__NOINDEX__' ),
);
/**