* The {{NAMESPACE}}, {{TALKSPACE}}, and {{SUBJECTSPACE}} magic words can now be
used as parser functions to return the desired namespace for a given title.
* Styled #mw-data-after-content in cologneblue.css to match the rest of the font (bug 17110)
+* (bug 7556) Time zone names in signatures lack i18n
=== Bug fixes in 1.15 ===
* (bug 16968) Special:Upload no longer throws useless warnings.
*
* This variable is currently used ONLY for signature formatting, not for
* anything else.
+ *
+ * Timezones can be translated by editing MediaWiki messages of type
+ * timezone-nameinlowercase like timezone-utc.
*/
# $wgLocaltimezone = 'GMT';
# $wgLocaltimezone = 'PST8PDT';
putenv( 'TZ='.$wgLocaltimezone );
$ts = date( 'YmdHis', $unixts );
$tz = date( 'T', $unixts ); # might vary on DST changeover!
+
+ /* Allow translation of timezones trough wiki. date() can return
+ * whatever crap the system uses, localised or not, so we cannot
+ * ship premade translations.
+ */
+ $key = 'timezone-' . strtolower( trim( $tz ) );
+ $value = wfMsgForContent( $key );
+ if ( !wfEmptyMsg( $key, $value ) ) $tz = $value;
+
putenv( 'TZ='.$oldtz );
}