Extension:ExcludeRandom

The ExcludeRandom extension allows pages to be excluded from Special:Random. For example, this could be useful for hiding in-complete translation pages that have been yet to be moved to their own sub-domain.

Configuration

 * $wgExcludeRandomPages
 * The list of pages to be excluded, in an array.  wildcard is supported (matches any amount of any characters).

Usage
This will disallow  and   from being selected by Special:Random.