// Use robot policy logic
$policy = $this->page->getRobotPolicy( 'view', $pOutput );
- // @todo FIXME: Hard coded English text.
$table = $this->addRow( $table,
- $this->msg( 'pageinfo-robot-policy' )->escaped(), "Marked as '" . $policy['index'] . "'"
+ $this->msg( 'pageinfo-robot-policy' )->escaped(),
+ $this->msg( "pageinfo-robot-${policy['index']}" )->escaped()
);
if ( !$wgDisableCounters ) {
'pageinfo-length' => 'Page length (in bytes)',
'pageinfo-article-id' => 'Page ID',
'pageinfo-robot-policy' => 'Search engine status',
+'pageinfo-robot-index' => 'Indexable',
+'pageinfo-robot-noindex' => 'Not indexable',
'pageinfo-views' => 'Number of views',
'pageinfo-watchers' => 'Number of page watchers',
'pageinfo-redirects-name' => 'Redirects to this page',
'pageinfo-length' => 'The length of the page, in bytes.',
'pageinfo-article-id' => 'The numeric identifier of the page.',
'pageinfo-robot-policy' => 'The search engine status of the page.',
+'pageinfo-robot-index' => 'An indication that the page is indexable.',
+'pageinfo-robot-noindex' => 'An indication that the page is not indexable.',
'pageinfo-views' => 'The number of times the page has been viewed.',
'pageinfo-watchers' => 'The number of users watching the page.',
'pageinfo-redirects-name' => 'The number of redirects to the page.',
'pageinfo-length',
'pageinfo-article-id',
'pageinfo-robot-policy',
+ 'pageinfo-robot-index',
+ 'pageinfo-robot-noindex',
'pageinfo-views',
'pageinfo-watchers',
'pageinfo-redirects-name',