From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎日本語 • ‎मैथिली • ‎polski
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.png

Release status:Extension status unmaintained

ImplementationTemplate:Extension#type User rights
DescriptionTemplate:Extension#description Forces unprivileged users to preview before saving
Author(s)Template:Extension#username Ryan Schmidt (Skizzerztalk)
Latest versionTemplate:Extension#version 1.3.0 (2014-03-31)
MediaWikiTemplate:Extension#mediawiki 1.17+
Database changesTemplate:Extension#needs-updatephp No
LicenseTemplate:Extension#license Public domain
ExampleTemplate:Extension#example strategywiki.org
Added rightsTemplate:Extension#rights


Hooks usedTemplate:Extension#hook

Translate the ForcePreview extension if it is available at translatewiki.net

Check usage and version matrix.

The ForcePreview forces unprivileged users to preview before saving.


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.


  • Download and place the file(s) in a directory called ForcePreview in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
require_once "$IP/extensions/ForcePreview/ForcePreview.php";
$wgGroupPermissions['user']['forcepreviewexempt'] = true;
// Does not force preview for registered users
  • YesY Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

See also[edit]

  • Manual:Force previewManual: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).