پودمان:Documentation: تفاوت میان نسخه‌ها

(add an entry point for MediaWiki:Scribunto-doc-page-does-not-exist to use)
جز (۱ نسخه واردشده)
خط ۱۱۲: خط ۱۱۲:


----------------------------------------------------------------------------
----------------------------------------------------------------------------
-- Entry points
-- Main function
----------------------------------------------------------------------------
----------------------------------------------------------------------------
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')
p.main = makeInvokeFunc('_main')