Page MenuHomePhabricator

Add padlock icons to protected pages (by default)
Closed, DuplicatePublic

Description

Currently, MediaWiki doesn't have padlock icons feature for protected pages as Wikipedia does. And importing it from Wikipedia is pretty complicated. I would like to have this feature installed with MediaWiki by default. Or you can make it an extension to be installed.

Event Timeline

Currently, MediaWiki doesn't have padlock icons feature for protected pages as Wikipedia does.

Please provide steps to reproduce / a link where exactly to see some padlock icons on a protected page.

Jayprakash12345 raised the priority of this task from Low to Needs Triage.Nov 12 2018, 1:02 PM
Jayprakash12345 subscribed.

AFAIK, This type of padlock comes from Template like Template:Pp-semi-indef. We already have a script for padlock see T92384, But this script has limitations like it is not detected which type of protection type is. Sometimes before I got the same request from my Indic-Community See Indic-TechCom/Requests#Protection_indicators. But I was failed to enhance the functionality due to mediawiki-javascript-config-to-get-restriction-type. So now someone should work on MediaWiki Extension for that.

Hi guys, I'm working on an extension, ProtectionIndicator, that may allow this task to get resolved. The extension is still in its very early stages of development and has a lot of rough corners and bugs so any bug reports/suggestion/testing would be great.