Difference between revisions of "Module:Documentation"
m
switch variable orders
>Mr. Stradivarius (don't sort strange usage category in mainspace, as mainspace doesn't have subpages so can't be categorised) |
>Mr. Stradivarius m (switch variable orders) |
||
Line 931: | Line 931: | ||
--]] | --]] | ||
local title = env.title | local title = env.title | ||
local subpage = title.subpageText | |||
local ret = '' | local ret = '' | ||
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')) |