Module:Protection banner/config: Difference between revisions

move images to the banner config if possible
Enwikipedia>Mr. Stradivarius
(various simplifications and formatting)
Enwikipedia>Mr. Stradivarius
(move images to the banner config if possible)
Line 78:
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " so.'''",
officeimage = 'Padlock-black.svg',
categoryOrder = 'reason',
}
Line 101 ⟶ 102:
.. " page unless you are authorized by the Wikimedia Foundation to do"
.. " so.'''",
moveimage = 'Padlock-oliveblack.svg',
categoryOrder = 'reason',
categoryReason = 'office',
Line 139 ⟶ 141:
 
cfg.banners.move.dispute = {
explanation = "This protection is '''not''' an endorsement of the $12",
indefimage = 'Padlock-redolive.svg',
}
 
Line 146 ⟶ 149:
 
cfg.banners.create = {
createimage = 'Padlock-skyblue.svg'
}
 
Line 155 ⟶ 159:
.. ' [[Wikipedia:Pending changes|subject to review]]$9',
alt = 'Page protected with pending changes level 1',
tooltip = 'All edits by unregistered and new users are subject to review',
pc2image = 'Padlock-orangesilver-light.svg',
}
 
Line 165 ⟶ 170:
alt = 'Page protected with pending changes level 2',
tooltip = 'All edits by users who are not reviewers or administrators are'
.. ' subject to review',
image = 'Padlock-orange.svg'
}
 
Line 187 ⟶ 193:
semi = 'Padlock-silver.svg',
template = 'Padlock-pink.svg',
pc1indef = 'Padlock-silver-lightred.svg',
pc2 = 'Padlock-orange.svg',
move = 'Padlock-olive.svg',
indef = 'Padlock-red.svg',
office = 'Padlock-black.svg',
create = 'Padlock-skyblue.svg'
}