Last modified: 2008-12-15 19:38:38 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 T17827, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15827 - Special:Random should ignore subpages in namespaces that allow them
Special:Random should ignore subpages in namespaces that allow them
Status: RESOLVED DUPLICATE of bug 13051
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.14.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-04 13:10 UTC by Danny B.
Modified: 2008-12-15 19:38 UTC (History)
1 user (show)

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


Attachments

Description Danny B. 2008-10-04 13:10:52 UTC
Case:

Portal:Foo
Portal:Foo/item1
Portal:Foo/item2
Portal:Foo/item3
Portal:Foo/item4

anywhere

or even

Book
Book/chapter1
Book/chapter2
Book/chapter3
Book/chapter4

on Wikibooks

etc...


Now, Special:Random redirects (among others) to /itemX, /chapterX, etc. subpages which isn't good, especially on pages created from subpages, such as portals are, where such subpage could be eg. just POTD or so.

Maybe $wgRandomIgnoreSubpages global with default = true or even $wgRandomIgnoreSubpagesInNamespaces array of (0->1, 1->1, 2->0...) values could be added as well so in case any wiki would like to have the default ignore behavior overridable.
Comment 1 Huji 2008-10-04 20:29:54 UTC
A relevant request was made a while ago, and I created an extension to be used for it. Please see bug 13051.
Comment 2 Chad H. 2008-12-15 19:38:38 UTC

*** This bug has been marked as a duplicate of bug 13051 ***

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


Navigation
Links