Extension:WikiEditor

WikiEditor is an extendable framework with a set of feature-based modules that improve the user experience of editing. It is also the editing interface that Wikipedia currently uses.

Installation
if you use require_once( “$IP/extensions/WikiEditor/WikiEditor.php” ); can't work. and throw a error like "Parse error: syntax error, unexpected T_VARIABLE in E:\mediawiki\LocalSettings.php on line 131"

you can add the following code to your LocalSettings.php (at the bottom)

include (str_replace('\\', '/',dirname( __FILE__ )).'/extensions/WikiEditor/WikiEditor.php');

Configuration
In some situations, WikiEditor may not show in your browser after the installation. Clearing your browser cache will solve the problem.

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.

To enable this module, use the following code :

The following bug can be one of the potential issues with HTML iframe: 22438