扩展:Wiki编辑器

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Extension:WikiEditor and the translation is 68% complete.

Outdated translations are marked like this.
Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎한국어 • ‎Lëtzebuergesch • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎sicilianu • ‎سنڌي • ‎中文
This extension comes with MediaWiki 1.18 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.
MediaWiki扩展手册Manual:Extensions
Crystal Clear action run.png
WikiEditor

发布状态:Extension status 稳定版

VectorEditorBasic-en.png
描述Template:Extension#description 提供一个可扩展的维基文本编辑界面和一些提供功能的模块
作者Template:Extension#username Trevor Parscal, Roan Kattouw
最新版本Template:Extension#version 0.5.1 (2016-04-15)
MediaWikiTemplate:Extension#mediawiki 1.25+
许可协议Template:Extension#license GNU General Public License 2.0 or later
下载
README
例子Template:Extension#example Test Wikipedia
使用的钩子Template:Extension#hook
EditPage::showEditForm:initialManual:Hooks/EditPage::showEditForm:initial
GetPreferencesManual:Hooks/GetPreferences
MakeGlobalVariablesScriptManual:Hooks/MakeGlobalVariablesScript
ResourceLoaderRegisterModulesManual:Hooks/ResourceLoaderRegisterModules

翻译WikiEditor扩展如果在translatewiki.net可用

检查使用和版本矩阵。

问题Phabricator

开放的工作 · 报告错误

WikiEditor扩展提供了一个改进的维基文本编辑界面。

这是维基百科在2010年对桌面用户开始使用的编辑界面

The extension used to provide "Labs" features for "publication" and "preview" steps, but these are removed from REL1_31 onwards.

安装

  • 下载文件,并将其放置在您extensions/文件夹中的WikiEditor目录内。
  • 将下列代码放置在您的LocalSettings.php的底部:
    wfLoadExtension( 'WikiEditor' );
    
  • YesY 完成 - 在您的wiki上导航至Special:Version,以验证扩展已成功安装。

配置

No configuration is needed "out of the box". By default, when installed this extension will be available to all users, and logged-in users can disable it from their preferences via the usebetatoolbar option.

If you wish all users to have it, and be unable to disable it, add it to $wgHiddenPrefs in your LocalSettings.php:

$wgHiddenPrefs[] = 'usebetatoolbar';

If you would the toolbar to be default for users when they first join add this line to your LocalSettings.php:

$wgDefaultUserOptions['usebetatoolbar'] = 1;

在某些情况下,WikiEditor可能会在您安装后仍然不能在您的浏览器上显示出来。 如果出现这种情况,请尝试清空浏览器缓存。

注意 注意:

参见