Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_SpecialAsk.php |
— | — | @@ -663,10 +663,10 @@ |
664 | 664 | $navigation = Html::element( |
665 | 665 | 'a', |
666 | 666 | array( |
667 | | - 'href' => SpecialPage::getSafeTitleFor( 'Ask' )->getLocalURL( |
668 | | - 'offset=' . max( 0, $offset - $limit ) . |
669 | | - '&limit=' . $limit . $urltail |
670 | | - ), |
| 667 | + 'href' => SpecialPage::getSafeTitleFor( 'Ask' )->getLocalURL( array( |
| 668 | + 'offset' => max( 0, $offset - $limit ), |
| 669 | + 'limit' => $limit . $urltail |
| 670 | + ) ), |
671 | 671 | 'rel' => 'nofollow' |
672 | 672 | ), |
673 | 673 | wfMsg( 'smw_result_prev' ) |
— | — | @@ -687,10 +687,10 @@ |
688 | 688 | $navigation .= Html::element( |
689 | 689 | 'a', |
690 | 690 | array( |
691 | | - 'href' => SpecialPage::getSafeTitleFor( 'Ask' )->getLocalURL( |
692 | | - 'offset=' . ( $offset + $limit ) . |
693 | | - '&limit=' . $limit . $urltail |
694 | | - ), |
| 691 | + 'href' => SpecialPage::getSafeTitleFor( 'Ask' )->getLocalURL( array( |
| 692 | + 'offset' => ( $offset + $limit ), |
| 693 | + 'limit' => $limit . $urltail |
| 694 | + ) ), |
695 | 695 | 'rel' => 'nofollow' |
696 | 696 | ), |
697 | 697 | wfMsg( 'smw_result_next' ) |
— | — | @@ -715,10 +715,10 @@ |
716 | 716 | $navigation .= Html::element( |
717 | 717 | 'a', |
718 | 718 | array( |
719 | | - 'href' => SpecialPage::getSafeTitleFor( 'Ask' )->getLocalURL( |
720 | | - 'offset=' . $offset . |
721 | | - '&limit=' . $l . $urltail |
722 | | - ), |
| 719 | + 'href' => SpecialPage::getSafeTitleFor( 'Ask' )->getLocalURL( array( |
| 720 | + 'offset' => $offset, |
| 721 | + 'limit' => $l . $urltail |
| 722 | + ) ), |
723 | 723 | 'rel' => 'nofollow' |
724 | 724 | ), |
725 | 725 | $l |