Modul:Protection banner: Unterschied zwischen den Versionen
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) |
||
Zeile 60: | Zeile 60: | ||
Protection.supportedActions = { | Protection.supportedActions = { | ||
edit = true, | edit = true, | ||
move = true, | move = true, | ||
Zeile 321: | Zeile 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 | ||
Zeile 353: | Zeile 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 | ||
Zeile 407: | Zeile 404: | ||
self:_getExpandedMessage('current-version-edit-display') | self:_getExpandedMessage('current-version-edit-display') | ||
) | ) | ||
end | end | ||
end | end | ||
Zeile 496: | Zeile 486: | ||
else | else | ||
key = 'explanation-blurb-move-subject' | key = 'explanation-blurb-move-subject' | ||
end | end | ||
else | else |