Jump to content

Module:Documentation: Difference between revisions

hardcode "off" in "link box=off" as well, for the benefit of other modules/templates
m>Mr. Stradivarius
(don't use messages for args either - would be a pain for other modules that have to use this module)
m>Mr. Stradivarius
(hardcode "off" in "link box=off" as well, for the benefit of other modules/templates)
Line 556: Line 556:
-- First, check whether we should output the end box at all. Add the end box by default if the documentation
-- 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.
-- exists or if we are in the user, module or template namespaces.
if linkBox == message('linkBoxOff', 'string') or not (docExist or subjectSpace == 2 or subjectSpace == 828 or subjectSpace == 10) then
if linkBox == 'off' or not (docExist or subjectSpace == 2 or subjectSpace == 828 or subjectSpace == 10) then
return nil
return nil
end
end
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.