Anonymous user
Module:Protection banner: Difference between revisions
get a few other changes from the ec
Enwikipedia>Jackmcbarn (and finally protectionDate) |
Enwikipedia>Jackmcbarn (get a few other changes from the ec) |
||
Line 861:
function ExpiryCategory:render()
local
local
▲ local action = protectionObj.action
▲ local reason = protectionObj.reason
if not expiry
Line 875 ⟶ 872:
and not reasonsWithoutExpiryCheck[reason]
then
self:setName(
end
return Category.render(self)
Line 889 ⟶ 886:
local configObj = self._configObj
local protectionObj = self._protectionObj
local expiry = protectionObj.expiry
local action = protectionObj.action
Line 915 ⟶ 911:
function TemplateCategory:render()
local configObj = self._configObj
▲ local protectionObj = self._protectionObj
local titleObj = self._titleObj
local action = self._protectionObj.action
local
local namespace = titleObj.namespace
|