Module:Documentation: Difference between revisions
From Roses, Tulips, & Liberty
Content deleted Content added
don't sort strange usage category in mainspace, as mainspace doesn't have subpages so can't be categorised |
m switch variable orders |
||
Line 931: | Line 931: | ||
--]] |
--]] |
||
local title = env.title |
local title = env.title |
||
⚫ | |||
local subpage = title.subpageText |
local subpage = title.subpageText |
||
⚫ | |||
if message('display-strange-usage-category', nil, 'boolean') |
if message('display-strange-usage-category', nil, 'boolean') |
||
and (subpage == message('doc-subpage') or subpage == message('testcases-subpage')) |
and (subpage == message('doc-subpage') or subpage == message('testcases-subpage')) |