Modul:Protection banner: Unterschied zwischen den Versionen

fix method name
(use Protection:isProtected instead of checking using getLevel)
(fix method name)
Zeile 592: Zeile 592:


local action = protectionObj:getAction()
local action = protectionObj:getAction()
local level = protectionObj:getAction()
local level = protectionObj:getLevel()
local expiry = protectionObj:getExpiry()
local expiry = protectionObj:getExpiry()
local namespace = titleObj.namespace
local namespace = titleObj.namespace
Zeile 607: Zeile 607:
return nil
return nil
end
end
 
-- Deal with regular protection types.
-- Deal with regular protection types.
local images = self._configObj:getConfigTable('images')
local images = self._configObj:getConfigTable('images')
Anonymer Benutzer