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

Release status: beta

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
Hooks used


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]

You can download the extension directly from the MediaWiki source code repository (browse code). You can get:

One of the extension's tags

Not all extensions have tags. Some extensions have tags for each release, in which case those tags have the same stability as the release. To download a tag

  • Go to the tags list
  • Click the name of the tag you want to download
  • Click "snapshot"
The latest version of one of the extension's branches

Each extension has a master branch containing the latest code (might be unstable). Extensions may have further branches as well.

  • Go to the branches list
  • Click the branch name
  • Click "snapshot"
A snapshot made during the release of a MediaWiki version.

This might be unstable and is not guaranteed to work with the associated MediaWiki version.

After you've got the code, save it into the extensions/PostEdit directory of your wiki.

If you are familiar with git and have shell access to your server, you can obtain the extension, with all its tags and branches, 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. If you're a developer and this extension is in a Git repository, then instead you should clone the repository.
  • 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]