Support wiki

This is the wiki.gg support wiki! It's a different site from your content wiki!

ParserPower

From Support Wiki
Jump to navigation Jump to search
ParserPower
Version
Author(s)
Shawn Bruckner, Hydra Wiki Platform Team, Derugon, and RheingoldRiver
MediaWiki
Description
A collection of extended parser functions for MediaWiki
wiki.gg availability
This extension is installed by default on all wikis. Admins can request this extension if their wiki does not have it.

ParserPower is an extension that adds extended parser functions for MediaWiki, particularly including functions for dealing with lists of values separated by a dynamically-specified delimiter.

The version used on wiki.gg is a fork of the original ParserPower used on Gamepedia, notably adding in the #arraymap and #arraymaptemplate functions that normally require the Page Forms extension.

Guide

List of parser tags

Category Name Description Available on …
wiki.gg Fandom
Escaping <esc>, <esc1>, …, <esc9> Escapes variable syntax 0.95 X X
Links <linkpage> Replaces internal links with their target 0.9 X X
<linktext> Replaces internal links with their text 0.9 X X

List of parser functions

Category Name Description Available on …
wiki.gg Fandom
Arguments #argmap 1.3.0 X
Page Forms #arraymap Replaces array items using a pattern 1.1.0 X
#arraymaptemplate Replaces array items using a template 1.1.0 X
Utility #follow Resolves redirects 1.0 X X
Arguments #iargmap 1.4.0 X
Links #linkpage Replaces internal links with their target 1.4.0 X
#linktext Replaces internal links with their text 1.4.0 X
Lists #listfilter Filters list items 0.95 X X
#listmap Replaces list items 0.9 X X
#listmerge Conditionally merges list items 0.95 X X
#listsort Sorts list items 0.9 X X
#listunique De-duplicate list items 0.95 X X
#lstapp Appends a list item 0.95 X X
#lstcnt Counts list items 0.95 X X
#lstcntuniq Counts unique list items 0.95 X X
#lstelem Finds a list item by index 1.0 X X
#lstfltr Filters list items using an inclusion list 0.95 X X
#lstfnd Finds a list item by value 0.95 X X
#lstind Finds a list index by value 1.0 X X
#lstjoin Combines two lists 0.95 X X
#lstmap Replaces list items using a pattern 0.9 X X
#lstmaptemp Replaces list items using a template 0.9 X X
#lstprep Prepends a list item 0.95 X X
#lstrm Removes a value from a list 0.95 X X
#lstsep Exchanges a list separator 0.9 X X
#lstsrt Sorts list items 0.9 X X
#lstsub Returns a part of a list 1.0 X X
#lstuniq De-duplicate list items 0.9 X X
Utility #or Returns the 1st non-empty value 1.0 X X
Tokens #token Replaces a token in a pattern 1.0 X X
#tokenif Conditionally replaces a token in a pattern 1.0 X X
Utility #trim Trims whitespace 0.9 X X
Escaping #trimuesc Unescapes and trims whitespace 0.9 X X
#ueif Unescaped #if variant 1.0 X X
#ueifeq Unescaped #ifeq variant 1.0 X X
#ueor Unescaped #or variant 1.2.0 X
#uesc Unescapes and evaluates 0.9 X X
#uescnowiki Unescapes and wraps in <nowiki> 1.0 X X
#ueswitch Unescaped #switch variant 1.0 X X

See also