Editing Module:Documentation
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 841: | Line 841: | ||
-- 'testcases-subpage' --> 'testcases' | -- 'testcases-subpage' --> 'testcases' | ||
-- 'strange-usage-category' --> 'Wikipedia pages with strange ((documentation)) usage' | -- 'strange-usage-category' --> 'Wikipedia pages with strange ((documentation)) usage' | ||
--]] | --]] | ||
local title = env.title | local title = env.title | ||
local subpage = title.subpageText | 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 ( | and (subpage == message('doc-subpage') or subpage == message('testcases-subpage')) | ||
then | then | ||
ret = ret .. makeCategoryLink(message('strange-usage-category')) | ret = ret .. makeCategoryLink(message('strange-usage-category')) |