Extensió:ParserFunctions
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 |
Help | |
|
|
Quarterly downloads | 517 (Ranked 10th) |
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'antiga extensió StringFunctions, que es pot activar o desactivar.
Per llegir instruccions sobre com utilitzar aquesta extensió, vegeu les pàgines d'ajuda.
Instal·lació
- Download and move the extracted
ParserFunctions
folder to yourextensions/
directory.
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 the following code at the bottom of your LocalSettings.php file:
wfLoadExtension( 'ParserFunctions' );
- Configureu com calgui. Per exemple, si voleu utilitzar la funcionalitat de la funció de cadena integrada, afegiu-la just després d'aquesta línia:
$wgPFEnableStringFunctions = true;
Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Configuració
$wgPFEnableStringFunctions
- Permet activar la funcionalitat de la funció de cadena integrada (vegeu string function ). El valor predeterminat és
false
. $wgPFStringLengthLimit
- Defineix la longitud màxima d'una cadena en la qual es permet operar les funcions de cadena. El valor per defecte és
1000
.
Help pages
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 wiki farms/hosts and/or packages: This is not an authoritative list. Some wiki farms/hosts and/or packages may contain this extension even if they are not listed here. Always check with your wiki farms/hosts or bundle to confirm. |
Categories:
- Extensions bundled with MediaWiki 1.18/ca
- Stable extensions/ca
- Parser function extensions/ca
- GPL licensed extensions/ca
- Extensions in Wikimedia version control/ca
- ParserFirstCallInit extensions/ca
- ParserTestGlobals extensions/ca
- ScribuntoExternalLibraries extensions/ca
- All extensions/ca
- Extensions used on Wikimedia/ca
- Extensions included in BlueSpice/ca
- Extensions included in Canasta/ca
- Extensions available as Debian packages/ca
- Extensions included in Fandom/ca
- Extensions included in Miraheze/ca
- Extensions included in MyWikis/ca
- Extensions included in ProWiki/ca
- Extensions included in semantic::core/ca
- Extensions included in ShoutWiki/ca
- Extensions included in Telepedia/ca
- Extensions included in wiki.gg/ca
- Extensions included in WikiForge/ca
- Extensions included in WikiTide/ca