Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -162,6 +162,7 @@ |
163 | 163 | // Client-side resource modules |
164 | 164 | $wgResourceModules['ext.translate'] = array( |
165 | 165 | 'styles' => 'resources/ext.translate.css', |
| 166 | + 'position' => 'top', |
166 | 167 | ) + $resourcePaths; |
167 | 168 | |
168 | 169 | $wgResourceModules['ext.translate.messagetable'] = array( |
Index: trunk/extensions/Translate/utils/MessageWebImporter.php |
— | — | @@ -105,9 +105,6 @@ |
106 | 106 | * @return string |
107 | 107 | */ |
108 | 108 | protected function doHeader() { |
109 | | - global $wgOut; |
110 | | - $wgOut->addModules( 'ext.translate' ); |
111 | | - |
112 | 109 | $formParams = array( |
113 | 110 | 'method' => 'post', |
114 | 111 | 'action' => $this->getAction(), |