and {{REVISIONTIMESTAMP:}} (with friends).
* Add "wgRelevantUserName" to mw.config containing the current
Skin::getRelevantUser value.
+* (bug 56033) Add content model to the page information.
=== Bug fixes in 1.23 ===
* (bug 41759) The "updated since last visit" markers (on history pages, recent
Language::fetchLanguageName( $pageLang, $lang->getCode() )
. ' ' . $this->msg( 'parentheses', $pageLang ) );
+ // Content model of the page
+ $pageInfo['header-basic'][] = array(
+ $this->msg( 'pageinfo-content-model' ),
+ ContentHandler::getLocalizedName( $title->getContentModel() )
+ );
+
// Search engine status
$pOutput = new ParserOutput();
if ( isset( $pageProperties['noindex'] ) ) {
'pageinfo-length' => 'Page length (in bytes)',
'pageinfo-article-id' => 'Page ID',
'pageinfo-language' => 'Page content language',
+'pageinfo-content-model' => 'Page content model',
'pageinfo-robot-policy' => 'Indexing by robots',
'pageinfo-robot-index' => 'Allowed',
'pageinfo-robot-noindex' => 'Disallowed',
'pageinfo-length' => 'The length of the page, in bytes.',
'pageinfo-article-id' => 'The numeric identifier of the page.',
'pageinfo-language' => 'Language in which the page content is written.',
+'pageinfo-content-model' => 'The model in which the page content is written.
+
+Used as label. Followed by one of the following messages:
+* {{msg-mw|Content-model-wikitext}}
+* {{msg-mw|Content-model-javascript}}
+* {{msg-mw|Content-model-css}}
+* {{msg-mw|Content-model-text}}',
'pageinfo-robot-policy' => 'The search engine status of the page.
Used as label. Followed by any one of the following messages:
'pageinfo-length',
'pageinfo-article-id',
'pageinfo-language',
+ 'pageinfo-content-model',
'pageinfo-robot-policy',
'pageinfo-robot-index',
'pageinfo-robot-noindex',