Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php |
— | — | @@ -264,7 +264,7 @@ |
265 | 265 | |
266 | 266 | // Transforms messages into javascript object members |
267 | 267 | // ( only not handled automatically ) |
268 | | - if ( version_compare( $wgVersion, '1.17', '>') ) { |
| 268 | + if ( version_compare( $wgVersion, '1.17', '<') ) { |
269 | 269 | foreach ( self::$messages as $i => $message ) { |
270 | 270 | $escapedMessageValue = Xml::escapeJsString( wfMsg( $message ) ); |
271 | 271 | $escapedMessageKey = Xml::escapeJsString( $message ); |