Extension:WikiEditor/zh

WikiEditor扩展提供了一个改进的维基文本编辑界面. 这是维基百科在2010年对桌面用户开始使用的编辑界面.

它包含了一个可扩展的框架和一套基于特征的模块，每个模块都可以被可选择地启用或禁用，目的是以不同方式改进用户编辑体验.

配置
注意只有 和 配置选项在维基媒体网站上启用. 其他配置选项的支持可能有限.

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


 * 关于添加用户签名的按钮（四个波浪符）只在讨论页面和在 中指定的名字空间中可用.
 * IIS安装提醒：在默认情况下，IIS不能识别.svg文件. Wiki编辑器需要用它来代表图标.  要修复它，您将需要添加MIME类型.

个性化工具栏
"参见工具栏定制."

工具栏模块
一个在编辑页面可视的工具栏替代了原有的工具栏. 参见工具栏图标.

章节

 * 工具栏

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.
 * 小册子

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.

实验室模块
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. 您不应使用它们.

参见

 * 工具栏定制
 * 工具栏定制库
 * 自定义编辑按钮
 * RefToolbar 2.0, on-wiki JavaScript that adds a Cite template tools to WikiEditor's UI.
 * 2017年版wiki文本编辑器