Last modified: 2011-01-25 01:14:03 UTC
Hello Please add the translation for "UTC" in signatures for Arabic Wikipedia. The translation: "تعم". Thanks user:alnokta
This comes from the system, not from inside MediaWiki.
Created attachment 5013 [details] a patch for the problem This patch can solve the problem. Simply editing [[Mediawiki:Timezone]] changes 'UTC' into whatever edited.
The patch is working. I will be committing it if there are no objections.
Created attachment 5014 [details] another patch for global customization This is another patch for global customization of Timezone.
Comment on attachment 5014 [details] another patch for global customization >Index: Parser.php >=================================================================== >--- Parser.php (revision 36581) >+++ Parser.php (working copy) >@@ -3706,6 +3706,11 @@ > $tz = date( 'T', $unixts ); # might vary on DST changeover! > putenv( 'TZ='.$oldtz ); > } >+ >+ $ctz = wfMsgForContent('timezone'); >+ if (!wfEmptyMsg('timezone', $ctz)) { >+ $tz = $ctz; >+ } > $d = $wgContLang->timeanddate( $ts, false, false ) . " ($tz)"; > > # Variable replacement
The attached patch was applied in r36587; r36633 replaced this method with a slightly different one, where the hardcoded "UTC" was replaced with a "timezone-utc" message which can be customized per language. In cases where $wgLocaltimezone is set, the system's timezone string will still be used. (This sometimes causes problems when the system returns non-ASCII code not in UTF-8, as on Windows in Japanese locale.)