Jump to content

Perpanjangan:WikiEditor

From mediawiki.org
This page is a translated version of the page Extension:WikiEditor and the translation is 11% complete.
This extension comes with MediaWiki 1.18 and above. Jadi Anda tidak perlu mengunduhnya lagi. Akan tetapi, Anda masih perlu mengikuti instruksi lain yang diberikan.
Ekstensi MediaWiki
WikiEditor
Status rilis stabil
Deskripsi Memberikan antarmuka editing wikitext yang dapat diperluas dan banyak modul yang menyediakan fitur
Perancang awal
Versi terbaru Pembaruan berkelanjutan
MediaWiki >= 1.43
Lisensi Lisensi Publik Umum GNU 2.0 atau lebih baru
Unduh
README
Contoh Wikipedia Uji Coba
  • $wgWikiEditorRealtimePreview
  • $wgWikiEditorRealtimePreviewDebounce
  • $wgWikiEditorRealtimeDisableDuration
Quarterly downloads 555 (Ranked 4th)
Public wikis using 13,753 (Ranked 9th)
Terjemahkan ekstensi WikiEditor jika tersedia di translatewiki.net
Masalah Tugas terbuka · Laporkan kekutu

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

  • Unduh dan letakkan berkas-berkasnya di dalam sebuah direktori yang bernama WikiEditor di folder extensions/ Anda.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
  • Tambahkan kode berikut di bagian bawah LocalSettings.php Anda:
    wfLoadExtension( 'WikiEditor' );
    
  • Yes Selesai – Telusuri ke Special:Version di wiki Anda untuk memastikan ekstensinya berhasil dipasang.

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 "Aktifkan bilah alat penyuntingan" option (under the "Penyuntingan" 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';
Versi MediaWiki:
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

Versi MediaWiki:
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.