Extension:LockAuthor/it
Appearance
This extension is professionally maintained by the WikiTeq team.
WikiTeq provides official support for MediaWiki LTS releases only. It may work with other MediaWiki releases.
LockAuthor Stato della release: stabile |
|
---|---|
Implementazione | Diritti utente |
Descrizione | Prevents users from editing pages they haven't created |
Autore(i) | Vedmakadiscussione |
Mantenuta da | WikiTeq team |
Versione | 1.0 |
Politica di compatibilità | Per ogni versione di MediaWiki LTS (supporto a lungo termine) c'è un branch corrispondente nell'estensione |
MediaWiki | 1.35, 1.39 |
PHP | 7.1+ |
Licenza | GNU General Public License 2.0 or later |
Scaricare | README |
|
|
editall |
|
Quarterly downloads | 8 (Ranked 123rd) |
Traduci l'estensione LockAuthor se è disponibile su translatewiki.net | |
Problemi | Compiti aperti · Riportare un bug |
LockAuthor è un estensione di MediaWiki per prevenire che gli utenti modifichino pagine che non hanno creato.
It does not itself allow users to edit pages that they have created; for that, you will have to make sure the standard "edit" right is correctly set.
This extension is a drop-in replacement for the EditOwn extension, which was archived in 2018.
This extension was created for WikiWorks.
Installation
- Download and move the extracted
LockAuthor
folder to yourextensions/
directory.
Developers and code contributors should install the extension from Git instead, using:cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/LockAuthor - Aggiungi il seguente codice al tuo $LocalSettings (preferibilmente alla fine):
wfLoadExtension( 'LockAuthor' );
- Configure as required
- Done – Naviga in Special:Version nella tua wiki per verificare che l'estensione sia stata installata correttamente.
Configuration
$wgLockAuthorExcludedNamespaces
- array of namespaces to be excluded from checks$wgLockAuthorActions
- array of actions to be checked (Default:[ 'edit', 'create' ]
)
Rights:
editall
- grant this right to a group to allow bypassing extension's restrictions
Example setup
# Prevent anonymous editing
$wgGroupPermissions['*']['edit'] = false;
$wgGroupPermissions['*']['createpage'] = false;
# Allow regular users to edit pages
$wgGroupPermissions['user']['edit'] = true;
$wgGroupPermissions['user']['createpage'] = true;
wfLoadExtension( 'LockAuthor' );
// LockAuthor will limit users edit right only to pages created by them
# Allow sysop to edit all pages
$wgGroupPermissions['sysop']['editall'] = true;
See also
This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
Categories:
- Extensions by WikiTeq/it
- Stable extensions/it
- User rights extensions/it
- GPL licensed extensions/it
- Extensions in Wikimedia version control/it
- Extensions which add rights/it
- GetUserPermissionsErrors extensions/it
- All extensions/it
- Extensions included in Canasta/it
- Extensions included in Miraheze/it
- Extensions included in WikiForge/it