Kiterjesztés:ParserFunctions

This page is a translated version of the page Extension:ParserFunctions and the translation is 31% complete.
Ezt a kiterjesztést a MediaWiki 1.18 és afölötti verziói már tartalmazzák, így nem kell újra letöltened. Az útmutató egyéb utasításait azonban továbbra is követned kell.
MediaWiki-kiterjesztések kézikönyve
ParserFunctions
Kiadási állapot: stabil
Megvalósítás Parser function
Leírás Enhances parser with logical and string functions
Szerző(k) Tim Starlingvitalap
Legfrissebb verzió Continuous updates
Kompatibilitási irányelv Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.25+
Adatbázis-változtatások Nem
Licenc GNU General Public License 2.0 or later
Letöltés
README
Help
  • $wgPFEnableStringFunctions
  • $wgPFStringLengthLimit
Quarterly downloads 398 (Ranked 11th)
Public wikis using 15,766 (Ranked 4th)
Fordítsd le a(z) ParserFunctions kiterjesztést, ha elérhető a translatewiki.net oldalon
Problémák Nyitott feladatok · Hibajelentés

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 former StringFunctions extension, which may be enabled or disabled.

For instructions on how to use this extension, see the help pages.

Telepítés

  • Töltsd le a kiterjesztés fájljait, és mentsd el az extensions/ mappán belüli ParserFunctions könyvtárba.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/ParserFunctions
  • Add hozzá az alábbi kódot a LocalSettings.php fájlod aljára:
    wfLoadExtension( 'ParserFunctions' );
    
  • Configure as required, e.g., if you want to use the integrated string function functionality, add just after that line:
$wgPFEnableStringFunctions = true;
  •   Kész – A Special:Version oldalon ellenőrizheted, hogy a kiterjesztés ténylegesen feltelepült-e.

Beállítás

$wgPFEnableStringFunctions
Allows to activate the integrated string function functionality (see string function ). 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.

Help pages

Lásd még