W3TPL: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[category:MediaWiki extension]] | [[category:MediaWiki extension]] | ||
==About== | ==About== | ||
[[W3TPL]], which stands for Woozle's Wacky Wiki Text Processing Language, is a scripting language extension for | [[W3TPL]], which stands for Woozle's Wacky Wiki Text Processing Language, is a scripting language [[MWX|extension for MediaWiki]]. It was written to permit some simple scripting and to get around certain restrictions of the wikitext format (e.g. emitting "dangerous" tags). It has largely been superceded by new options and other MediaWiki extensions that are better supported (such as {{l/mw/ext|Scribunto}}), and some tags/options do not currently work. | ||
===Pages=== | ===Pages=== | ||
* [[/recipes]]: useful snippets for W3TPL | * [[/recipes]]: useful snippets for W3TPL | ||
Line 12: | Line 12: | ||
==Links== | ==Links== | ||
* [https://gitlab.com/woozalia/w3tpl GitLab]: official code repository | * [https://gitlab.com/woozalia/w3tpl GitLab]: official code repository | ||
==Technical Notes== | |||
W3TPL gets initialized like this: | |||
* {{l/mw|Manual:Hooks/ParserFirstCallInit}} (MediaWiki hook) | |||
* → <code>w3tpl\cEntryPoint::cbInit</code> |
Latest revision as of 00:24, 24 April 2022
About
W3TPL, which stands for Woozle's Wacky Wiki Text Processing Language, is a scripting language extension for MediaWiki. It was written to permit some simple scripting and to get around certain restrictions of the wikitext format (e.g. emitting "dangerous" tags). It has largely been superceded by new options and other MediaWiki extensions that are better supported (such as Scribunto), and some tags/options do not currently work.
Pages
- /recipes: useful snippets for W3TPL
- /tags: tags defined for use within wikitext
- /sysdata: syntax for accessing system data
- /test suite: code to verify that W3TPL is working properly
- /history: change log
- /dev: bits & pieces under development
- /archive: obsolete stuff
Links
- GitLab: official code repository
Technical Notes
W3TPL gets initialized like this:
- Manual:Hooks/ParserFirstCallInit (MediaWiki hook)
- →
w3tpl\cEntryPoint::cbInit