Module:Dochead: Difference between revisions
m bugfix missing wikitext |
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$", "") | ||