Jump to content

Module:Protection banner/config: Difference between revisions

remove deprecated bannerData fields, add missing full stop to the vandalism banner
(add 'all-all-all-all-all' protection category key back in)
(remove deprecated bannerData fields, add missing full stop to the vandalism banner)
Line 130: Line 130:
tooltip = '${TOOLTIPBLURB} to promote compliance with the policy on biographies of'
tooltip = '${TOOLTIPBLURB} to promote compliance with the policy on biographies of'
.. ' living people',
.. ' living people',
categoryOrder = 'reason',
}
}


Line 138: Line 137:
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
.. ' ${CURRENTVERSION}. ${EXPLANATIONBLURB}',
tooltip = 'due to editing disputes',
tooltip = 'due to editing disputes',
categoryOrder = 'reason',
}
}


Line 165: Line 163:
.. " so.'''",
.. " so.'''",
image = 'Padlock-black.svg',
image = 'Padlock-black.svg',
categoryOrder = 'reason',
}
}


Line 186: Line 183:
.. " so.'''",
.. " so.'''",
image = 'Padlock-black.svg',
image = 'Padlock-black.svg',
categoryOrder = 'reason',
}
}


Line 196: Line 192:
tooltip = '${TOOLTIPBLURB} to prevent sock puppets of blocked or banned users from'
tooltip = '${TOOLTIPBLURB} to prevent sock puppets of blocked or banned users from'
.. ' editing it',
.. ' editing it',
categoryOrder = 'reason',
}
}


Line 213: Line 208:
.. ' [[Special:Userlogin|log in]],'
.. ' [[Special:Userlogin|log in]],'
.. ' or [[Special:UserLogin/signup|create an account]].',
.. ' or [[Special:UserLogin/signup|create an account]].',
categoryReason = 'all',
}
}


cfg.banners.edit.vandalism = {
cfg.banners.edit.vandalism = {
text = '${INTROBLURB} due to [[Wikipedia:Vandalism|vandalism]]',
text = '${INTROBLURB} due to [[Wikipedia:Vandalism|vandalism]].',
tooltip = '${TOOLTIPBLURB} due to vandalism',
tooltip = '${TOOLTIPBLURB} due to vandalism',
categoryOrder = 'namespace',
}
}


Cookies help us deliver our services. By using our services, you agree to our use of cookies.