Sambungan:Alat sunting wiki
WikiEditor Release status: stable |
|
---|---|
Description | Menyediakan antara muka suntingan teks wiki dan pelbagai modul yang menyediakan fungsi |
Author(s) |
|
Latest version | Kemas kini berterusan |
MediaWiki | >= 1.43 |
License | GNU General Public License 2.0 or later |
Download | README |
Example | Test Wikipedia |
|
|
Quarterly downloads | 550 (Ranked 5th) |
Public wikis using | 13,753 (Ranked 9th) |
Translate the WikiEditor extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
Sambungan alat sunting wiki menyediakan sebuah antara muka yang dinaik taraf (utamanya berkenaan palang alat) untuk tujuan suntingan teks wiki. Ia merupakan antara muka penyuntingan teks wiki yang pengguna atas meja Wikipedia telah mula gunakan sejak tahun 2010, maka ia juga dikenali sebagai alat sunting teks wiki 2010.
Installation
- Download and move the extracted
WikiEditor
folder to yourextensions/
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' );
- 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 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 "Dayakan palang alat sunting" option (under the "Menyunting" 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;
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
- 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 Cite template tools to WikiEditor's UI.
- 2017 wikitext editor
- Extension:MsWikiEditor – allows you to easily add or remove buttons from the WikiEditor toolbar via configuration
- Extension:EventLogging – If installed, WikiEditor will make use of it.
This extension is being used on one or more Wikimedia 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's CommonSettings.php and InitialiseSettings.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's Special: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. |