Module:Documentation: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
add an entry point for MediaWiki:Scribunto-doc-page-does-not-exist to use
(Only load Module:Module wikitext if it's actually needed)
(add an entry point for MediaWiki:Scribunto-doc-page-does-not-exist to use)
Line 112:
 
----------------------------------------------------------------------------
-- MainEntry functionpoints
----------------------------------------------------------------------------
 
function p.nonexistent(frame)
if mw.title.getCurrentTitle().subpageText == 'testcases' then
return frame:expandTemplate{title = 'module test cases notice'}
else
return p.main(frame)
end
end
 
p.main = makeInvokeFunc('_main')
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu