Module:Protection banner: Difference between revisions
only use one display value for edit requests
(remove four deprecated parameters from Blurb:_substituteParameters) |
(only use one display value for edit requests) |
||
Line 434: | Line 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. | ||
Line 455: | Line 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 |