Extension:WikiEditor

WikiEditor is an extendable framework with a set of feature-based modules that improve the user experience of editing.

Transitioning from UsabilityInitiative
If you are upgrading from the UsabilityInitiative (MediaWiki 1.16 compatible) version, you will need to pay attention to the change in naming for configuration variables. See README for an example.

Installation
In 1.16, the WikiEditor was part of the usability initiative. As such, to get it for 1.16, please download it from Special:ExtensionDistributor/UsabilityInitiative or 1.16 svn branch.

For 1.17, get the extension with distributor or svn and drop it into MediaWiki directory /extensions (for example, it will create the new folder /extensions/WikiEditor)

For 1.18 and later the extension already comes with your MediaWiki package. You only need to install and configure it as described below:

Add the following line to your :

To enable use of WikiEditor by default but still allow users to disable it in preferences, use something like...

In some situation, the WikiEditor may not show in your browser after the changes has deployed. Clear browser cache will solve the problem.

See README for the details.

Toolbar customization
"See /Toolbar customization."

Toolbar Module
A toolbar visible on editing pages which replaces the stock toolbar. See the toolbar icons.

Sections

 * Toolbar

A toolbar is a series of groups, each with a series of tools, rendered in the writing direction of the content language, with visible dividers between groups.

Supported Tool Types
 * Button - an icon which can be clicked
 * Select - a drop-down list which can be selected from

A booklet is a series of named pages which can be viewed one at a time and navigated through using an index list widget.
 * Booklet

Supported Page Types
 * Table - a grid of columns and rows
 * Characters - a series of rectangular buttons containing text values

Actions
Each tool has an action which is executed when the tool is used. The most commonly used action is encapsulate, which operates on the currently selected text, prepending text, appending text and in the case that no text was selected inserting text at the cursor. The encapsulate action takes three parameters, pre, peri and post, which can either be raw text or message keys.

Table of Contents Module
Navigable table of content while editing a page to navigate in its sections. This module will enable the HTML iframe version of the text editing control, which is unstable and should only be used in experimental environments.