Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_QueryUIHelper.php |
— | — | @@ -89,7 +89,10 @@ |
90 | 90 | and ( method_exists( $wgOut, 'addFeedlink' ) ) // remove this line after MW 1.5 is no longer supported by SMW |
91 | 91 | and ( array_key_exists( 'rss', $wgFeedClasses ) ) ) { |
92 | 92 | $res = $this->uiCore->getResultObject(); |
93 | | - $href = $res->getQueryLink()->getURl() . '/format%3Drss/limit%3D' . $this->uiCore->getLimit(); |
| 93 | + $href = $res->getQueryLink(); |
| 94 | + $href->setParameter( 'rss', 'format' ); |
| 95 | + $href->setParameter( $this->uiCore->getLimit(), 'limit' ); |
| 96 | + $href = $href->getURl(); |
94 | 97 | $wgOut->addFeedLink( 'rss', $href ); |
95 | 98 | } |
96 | 99 | |