Page MenuHomePhabricator

nsinvert on special:newpages is not working
Closed, ResolvedPublic

Description

Go to https://meta.wikimedia.org/wiki/Special:NewPages?namespace=1198&nsinvert=1

Expected results: Pages in Translations namespace (1198) shouldn't appear in results.

But right now, only pages in 1198 ns seems to be there. Same result when other namespaces are selected.

Event Timeline

Glaisher created this task.Dec 22 2014, 3:50 PM
Glaisher raised the priority of this task from to High.
Glaisher updated the task description. (Show Details)
Glaisher changed Security from none to None.
Glaisher added a subscriber: Glaisher.

perhaps this should be Unbreak now!? I'm not sure..

Meta is running 1.25wmf12 so in theory the problem should also happen on all other Wikimedia wikis if it's a problem in MediaWiki itself.
Is that the case? Sorry but I'm pretty clueless when it comes to any namespace stuff.

Yes, other wikis as well. https://en.wikipedia.org/wiki/Special:NewPages?namespace=0&nsinvert=1 shouldn't show pages in the main namespace.

Aklapper added a subscriber: greg.Dec 22 2014, 5:55 PM

Did this work a few weeks ago? (Wondering if that's a recent regression.)

The url param recognized by mediawiki is called 'invert', but using the form added a parameter 'nsinvert' which is not working. Caused by HTMLForm rewrite in https://gerrit.wikimedia.org/r/#/c/164733/

Florian claimed this task.Dec 22 2014, 6:18 PM

Change 181426 had a related patch set uploaded (by Florianschmidtwelzow):
Fix NS invert on SpecialNewPages

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

Patch-For-Review

Change 181426 merged by jenkins-bot:
Fix NS invert on SpecialNewPages

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

Umherirrender closed this task as Resolved.Dec 22 2014, 7:08 PM

Fix will be part of Version 1.25wmf14 - see https://www.mediawiki.org/wiki/MediaWiki_1.25/Roadmap for the timeline