Index: trunk/phase3/includes/LogPage.php |
— | — | @@ -116,9 +116,10 @@ |
117 | 117 | * @static |
118 | 118 | */ |
119 | 119 | public static function logName( $type ) { |
120 | | - global $wgLogNames; |
| 120 | + global $wgLogNames, $wgMessageCache; |
121 | 121 | |
122 | 122 | if( isset( $wgLogNames[$type] ) ) { |
| 123 | + $wgMessageCache->loadAllMessages(); |
123 | 124 | return str_replace( '_', ' ', wfMsg( $wgLogNames[$type] ) ); |
124 | 125 | } else { |
125 | 126 | // Bogus log types? Perhaps an extension was removed. |