User:Zabshk/heading-icons.js: Difference between revisions
Content added Content deleted
mNo edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
'msg-semi-protection': 'Only autoconfirmed users can edit this page (semi protection).', |
'msg-semi-protection': 'Only autoconfirmed users can edit this page (semi protection).', |
||
'msg-full-protection': 'Only administrators users can edit this page (full protection).', |
'msg-full-protection': 'Only administrators users can edit this page (full protection).', |
||
'msg-other-protection': 'This page is protected on non-standard protection level.', |
|||
} ); |
} ); |
||
Line 90: | Line 91: | ||
img.src = "//upload.wikimedia.org/wikipedia/commons/thumb/4/48/Padlock-red.svg/22px-Padlock-red.svg.png"; |
img.src = "//upload.wikimedia.org/wikipedia/commons/thumb/4/48/Padlock-red.svg/22px-Padlock-red.svg.png"; |
||
img.title = mw.msg( 'msg-full-protection' ); |
img.title = mw.msg( 'msg-full-protection' ); |
||
} else { |
|||
img.src = "//upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Padlock-gold.svg/22px-Padlock-gold.svg.png"; |
|||
img.title = mw.msg( 'msg-other-protection' ); |
|||
} |
} |
||
img.alt = "padlock"; |
img.alt = "padlock"; |