Module:Dochead: Difference between revisions

Ganaram inukshuk (talk | contribs)
remove /doc from pagename if it's on a docpage
Tag: Reverted
Ganaram inukshuk (talk | contribs)
Undo revision 215310 by Ganaram inukshuk (talk)
Tag: Undo
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$", "")