Index: trunk/extensions/Maps/includes/features/Maps_BasePointMap.php |
— | — | @@ -98,7 +98,7 @@ |
99 | 99 | $this->addSpecificMapHTML( $parser ); |
100 | 100 | |
101 | 101 | global $wgTitle; |
102 | | - if ( $wgTitle->isSpecialPage() ) { |
| 102 | + if ( $wgTitle->getNamespace() == NS_SPECIAL ) { |
103 | 103 | global $wgOut; |
104 | 104 | $this->service->addDependencies( $wgOut ); |
105 | 105 | } |
Index: trunk/extensions/Maps/includes/features/Maps_BaseMap.php |
— | — | @@ -95,7 +95,7 @@ |
96 | 96 | $this->addSpecificMapHTML( $parser ); |
97 | 97 | |
98 | 98 | global $wgTitle; |
99 | | - if ( $wgTitle->isSpecialPage() ) { |
| 99 | + if ( $wgTitle->getNamespace() == NS_SPECIAL ) { |
100 | 100 | global $wgOut; |
101 | 101 | $this->service->addDependencies( $wgOut ); |
102 | 102 | } |