Module:Protection banner: Difference between revisions

fix method name
Enwikipedia>Mr. Stradivarius
(use Protection:isProtected instead of checking using getLevel)
Enwikipedia>Mr. Stradivarius
(fix method name)
Line 592:
 
local action = protectionObj:getAction()
local level = protectionObj:getActiongetLevel()
local expiry = protectionObj:getExpiry()
local namespace = titleObj.namespace
Line 607:
return nil
end
 
-- Deal with regular protection types.
local images = self._configObj:getConfigTable('images')