Last modified: 2014-07-11 21:55:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69812, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67812 - Add Special:RandomNotInCategory to Extension:RandomInCategory
Add Special:RandomNotInCategory to Extension:RandomInCategory
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-10 16:56 UTC by Jan Ainali
Modified: 2014-07-11 21:55 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jan Ainali 2014-07-10 16:56:49 UTC
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.
Comment 1 Bawolff (Brian Wolff) 2014-07-11 21:46:34 UTC
(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.
Comment 2 Chad H. 2014-07-11 21:55:50 UTC
Should be able to just replicate what we did for Special:Random but with a namespace filter. Inverting that filter is trivial.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links