Last modified: 2008-12-15 19:38:38 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.
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 ***