W3TPL: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
No edit summary
No edit summary
 
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)
* &rarr; <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: