* (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
+* (bug 13273) Un-hardcode some punctuation (add new messages colon-separator,
+ autocomment-prefix)
* Parse MediaWiki message translations with a correct language setting on preview
* (bug 13281) Treat X-Forwarded-For, Client-ip and User-Agent headers as
case-insensitive names.
}
$auto = $link . $auto;
if( $pre ) {
- $auto = '- ' . $auto; # written summary $presep autocomment (summary /* section */)
+ # written summary $presep autocomment (summary /* section */)
+ $auto = wfMsgExt( 'autocomment-prefix', array( 'escapenoentities', 'content' ) ) . $auto;
}
if( $post ) {
- $auto .= ': '; # autocomment $postsep written summary (/* section */ summary)
+ # autocomment $postsep written summary (/* section */ summary)
+ $auto .= wfMsgExt( 'colon-separator', array( 'escapenoentities', 'content' ) );
}
$auto = '<span class="autocomment">' . $auto . '</span>';
$comment = $pre . $auto . $post;
'hideresults' => 'Hide results',
'useajaxsearch' => 'Use AJAX search',
-# Separators for various lists
-'catseparator' => '|', # don't translate or duplicate this message to other languages
+# Separators for various lists, etc.
+'catseparator' => '|', # only translate this message to other languages if you have to change it
'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
+'autocomment-prefix' => '- ', # only translate this message to other languages if you have to change it
# Multipage image navigation
'imgmultipageprev' => '← previous page',
'addsection',
'anonnotice',
'autoblock_whitelist',
- 'catseparator',
'googlesearch',
'opensearch-desc',
'exif-make-value',
'hebrew-calendar-m10-gen',
'hebrew-calendar-m11-gen',
'hebrew-calendar-m12-gen',
+ 'catseparator',
'semicolon-separator',
'comma-separator',
'colon-separator',
+ 'autocomment-prefix',
);
/** EXIF messages, which may be set as optional in several checks, but are generally mandatory */
'semicolon-separator',
'comma-separator',
'colon-separator',
+ 'autocomment-prefix',
),
'imgmulti' => array(
'imgmultipageprev',
'htmldump' => 'HTML dump',
'purge' => 'action=purge',
'search2' => 'AJAX search',
- 'separators' => 'Separators for various lists',
+ 'separators' => 'Separators for various lists, etc.',
'imgmulti' => 'Multipage image navigation',
'tablepager' => 'Table pager',
'autosumm' => 'Auto-summaries',