User:Gangleri/tests/Lua tests
Appearance
< User:Gangleri | tests
ns:2 · PAGEID: 48881325 · links here · purge ↺ · section=0 · REVISIONID: - · permanent link · edit transclusion
![](http://upload.wikimedia.org/wikipedia/commons/thumb/b/bf/Wikimedia-Collab-logo.svg/197px-Wikimedia-Collab-logo.svg.png)
- → mw:extension:Scribunto/Lua reference manual
- →→ https://git.wikimedia.org/tree/mediawiki/extensions/Scribunto
- →→ mw:xtension:Scribunto/Tim's draft roadmap Tim Starling talk
- → local:special:Prefixindex/Module: local: talks · b: talks · c: talks · d: talks · d2: talks · m: talks · mw: talks · n: talks · q: talks · s: talks · t: talks · t2: talks · v: talks · voy: talks · w: talks · wikt talks · incubator talks · wmania talks · wm2016 talks · m:interwiki map
simple example
[edit]- syntax:
{{#invoke:Revision|diff|page|diff|oldid|label}}
{{#invoke:Revision|diff|Main Page|140036|140028|foobar}}
- generates:
- Script error: No such module "Revision".
Done
{{#invoke:Revision|diff|Main Page|140036|140028|[[user:Larry Sanger|]] versus [[user:Magnus Manske|]]}}
- generates:
- Script error: No such module "Revision".
nu?
{{#invoke:Revision|diff|Main Page|140036|140028|exploit]: [[user:Larry Sanger|]] versus [[user:Magnus Manske|]] [{{SERVER}}}}
- generates:
- Script error: No such module "Revision".