Module:Protection banner: Difference between revisions
use the default mediawiki protection level names after all
(try fairly ugly hack for office protection) |
(use the default mediawiki protection level names after all) |
||
Line 3: | Line 3: | ||
local categories = { | local categories = { | ||
['edit- | ['edit-autoconfirmed-user-all-all'] = 'Wikipedia semi-protected user and user talk pages', | ||
['edit- | ['edit-autoconfirmed-project-all-all'] = 'Semi-protected project pages', | ||
['edit- | ['edit-autoconfirmed-file-all-all'] = 'Semi-protected images', | ||
['edit- | ['edit-autoconfirmed-template-all-all'] = 'Wikipedia semi-protected templates', | ||
['edit- | ['edit-autoconfirmed-portal-all-all'] = 'Semi-protected portals', | ||
['edit- | ['edit-autoconfirmed-talk-all-all'] = 'Semi-protected talk pages', | ||
['edit- | ['edit-autoconfirmed-all-vandalism-all'] = 'Wikipedia pages semi-protected against vandalism', | ||
['edit- | ['edit-sysop-user-all-all'] = 'Wikipedia protected user and user talk pages', | ||
['edit- | ['edit-sysop-file-all-all'] = 'Protected images', | ||
['edit- | ['edit-sysop-project-all-all'] = 'Protected project pages', | ||
['edit- | ['edit-sysop-template-all-all'] = 'Wikipedia protected templates', | ||
['edit- | ['edit-sysop-talk-all-all'] = 'Protected talk pages', | ||
['edit- | ['edit-sysop-all-vandalism-all'] = 'Wikipedia pages protected against vandalism', | ||
['edit- | ['edit-autoconfirmed-all-dispute-all'] = 'Wikipedia pages semi-protected due to dispute', | ||
['edit- | ['edit-sysop-all-dispute-all'] = 'Wikipedia pages protected due to dispute', | ||
['move- | ['move-sysop-all-dispute-all'] = 'Wikipedia pages move-protected due to dispute', | ||
['move- | ['move-sysop-user-all-all'] = 'Wikipedia move-protected user and user talk pages', | ||
['move- | ['move-sysop-project-all-all'] = 'Wikipedia move-protected project pages', | ||
['move- | ['move-sysop-portal-all-all'] = 'Wikipedia move-protected portals', | ||
['move- | ['move-sysop-all-vandalism-all'] = 'Wikipedia pages move-protected due to vandalism', | ||
['edit- | ['edit-autoconfirmed-template-all-all'] = 'Wikipedia semi-protected templates', | ||
['move- | ['move-sysop-template-all-all'] = 'Wikipedia move-protected templates', | ||
['edit-all-template-all-all'] = 'Wikipedia protected templates', | ['edit-all-template-all-all'] = 'Wikipedia protected templates', | ||
['move- | ['move-sysop-portal-all-all'] = 'Wikipedia move-protected portals', | ||
['edit- | ['edit-autoconfirmed-all-sock-all'] = 'Wikipedia pages semi-protected from banned users', | ||
['edit- | ['edit-sysop-all-sock-all'] = 'Wikipedia pages protected from banned users', | ||
['edit- | ['edit-autoconfirmed-all-blp-temp'] = 'Wikipedia temporarily semi-protected biographies of living people', | ||
['edit- | ['edit-sysop-all-blp-temp'] = 'Wikipedia temporarily protected biographies of living people', | ||
['edit- | ['edit-autoconfirmed-all-blp-all'] = 'Wikipedia indefinitely semi-protected biographies of living people', | ||
['edit- | ['edit-sysop-all-blp-all'] = 'Wikipedia indefinitely protected biographies of living people', | ||
['edit- | ['edit-autoconfirmed-all-all-indef'] = 'Wikipedia indefinitely semi-protected pages', | ||
['move- | ['move-sysop-talk-all-all'] = 'Wikipedia move-protected talk pages', | ||
['move- | ['move-sysop-all-all-indef'] = 'Wikipedia indefinitely move-protected pages', | ||
['edit- | ['edit-autoconfirmed-all-all-all'] = 'Wikipedia semi-protected pages', | ||
['all-all-all-all-all'] = 'Wikipedia protected pages', | ['all-all-all-all-all'] = 'Wikipedia protected pages', | ||
['edit- | ['edit-autoconfirmed-category-all-all'] = 'Wikipedia semi-protected categories', | ||
['edit- | ['edit-sysop-category-all-all'] = 'Wikipedia protected categories', | ||
['move- | ['move-sysop-all-all-all'] = 'Wikipedia move-protected pages', | ||
['all-all-all-office-all'] = 'Wikipedia Office-protected pages', | ['all-all-all-office-all'] = 'Wikipedia Office-protected pages', | ||
['pc- | ['pc-autoconfirmed-all-all-all'] = 'Wikipedia pending changes protected pages (level 1)', | ||
['pc-reviewer-all-all-all'] = 'Wikipedia pending changes protected pages (level 2)', | ['pc-reviewer-all-all-all'] = 'Wikipedia pending changes protected pages (level 2)', | ||
} | } |