Page MenuHomePhabricator

RSS/Atom feed links show for special pages that don't support them
Closed, ResolvedPublic

Description

The feed parameter in a special page's URL (feed=rss or feed=atom) is ignored,
so the links to RSS and Atom feeds don't work.

Steps to reproduce:

  1. Go to any special page that offers RSS/Atom feeds, such as

[[Special:Listusers]] or [[vi:Special:Newpages]].

  1. Click on the "rss" or "atom" feed in the sidebar.

Expected results:

The RSS or Atom version of the listing.

Actual results:

The same page you were just on.


Version: 1.4.x
Severity: normal
URL: http://en.wikipedia.org/wiki/Special:Listusers?feed=rss

Details

Reference
bz705

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 6:58 PM
bzimport set Reference to bz705.

Correction: the feeds seem to work on some pages, such as [[Special:Newpages]],
but not on others, such as [[Special:Listusers]]. I've seen this on en:, es:,
and vi:.

Changed bug summary to reflect the nature of the problem.

This is due to certain special page use QueryPage class which hard
code everything as $wgOut->setSyndicated( true ); where as it should
be settable in child class.

Fixed in cvs : stop showing rss/atom links using the
new QueryPage:isSyndicated() method