Module:Documentation: Difference between revisions

use docTitle.prefixedText instead of docpage
en>Mr. Stradivarius
(finish splitting the _startBox function into smaller functions)
en>Mr. Stradivarius
(use docTitle.prefixedText instead of docpage)
Line 363: Line 363:
local title = data.title
local title = data.title
if docTitle.exists then
if docTitle.exists then
local viewLink = makeWikilink(docpage, data.viewLinkDisplay)
local viewLink = makeWikilink(docTitle.prefixedText, data.viewLinkDisplay)
local editLink = makeUrlLink(docTitle:fullUrl{action = 'edit'}, data.editLinkDisplay)
local editLink = makeUrlLink(docTitle:fullUrl{action = 'edit'}, data.editLinkDisplay)
local historyLink = makeUrlLink(docTitle:fullUrl{action = 'history'}, data.historyLinkDisplay)
local historyLink = makeUrlLink(docTitle:fullUrl{action = 'history'}, data.historyLinkDisplay)
Anonymous user