Index: trunk/phase3/includes/EditPage.php |
— | — | @@ -1251,7 +1251,7 @@ |
1252 | 1252 | * The necessary JavaScript code can be found in style/wikibits.js. |
1253 | 1253 | */ |
1254 | 1254 | function getEditToolbar() { |
1255 | | - global $wgStylePath, $wgLang, $wgJsMimeType; |
| 1255 | + global $wgStylePath, $wgContLang, $wgJsMimeType; |
1256 | 1256 | |
1257 | 1257 | /** |
1258 | 1258 | * toolarray an array of arrays which each include the filename of |
— | — | @@ -1301,14 +1301,14 @@ |
1302 | 1302 | 'key' => 'H' |
1303 | 1303 | ), |
1304 | 1304 | array( 'image'=>'button_image.png', |
1305 | | - 'open' => '[['.$wgLang->getNsText(NS_IMAGE).":", |
| 1305 | + 'open' => '[['.$wgContLang->getNsText(NS_IMAGE).":", |
1306 | 1306 | 'close' => ']]', |
1307 | 1307 | 'sample'=> wfMsg('image_sample'), |
1308 | 1308 | 'tip' => wfMsg('image_tip'), |
1309 | 1309 | 'key' => 'D' |
1310 | 1310 | ), |
1311 | 1311 | array( 'image' =>'button_media.png', |
1312 | | - 'open' => '[['.$wgLang->getNsText(NS_MEDIA).':', |
| 1312 | + 'open' => '[['.$wgContLang->getNsText(NS_MEDIA).':', |
1313 | 1313 | 'close' => ']]', |
1314 | 1314 | 'sample'=> wfMsg('media_sample'), |
1315 | 1315 | 'tip' => wfMsg('media_tip'), |