Estensione:WikiEditor

From MediaWiki.org
Jump to: navigation, search
This page is a translated version of the page Extension:WikiEditor and the translation is 37% complete.

Outdated translations are marked like this.
Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎한국어 • ‎Lëtzebuergesch • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎sicilianu • ‎سنڌي • ‎中文
This extension comes with MediaWiki 1.18 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.
Manuale sulle Estensioni MediaWikiManual:Extensions
Crystal Clear action run.png
WikiEditor

Stato della release:Extension status stabile

VectorEditorBasic-en.png
DescrizioneTemplate:Extension#description Fornisce un'interfaccia di modifica wikitesto estendibili e molti moduli multi-funzionamento.
Autore(i)Template:Extension#username Trevor Parscal, Roan Kattouw
VersioneTemplate:Extension#version 0.5.1 (2016-04-15)
MediaWikiTemplate:Extension#mediawiki 1.25+
LicenzaTemplate:Extension#license GNU General Public License 2.0 or later
Scaricare
README
EsempioTemplate:Extension#example Test Wikipedia
ParametriTemplate:Extension#parameters

$wgWikiEditorFeatures

Hook usatiTemplate:Extension#hook
EditPage::showEditForm:initialManual:Hooks/EditPage::showEditForm:initial
GetPreferencesManual:Hooks/GetPreferences
MakeGlobalVariablesScriptManual:Hooks/MakeGlobalVariablesScript
ResourceLoaderRegisterModulesManual:Hooks/ResourceLoaderRegisterModules

Traducete l'estensione WikiEditor se è disponibile su translatewiki.net

Verificare uso e versione della matrice.

ProblemiPhabricator

Compiti aperti · Riportare un bug

L'estensione WikiEditor è una struttura estensibile con un set di moduli basati su funzionalità che migliorano l'esperienza di modifica dell'utente.

È l'interfaccia utilizzata attualmente da Wikipedia.

It includes an extendable framework with a set of feature-based modules, each of which can be selectively enabled or disabled, aiming to improve the user experience of editing in different ways.


Installazione[edit]

  • Download and place the file(s) in a directory called WikiEditor in your extensions/ folder.

Configurazione[edit]

# Enables use of WikiEditor by default but still allows users to disable it in preferences
$wgDefaultUserOptions['usebetatoolbar'] = 1;

# Enables link and table wizards by default but still allows users to disable them in preferences
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;

# Displays the Preview and Changes tabs
$wgDefaultUserOptions['wikieditor-preview'] = 1;

# Displays the Publish and Cancel buttons on the top right side
$wgDefaultUserOptions['wikieditor-publish'] = 1;

Aggiungi il codice qui sopra alla fine del tuo LocalSettings.php. In alcune situazioni, WikiEditor potrebbe non essere mostrato dopo l'installazione. Pulire la cache del tuo browser può risolvere il problema.

Nota Nota:

Personalizzazione della barra strumenti[edit]

Vedi personalizzazione della toolbar.

Estendere[edit]

Toolbar Module[edit]

The WikiEditor.

A toolbar visible on editing pages which replaces the stock toolbar. See the toolbar icons.

Sections[edit]

Toolbar
The bold button tool.
Default select tools: Format, Insert, Special characters, Help

A toolbar is a series of groups, each with a series of tools, rendered in the writing direction of the content language, with visible dividers between groups.

Supported Tool Types

  • Button - an icon which can be clicked
  • Select - a drop-down list which can be selected from
Booklet
Loading help booklet

A booklet is a series of named pages which can be viewed one at a time and navigated through using an index list widget.

Supported Page Types

  • Table - a grid of columns and rows
  • Characters - a series of rectangular buttons containing text values

Azioni[edit]

Each tool has an action which is executed when the tool is used. The most commonly used action is encapsulate, which operates on the currently selected text, prepending text, appending text and in the case that no text was selected inserting text at the cursor. The encapsulate action takes three parameters, pre, peri and post, which can either be raw text or message keys.

Raw Text Message Descrizione
pre preMsg Text to place before the cursor/selection
peri periMsg Text to place at the cursor if there is no selection
post postMsg Text to place after the cursor/selection/peri text

Labs Modules[edit]

Part of the WikiEditor extension were a number of alpha quality modules. These alpha modules are now deprecated and are being removed. The modules are: highlighter, toc, templates and template editor. Non dovresti usarli.

Vedi anche[edit]