r80585 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r80584‎ | r80585 | r80586 >
Date:20:08, 19 January 2011
Author:ialex
Status:deferred
Tags:
Comment:
Removed variable which seems to serve no purpose
Modified paths:
  • /trunk/extensions/geoserver/SpecialWikimaps.php (modified) (history)

Diff [purge]

Index: trunk/extensions/geoserver/SpecialWikimaps.php
@@ -19,18 +19,6 @@
2020 'description' => 'Show maps',
2121 );
2222
23 -global $wgWikimapsMessages;
24 -$wgWikimapsMessages = array();
25 -
2623 $dir = dirname(__FILE__) . '/';
2724 $wgAutoloadClasses['SpecialWikimaps'] = $dir . 'SpecialWikimaps_body.php';
2825 $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 -}

Status & tagging log