Module:TNT: Difference between revisions
deprecate link function, always use c: for data links to Commons
m (Copying 5 changes by Yurik: "fix doc translation link, Trim parameter whitespaces, docs link, fix templatedata doc having just the positional parameters, make i18n/ prefix optional, support for usage from modules" from mw:Module:TNT. (docs, translate)) |
(deprecate link function, always use c: for data links to Commons) |
||
Line 68:
end
-- Obsolete function that adds a 'c:' prefix to the first param.
-- "Sandbox/Sample.tab" -> '
function p.link(frame)
return link(frame.args[1])
Line 158:
-- Given a dataset name, convert it to a title with the 'commons:data:' prefix
link = function(dataset)
end
|