Reputation: 89
I have a MediaWiki installation, with a number of Lua modules installed in the 'Module:' namespace. Many of these modules are borrowed from Wikipedia, and they each apparently transclude a documentation page that I don't have and don't want. For example, the following appears at the top of each module page:
Documentation for this module may be created at Module:Math/doc
The "Module:Math/doc" portion is a broken wikilink. How can I remove the code that is generating this banner and therefore remove these module doc pages from the "Wanted pages" list?
Upvotes: 1
Views: 201
Reputation: 8541
You can edit the messages using the following pages in the MediaWiki namespace:
scribunto-doc-page-name
scribunto-doc-page-does-not-exist
scribunto-doc-page-show
scribunto-doc-page-header
If the red link is annoying you, I suggest you set scribunto-doc-page-name
to eg Project:Lua modules
or some other page, where you can put some general documentation (default is Module:$1/doc
, where $1 is the name of the module).
Note that it is not possible to add categories, links or any other wiki code to module pages. The doc-page is therefore the only built in way you have to keep track of your modules -- that's why it's there,
Upvotes: 2