Help:ParserFunctions

From Library
Jump to navigation Jump to search

Basics

Examples

Help:Extension:ParserFunctions - MediaWiki Help:Extension:ParserFunctions##time; defaults to UTC

ISO 8601
2022-09-08T02:24:31+00:00
RFC 5322
2022-09-08T02:24:31+00:00
Islamic calendar
11 Safar (2) 1444
Iranian (Jalaly) calendar
17 Shahrivar (6) 1401
Hebrew calendar
12 / י"ב Elul / Elul (12 / י"ב) 5782 / ה'תשפ"ב
Thai solar year
111
Roman calendar
MMXXII
Time, raw
Time, local
UTC UTC +00:00 offset: 0 DST: 0
Unix time
1662603871
Day of month, local
8 / 30
Time zone setting
$wgLocaltimezone: Template:$wgLocaltimezone
ParserFunctions
Help
ParserFunctions


Help:Extension:ParserFunctions##explode

{{#explode:string|delimiter|position|limit}} -1 = last position

TLD
{{#explode:{{#explode:https://www.server.example.com/path/to/page.html%7C/%7C2%7C1}}%7C.%7C-1}}
TLD-1
{{#explode:{{#explode:https://www.server.example.com/path/to/page.html%7C/%7C2%7C1}}%7C.%7C-2}}
$wgStringFunctionsLimitSearch
Template:$wgStringFunctionsLimitSearch (default: 30)
$wgStringFunctionsLimitReplace
Template:$wgStringFunctionsLimitReplace (default: 30)
$wgStringFunctionsLimitPad
Template:$wgStringFunctionsLimitPad

Help:Extension:ParserFunctions##urldecode

{{#urldecode:test}}

Notes & References

  • [ _ ] extension:ParserFunctions not installed??