Jump to content

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-semi-user-all-all'] = 'Wikipedia semi-protected user and user talk pages',
['edit-autoconfirmed-user-all-all'] = 'Wikipedia semi-protected user and user talk pages',
['edit-semi-project-all-all'] = 'Semi-protected project pages',
['edit-autoconfirmed-project-all-all'] = 'Semi-protected project pages',
['edit-semi-file-all-all'] = 'Semi-protected images',
['edit-autoconfirmed-file-all-all'] = 'Semi-protected images',
['edit-semi-template-all-all'] = 'Wikipedia semi-protected templates',
['edit-autoconfirmed-template-all-all'] = 'Wikipedia semi-protected templates',
['edit-semi-portal-all-all'] = 'Semi-protected portals',
['edit-autoconfirmed-portal-all-all'] = 'Semi-protected portals',
['edit-semi-talk-all-all'] = 'Semi-protected talk pages',
['edit-autoconfirmed-talk-all-all'] = 'Semi-protected talk pages',
['edit-semi-all-vandalism-all'] = 'Wikipedia pages semi-protected against vandalism',
['edit-autoconfirmed-all-vandalism-all'] = 'Wikipedia pages semi-protected against vandalism',
['edit-full-user-all-all'] = 'Wikipedia protected user and user talk pages',
['edit-sysop-user-all-all'] = 'Wikipedia protected user and user talk pages',
['edit-full-file-all-all'] = 'Protected images',
['edit-sysop-file-all-all'] = 'Protected images',
['edit-full-project-all-all'] = 'Protected project pages',
['edit-sysop-project-all-all'] = 'Protected project pages',
['edit-full-template-all-all'] = 'Wikipedia protected templates',
['edit-sysop-template-all-all'] = 'Wikipedia protected templates',
['edit-full-talk-all-all'] = 'Protected talk pages',
['edit-sysop-talk-all-all'] = 'Protected talk pages',
['edit-full-all-vandalism-all'] = 'Wikipedia pages protected against vandalism',
['edit-sysop-all-vandalism-all'] = 'Wikipedia pages protected against vandalism',
['edit-semi-all-dispute-all'] = 'Wikipedia pages semi-protected due to dispute',
['edit-autoconfirmed-all-dispute-all'] = 'Wikipedia pages semi-protected due to dispute',
['edit-full-all-dispute-all'] = 'Wikipedia pages protected due to dispute',
['edit-sysop-all-dispute-all'] = 'Wikipedia pages protected due to dispute',
['move-full-all-dispute-all'] = 'Wikipedia pages move-protected due to dispute',
['move-sysop-all-dispute-all'] = 'Wikipedia pages move-protected due to dispute',
['move-full-user-all-all'] = 'Wikipedia move-protected user and user talk pages',
['move-sysop-user-all-all'] = 'Wikipedia move-protected user and user talk pages',
['move-full-project-all-all'] = 'Wikipedia move-protected project pages',
['move-sysop-project-all-all'] = 'Wikipedia move-protected project pages',
['move-full-portal-all-all'] = 'Wikipedia move-protected portals',
['move-sysop-portal-all-all'] = 'Wikipedia move-protected portals',
['move-full-all-vandalism-all'] = 'Wikipedia pages move-protected due to vandalism',
['move-sysop-all-vandalism-all'] = 'Wikipedia pages move-protected due to vandalism',
['edit-semi-template-all-all'] = 'Wikipedia semi-protected templates',
['edit-autoconfirmed-template-all-all'] = 'Wikipedia semi-protected templates',
['move-full-template-all-all'] = 'Wikipedia move-protected templates',
['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-full-portal-all-all'] = 'Wikipedia move-protected portals',
['move-sysop-portal-all-all'] = 'Wikipedia move-protected portals',
['edit-semi-all-sock-all'] = 'Wikipedia pages semi-protected from banned users',
['edit-autoconfirmed-all-sock-all'] = 'Wikipedia pages semi-protected from banned users',
['edit-full-all-sock-all'] = 'Wikipedia pages protected from banned users',
['edit-sysop-all-sock-all'] = 'Wikipedia pages protected from banned users',
['edit-semi-all-blp-temp'] = 'Wikipedia temporarily semi-protected biographies of living people',
['edit-autoconfirmed-all-blp-temp'] = 'Wikipedia temporarily semi-protected biographies of living people',
['edit-full-all-blp-temp'] = 'Wikipedia temporarily protected biographies of living people',
['edit-sysop-all-blp-temp'] = 'Wikipedia temporarily protected biographies of living people',
['edit-semi-all-blp-all'] = 'Wikipedia indefinitely semi-protected biographies of living people',
['edit-autoconfirmed-all-blp-all'] = 'Wikipedia indefinitely semi-protected biographies of living people',
['edit-full-all-blp-all'] = 'Wikipedia indefinitely protected biographies of living people',
['edit-sysop-all-blp-all'] = 'Wikipedia indefinitely protected biographies of living people',
['edit-semi-all-all-indef'] = 'Wikipedia indefinitely semi-protected pages',
['edit-autoconfirmed-all-all-indef'] = 'Wikipedia indefinitely semi-protected pages',
['move-full-talk-all-all'] = 'Wikipedia move-protected talk pages',
['move-sysop-talk-all-all'] = 'Wikipedia move-protected talk pages',
['move-full-all-all-indef'] = 'Wikipedia indefinitely move-protected pages',
['move-sysop-all-all-indef'] = 'Wikipedia indefinitely move-protected pages',
['edit-semi-all-all-all'] = 'Wikipedia semi-protected pages',
['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-semi-category-all-all'] = 'Wikipedia semi-protected categories',
['edit-autoconfirmed-category-all-all'] = 'Wikipedia semi-protected categories',
['edit-full-category-all-all'] = 'Wikipedia protected categories',
['edit-sysop-category-all-all'] = 'Wikipedia protected categories',
['move-full-all-all-all'] = 'Wikipedia move-protected pages',
['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-semi-all-all-all'] = 'Wikipedia pending changes protected pages (level 1)',
['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)',
}
}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.