Fix major display regression for CSS 1 browsers like IE5 (see wikien-l).
[lhc/web/wiklou.git] / includes / SpecialPage.php
index 5b892fd..8643875 100644 (file)
@@ -120,7 +120,7 @@ class SpecialPage
                'Movepage'                  => array( 'UnlistedSpecialPage', 'Movepage' ),
                'Blockme'                   => array( 'UnlistedSpecialPage', 'Blockme' ),
                'Resetpass'                 => array( 'UnlistedSpecialPage', 'Resetpass' ),
-               'Booksources'               => array( 'SpecialPage', 'Booksources' ),
+               'Booksources'               => 'SpecialBookSources',
                'Categories'                => array( 'SpecialPage', 'Categories' ),
                'Export'                    => array( 'SpecialPage', 'Export' ),
                'Version'                   => array( 'SpecialPage', 'Version' ),
@@ -410,7 +410,7 @@ class SpecialPage
                        $query = $_GET;
                        unset( $query['title'] );
                        $query = wfArrayToCGI( $query );
-                       $title = $page->getTitle();
+                       $title = $page->getTitle( $par );
                        $url = $title->getFullUrl( $query );
                        $wgOut->redirect( $url );
                        wfProfileOut( __METHOD__ );
@@ -667,7 +667,7 @@ class SpecialPage
         * If the special page is a redirect, then get the Title object it redirects to. 
         * False otherwise.
         */
-       function getRedirect( $subpage = false ) {
+       function getRedirect( $subpage ) {
                return false;
        }