(bug 16009) Remove extra title param
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 17 Oct 2008 00:46:50 +0000 (00:46 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 17 Oct 2008 00:46:50 +0000 (00:46 +0000)
includes/Pager.php

index 3125610..7ad2a81 100644 (file)
@@ -297,8 +297,7 @@ abstract class IndexPager implements Pager {
                        $attrs .= " class=\"mw-{$type}link\"" ;
                }
                return $this->getSkin()->makeKnownLinkObj( $this->getTitle(), $text,
-                               wfArrayToCGI( $query, $this->getDefaultQuery() ), '', '',
-                               $attrs );
+                       wfArrayToCGI( $query, $this->getDefaultQuery() ), '', '', $attrs );
        }
 
        /**
@@ -850,7 +849,7 @@ abstract class TablePager extends IndexPager {
                        "<form method=\"get\" action=\"$url\">" .
                        wfMsgHtml( 'table_pager_limit', $this->getLimitSelect() ) .
                        "\n<input type=\"submit\" value=\"$msgSubmit\"/>\n" .
-                       $this->getHiddenFields( 'limit' ) .
+                       $this->getHiddenFields( array('limit','title') ) .
                        "</form>\n";
        }