* Tim Starling
== Patch Contributors ==
-*
+* RememberTheDot
== Translators ==
* Anders Wegge Jakobsen
ables into into the output of Skin::makeVariablesScript
* Added $wgAddGroups and $wgRemoveGroups display on Special:ListGroupRights
* (bug 14377) Add a date selector to history pages
+* (bug 15007) New 'pagetitle-view-mainpage' message allows the HTML <title> of
+ the main page to be customized
=== Bug fixes in 1.14 ===
$t = $wgOut->getPageTitle();
if( empty( $t ) ) {
$wgOut->setPageTitle( $this->mTitle->getPrefixedText() );
+
+ # For the main page, overwrite the <title> element with the con-
+ # tents of 'pagetitle-view-mainpage' instead of the default (if
+ # that's not empty).
+ if( $this->mTitle->equals( Title::newMainPage() ) &&
+ wfMsgForContent( 'pagetitle-view-mainpage' ) !== '' ) {
+ $wgOut->setHTMLTitle( wfMsgForContent( 'pagetitle-view-mainpage' ) );
+ }
}
# check if we're displaying a [[User talk:x.x.x.x]] anonymous talk page
'ok' => 'OK',
'sitetitle' => '{{SITENAME}}', # do not translate or duplicate this message to other languages
'pagetitle' => '$1 - {{SITENAME}}', # only translate this message to other languages if you have to change it
+'pagetitle-view-mainpage' => '', # do not translate or duplicate this message to other languages
'sitesubtitle' => '', # do not translate or duplicate this message to other languages
'retrievedfrom' => 'Retrieved from "$1"',
'youhavenewmessages' => 'You have $1 ($2).',
'fewestrevisions-summary',
'missingfiles-summary',
'upload-summary',
+ 'pagetitle-view-mainpage',
);
/** Optional messages, which may be translated only if changed in the target language. */
'ok',
'sitetitle',
'pagetitle',
+ 'pagetitle-view-mainpage',
'sitesubtitle',
'retrievedfrom',
'youhavenewmessages',