Jump to content

User:Gangleri/tests/Lua tests

From Wikipedia, the free encyclopedia

ns:2 · PAGEID: 48881325 · links here · purge ↺ · section=0 · REVISIONID: - · permanent link · edit transclusion

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
testwiki:talk:pruv
testwiki:module talk:pruv testwiki:module:pruv

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".

Gangleri (talk) 05:10, 22 December 2015 (UTC)