Page MenuHomePhabricator

Extend Special:Random functionality
Closed, ResolvedPublic

Description

Author: mohamed.m.k

Description:
It would be nice to be able to get a random page beyond "Random from articles" and be able to make such urls (may be special:random&cat=category name). Like getting a random page from a Category or a random page from a Namespace.

Thanks


Version: 1.15.x
Severity: enhancement

Details

Reference
bz17068

Event Timeline

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

Random from namespace already exists. "Special:Random/File" will return a random page from the File: namespace, same for /Category, /Template_talk, or any other namespace you'd like.

From a category isn't implemented, though.

(In reply to comment #1)

From a category isn't implemented, though.

But an extension exists: http://www.mediawiki.org/wiki/Extension:RandomInCategory

Wiki.Melancholie wrote:

[[Special:Random/talk]] e.g. works, rest is a duplicate of bug 2170.

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