Index: trunk/extensions/geoserver/SpecialWikimaps.php |
— | — | @@ -19,18 +19,6 @@ |
20 | 20 | 'description' => 'Show maps', |
21 | 21 | ); |
22 | 22 | |
23 | | -global $wgWikimapsMessages; |
24 | | -$wgWikimapsMessages = array(); |
25 | | - |
26 | 23 | $dir = dirname(__FILE__) . '/'; |
27 | 24 | $wgAutoloadClasses['SpecialWikimaps'] = $dir . 'SpecialWikimaps_body.php'; |
28 | 25 | $wgSpecialPages['Wikimaps'] = 'SpecialWikimaps'; |
29 | | - |
30 | | -function wfSpecialWikimaps() { |
31 | | - # Add messages |
32 | | - global $wgMessageCache, $wgWikimapsMessages, $wgSpecialPages; |
33 | | - foreach( $wgWikimapsMessages as $key => $value ) { |
34 | | - $wgMessageCache->addMessages( $wgWikimapsMessages[$key], $key ); |
35 | | - } |
36 | | -# print "<pre>"; print_r( $wgSpecialPages ); print "</pre>"; |
37 | | -} |