Extension:PostEdit

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
PostEdit

Release status: beta

PEF-1-Cropped.png
Implementation Notify, Skin
Description An extension to deliver a confirmation message post-edit
Author(s) Munaf Assaf, Ori Livneh
Latest version 0.4 (2013-03-22)
Database changes No
License GPLv2 or later
Download
README
Hooks used
BeforePageDisplay

MakeGlobalVariablesScript
ArticleUpdateBeforeRedirect
BeforePageRedirect
ArticleInsertComplete

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

Check usage and version matrix; code metrics
Bugs: list open list all report

The PostEdit extension delivers feedback after saving of an edit, such as a confirmation message. The E3 team developed it on the basis of A/B testing results of post-edit feedback (data analysis), which showed that a confirmation message and other kinds of feedback can help new editors contribute more.

Download[edit | edit source]

The extension can be retrieved directly from Git [?]:

  • Browse code
  • Some extensions have tags for stable releases.
  • Each branch is associated with a past MediaWiki release. There is also a "master" branch containing the latest alpha version (might require an alpha version of MediaWiki).

Extract the snapshot and place it in the extensions/PostEdit/ directory of your MediaWiki installation.

If you are familiar with git and have shell access to your server, you can also obtain the extension as follows:

cd extensions/
git clone https://gerrit.wikimedia.org/r/p/mediawiki/extensions/PostEdit.git

Installation[edit | edit source]

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

Disabling[edit | edit source]

If you are an editor of a wiki that uses this extension, and you find the edit confirmation that it generates obtrusive or otherwise unwelcome, you can prevent it from appearing by adding the following line to your Common.css user stylesheet:

.postedit { display: none !important; }

See also[edit | edit source]