Module:Documentation: Difference between revisions

Jump to navigation Jump to search
m>Mr. Stradivarius
split out experiment blurb code
m>Mr. Stradivarius
m fix the docpage thing again
Line 382: Line 382:
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)