Extension:PageBlock

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
PageBlock
Release status: experimental
Description Enables per-page/user restrictions
Author(s) (Legoktmtalk)
Latest version 0.1
License GNU General Public License 2.0 or later
Download
page-block
Translate the PageBlock extension if it is available at translatewiki.net
Check usage and version matrix.

The PageBlock extension allows you to restrict users from taking an action on a specific page. It can be considered an extension to the page protection or user blocking mechanisms.

Installation[edit]

  • Download and place the file(s) in a directory called PageBlock in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/PageBlock/PageBlock.php";
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

User rights[edit]

  • page-block - Allows you to apply/modify/remove restrictions

Known issues[edit]

  • Logging sucks
  • Restrictions will also show up on Special:ProtectedPages in a broken format due to them using the same table

Future improvements[edit]

  • Allow restricting other actions that aren't edit/move.