Module:documentation: Difference between revisions
No edit summary |
No edit summary |
||
| Line 451: | Line 451: | ||
.. "This module is part of the category tree system, which is a general framework for generating the " | .. "This module is part of the category tree system, which is a general framework for generating the " | ||
.. "descriptions and categorization of category pages.\n\n" | .. "descriptions and categorization of category pages.\n\n" | ||
.. "For more information, see [[Module:category tree/lang/documentation]].\n\n" | .. "For more information, see [[wikt:Module:category tree/lang/documentation]].\n\n" | ||
.. "'''NOTE:''' If you add a new language-specific module, you must add the language code to the " | .. "'''NOTE:''' If you add a new language-specific module, you must add the language code to the " | ||
.. "list at the top of [[Module:category tree/lang]] in order for the module to be recognized." | .. "list at the top of [[wikt:Module:category tree/lang]] in order for the module to be recognized." | ||
end | end | ||
end | end | ||
| Line 682: | Line 682: | ||
local title = args["for"] and new_title(args["for"]) or get_current_title() | local title = args["for"] and new_title(args["for"]) or get_current_title() | ||
local doc_title = args.from ~= "-" and new_title(args.from or title.fullText .. '/ | local doc_title = args.from ~= "-" and new_title(args.from or title.fullText .. '/doc') or nil | ||
local contentModel = title.contentModel | local contentModel = title.contentModel | ||
local pagetype, is_script_or_stylesheet = get_pagetype(title) | local pagetype, is_script_or_stylesheet = get_pagetype(title) | ||