Module:Dochead: Difference between revisions

Ganaram inukshuk (talk | contribs)
m bugfix missing wikitext
Ganaram inukshuk (talk | contribs)
remove /doc from pagename if it's on a docpage
Tag: Reverted
Line 234: Line 234:


-- Remove /doc suffix, if this is on a /doc page
-- Remove /doc suffix, if this is on a /doc page
pagename = corr_template:gsub("/doc$", "")
corr_template = corr_template:gsub("/doc$", "")
corr_template = corr_template:gsub("/doc$", "")
corr_module  = corr_module:gsub("/doc$", "")
corr_module  = corr_module:gsub("/doc$", "")