Extension:LockAuthor/yo
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 Release status: stable |
|
---|---|
Implementation | User rights |
Description | Prevents users from editing pages they haven't created |
Author(s) | Vedmakaọ̀rọ̀ |
Maintainer(s) | WikiTeq team |
Latest version | 1.0 |
Compatibility policy | For every MediaWiki release that is a Long Term Support release there is a corresponding branch in the extension. |
MediaWiki | 1.35, 1.39 |
PHP | 7.1+ |
License | GNU General Public License 2.0 or later |
Download | README |
|
|
editall |
|
Quarterly downloads | 17 (Ranked 117th) |
Translate the LockAuthor extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
LockAuthor jẹ itẹsiwaju MediaWiki ti o ṣe idiwọ fun awọn olumulo lati ṣatunkọ awọn oju-iwe ti wọn ko ṣẹda.
Ko funrarẹ gba awọn olumulo laaye lati ṣatunkọ awọn oju-iwe ti wọn ti' ṣẹda; fun iyẹn, iwọ yoo ni lati rii daju pe “atunṣe” boṣewa ti ṣeto ni deede.
Ifaagun yii jẹ rirọpo ifisilẹ fun itẹsiwaju EditOwn, eyiti o wa ni ipamọ ni ọdun 2018.
A ṣẹda itẹsiwaju yii fun 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 - Add the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'LockAuthor' );
- Configure as required
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
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
Iṣeto apẹẹrẹ
# 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/yo
- Stable extensions/yo
- User rights extensions/yo
- GPL licensed extensions/yo
- Extensions in Wikimedia version control/yo
- Extensions which add rights/yo
- GetUserPermissionsErrors extensions/yo
- All extensions/yo
- Extensions included in Canasta/yo
- Extensions included in Miraheze/yo
- Extensions included in WikiForge/yo