Module:Documentation: Difference between revisions

hardcode "off" in "link box=off" as well, for the benefit of other modules/templates
(don't use messages for args either - would be a pain for other modules that have to use this module)
(hardcode "off" in "link box=off" as well, for the benefit of other modules/templates)
Line 556:
-- First, check whether we should output the end box at all. Add the end box by default if the documentation
-- exists or if we are in the user, module or template namespaces.
if linkBox == message('linkBoxOffoff', 'string') or not (docExist or subjectSpace == 2 or subjectSpace == 828 or subjectSpace == 10) then
return nil
end