Module:documentation: Difference between revisions

Jump to navigation Jump to search
no edit summary
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 .. '/documentation') or nil
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)

Navigation menu