Index: trunk/phase3/includes/parser/Parser.php |
— | — | @@ -4097,9 +4097,9 @@ |
4098 | 4098 | # whatever crap the system uses, localised or not, so we cannot |
4099 | 4099 | # ship premade translations. |
4100 | 4100 | $key = 'timezone-' . strtolower( trim( $tzMsg ) ); |
4101 | | - $value = wfMsgForContent( $key ); |
4102 | | - if ( !wfEmptyMsg( $key, $value ) ) { |
4103 | | - $tzMsg = $value; |
| 4101 | + $msg = wfMessage( $key )->inContentLanguage(); |
| 4102 | + if ( $msg->exists() ) { |
| 4103 | + $tzMsg = $msg->text(); |
4104 | 4104 | } |
4105 | 4105 | |
4106 | 4106 | date_default_timezone_set( $oldtz ); |