Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Extension:WikiEditor

From mediawiki.org
Translate this page
Languages:
MediaWiki extensions manual
WikiEditor
Release status: stable
DescriptionProvides an extendable wikitext editing interface and many feature-providing modules
Author(s)
Latest versionContinuous updates
MediaWiki>= 1.45
LicenseGNU General Public License 2.0 or later
Download
README
HelpHelp:Extension:WikiEditor
ExampleTest Wikipedia
  • $wgWikiEditorRealtimePreviewDebounce
  • $wgWikiEditorRealtimePreview
  • $wgWikiEditorRealtimeDisableDuration
Translate the WikiEditor extension if it is available at translatewiki.net
IssuesOpen tasks ·Report a bug

TheWikiEditor extension provides an improved interface (primarily atoolbar) for editing wikitext.It is the wikitextediting interface thatWikipedia started using in 2010 for desktop users, and so it is sometimes called the2010 wikitext editor.

Installation

This extensioncomes with MediaWiki 1.18 and later, so you do not need to download it. The remaining configuration instructions must still be followed.
  • Download and move the extractedWikiEditor folder to yourextensions/ directory.
    Developers and code contributors should install the extensionfrom Git instead, using:
    cdextensions/gitclonehttps://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
  • Add the following code at the bottom of yourLocalSettings.php file:
    wfLoadExtension('WikiEditor');
  • YesDone – Navigate toSpecial: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 forIIS setup: By default, IIS doesn't understand.svg files.WikiEditor uses them to represent the icons.To fix this, you have toadd 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 theirpreferences via theEnable the editing toolbar: This is sometimes called the '2010 wikitext editor'. option (under theEditing tab).

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

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

If you are using a version beforeREL1_31 and would want the toolbar to be default for users when they first join, add this line to yourLocalSettings.php:

$wgDefaultUserOptions['usebetatoolbar']=1;

Realtime Preview

This configuration parameter defaults totrue starting with version 1.41.0 of MediaWiki.
MediaWiki version:
1.41

Realtime Preview is enabled by default.Disable the Realtime Preview feature with the following:

$wgWikiEditorRealtimePreview=false;
MediaWiki versions:
1.39 – 1.40

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.

See also

This extension is being used on one or moreWikimedia projects. This probably means that the extension is stable and works well enough to be used by such high-traffic websites. Look for this extension's name in Wikimedia'sCommonSettings.php andInitialiseSettings.php configuration files to see where it's installed. A full list of the extensions installed on a particular wiki can be seen on the wiki'sSpecial:Version page.
This extension is included in the following wiki farms/hosts and/or packages:This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm.
Retrieved from "https://www.mediawiki.org/w/index.php?title=Extension:WikiEditor&oldid=7801331"
Categories:
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp