r93815 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93814‎ | r93815 | r93816 >
Date:11:23, 3 August 2011
Author:devayon
Status:deferred
Tags:
Comment:
Follow up: r92530
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_QueryUIHelper.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/specials/AskSpecial/SMW_QueryUIHelper.php
@@ -89,11 +89,10 @@
9090 and ( method_exists( $wgOut, 'addFeedlink' ) ) // remove this line after MW 1.5 is no longer supported by SMW
9191 and ( array_key_exists( 'rss', $wgFeedClasses ) ) ) {
9292 $res = $this->uiCore->getResultObject();
93 - $href = $res->getQueryLink();
94 - $href->setParameter( 'rss', 'format' );
95 - $href->setParameter( $this->uiCore->getLimit(), 'limit' );
96 - $href = $href->getURl();
97 - $wgOut->addFeedLink( 'rss', $href );
 93+ $link = $res->getQueryLink();
 94+ $link->setParameter( 'rss', 'format' );
 95+ $link->setParameter( $this->uiCore->getLimit(), 'limit' );
 96+ $wgOut->addFeedLink( 'rss', $link->getURl());
9897 }
9998
10099 $this->makePage( $p );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r92530Adding syndication to the head of resultsdevayon13:16, 19 July 2011