![]() Release status: stable |
|
---|---|
Implementation | Special page | , Data extraction
Description | Allows to export user name and email to a CSV file |
Author(s) | Rodrigo Sampaio Primo (RodrigoSampaioPrimotalk) |
Maintainer(s) | Mark A. Hershberger |
Latest version | 2.1.1 (2020-04-15) |
MediaWiki | 1.34+ |
PHP | 7.2+ |
Database changes | No |
Composer | mediawiki/user-export |
License | GNU General Public License 2.0 or later |
Download | Download extension Git [?]: README CHANGELOG |
Added rights
userexport
|
|
Quarterly downloads | 20 (Ranked 150th) |
Translate the UserExport extension if it is available at translatewiki.net | |
The UserExport extension allows to export the user name and email of all MediaWiki users to a CSV-file via a new special page called "Special:UserExport".
Usage
This extension creates a new restricted special page called "Special:UserExport" with the title User Export which has only a button to trigger the generation of the CSV file. Click on this button and download the file. The data gets exported in "UTF-8".
Installation
- Download and place the file(s) in a directory called
UserExport
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php
wfLoadExtension( 'UserExport' );
file: - Configure as required.
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuration
- User right
By default the "userexport" permission provided by this extension is assigned to the "bureaucrat" user group.
In case you would like to change this add the following lines to your "LocalSettings.php" file after the inclusion of the extension as described in the "Installation" section above:
$wgGroupPermissions['bureaucrat']['userexport'] = false; // <translate nowrap><!--T:6--> remove from <tvar name=1>"bureaucrat"</tvar> group</translate>
$wgGroupPermissions['userexport']['userexport'] = true; // <translate nowrap><!--T:7--> add to dedicated <tvar name=1>"userexport"</tvar> group</translate>
See also
- Extension:ImportUsers – Extension that allows to import users in bulk from a CSV file
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.