Extension:ParserFunctions/fr

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

Other languages:
Deutsch 0% • ‎English 100% • ‎français 0% • ‎日本語 46% • ‎한국어 0% • ‎मराठी 0% • ‎русский 0%
Manuel des extensions MediaWiki - liste
Crystal Clear action run.png
ParserFunctions

État de la version : stable

Implémentation Parser function
Description Enhances parser with logical and string functions
Auteur(s) Tim Starlingtalk
Dernière version 1.6.0 (2014-03-28)
MediaWiki 1.19+
Changements base de données No
Licence GPLv2
Téléchargement
README
Paramètres
  • $wgPFStringLengthLimit
  • $wgPFEnableStringFunctions
Hooks utilisés
ParserFirstCallInit

UnitTestsList

Translate the ParserFunctions/fr extension if possible

Check usage and version matrix; code metrics
Bogues: liste ouverte liste complète rapport

The ParserFunctions extension enhances the wikitext parser with helpful functions, mostly related to logic and string-handling. Since MediaWiki 1.15, ParserFunctions has incorporated most (but not all) of the functions from the StringFunctions extension, which may be enabled or disabled (see install instructions hereafter).

Usage[edit | edit source]

For usage instructions, see the ParserFunctions help page, and the StringFunctions page.

Installation[edit | edit source]

This extension is bundled with MediaWiki 1.18 and above. Thus you do not have do download and extract the extension as described. However, you still need to follow the other instructions provided.
  • Téléchargez et faites l'extraction des fichiers dans un répertoire intitulé "ParserFunctions" dans le répertoire extensions/ de votre installation MediaWiki.
  • Ajoutez le code suivant dans votre fichier LocalSettings.php (dans les dernières lignes)
require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );
  • Configure as required, e.g. if you want to use the integrated string function functionality, add just after that line:
$wgPFEnableStringFunctions = true;
  • Yes check.svg Fait – Naviguez sur le "Spécial:Version" de votre wiki pour vérifier que l'extension a été installée avec succès.

Configuration[edit | edit source]

$wgPFEnableStringFunctions
Allows to activate the integrated string function functionality (see StringFunctions). The default value is false.
$wgPFStringLengthLimit
Defines the maximum length of a string that string functions are allowed to operate on. The default value is 1000.

See also[edit | edit source]