Jump to content

Extension:WikiEditor/hu

From mediawiki.org
This page is a translated version of the page Extension:WikiEditor and the translation is 0% complete.
MediaWiki-kiterjesztések kézikönyve
WikiEditor
Kiadási állapot: stabil
Leírás Provides an extendable wikitext editing interface and many feature-providing modules
Szerző(k)
Legfrissebb verzió Continuous updates
MediaWiki >= 1.45
Licenc GNU General Public License 2.0 or later
Letöltés
README
Példa Test Wikipedia
  • $wgWikiEditorRealtimePreviewDebounce
  • $wgWikiEditorRealtimePreview
  • $wgWikiEditorRealtimeDisableDuration
Fordítsd le a(z) WikiEditor kiterjesztést, ha elérhető a translatewiki.net oldalon
Problémák Nyitott feladatok · Hibajelentés

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

Ezt a kiterjesztést a MediaWiki 1.18 és afölötti verziói már tartalmazzák, így nem kell újra letöltened. The remaining configuration instructions must still be followed.
  • Töltsd le a kiterjesztés fájljait, és mentsd el az extensions/ mappán belüli WikiEditor könyvtárba.
    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 hozzá az alábbi kódot a LocalSettings.php fájlod aljára:
    wfLoadExtension( 'WikiEditor' );
    
  • Yes Kész – A Special:Version oldalon ellenőrizheted, hogy a kiterjesztés ténylegesen feltelepült-e.

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 Szerkesztőeszköztár engedélyezése: Erre néha „2010-es wikiszöveges szerkesztő” néven hivatkoznak. option (under the Szerkesztés 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-verzió:
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

This configuration parameter defaults to true starting with version 1.41.0 of MediaWiki.
MediaWiki-verzió:
1.41

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

$wgWikiEditorRealtimePreview = false;
MediaWiki-verziók:
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

  • RefToolbar 2.0, on-wiki JavaScript that adds Cite template tools to WikiEditor's UI.