48,355
edits
No edit summary |
No edit summary |
||
| Line 471: | Line 471: | ||
local title = args["for"] and mw.title.new(args["for"]) or mw.title.getCurrentTitle() | local title = args["for"] and mw.title.new(args["for"]) or mw.title.getCurrentTitle() | ||
local doc_title = args.from ~= "-" and mw.title.new(args.from or title.fullText .. '/ | local doc_title = args.from ~= "-" and mw.title.new(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) | ||