Skip to content

Github mirror of "mediawiki/extensions/PagePermissions" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Notifications You must be signed in to change notification settings

wikimedia/mediawiki-extensions-PagePermissions

Repository files navigation

PagePermissions

Manages access per user per page
== Installation ==

  1. Download the extension and place it in the extensions/ directory.
  2. Add the following line in LocalSettings.php
wfLoadExtension( 'PagePermissions' );
  1. Run the update script which will automatically create the necessary database tables that this extension needs.
  2. ✅ Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Instead of downloading the zip archive you may also check this extension out via Git:

git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/PagePermissions

== Configuration ==
=== PagePermissionsRoles ===
Add the custom roles and their respective permissions in extension.json

Example:

"PagePermissionsRoles": {
	"reader": ["read"],
	"editor": ["read", "edit"],
	"manager": ["read", "edit", "move", "rollback"],
	"owner": ["read", "edit", "move", "rollback", "delete", "pagepermissions"]
}

=== User Rights ===
Allows users to use the "PagePermissions" page action in order to add or remove user rights for this page. Defaults to:

$wgGroupPermissions['sysop']['pagepermissions'] = true;

About

Github mirror of "mediawiki/extensions/PagePermissions" - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published