Editing Module:Documentation
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 779: | Line 779: | ||
function p.makeCategoriesBlurb(args, env) | function p.makeCategoriesBlurb(args, env) | ||
-- | -- Get the title object. | ||
local docTitle = env.docTitle | local docTitle = env.docTitle | ||
if not docTitle then | if not docTitle then | ||
return nil | return nil | ||
end | end | ||
-- Make the blurb. | |||
local docPathLink = makeWikilink(docTitle.prefixedText, message('doc-link-display')) | local docPathLink = makeWikilink(docTitle.prefixedText, message('doc-link-display')) | ||
return message('add-categories-blurb', {docPathLink}) | return message('add-categories-blurb', {docPathLink}) |