Extension:FilterListUsers

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
FilterListUsers

Release status: beta

Implementation User rights
Description Filters out users that haven't edited from Special:ListUsers
Author(s) Jack Phoenix
Last version 1.0
MediaWiki 1.16+
License GNU General Public License 2.0 or later
Download
Added rights

viewallusers

Hooks used
SpecialListusersQueryInfo

SpecialListusersHeaderForm

Check usage (experimental)

FilterListUsers is a MediaWiki extension that hides users who have made 5 or less edits from Special:ListUsers unless the current user has the viewallusers user right, in which case they can view the full, "uncensored" user list. Users who belong to one (or more) of the following groups are also not filtered out: sysop, bureaucrat, steward, staff, globalbot

By default administrators have the viewallusers user right, so they can view the full user list.

This extension is based on an old core hack by Wikia.

[edit] Installation

  1. Download the source code, either via the extension distributor or SVN and place the files in $IP/extensions/FilterListUsers/
  2. Add the line
    require_once("$IP/extensions/FilterListUsers/FilterListUsers.php");
    into the wiki's LocalSettings.php
  3. Installation can now be verified through the wiki's Special:Version

[edit] Bugs/Issues/To-do list

  • The number 5 is hard-coded in the code, it probably should be a configuration global
  • Likewise, the number of exempt groups (sysop, bureaucrat, steward, staff, globalbot) is hardcoded and it should be a configuration global
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox