Module:Protection banner: Difference between revisions

use require('strict') instead of require('Module:No globals')
w>ProcrastinatingReader
(add catonly param which hides both the banner and padlock if set to yes. all testcases pass. tested in sandbox.)
 
imported>WOSlinker
(use require('strict') instead of require('Module:No globals'))
 
(One intermediate revision by one other user not shown)
Line 3: Line 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
Anonymous user