Extension:WikiEditor

From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎Lëtzebuergesch • ‎Tiếng Việt • ‎català • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português • ‎português do Brasil • ‎sicilianu • ‎suomi • ‎русский • ‎سنڌي • ‎মেইতেই লোন্ • ‎中文 • ‎日本語 • ‎한국어
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 extensions manual
Crystal Clear action run.svg
WikiEditor
Release status: stable
VectorEditorBasic-en.png
Description Provides an extendable wikitext editing interface and many feature-providing modules
Author(s) Trevor Parscal, Roan Kattouw
Latest version 0.5.1 (2016-04-15)
MediaWiki 1.25+
License GNU General Public License 2.0 or later
Download
README
Example Test Wikipedia
Hooks used
EditPage::showEditForm:initial
GetPreferences
MakeGlobalVariablesScript
ResourceLoaderRegisterModules
Translate the WikiEditor extension if it is available at translatewiki.net
Check usage and version matrix.
Issues Open tasks · Report a bug

The WikiEditor extension provides an improved interface for editing wikitext. It is the wikitext editing interface that Wikipedia started using in 2010 for desktop users, and so it is sometimes called the "2010 wikitext editor". The extension used to provide "Labs" features for "publication" and "preview" steps, but these are removed from REL1_31 onwards.

Installation[edit]

  • Download and place the file(s) in a directory called WikiEditor in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    wfLoadExtension( 'WikiEditor' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration[edit]

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 are using a version before REL1_31 and would want the toolbar to be default for users when they first join add this line to your LocalSettings.php:

$wgDefaultUserOptions['usebetatoolbar'] = 1;

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

  • The button for adding user signatures (four tildes) is available on talk pages and in namespaces specified in $wgExtraSignatureNamespaces .
  • Note for IIS setup: By default, IIS doesn't understand .svg files. WikiEditor uses them to represents the icons. To fix this, you have to add the MIME type.

See also[edit]