Extension:WikiEditor
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
- <translate> [[<tvar name=2>Special:ExtensionDistributor/WikiEditor</tvar>|Download]] and move the extracted <tvar name=name>
WikiEditor
</tvar> folder to your <tvar name=ext>extensions/
</tvar> directory.</translate>
<translate> Developers and code contributors should install the extension [[<tvar name=git>Special:MyLanguage/Download from Git</tvar>|from Git]] instead, using:</translate>cd extensions/
git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor - <translate> Add the following code at the bottom of your <tvar name=1>LocalSettings.php </tvar> file:</translate>
wfLoadExtension( 'WikiEditor' );
- File:OOjs UI icon check-constructive.svg <translate> Done</translate> – <translate> Navigate to <tvar name=special>Special:Version</tvar> on your wiki to verify that the extension is successfully installed.</translate>
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 represents 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 :
$wgHiddenPrefs[] = 'usebetatoolbar';
<translate> MediaWiki version:</translate> |
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
<td class="mw-version-versionbox" title="<translate nowrap> The latest stable version is <tvar name=1>1.41</tvar></translate>"><translate> MediaWiki version:</translate> |
Enable the Realtime Preview feature with the following:
$wgWikiEditorRealtimePreview = true;
Signature button
The button for adding user signatures (four tildes) is available on talk pages and in namespaces specified in $wgExtraSignatureNamespaces .
History
The extension used to provide "Labs" features for "publication" and "preview" steps, but these were removed from REL1_31
onwards.
See also
- Extension:WikiEditor/Toolbar customization – technical details of customizing the toolbar.
- Extension:WikiEditor/Toolbar customization/Library – snippets of code for common additions to the toolbar.
- RefToolbar 2.0, on-wiki JavaScript that adds a Cite template tools to WikiEditor's UI.
- 2017 wikitext editor
- Extension:EventLogging – if the EventLogging extension is installed, WikiEditor will make use of it.
File:Wikimedia-logo black.svg | <translate> This {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is being used on one or more [[<tvar name=2>m:Special:MyLanguage/Wikimedia projects</tvar>|Wikimedia projects]].</translate> <translate> This probably means that the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension|skin}} is stable and works well enough to be used by such high-traffic websites.</translate> <translate> Look for this {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extension's|skin's}} name in Wikimedia's <tvar name=2>CommonSettings.php</tvar> and <tvar name=3>InitialiseSettings.php</tvar> configuration files to see where it's installed.</translate> <translate> A full list of the {{<tvar name=1>#ifeq:Extension|Extension</tvar>|extensions|skins}} installed on a particular wiki can be seen on the wiki's <tvar name=ver>Special:Version</tvar> page.</translate> |
VectorEditorBasic-en.png |
- Pages with script errors
- Extensions bundled with MediaWiki 1.18
- Pages with broken file links
- Stable extensions
- Extensions with invalid or missing type
- Extensions without a compatibility policy
- GPL licensed extensions
- Extensions in Wikimedia version control
- ChangeTagsListActive extensions
- EditPageGetPreviewContent extensions
- GetPreferences extensions
- ListDefinedTags extensions
- RecentChange save extensions
- All extensions
- Extensions used on Wikimedia
- Usability initiative extensions
- Edit extensions
- WYSIWYG extensions