Extensión:WikiEditor
![]() Estado de lanzamiento estable |
|
---|---|
![]() |
|
Descripción | Provides an extendable wikitext editing interface and many feature-providing modules |
Autor(es) |
|
Última versión | Continuous updates |
MediaWiki | >= 1.38.0 |
Licencia | GNU Licencia Pública general 2.0 o más tarde |
Descarga | README |
Ejemplo | Test Wikipedia |
|
|
Traduce el WikiEditor extensión si es disponible en translatewiki.net | |
Asuntos | Tareas abiertas · Reportar un bug |
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.
Instalación
- Descarga y extrae los archivos en un directorio denominado «
WikiEditor
» dentro de la carpetaextensions/
. - Añade el código siguiente al final de LocalSettings.php:
wfLoadExtension( 'WikiEditor' );
- Hecho – Navega a Special:Version en el wiki para verificar que la extensión se haya instalado correctamente.
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 represents the icons. To fix this, you have to add the MIME type.
Configuración
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 "Activar la barra de herramientas de edición mejorada" option (under the "Edición" tab).
If you wish all users to have it, and be unable to disable it, add it to $wgHiddenPrefs
in your LocalSettings.php :
$wgHiddenPrefs[] = 'usebetatoolbar';
Versión de 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ón de MediaWiki: | 1.39 |
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.
History
The extension used to provide "Labs" features for "publication" and "preview" steps, but these were removed from REL1_31 onwards.
Véase también
- Extension:WikiEditor/Toolbar customization – technical details of customizing the toolbar.
- Extension:WikiEditor/Toolbar customization/Library – snippets of code for common additions to the toolbar.
- RefToolbar 2.0, on-wiki JavaScript that adds a Cite template tools to WikiEditor's UI.
- Editor de wikitexto 2017
- Extension:EventLogging – if the EventLogging extension is installed, WikiEditor will make use of it.
Esta extensión está siendo usada en uno o más proyectos de Wikimedia. Esto significa probablemente que la extensión es estable y funciona lo suficientemente bien como para ser usada en sitios con gran cantidad de visitas. Puedes buscar el nombre de esta extensión en los archivos CommonSettings.php e InitialiseSettings.php de Wikimedia para ver dónde se instala. Encontrarás la lista completa de extensiones instaladas en un wiki en particular en la página Special:Version del wiki. |