Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
WikiV
Search
Search
English
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Module:Documentation/doc
Module
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
Serves {{temp|documentation}} and {{temp|translit module documentation}}. {{temp|documentation}} is added to modules automatically (through [[MediaWiki:Scribunto-doc-page-show]] if the doc page exists, otherwise through [[MediaWiki:Scribunto-doc-page-does-not-exist]]); added to user JavaScript pages automatically (through [[MediaWiki:Clearyourcache]]); and manually added to template pages. It automatically adds categories, or categories and documentation, to some modules based on their titles. More specifically, for modules: # When there is no doc page for the module, [[Module:documentation]] checks for various sorts of special modules (based on the module title) and autogenerates the documentation and categories of those modules. If this check fails, the module is added to [[:Category:Templates and modules needing documentation]], and [[Module:module categorization]] is called to autogenerate the categories for lang-specific modules of the form {{cd|LANGCODE-TYPE}}, optionally with a subpage (e.g. {{cd|LANGCODE-TYPE/data}}, {{cd|LANGCODE-TYPE/testcases}}, {{cd|LANGCODE-TYPE/data/testcases}}, or any other subpage). If this check also fails, the module is added to [[:Category:Uncategorized modules]]. # When there is a doc page for the module, the contents of that page take precedence over any autogenerated content. However, if that page does not have an {{cd|<nowiki><includeonly>...</includeonly></nowiki>}} section and does not have an invocation of {{tl|module cat}}, the same checks are done as when no doc page exists (including checks for specially-titled modules and falling back to calling [[Module:module categorization]]), but only for the purposes of autogenerating categories. If no such categories could be determined, the module is added to [[:Category:Uncategorized modules]]. More specifically, for templates: * ... (DOCUMENT ME) Ideas: * Make more usable on other Wiktionaries by creating data module with translations of text, and moving module regex to separate module. ==Automatic module documentation generators== {{#invoke:documentation|module_auto_doc_table}} <includeonly> [[Category:Documentation modules]] </includeonly>
Summary:
Please note that all contributions to WikiV may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Wikiv:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Preview page with this template
Templates used on this page:
Template:Cd
(
edit
)
Template:Temp
(
edit
)
Template:Tl
(
edit
)
Module:Array
(
edit
)
Module:Documentation
(
edit
)
Module:Template parser/templates
(
edit
)
Toggle limited content width