* (bug 13012) Use content messages for block options when generating the
recentchanges entry
* (bug 13274) Change links for messages to ucfirst
+* (bug 13273) "Categories:" message at the bottom of the page shouldn't have
+ hardcoded colon, use new 'colon-separator' message instead
=== API changes in 1.13 ===
}
- function getCategoryLinks () {
+ function getCategoryLinks() {
global $wgOut, $wgTitle, $wgUseCategoryBrowser;
global $wgContLang, $wgUser;
$allCats = $wgOut->getCategoryLinks();
$s = '';
+ $colon = wfMsgExt( 'colon-separator', 'escapenoentities' );
if ( !empty( $allCats['normal'] ) ) {
$t = $embed . implode ( "{$pop} {$sep} {$embed}" , $allCats['normal'] ) . $pop;
- $msg = wfMsgExt( 'pagecategories', array( 'parsemag', 'escape' ), count( $allCats['normal'] ) );
+ $msg = wfMsgExt( 'pagecategories', array( 'parsemag', 'escapenoentities' ), count( $allCats['normal'] ) );
$s .= '<div id="mw-normal-catlinks">' .
$this->makeLinkObj( Title::newFromText( wfMsgForContent('pagecategorieslink') ), $msg )
- . ': ' . $t . '</div>';
+ . $colon . $t . '</div>';
}
# Hidden categories
$class = 'mw-hidden-cats-hidden';
}
$s .= "<div id=\"mw-hidden-catlinks\" class=\"$class\">" .
- wfMsgExt( 'hidden-categories', array( 'parsemag', 'escape' ), count( $allCats['hidden'] ) ) .
- ': ' . $embed . implode( "$pop $sep $embed", $allCats['hidden'] ) . $pop .
+ wfMsgExt( 'hidden-categories', array( 'parsemag', 'escapenoentities' ), count( $allCats['hidden'] ) ) .
+ $colon . $embed . implode( "$pop $sep $embed", $allCats['hidden'] ) . $pop .
"</div>";
}
'catseparator' => '|', # don't translate or duplicate this message to other languages
'semicolon-separator' => ';', # only translate this message to other languages if you have to change it
'comma-separator' => ', ', # only translate this message to other languages if you have to change it
+'colon-separator' => ': ', # only translate this message to other languages if you have to change it
# Multipage image navigation
'imgmultipageprev' => '← previous page',
'confirm_purge' => 'Voulez-vous rafraîchir cette page (purger le cache) ? $1',
'confirm_purge_button' => 'Confirmer',
+# Separators for various lists
+'colon-separator' => ' : ',
+
# AJAX search
'searchcontaining' => 'Chercher les articles contenant « $1 ».',
'searchnamed' => 'Chercher les articles nommés « $1 ».',