Extension:UserExport/fr

From Linux Web Expert

Manuel des extensions MediaWiki
UserExport
État de la version : stable
Implémentation Page spéciale , Extraction de données
Description Allows to export user name and email to a CSV file
Auteur(s) Rodrigo Sampaio Primo (RodrigoSampaioPrimotalk)
Maintenance Mark A. Hershberger
Dernière version 2.1.1 (2020-04-15)
MediaWiki 1.34+
PHP 7.2+
Modifie la base
de données
Non
Composer mediawiki/user-export
Licence Licence publique générale GNU v2.0 ou supérieur
Téléchargement
README
CHANGELOG
userexport
Téléchargements trimestriels Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Utilisé par les wikis publics Lua error in Module:Extension at line 172: bad argument #1 to 'inNamespace' (unrecognized namespace name 'skin').
Traduire l’extension UserExport sur translatewiki.net si elle y est disponible

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". The extension cannot export passwords and user groups.

Utilisation

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

  • <translate> <tvar name=1>Download</tvar> and place the file(s) in a directory called <tvar name=name>UserExport/fr</tvar> in your <tvar name=ext>extensions/</tvar> folder.</translate>
  • <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
    wfLoadExtension( 'UserExport/fr' );
    
  • Configure as required.
  • 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>

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; // remove from "bureaucrat" group
$wgGroupPermissions['userexport']['userexport'] = true; // add to dedicated "userexport" group

Voir aussi