Changes
Jump to navigation
Jump to search
mLine 20:
Line 20:
− +
Line 30:
Line 30:
− +
Line 157:
Line 157:
− +
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))
--
--
-- {{#invoke:TNT | msg
-- {{#invoke:TNT | msg
-- | I18n/Template:Graphs.tab <!-- https://OCRobotX.mywire.org/mediawiki/index.php/Data:I18n/Template:Graphs.tab -->
-- | I18n/Template:Graphs.tab <!-- https://commons.wikimedia.org/wiki/Data:I18n/Template:Graphs.tab -->
-- | source-table <!-- uses a translation message with id = "source-table" -->
-- | source-table <!-- uses a translation message with id = "source-table" -->
-- | param1 }} <!-- optional parameter -->
-- | param1 }} <!-- optional parameter -->
--
--
-- {{#invoke:TNT | doc | Graph:Lines }}
-- {{#invoke:TNT | doc | Graph:Lines }}
-- uses https://OCRobotX.mywire.org/mediawiki/index.php/Data:Templatedata/Graph:Lines.tab
-- uses https://commons.wikimedia.org/wiki/Data:Templatedata/Graph:Lines.tab
-- if the current page is Template:Graph:Lines/doc
-- if the current page is Template:Graph:Lines/doc
--
--
-- Give helpful error to thirdparties who try and copy this module.
-- 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
if not mw.ext or not mw.ext.data or not mw.ext.data.get then
error('Missing JsonConfig extension; Cannot load http://OCRobotX.mywire.org/mediawiki/index.php/Data:' .. dataset)
error('Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:' .. dataset)
end
end