Module:Documentation: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 193: | Line 193: | ||
local page = mw.title.getCurrentTitle() | local page = mw.title.getCurrentTitle() | ||
local subpage = page.subpageText | local subpage = page.subpageText | ||
if subpage == i18n.defaultSandboxPage or i18n.defaultTestCasePage then | if subpage == i18n.defaultSandboxPage or subpage == i18n.defaultTestCasePage then | ||
page = page.basePageTitle | page = page.basePageTitle | ||
end | end | ||