Changes
use docTitle.prefixedText instead of docpage
local title = data.title
if docTitle.exists then
local viewLink = makeWikilink(docpagedocTitle.prefixedText, data.viewLinkDisplay)
local editLink = makeUrlLink(docTitle:fullUrl{action = 'edit'}, data.editLinkDisplay)
local historyLink = makeUrlLink(docTitle:fullUrl{action = 'history'}, data.historyLinkDisplay)