Module:documentation: Difference between revisions
No edit summary |
No edit summary |
||
| Line 709: | Line 709: | ||
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) | ||