Jump to content

Module:Protection banner/config: Difference between revisions

use PAGETYPE variable with the reset reason
(further copy editing of the reset banner)
(use PAGETYPE variable with the reset reason)
Line 205: Line 205:
local ret = ''
local ret = ''
if protectionObj.protectionDate then
if protectionObj.protectionDate then
ret = ret .. 'On ${PROTECTIONDATE} this article was'
ret = ret .. 'On ${PROTECTIONDATE} this ${PAGETYPE} was'
else
else
ret = ret .. 'This article has been'
ret = ret .. 'This ${PAGETYPE} has been'
end
end
ret = ret .. ' reduced to a'
ret = ret .. ' reduced to a'
Line 215: Line 215:
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' Standard Wikipedia policies will apply to its rewriting—which'
.. ' will eventually be open to all editors—and will be strictly'
.. ' will eventually be open to all editors—and will be strictly'
.. ' enforced. The article has been ${PROTECTIONLEVEL} while'
.. ' enforced. The ${PAGETYPE} has been ${PROTECTIONLEVEL} while'
.. ' it is being rebuilt.\n\n'
.. ' it is being rebuilt.\n\n'
.. 'Any insertion of material directly from'
.. 'Any insertion of material directly from'
.. ' pre-protection revisions of the article will be removed, as'
.. ' pre-protection revisions of the ${PAGETYPE} will be removed, as'
.. ' will any material added to the article that is not properly'
.. ' will any material added to the ${PAGETYPE} that is not properly'
.. ' sourced. The associated talk page(s) were also cleared on the'
.. ' sourced. The associated talk page(s) were also cleared on the'
.. " same date.\n\n"
.. " same date.\n\n"
Cookies help us deliver our services. By using our services, you agree to our use of cookies.