Page MenuHomePhabricator

Special:Random should ignore subpages in namespaces that allow them
Closed, DuplicatePublic

Description

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.


Version: 1.14.x
Severity: enhancement

Details

Reference
bz15827

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:22 PM
bzimport set Reference to bz15827.
bzimport added a subscriber: Unknown Object (MLST).

A relevant request was made a while ago, and I created an extension to be used for it. Please see bug 13051.

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