Module:Protection banner: Difference between revisions
rm stuff only useful for pp-create and other things deprecated in favor of salting
(no need to special case indef expiry. if it's indef, the messages that get used don't use it anyway) |
(rm stuff only useful for pp-create and other things deprecated in favor of salting) |
||
Line 60: | Line 60: | ||
Protection.supportedActions = { | Protection.supportedActions = { | ||
edit = true, | edit = true, | ||
move = true, | move = true, | ||
Line 321: | Line 320: | ||
self._cfg = cfg | self._cfg = cfg | ||
self._protectionObj = protectionObj | self._protectionObj = protectionObj | ||
self._username = args.user | self._username = args.user | ||
self._section = args.section | self._section = args.section | ||
Line 353: | Line 351: | ||
parameterFuncs.CURRENTVERSION = self._makeCurrentVersionParameter | parameterFuncs.CURRENTVERSION = self._makeCurrentVersionParameter | ||
parameterFuncs.DISPUTEBLURB = self._makeDisputeBlurbParameter | parameterFuncs.DISPUTEBLURB = self._makeDisputeBlurbParameter | ||
parameterFuncs.DISPUTESECTION = self._makeDisputeSectionParameter | parameterFuncs.DISPUTESECTION = self._makeDisputeSectionParameter | ||
Line 407: | Line 404: | ||
self:_getExpandedMessage('current-version-edit-display') | self:_getExpandedMessage('current-version-edit-display') | ||
) | ) | ||
end | end | ||
end | end | ||
Line 496: | Line 486: | ||
else | else | ||
key = 'explanation-blurb-move-subject' | key = 'explanation-blurb-move-subject' | ||
end | end | ||
else | else |