Module:Documentation: Difference between revisions
From Video Credit Archive
Content deleted Content added
wikpedia>Jackmcbarn bring in usage of Module:Module wikitext from sandbox |
wikpedia>Pppery Only load Module:Module wikitext if it's actually needed |
||
Line 4:
local getArgs = require('Module:Arguments').getArgs
local messageBox = require('Module:Message box')
-- Get the config table.
Line 332 ⟶ 331:
if currentTitle.contentModel ~= 'Scribunto' then return end
pcall(require, currentTitle.prefixedText) -- if it fails, we don't care
if moduleWikitext then
return moduleWikitext.main()
end
end
|