$content = '';
$table = '';
+ // Header
+ if ( !$this->msg( 'pageinfo-header' )->isDisabled() ) {
+ $content .= $this->msg( 'pageinfo-header ' )->parse();
+ }
+
// Basic information
$content = $this->addHeader( $content, $this->msg( 'pageinfo-header-basic' )->text() );
$content = $this->addTable( $content, $table );
}
+ // Footer
+ if ( !$this->msg( 'pageinfo-footer' )->isDisabled() ) {
+ $content .= $this->msg( 'pageinfo-footer' )->parse();
+ }
+
return $content;
}
'spam_deleting' => 'All revisions contained links to $1, deleting',
# Info page
+'pageinfo-header' => '-', # do not translate or duplicate this message to other languages
'pageinfo-title' => 'Information for "$1"',
'pageinfo-header-basic' => 'Basic information',
'pageinfo-header-edits' => 'Edit history',
'pageinfo-magic-words' => 'Magic {{PLURAL:$1|word|words}} ($1)',
'pageinfo-hidden-categories' => 'Hidden {{PLURAL:$1|category|categories}} ($1)',
'pageinfo-templates' => 'Transcluded {{PLURAL:$1|template|templates}} ($1)',
+'pageinfo-footer' => '-', # do not translate or duplicate this message to other languages
# Skin names
'skinname-standard' => 'Classic', # only translate this message to other languages if you have to change it
* $1 is a spammed domain name.',
# Info page
+'pageinfo-header' => 'Header for action=info, set by wiki administrator(s).',
'pageinfo-title' => 'Page title for action=info. Parameters:
* $1 is the page name',
'pageinfo-header-basic' => 'Table section header in action=info.',
* $1 is the number of hidden categories on the page.',
'pageinfo-templates' => 'The list of templates transcluded within the page. Parameters:
* $1 is the number of templates transcluded within the page.',
+'pageinfo-footer' => 'Footer for action=info, set by wiki administrator(s).',
# Skin names
'skinname-standard' => '{{optional}}
'version-entrypoints-api-php',
'version-entrypoints-load-php',
'ipb-default-expiry',
+ 'pageinfo-header',
+ 'pageinfo-footer',
);
/** Optional messages, which may be translated only if changed in the target language. */
'spam_deleting',
),
'info' => array(
+ 'pageinfo-header',
'pageinfo-title',
'pageinfo-header-basic',
'pageinfo-header-edits',
'pageinfo-magic-words',
'pageinfo-hidden-categories',
'pageinfo-templates',
+ 'pageinfo-footer',
),
'skin' => array(
'skinname-standard',