Page MenuHomePhabricator

[RandomInCategory] Add Special:RandomNotInCategory
Open, LowPublicFeature

Description

Today there is [[Special:RandomInCategory]]. It would be useful to also have the opposite functionality, i.e. [[Special:RandomNotInCategory]] where you simply exclude a category from the set to do random from.


Version: unspecified
Severity: enhancement

Details

Reference
bz67812

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 3:35 AM
bzimport set Reference to bz67812.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to Jan Ainali from comment #0)

Today there is [[Special:RandomInCategory]]. It would be useful to also have
the opposite functionality, i.e. [[Special:RandomNotInCategory]] where you
simply exclude a category from the set to do random from.

Note there are two things - there is a RandomInCategory extension, and the page [[Special:RandomInCategory]] in core (which is what's available on wikimedia wikis).

Its unlikely the core functionality is going to be extended in this way (The types of categories where this would be useful, would also make for an expensive sql query), but maybe using cirrus as a backend might be feasible.

Should be able to just replicate what we did for Special:Random but with a namespace filter. Inverting that filter is trivial.

Aklapper renamed this task from Add Special:RandomNotInCategory to Extension:RandomInCategory to [RandomInCategory] Add Special:RandomNotInCategory.Jan 25 2019, 6:21 PM
Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:13 AM