Index: trunk/extensions/Translate/SpecialImportTranslations.php |
— | — | @@ -101,10 +101,10 @@ |
102 | 102 | * Constructs and outputs file input form with supported methods. |
103 | 103 | */ |
104 | 104 | protected function outputForm() { |
105 | | - global $wgOut, $wgScriptPath; |
| 105 | + global $wgOut; |
106 | 106 | |
107 | 107 | $wgOut->includeJQuery(); |
108 | | - $this->out->addScriptFile( "$wgScriptPath/extensions/Translate/js/import.js" ); |
| 108 | + $this->out->addScriptFile( TranslateUtils::assetPath( 'js/import.js' ) ); |
109 | 109 | |
110 | 110 | // Ugly but necessary form building ahead, ohoy |
111 | 111 | $this->out->addHTML( |