Modul:Protection banner: Unterschied zwischen den Versionen
only use one display value for edit requests
(remove four deprecated parameters from Blurb:_substituteParameters) |
(only use one display value for edit requests) |
||
Zeile 434: | Zeile 434: | ||
local action = self._protectionObj.action | local action = self._protectionObj.action | ||
local level = self._protectionObj.level | local level = self._protectionObj.level | ||
-- Get the edit request type. | -- Get the edit request type. | ||
Zeile 455: | Zeile 446: | ||
requestType = requestType or 'full' | requestType = requestType or 'full' | ||
-- Get the display value. | |||
local display = self:_getExpandedMessage('edit-request-display') | |||
return mEditRequest.exportLinkToLua{type = requestType, display = display} | return mEditRequest.exportLinkToLua{type = requestType, display = display} | ||
end | end |