Module:Protection banner/config: Difference between revisions
Content added Content deleted
Enwikipedia>Mr. Stradivarius (further copy editing of the reset banner) |
Enwikipedia>Mr. Stradivarius (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 |
ret = ret .. 'On ${PROTECTIONDATE} this ${PAGETYPE} was' |
||
else |
else |
||
ret = ret .. 'This |
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 |
.. ' 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 |
.. ' pre-protection revisions of the ${PAGETYPE} will be removed, as' |
||
.. ' will any material added to the |
.. ' 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" |