Manual talk:$wgExtraRandompageSQL

Can this be used with any sort of regular expressions to keep things like subpages from showing up? i.e. any page that has "[*]/[*]" would not show up? Wikademia