Module:M/doc
Appearance
< Module:M
This is the documentation page for Module:M
Multipurpouse module, derived from Module:Nap, as a multilanguage version of it (while Module:Nap id mainly focused to nap.wikisource). It is called without any parameter.
The core of the module is, to get the whole wiki code of the page as a plain text:
.... local title=mw.title.getCurrentTitle() local text=title:getContent() ....
Then the text can be parsed by Lua string functions and freely used. The best results come from standard pages like nsIndex, where contents of MediaWiki:Proofreadpage index template can be used for any fine-tuned categorization using form data and any their combination.