Last modified: 2013-04-22 16:16:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42257, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40257 - action=info should not claim there are subpages in NS with subpages disabled
action=info should not claim there are subpages in NS with subpages disabled
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Marius Hoch
https://pl.wikipedia.org/wiki/AC?acti...
: easy
Depends on:
Blocks: 38450
  Show dependency treegraph
 
Reported: 2012-09-14 22:43 UTC by Bartosz Dziewoński
Modified: 2013-04-22 16:16 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bartosz Dziewoński 2012-09-14 22:43:16 UTC
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/".
Comment 1 MZMcBride 2012-09-14 23:44:14 UTC
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.
Comment 2 Marius Hoch 2012-09-15 00:07:24 UTC
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.
Comment 3 Marius Hoch 2012-09-15 00:10:13 UTC
Wrong link, I meant #23846
Comment 4 Marius Hoch 2012-09-15 00:12:24 UTC
I hope this one links correctly... Gerrit change #23846
Comment 5 Marius Hoch 2012-09-16 20:47:09 UTC
Change has been merged

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links