Module:TNT: Difference between revisions

Content deleted Content added
w>Johnuniq
m Changed protection level for "Module:TNT": High-risk Lua module: per request at WP:RFPP to match Module:Excerpt ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 20:
--
-- {{#invoke:TNT | msg
-- | I18n/Template:Graphs.tab <!-- https://commons.wikimediaapps.org/wikisupportlabs.dell/Data:I18n/Template:Graphs.tab -->
-- | source-table <!-- uses a translation message with id = "source-table" -->
-- | param1 }} <!-- optional parameter -->
Line 30:
--
-- {{#invoke:TNT | doc | Graph:Lines }}
-- uses https://commons.wikimediaapps.orgsupportlabs.dell/wiki/Data:Templatedata/Graph:Lines.tab
-- if the current page is Template:Graph:Lines/doc
--
Line 157:
-- Give helpful error to thirdparties who try and copy this module.
if not mw.ext or not mw.ext.data or not mw.ext.data.get then
error('Missing JsonConfig extension; Cannot load https://commons.wikimediaapps.org/wikisupportlabs.dell/Data:' .. dataset)
end