145,212
edits
Superraptor (talk | contribs) (Created page with "-- This module implements {{documentation}}. -- Get required modules. local getArgs = require('Module:Arguments').getArgs -- Get the config table. local cfg = mw.loadData('Module:Documentation/config') local p = {} -- Often-used functions. local ugsub = mw.ustring.gsub ---------------------------------------------------------------------------- -- Helper functions -- -- These are defined as local functions, but are made available in the p -- table for testing purpos...") |
Superraptor (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 123: | Line 123: | ||
end | end | ||
p.main = makeInvokeFunc('_main') | -- p.main = makeInvokeFunc('_main') | ||
function p._main(args) | function p._main(args) | ||
Line 158: | Line 158: | ||
:done() | :done() | ||
:wikitext(p.addTrackingCategories(env)) | :wikitext(p.addTrackingCategories(env)) | ||
-- ' | -- 'MediaWiki:Common.css' | ||
return mw.getCurrentFrame():extensionTag ( | return mw.getCurrentFrame():extensionTag ( | ||
'templatestyles', '', {src=cfg['templatestyles'] | 'templatestyles', '', {src=cfg['templatestyles'] |