Extensió:WikiEditor
Notes de la versió: estable |
|
|---|---|
| Descripció | Proporciona una interfície d'edició de wikitext extensible i molts mòduls que proporcionen funcions. |
| Autor(s) |
|
| Darrera versió | Actualitzacions contínues |
| MediaWiki | >= 1.46 |
|
|
| Licence | Llicència pública general GNU 2.0 o posterior |
| Descàrrega | README |
| Exemple | Viquipèdia de proves |
| Traduir l'extensió WikiEditor si està disponible a translatewiki.net | |
| Incidències | Tasques obertes · Informar d'un error |
L'extensió WikiEditor proporciona una interfície millorada (principalment una barra d'eines) per editar wikitext. És la interfície d'edició de wikitext que Viquipèdia va començar a utilitzar el 2010 per a usuaris d'escriptori, i per això de vegades s'anomena editor de wikitext del 2010.
Instal·lació
- Download and move the extracted
WikiEditorfolder 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 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 Habilita la barra d'edició: A vegades rep el nom d'«editor wikitext del 2010». option (under the Caixa d'edició 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
true starting with version 1.41.0 of MediaWiki.| MediaWiki version: | ≥ 1.41 |
Realtime Preview is enabled by default. Disable the Realtime Preview feature with the following:
$wgWikiEditorRealtimePreview = false;
| MediaWiki versions: | 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
- Extension:WikiEditor/Toolbar customization – technical details of customizing the toolbar.
- Extension:WikiEditor/Toolbar customization/Library – snippets of code for common additions to the toolbar.
- Extension:WikiEditor/Keyboard shortcuts – list of built in editing shortcuts
- 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: |
- Stable extensions/ca
- Extensions with invalid or missing type/ca
- ChangeTagsListActive extensions/ca
- EditPage::attemptSave extensions/ca
- EditPage::attemptSave:after extensions/ca
- EditPage::showEditForm:fields extensions/ca
- EditPage::showEditForm:initial extensions/ca
- EditPageGetPreviewContent extensions/ca
- GetPreferences extensions/ca
- ListDefinedTags extensions/ca
- RecentChange save extensions/ca
- GPL licensed extensions/ca
- Extensions in Wikimedia version control/ca
- All extensions/ca
- Extensions bundled with MediaWiki 1.18/ca
- Extensions used on Wikimedia/ca
- Extensions included in BlueSpice/ca
- Extensions included in Canasta/ca
- Extensions available as Debian packages/ca
- Extensions included in Fandom/ca
- Extensions included in Miraheze/ca
- Extensions included in MyWikis/ca
- Extensions included in ProWiki/ca
- Extensions included in semantic::core/ca
- Extensions included in ShoutWiki/ca
- Extensions included in Telepedia/ca
- Extensions included in wiki.gg/ca
- Usability initiative extensions/ca
- Edit extensions/ca
