Module:Protection banner/config: Difference between revisions
Module:Protection banner/config (view source)
Revision as of 19:07, 5 September 2020
, 5 September 2020fix broken testcase & improper categorisation, per talk
m (1 revision imported) |
(fix broken testcase & improper categorisation, per talk) |
||
Line 732: | Line 732: | ||
protectionCategories = { | protectionCategories = { | ||
['all|all|all|all|all'] | ['all|all|all|all|all'] = 'Wikipedia fully protected pages', | ||
['all|all|office|all|all'] | ['all|all|office|all|all'] = 'Wikipedia Office-protected pages', | ||
['all|all|reset|all|all'] | ['all|all|reset|all|all'] = 'Wikipedia Office-protected pages', | ||
['all|all|dmca|all|all'] | ['all|all|dmca|all|all'] = 'Wikipedia Office-protected pages', | ||
['all|all|mainpage|all|all'] | ['all|all|mainpage|all|all'] = 'Wikipedia fully-protected main page files', | ||
['all|all|all|extendedconfirmed|all'] | ['all|all|all|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages', | ||
['all|all|ecp|extendedconfirmed|all'] | ['all|all|ecp|extendedconfirmed|all'] = 'Wikipedia extended-confirmed-protected pages', | ||
['all|template|all|all|edit'] | ['all|template|all|all|edit'] = 'Wikipedia fully protected templates', | ||
['all|all|all|autoconfirmed|edit'] | ['all|all|all|autoconfirmed|edit'] = 'Wikipedia semi-protected pages', | ||
['indef|all|all|autoconfirmed|edit'] | ['indef|all|all|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected pages', | ||
['all|all|blp|autoconfirmed|edit'] | ['all|all|blp|autoconfirmed|edit'] = 'Wikipedia indefinitely semi-protected biographies of living people', | ||
['temp|all|blp|autoconfirmed|edit'] | ['temp|all|blp|autoconfirmed|edit'] = 'Wikipedia temporarily semi-protected biographies of living people', | ||
['all|all|dispute|autoconfirmed|edit'] | ['all|all|dispute|autoconfirmed|edit'] = 'Wikipedia pages semi-protected due to dispute', | ||
['all|all|sock|autoconfirmed|edit'] | ['all|all|sock|autoconfirmed|edit'] = 'Wikipedia pages semi-protected from banned users', | ||
['all|all|vandalism|autoconfirmed|edit'] = 'Wikipedia pages semi-protected against vandalism', | ['all|all|vandalism|autoconfirmed|edit'] = 'Wikipedia pages semi-protected against vandalism', | ||
['all|category|all|autoconfirmed|edit'] | ['all|category|all|autoconfirmed|edit'] = 'Wikipedia semi-protected categories', | ||
['all|file|all|autoconfirmed|edit'] | ['all|file|all|autoconfirmed|edit'] = 'Wikipedia semi-protected files', | ||
['all|portal|all|autoconfirmed|edit'] | ['all|portal|all|autoconfirmed|edit'] = 'Wikipedia semi-protected portals', | ||
['all|project|all|autoconfirmed|edit'] | ['all|project|all|autoconfirmed|edit'] = 'Wikipedia semi-protected project pages', | ||
['all|talk|all|autoconfirmed|edit'] | ['all|talk|all|autoconfirmed|edit'] = 'Wikipedia semi-protected talk pages', | ||
['all|template|all|autoconfirmed|edit'] | ['all|template|all|autoconfirmed|edit'] = 'Wikipedia semi-protected templates', | ||
['all|user|all|autoconfirmed|edit'] | ['all|user|all|autoconfirmed|edit'] = 'Wikipedia semi-protected user and user talk pages', | ||
['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates', | ['all|template|all|templateeditor|edit'] = 'Wikipedia template-protected templates', | ||
['all|all|blp|sysop|edit'] | ['all|template|all|templateeditor|move'] = 'Wikipedia template-protected templates', -- move-protected | ||
['temp|all|blp|sysop|edit'] | ['all|all|blp|sysop|edit'] = 'Wikipedia indefinitely protected biographies of living people', | ||
['all|all|dispute|sysop|edit'] | ['temp|all|blp|sysop|edit'] = 'Wikipedia temporarily protected biographies of living people', | ||
['all|all|sock|sysop|edit'] | ['all|all|dispute|sysop|edit'] = 'Wikipedia pages protected due to dispute', | ||
['all|all|vandalism|sysop|edit'] | ['all|all|sock|sysop|edit'] = 'Wikipedia pages protected from banned users', | ||
['all|category|all|sysop|edit'] | ['all|all|vandalism|sysop|edit'] = 'Wikipedia pages protected against vandalism', | ||
['all|file|all|sysop|edit'] | ['all|category|all|sysop|edit'] = 'Wikipedia fully protected categories', | ||
['all|project|all|sysop|edit'] | ['all|file|all|sysop|edit'] = 'Wikipedia fully-protected files', | ||
['all|talk|all|sysop|edit'] | ['all|project|all|sysop|edit'] = 'Wikipedia fully-protected project pages', | ||
['all|template|all|sysop|edit'] | ['all|talk|all|sysop|edit'] = 'Wikipedia fully-protected talk pages', | ||
['all|user|all|sysop|edit'] | ['all|template|all|extendedconfirmed|edit'] = 'Wikipedia extended-confirmed-protected templates', | ||
['all|module|all|all|edit'] | ['all|template|all|sysop|edit'] = 'Wikipedia fully protected templates', | ||
['all|module|all|templateeditor|edit'] | ['all|user|all|sysop|edit'] = 'Wikipedia fully protected user and user talk pages', | ||
['all|module|all|autoconfirmed|edit'] | ['all|module|all|all|edit'] = 'Wikipedia fully-protected modules', | ||
['all|all|all|sysop|move'] | ['all|module|all|templateeditor|edit'] = 'Wikipedia template-protected modules', | ||
['indef|all|all|sysop|move'] | ['all|module|all|autoconfirmed|edit'] = 'Wikipedia semi-protected modules', | ||
['all|all|dispute|sysop|move'] | ['all|all|all|sysop|move'] = 'Wikipedia move-protected pages', | ||
['all|all|vandalism|sysop|move'] | ['indef|all|all|sysop|move'] = 'Wikipedia indefinitely move-protected pages', | ||
['all|portal|all|sysop|move'] | ['all|all|dispute|sysop|move'] = 'Wikipedia pages move-protected due to dispute', | ||
['all|portal|all|sysop|move'] | ['all|all|vandalism|sysop|move'] = 'Wikipedia pages move-protected due to vandalism', | ||
['all|project|all|sysop|move'] | ['all|portal|all|sysop|move'] = 'Wikipedia move-protected portals', | ||
['all|talk|all|sysop|move'] | ['all|portal|all|sysop|move'] = 'Wikipedia move-protected portals', | ||
['all|template|all|sysop|move'] | ['all|project|all|sysop|move'] = 'Wikipedia move-protected project pages', | ||
['all|user|all|sysop|move'] | ['all|talk|all|sysop|move'] = 'Wikipedia move-protected talk pages', | ||
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages', | ['all|template|all|sysop|move'] = 'Wikipedia move-protected templates', | ||
['all|file|all|all|upload'] | ['all|user|all|sysop|move'] = 'Wikipedia move-protected user and user talk pages', | ||
['all|all|all|autoconfirmed|autoreview'] = 'Wikipedia pending changes protected pages', | |||
['all|file|all|all|upload'] = 'Wikipedia upload-protected files', | |||
}, | }, | ||