Page MenuHomePhabricator

Pages outside of NS_MAIN are returned
Closed, ResolvedPublic

Description

Only articles (NS_MAIN pages) are supposed to be returned, but this is no longer enforced.


Version: unspecified
Severity: normal

Details

Reference
bz51079

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:06 AM
bzimport set Reference to bz51079.

swalling wrote:

Confirmed, you can see this if you look for the recentchanges tag and other namespaces. Like: https://en.wikipedia.org/w/index.php?title=User:Dita823/DalesBus&action=history

This is obviously rare, but we should add an explicit main NS check.

Change 72872 had a related patch set uploaded by Mattflaschen:
Check namespace in isAppropriateArticle.

https://gerrit.wikimedia.org/r/72872

Change 72872 merged by jenkins-bot:
Check namespace in isAllowedArticle.

https://gerrit.wikimedia.org/r/72872

swalling wrote:

The previously linked patch was tested, verified on labs, and merged.

Thanks for the quick fix Matt!