Extension:FilterListUsers

From Linux Web Expert

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.5
MediaWiki 1.39+
License GNU General Public License 2.0 or later
Download
  • $wgFilterListUsersMinimumEdits
  • $wgFilterListUsersExemptGroups
viewallusers
Quarterly downloads Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Public wikis using Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
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

  • <translate> [[<tvar name=2>Special:ExtensionDistributor/FilterListUsers</tvar>|Download]] and move the extracted <tvar name=name>FilterListUsers</tvar> folder to your <tvar name=ext>extensions/</tvar> directory.</translate>
    <translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/FilterListUsers
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'FilterListUsers' );
    
  • File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>