(bug 30836) API siteinfo specialpagealiases should not return nonexistent special...
authorBrad Jorsch <anomie.wikipedia@gmail.com>
Sat, 2 Jun 2012 20:20:14 +0000 (22:20 +0200)
committerBrad Jorsch <anomie.wikipedia@gmail.com>
Thu, 19 Jul 2012 03:09:13 +0000 (23:09 -0400)
commit5dc1a63f204c3167cc9d497d02aca4e517ca5288
treea1a32a1753992e231ce1025b01126cd02a503b83
parentebe540f469bccb0aea63e4ae6c3d6fc895fd2e75
(bug 30836) API siteinfo specialpagealiases should not return nonexistent special pages

Some special pages are conditionally registered (e.g.
Special:Popularpages only exists when $wgDisableCounters is false), or
sometimes an alias exists for a special page that does not. The API
should probably not return entries for these from
meta=siteinfo&siprop=specialpagealiases.

This also fixes bug 38464 correctly, rather than blindly reverting.

Change-Id: Ic021a47754ea7a1574e818dad47151ab6698e06f
RELEASE-NOTES-1.20
includes/api/ApiQuerySiteinfo.php