Extension:ProtectSection

From MediaWiki.org

Jump to: navigation, search
If you need per-page or partial page access restrictions, you are advised to install an appropriate content management package. MediaWiki was not written to provide per-page access restrictions, and almost all hacks or patches promising to add them will likely have flaws somewhere, which could lead to exposure of confidential data. We are not responsible for anything being leaked, leading to loss of funds or one's job.
For further details, see Security issues with authorization extensions


Manual on MediaWiki Extensions
List of MediaWiki Extensions
ProtectSection

Release status: beta

Implementation User rights, Tag
Description Block editing of blocks of text embedded in <protect></protect> tags
Author(s) Originally by ThomasV; modified by Jim Hu and Siebrand Mazeland
Version unknown (2007-11-23)
MediaWiki 1.8+
Download SVN

[edit] Rationale and Features

Sometimes wikis want to allow editing on only part of a page. ProtectSection implements <protect></protect> tags to block editing by users who are not sysops or bureaucrats. Attempts to edit text between protect tags, or to delete protect tags will result in an error message being displayed when the user tries to save the page.

[edit] Installation

The usual: Copy to extensions folder. Add the following to LocalSettings.php:

require_once( "$IP/extensions/ProtectSection.php");

[edit] Alternatives

Personal tools