W3TPL: Difference between revisions

From Woozle Writes Code
Jump to navigation Jump to search
(link to new "/tags" page)
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Overview==
[[category:MediaWiki extension]]
[[category:software/incomplete]][[W3TPL]], which stands for [[User:Woozle|Woozle]]'s Wacky [[Wiki]] Text Processing Language, is a [[scripting]] language extension for [[MediaWiki]]. It is currently in development, although it does perform some useful functions as-is.
==About==
[[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
* [[/source]]: the source code for the extension
* [[/tags]]: tags defined for use within wikitext
* [[/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==
* [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: