Extension:WikiEditor

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.
Category:Extensions bundled with MediaWiki 1.18 Category:Extensions with invalid or missing typeCategory:Extensions without a compatibility policyCategory:GPL licensed extensions
MediaWiki extensions manual
WikiEditor
Release status: stableCategory:Stable extensions
Description Provides an extendable wikitext editing interface and many feature-providing modules
Author(s)
Latest version Continuous updates
MediaWiki >= 1.44
License GNU General Public License 2.0 or later
Download Category:Extensions in Wikimedia version control
README
Help Help:Extension:WikiEditor
Example Test Wikipedia
  • $wgWikiEditorRealtimePreview
  • $wgWikiEditorRealtimePreviewDebounce
  • $wgWikiEditorRealtimeDisableDuration
Quarterly downloads 351 (Ranked 6th)
Public wikis using 13,753 (Ranked 9th)
Translate the WikiEditor extension if it is available at translatewiki.net
Issues Open tasks · Report a bug
Category:All extensions

The WikiEditor extension provides an improved interface (primarily a toolbar) 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.

Installation

  • Download and move the extracted WikiEditor folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'WikiEditor' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

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

Note for IIS setup: By default, IIS doesn't understand .svg files. WikiEditor uses them to represent the icons. To fix this, you have to add the MIME type.

Configuration

Enabling/disabling the toolbar

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 "Enable the editing toolbar" option (under the "Editing" tab).

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

$wgHiddenPrefs[] = 'usebetatoolbar';
MediaWiki version:
1.31

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;

Realtime Preview

MediaWiki version:
1.39

Enable the Realtime Preview feature with the following:

$wgWikiEditorRealtimePreview = true;
This configuration parameter defaults to true starting with version 1.41.0 of MediaWiki.

Signature button

The button for adding user signatures (four tildes) is available on talk pages and in namespaces specified in $wgExtraSignatureNamespaces.

See also

  • RefToolbar 2.0, on-wiki JavaScript that adds Cite template tools to WikiEditor's UI.
Category:Extensions used on Wikimedia#WikiEditor Category:Usability initiative extensions Category:Edit extensions Category:WYSIWYG extensions
Category:All extensions Category:ChangeTagsListActive extensions Category:EditPage::attemptSave:after extensions Category:EditPage::attemptSave extensions Category:EditPage::showEditForm:fields extensions Category:EditPage::showEditForm:initial extensions Category:EditPageGetPreviewContent extensions Category:Edit extensions Category:Extensions available as Debian packages Category:Extensions bundled with MediaWiki 1.18 Category:Extensions in Wikimedia version control Category:Extensions included in BlueSpice Category:Extensions included in Canasta Category:Extensions included in Fandom Category:Extensions included in Miraheze Category:Extensions included in MyWikis Category:Extensions included in ProWiki Category:Extensions included in ShoutWiki Category:Extensions included in Telepedia Category:Extensions included in WikiForge Category:Extensions included in semantic::core Category:Extensions included in wiki.gg Category:Extensions used on Wikimedia Category:Extensions with invalid or missing type Category:Extensions without a compatibility policy Category:GPL licensed extensions Category:GetPreferences extensions Category:ListDefinedTags extensions Category:RecentChange save extensions Category:Stable extensions Category:Usability initiative extensions Category:WYSIWYG extensions