Zum Inhalt springen

Modul:Protection banner: Unterschied zwischen den Versionen

use require('strict') instead of require('Module:No globals')
(add catonly param which hides both the banner and padlock if set to yes. all testcases pass. tested in sandbox.)
(use require('strict') instead of require('Module:No globals'))
Zeile 3: Zeile 3:


-- Initialise necessary modules.
-- Initialise necessary modules.
require('Module:No globals')
require('strict')
local makeFileLink = require('Module:File link')._main
local makeFileLink = require('Module:File link')._main
local effectiveProtectionLevel = require('Module:Effective protection level')._main
local effectiveProtectionLevel = require('Module:Effective protection level')._main
Anonymer Benutzer