Jump to content

Extension:AuthorProtect

From mediawiki.org
This page is a translated version of the page Extension:AuthorProtect and the translation is 60% complete.
Manuel des extensions MediaWiki
AuthorProtect
État de la version : stable
Implémentation Droits utilisateur , Action de page
Description Permet à l'auteur d'une page de la protéger des autres utilisateurs
Auteur(s) Ryan Schmidt (Skizzerzdiscussion)
Dernière version 1.4.0 (2017-11-25)
MediaWiki 1.29+
  • $wgRestrictionLevels
  • author
  • authorprotect
License Licence publique générale GNU v2.0 ou supérieur
Téléchargement
Traduire l’extension AuthorProtect sur translatewiki.net si elle y est disponible

L'extension AuthorProtect permet aux auteurs des pages de les protéger contre les non-auteurs, et ceci page par page. Authors with the 'authorprotect' permission will gain a protect tab on pages that gives them (author) access to this interface. Because logs and anonymous users don't mix very well (as with the fact that all anonymous users share the same user id), anonymous users are unable to use this extension regardless of if they have the 'authorprotect' right or not.

Do not manually assign the 'author' permission to any non-privileged group. Do not assign the 'author' right via $wgGroupPermissions , except to those who you want to be able to edit author-protected pages. Ce droit est automatiquement attribué à l'auteur de la page. Assigning this right via $GroupPermissions gives that group the ability to edit all author-protected pages, regardless of if they are the author of the page or not (by default user group administrators have this right).

Installation

  • Téléchargez et placez le(s) fichier(s) dans un répertoire appelé AuthorProtect dans votre dossier extensions/.
    Les développeurs et les contributeurs au code doivent à la place installer l'extension à partir de Git en utilisant:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/AuthorProtect
    
  • Ajoutez le code suivant à la fin de votre fichier LocalSettings.php  :
    wfLoadExtension( 'AuthorProtect' );
    
  • Yes Fait – Accédez à Special:Version sur votre wiki pour vérifier que l'extension a bien été installée.

Voir aussi