Extension:Acrolinx

From mediawiki.org
This page is a translated version of the page Extension:Acrolinx and the translation is 100% complete.
Manuel des extensions MediaWiki
Acrolinx
État de la version : stable
Implémentation Accroche
Description Provides integration for the Acrolinx writing-assistance service
Auteur(s)
Dernière version 0.2 (février 2021)
Politique de compatibilité Le master conserve la compatibilité arrière.
MediaWiki 1.27+
Licence Licence publique générale GNU v3.0
Téléchargement
Version history
  • $wgAcrolinxNamespaces
Téléchargements trimestriels 4 (Ranked 141st)
Traduire l’extension Acrolinx sur translatewiki.net si elle y est disponible

The Acrolinx MediaWiki extension provides integration with Acrolinx, a (paid, proprietary) service that provides spell- and grammar-checking for text. This extension supplies a side window - which can be minimized - in edit pages, which in turn calls Acrolinx to check the text currently being edited.

The Acrolinx extension can be used when a page is being edited with VisualEditor - though, to have it actually make the changes that it suggests, you will need to apply a small patch to the VisualEditor code; this patch is included in the Acrolinx extension code. This extension can also be used for text and textarea inputs in forms defined by the Page Forms extension. It can also work on VisualEditor-based textareas within such forms (which additionally require the VEForAll extension).

Téléchargement

Vous pouvez télécharger le code de Acrolinx, en format .zip : https://github.com/wikimedia/mediawiki-extensions-Acrolinx/archive/0.2.zip

Vous pouvez aussi télécharger le code directement via Git depuis le répertoire du code source. À partir d'une invite de commandes dans le répertoire des extensions, exécutez la commande suivante :

git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/Acrolinx

Pour afficher le code en ligne, y compris l'historique des versions pour chaque fichier, allez à : view Acrolinx code

Installation

To install the extension, place the entire 'Acrolinx' directory within your MediaWiki 'extensions' directory, then add the following line to your 'LocalSettings.php' file:

wfLoadExtension( 'Acrolinx' );

You will then need to set the values of at least two other variables in LocalSettings.php:

  • $wgAcrolinxServerAddress - l'URL du serveur Acrolinx auquel vous accédez.
  • $wgAcrolinxClientSignature - la signature client à utiliser pour l'authentification - doit être une longue chaîne alphanumérique.

Vous pouvez également définir ou modifier les variables suivantes :

  • AcrolinxNamespaces - an array that holds the namespaces whose pages, when edited, should bring up the Acrolinx interface; by default, this holds only NS_MAIN.
  • AcrolinxPageLocationID - un ID pour une balise
    dans le code HTML, dans lequel la barre Acrolinx doit être insérée.

Historique des versions

  • 0.1 - April 4, 2018 - Initial version
  • 0.2 - February 18, 2021 - Added support for VisualEditor/VEForall; added $wgAcrolinxNamespaces global variable; extension officially released

Auteurs et remerciements

The Acrolinx extension was created by Yaron Koren, and was improved significantly by Vedmaka.

This extension includes JavaScript code developed by both Acrolinx and Google, as well as CSS code developed by Acrolinx, all available under the Apache 2.0 license, which is compatible with the GPLv3 license under which this extension is released.