Changes

Jump to navigation Jump to search

Module:Protection banner

79 bytes removed, 02:01, 28 June 2014
get a few other changes from the ec
function ExpiryCategory:render()
local configObj reasonsWithoutExpiryCheck = self._configObj local protectionObj = self._protectionObj local reasonsWithoutExpiryCheck = configObj.cfg.reasonsWithoutExpiryCheck local expiryCheckActions = configObjself._configObj.cfg.expiryCheckActions local expiry = protectionObjself._protectionObj.expiry local action = protectionObjself._protectionObj.action local reason = protectionObjself._protectionObj.reason
if not expiry
and not reasonsWithoutExpiryCheck[reason]
then
self:setName(configObjself._configObj.msg['tracking-category-expiry'])
end
return Category.render(self)
local configObj = self._configObj
local protectionObj = self._protectionObj
local expiry = protectionObj.expiry
local action = protectionObj.action
function TemplateCategory:render()
local configObj = self._configObj
local protectionObj = self._protectionObj
local titleObj = self._titleObj
local action = protectionObjself._protectionObj.action local level = protectionObjself._protectionObj.level
local namespace = titleObj.namespace
Anonymous user

Navigation menu