Extension:WikiEditor/zh

The WikiEditor extension 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.

配置
把上面的代码添加到您的 LocalSettings.php 文件底部. 在某些情况下，WikiEditor可能会在您安装后仍然不能在您的浏览器上显示出来. 如果出现这种情况，请尝试清空浏览器缓存.

IIS安装提醒：在默认情况下，IIS不能识别.svg文件. WikiEditor 需要用它来代表图标. (uses them to represents the icons) 您需要增加mime类型来修复这个问题. （这里还有一个参考网页，中文版无法显示出来，请切换到英文版查看网页链接. ）

个性化工具栏
"See Toolbar customization."

工具栏模块
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

操作
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.

Labs Modules
Part of the WikiEditor extension were a number of alpha quality modules. These alpha modules are now deprecated and are being removed. The modules are: highlighter, toc, templates and template editor. You should not be using them.

参见

 * Toolbar customization
 * Toolbar customization library
 * Custom edit buttons
 * RefToolbar 2.0, on-wiki JavaScript that adds a Cite template tools to WikiEditor's UI.