![]() Release status: stable |
|
---|---|
Implementation | User rights |
Description | Forces unprivileged users to preview before saving |
Author(s) | Ryan Schmidt (Skizzerztalk) |
Latest version | 2.0.0 (2017-09-20) |
MediaWiki | 1.29+ |
Database changes | No |
License | MIT License |
Download | Download extension Git [?]: README |
Example | strategywiki.org |
Added rights
forcepreviewexempt
|
|
Hooks used
|
|
Quarterly downloads | 5 (Ranked 165th) |
Translate the ForcePreview extension if it is available at translatewiki.net | |
The ForcePreview forces unprivileged users to preview before saving.
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.
Installation
- Download and place the file(s) in a directory called
ForcePreview
in yourextensions/
folder. - Add the following code at the bottom of your LocalSettings.php
wfLoadExtension( 'ForcePreview' ); // Does not force preview for registered users $wgGroupPermissions['user']['forcepreviewexempt'] = true;
file: Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
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).
![]() | This extension is included in the following wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.