Extension:FilterListUsers

From mediawiki.org
MediaWiki extensions manual
FilterListUsers
Release status: unstable
Implementation User rights
Description Filters out users that haven't edited from Special:ListUsers
Author(s) Jack Phoenix
Latest version 1.5 (2017-01-23)
MediaWiki 1.41+
License GNU General Public License 2.0 or later
Download
  • $wgFilterListUsersMinimumEdits
  • $wgFilterListUsersExemptGroups
viewallusers
Quarterly downloads 2 (Ranked 142nd)
Translate the FilterListUsers extension if it is available at translatewiki.net
Warning Warning: This extension is sadly utterly broken on MediaWiki 1.35 and newer and it looks like it might even be a core MediaWiki issue. Any and all patches are more than welcome, but it doesn't look like core wants to play nice with the DB query, no matter what... --Jack Phoenix (Contact) 09:44, 13 October 2023 (UTC)

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.

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.