Merge "RCFilter UI: allow getParametersFromFilters to accept filter list"
[lhc/web/wiklou.git] / includes / MediaWiki.php
index 0fd6b92..b18414d 100644 (file)
@@ -282,7 +282,7 @@ class MediaWiki {
                        }
 
                        // Special pages ($title may have changed since if statement above)
-                       if ( NS_SPECIAL == $title->getNamespace() ) {
+                       if ( $title->isSpecialPage() ) {
                                // Actions that need to be made when we have a special pages
                                SpecialPageFactory::executePath( $title, $this->context );
                        } else {