http://www.mediawiki.org/wiki/Special:Code/MediaWiki/90206
Revision: 90206 Author: jeroendedauw Date: 2011-06-16 14:59:18 +0000 (Thu, 16 Jun 2011) Log Message: ----------- follow up to r90202 Modified Paths: -------------- trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php Modified: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php =================================================================== --- trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php 2011-06-16 14:54:11 UTC (rev 90205) +++ trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php 2011-06-16 14:59:18 UTC (rev 90206) @@ -663,10 +663,10 @@ $navigation = Html::element( 'a', array( - 'href' => SpecialPage::getSafeTitleFor( 'Ask' )->getLocalURL( - 'offset=' . max( 0, $offset - $limit ) . - '&limit=' . $limit . $urltail - ), + 'href' => SpecialPage::getSafeTitleFor( 'Ask' )->getLocalURL( array( + 'offset' => max( 0, $offset - $limit ), + 'limit' => $limit . $urltail + ) ), 'rel' => 'nofollow' ), wfMsg( 'smw_result_prev' ) @@ -687,10 +687,10 @@ $navigation .= Html::element( 'a', array( - 'href' => SpecialPage::getSafeTitleFor( 'Ask' )->getLocalURL( - 'offset=' . ( $offset + $limit ) . - '&limit=' . $limit . $urltail - ), + 'href' => SpecialPage::getSafeTitleFor( 'Ask' )->getLocalURL( array( + 'offset' => ( $offset + $limit ), + 'limit' => $limit . $urltail + ) ), 'rel' => 'nofollow' ), wfMsg( 'smw_result_next' ) @@ -715,10 +715,10 @@ $navigation .= Html::element( 'a', array( - 'href' => SpecialPage::getSafeTitleFor( 'Ask' )->getLocalURL( - 'offset=' . $offset . - '&limit=' . $l . $urltail - ), + 'href' => SpecialPage::getSafeTitleFor( 'Ask' )->getLocalURL( array( + 'offset' => $offset, + 'limit' => $l . $urltail + ) ), 'rel' => 'nofollow' ), $l _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs