Extensió:ParserFunctions
Outdated translations are marked like this.
This extension comes with MediaWiki 1.18 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.
![]() Release status: stable |
|
---|---|
Implementation | Parser function |
Description | Afegeix a l'analitzador funcions lògiques i de cadenes. |
Author(s) | Tim Starlingdiscussió |
Latest version | Continuous updates |
Compatibility policy | Snapshots releases along with MediaWiki. Master is not backward compatible. |
MediaWiki | 1.25+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | README |
|
|
Quarterly downloads | 603 (Ranked 15th) |
Public wikis using | 15,766 (Ranked 4th) |
Translate the ParserFunctions extension if it is available at translatewiki.net | |
Issues | Open tasks · Report a bug |
L'extensió ParserFunctions millora l'analitzador wikitext amb funcions útils, la majoria relacionades amb la lògica i la manipulació de cadenes. Des de MediaWiki 1.15, ParserFunctions ha incorporat la majoria de les funcions (però no totes) de l'extensió StringFunctions, que pot ser activada o desactivada (consulteu les instruccions d'instal·lació més avall).
Per llegir instruccions sobre com utilitzar aquesta extensió, vegeu la pàgina d'ajuda de ParserFunctions i la pàgina StringFunctions.
Instal·lació
- Download and place the file(s) in a directory called
ParserFunctions
in yourextensions/
folder. - Add the following code at the bottom of your
LocalSettings.php
:wfLoadExtension( 'ParserFunctions' );
- Configureu com calgui. Per exemple, si voleu utilitzar les funcions de cadenes incorporades, afegiu just després d'aquella línia
$wgPFEnableStringFunctions = true;
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuració
$wgPFEnableStringFunctions
- Permet activar les funcions de cadenes incorporades (vegeu StringFunctions ). El valor predeterminat és
false
. $wgPFStringLengthLimit
- Defineix la longitud màxima de les cadenes que les funcions de cadenes tenen permís de manipular. El valor predeterminat és
1000
.
Vegeu també
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 packages and/or wiki farms: This is not an authoritative list. Some wiki farms/hosts may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |