Page MenuHomePhabricator

action=info should not claim there are subpages in NS with subpages disabled
Closed, ResolvedPublic

Description

E.g. https://pl.wikipedia.org/wiki/AC?action=info&uselang=en says there are 3 "Subpages of this page" - but subpages are disabled in main NS using $wgNamespacesWithSubpages. These are regular page titles that happen to start with "AC/".


Version: unspecified
Severity: normal
URL: https://pl.wikipedia.org/wiki/AC?action=info&uselang=en

Details

Reference
bz40257

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:53 AM
bzimport set Reference to bz40257.

Yes, I suppose the action should check the namespace before reporting number of subpages.

Though the stat will still be wrong with https://pl.wikipedia.org/wiki/Talk:AC?action=info&uselang=en, of course.

hoo added a comment.Sep 15 2012, 12:07 AM

Done in r23846

I've decided to totally hide the option in those namespaces cause just telling there are 0 would suggest that it's possible to create some.

hoo added a comment.Sep 15 2012, 12:10 AM

Wrong link, I meant #23846

hoo added a comment.Sep 15 2012, 12:12 AM

I hope this one links correctly... Gerrit change #23846

hoo added a comment.Sep 16 2012, 8:47 PM

Change has been merged