Extension:ForcePreview

From MediaWiki.org

Jump to: navigation, search
Manual on MediaWiki Extensions
List of MediaWiki Extensions
ForcePreview

Release status: stable

Implementation User rights
Description Forces unprivileged users to preview before saving
Author(s) Ryan Schmidt (SkizzerzTalk)
Last Version 1.1
MediaWiki 1.12.0+
License None (Public Domain)
Download Download snapshot

Subversion [Help]
Browse source code
README
CHANGELOG

Contents

[edit] Usage

Users without the forcepreviewexempt right will be forced to use the "Show Preview" (or "Live Preview", if enabled) button before being allowed to save the page.

[edit] Download instructions

Download the latest snapshot and extract it to your extensions directory.

Note Note: Please check to make sure you have revision 30891 or later of MediaWiki 1.12 before installing this extension!

[edit] Installation

To install this extension, add the following to LocalSettings.php:

$wgGroupPermissions['user']['forcepreviewexempt'] = true; //Does not force preview for registered users
require_once("$IP/extensions/ForcePreview/ForcePreview.php");

[edit] See also

  • Manual:Force preview: JavaScript that performs the same function, albeit easier to work around (users can simply disable JavaScript on their browser to get around the restriction).
Personal tools