Jump to content

Extension:FilterListUsers

From mediawiki.org
MediaWiki extensions manual
FilterListUsers
Release status: stable
Implementation User rights
Description Filters out users that haven't edited from Special:ListUsers
Author(s) Jack Phoenix
Latest version 1.6
MediaWiki 1.39+
License GNU General Public License 2.0 or later
Download
  • $wgFilterListUsersMinimumEdits
  • $wgFilterListUsersExemptGroups
viewallusers
Quarterly downloads 0
Translate the FilterListUsers extension if it is available at translatewiki.net

FilterListUsers is a MediaWiki extension that hides users who have made $wgFilterListUsersMinimumEdits (5 by default) 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 user groups listed in the $wgFilterListUsersExemptGroups configuration variable are also not filtered out; by default these groups are: sysop, bureaucrat, steward, staff, globalbot

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

Note that this extension only modifies what's shown on the Special:ListUsers special page; it does not alter the output of the query API (api.php?action=query&list=allusers) as (as of MediaWiki 1.39).

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

Installation

[edit]
  • Download and move the extracted FilterListUsers folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/FilterListUsers
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'FilterListUsers' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.