Page MenuHomePhabricator

Update RSS extension on Wikimedia wikis
Closed, DeclinedPublic

Description

Can someone please increase the timeout value of the RSS Feed extension.
I suggest to 15 seconds.

See if this has a positive effect on page [[User:Subfader/RSS]], where many feeds are not rendered due to timeouts.


Version: unspecified
Severity: normal

Details

Reference
bz34655

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:10 AM
bzimport set Reference to bz34655.
bzimport added a subscriber: Unknown Object (MLST).

I suggest to upgrade the version in MediaWiki to at least the extension RSS version 2.10 as committed in r112467 and to set parameters as indicated. The current version used on MediaWiki (1.90) is outdated.

The 2.10 version fixes many bugs, and allows to parse ATOM feeds.

The custom parameters should be:

<pre>
$wgRSSUrlWhitelist = array( "*" ); // or a list of actually used feeds, see for example page http://www.mediawiki.org/wiki/User:Subfader/RSS
$wgRSSUrlNumberOfAllowedRedirects = 1;
$wgRSSFetchTimeout=15;
</pre>

(In reply to comment #2)

I suggest to upgrade the version in MediaWiki to at least the extension RSS
version 2.10 as committed in r112467 and to set parameters as indicated. The
current version used on MediaWiki (1.90) is outdated.

The 2.10 version fixes many bugs, and allows to parse ATOM feeds.

The custom parameters should be:

<pre>
$wgRSSUrlWhitelist = array( "*" ); // or a list of actually used feeds, see
for example page http://www.mediawiki.org/wiki/User:Subfader/RSS
$wgRSSUrlNumberOfAllowedRedirects = 1;
$wgRSSFetchTimeout=15;
</pre>

The code needs reviewing. When it is reviewed and merged to master, it'll be live on WMF sites within a couple of weeks.

(In reply to comment #3)

The code needs reviewing.

Yes, I know. Will be done end about end of May 2012.