Extension:EditOwn

EditOwn is an extension that prevents unprivileged users from editing pages they haven't created. Privileged users can of course edit every page.

Installation
Download the latest snapshot and extract it to your extensions directory. Then add the following to the bottom of LocalSettings.php:

Then go to your wiki's Special:Version to verify the installation.

Permissions
You will probably want to allow some users to edit all pages. To set this up, two approaches are possible:

Using existing groups
Add any of the following lines to LocalSettings.php to allow existing groups of users to edit all pages: If you have created any custom groups in LocalSettings.php, you can allow these groups to edit all pages by adding to LocalSettings.php (replace 'groupname' with the name of your custom group).

NOTE: If a user is in multiple groups, they will be able to edit all pages even if that's allowed for only one of those groups. E.g.: if group A can't edit all pages but group B can, a user in both group A and B will be allowed to edit all pages.

Creating a new group
You can also create a separate group for users who can edit all pages. To do this, add the following line to LocalSettings.php: This creates a new group named 'editall'. Only users in that group can edit all pages. You can add users to the editall group using the Special:Userrights special page.

Excluding namespaces
You may want to disable EditOwn's functionality for certain namespaces. To do this, add the following line to LocalSettings.php, below the line added earlier : This will disable EditOwn for the Talk, User and User talk namespaces. A list of all namespace constants can be found here.

Restricting actions other than editing
You may want to use EditOwn's functionality to disable actions other than editing in a similar way, e.g. to allow users to only delete pages they've created themselves. This is done with: NOTE: Users who don't have the 'delete' right won't be able to delete anything, no matter how EditOwn is configured.

NOTE: The 'editall' right applies to these action as well, i.e. users with the 'editall' right will also be able to perform actions in $wgEditOwnActions regardless of who created the page in question (provided, of course, they have the right to perform that action in the first place).

Licensing and downloads
The extension is available under the GNU General Public License version 3 or later, and can be downloaded from Subversion, or accessed via the web-based viewer.

The software is provided as-is. Updates will be made where critical vulnerabilities are discovered.

Contact
EditOwn is currently maintained by Roan Kattouw. If you have any questions, complaints, feature requests, found a bug, or any other reason to contact the maintainer, please send your e-mails to [mailto:roan.kattouw@home.nl roan.kattouw@home.nl] and mention "EditOwn" in the subject.