Index: trunk/extensions/Translate/scripts/magic-export.php |
— | — | @@ -1,5 +1,4 @@ |
2 | 2 | <?php |
3 | | - |
4 | 3 | /** |
5 | 4 | * Script to export special page aliases and magic words of extensions. |
6 | 5 | * |
— | — | @@ -257,24 +256,10 @@ |
258 | 257 | } |
259 | 258 | |
260 | 259 | /** |
261 | | - * For special page aliases we set $aliases as a reference to |
262 | | - * the more modern $specialPageAliases for backwards compatibility. |
| 260 | + * Do whatever needs doing after writing the primary content. |
263 | 261 | */ |
264 | 262 | protected function writeFooters() { |
265 | 263 | $this->output( "Writing file footers...\n" ); |
266 | | - if ( $this->type === 'special' ) { |
267 | | - foreach ( $this->handles as $handle ) { |
268 | | - fwrite( $handle, <<<PHP |
269 | | - |
270 | | - |
271 | | -/** |
272 | | - * For backwards compatibility with MediaWiki 1.15 and earlier. |
273 | | - */ |
274 | | -\$aliases =& \$specialPageAliases; |
275 | | -PHP |
276 | | - ); |
277 | | - } |
278 | | - } |
279 | 264 | } |
280 | 265 | |
281 | 266 | /** |