Jump to content

Estensione:WikiEditor

From mediawiki.org
This page is a translated version of the page Extension:WikiEditor and the translation is 40% complete.
Manuale sulle Estensioni MediaWiki
WikiEditor
Stato della release: stabile
Descrizione Fornisce un'interfaccia di modifica wikitesto estendibili e molti moduli multi-funzionamento.
Autore(i)
Versione Continuous updates
MediaWiki >= 1.45
Licenza GNU General Public License 2.0 or later
Scaricare
README
Esempio Test Wikipedia
  • $wgWikiEditorRealtimePreviewDebounce
  • $wgWikiEditorRealtimePreview
  • $wgWikiEditorRealtimeDisableDuration
Traduci l'estensione WikiEditor se è disponibile su translatewiki.net
Problemi Compiti aperti · Riportare un bug

L'estensione WikiEditor fornisce un'interfaccia migliorata (principalmente una barra degli strumenti) per la modifica di wikitesto. È l'interfaccia di editing del wikitesto che Wikipedia ha iniziato a usare nel 2010 per gli utenti desktop, e per questo viene talvolta chiamato editor wikitext 2010.

Installazione

This extension comes 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 extracted WikiEditor folder to your extensions/ 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
    
  • Aggiungi il seguente codice al tuo $LocalSettings (preferibilmente alla fine):
    wfLoadExtension( 'WikiEditor' );
    
  • Yes Done – Naviga in Special:Version nella tua wiki per verificare che l'estensione sia stata installata correttamente.

In alcune situazioni, WikiEditor potrebbe non essere mostrato dopo l'installazione. Pulire la cache del tuo browser può risolvere il problema.

  • Nota per l'impostazione IIS: per impostazione predefinita IIS non interpreta i file .svg.

WikiEditor li utilizza per rappresentare le icone. Per sistemarlo, devi aggiungere il MIME type.

Configurazione

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 Abilita la barra degli strumenti di modifica: Anche nota come 'editor di wikitesto 2010'. option (under the Casella di modifica 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';
Versione 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

This configuration parameter defaults to true starting with version 1.41.0 of MediaWiki.
Versione MediaWiki:
1.41

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

$wgWikiEditorRealtimePreview = false;
Versioni di MediaWiki:
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 .

Vedi anche

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