No idea what this is supposed to do, but at least this way it doesn't break special...
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 14 Oct 2007 14:38:29 +0000 (14:38 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Sun, 14 Oct 2007 14:38:29 +0000 (14:38 +0000)
includes/SpecialPage.php

index 2d98cf8..10f334e 100644 (file)
@@ -454,7 +454,7 @@ class SpecialPage
                        wfProfileOut( __METHOD__ );
                        return false;
                } elseif ( !$including ) {
-                       $wgTitle = $page->getTitle( SpecialPage::$mStripSubpages ? '' : $par );
+                       $wgTitle = $page->getTitle( SpecialPage::$mStripSubpages ? false : $par );
                }
                $page->including( $including );