* (bug 13132) Unable to unprotect pages protected with earlier versions of MediaWiki
* (bug 12723) OpenSearch description name now uses more compact language code
to avoid passing the length limit as often, is customizable per site via
- 'opensearch-shortname' message.
+ 'opensearch-desc' message.
=== API changes in 1.13 ===
</form>', # don't translate or duplicate this message to other languages
# OpenSearch description
-'opensearch-shortname' => '{{SITENAME}} ({{CONTENTLANGUAGE}})',
+'opensearch-desc' => '{{SITENAME}} ({{CONTENTLANGUAGE}})',
# Preferences page
'preferences' => 'Preferences',
require_once( dirname(__FILE__) . '/includes/WebStart.php' );
require_once( dirname(__FILE__) . '/languages/Names.php' );
-$fullName = "$wgSitename ($wgLanguageCode)";
-$fullName = wfMsg( 'opensearch-shortname' );
+$fullName = wfMsgForContent( 'opensearch-desc' );
$shortName = htmlspecialchars( mb_substr( $fullName, 0, 24 ) );
$siteName = htmlspecialchars( $fullName );