X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2FQueryPage.php;h=654b616216b4326d9758cb9b6dd2ef0d74d4fe3e;hb=23eae7ed23d5a21e0944e3b3cc536551f9bff7f2;hp=a904c248ce81a6b6178607ac97cae01b155fdab4;hpb=12cc7a6791128386e809721ce6120ea8282c0589;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/QueryPage.php b/includes/QueryPage.php index a904c248ce..654b616216 100644 --- a/includes/QueryPage.php +++ b/includes/QueryPage.php @@ -466,7 +466,7 @@ abstract class QueryPage extends SpecialPage { /** * This is the actual workhorse. It does everything needed to make a * real, honest-to-gosh query page. - * @para $par + * @param string $par * @return int */ function execute( $par ) { @@ -547,7 +547,7 @@ abstract class QueryPage extends SpecialPage { min( $this->numRows, $this->limit ), # do not show the one extra row, if exist $this->offset + 1 )->parseAsBlock() ); # Disable the "next" link when we reach the end - $paging = $this->getLanguage()->viewPrevNext( $this->getTitle( $par ), $this->offset, + $paging = $this->getLanguage()->viewPrevNext( $this->getPageTitle( $par ), $this->offset, $this->limit, $this->linkParameters(), ( $this->numRows <= $this->limit ) ); $out->addHTML( '

' . $paging . '

' ); } else { @@ -749,7 +749,7 @@ abstract class QueryPage extends SpecialPage { } function feedUrl() { - return $this->getTitle()->getFullURL(); + return $this->getPageTitle()->getFullURL(); } }