Extension:ProtectionIndicator

The ProtectionIndicator extension adds lock icons to the top left corner of the page based on the protection level of the page.

Configuration parameters

 * $wgShowIconsOnMainPage: Adds the icons to the top of the Main Page of the Wiki if it is protected. False by default.
 * $wgShowLogInPopup: Adds the last log entry to the popup. True by default.

CSS configuration
A particular file,  is loaded by the extension while adding the icons. This file can be used to customize the icons. The css class names for the icons follow the format  and   for cascading protection. If you have flaggedrevs installed you can customise the flaggedrevs icons with the   code. This feature can also be used to completely hide an icon from view.

Other stuff
A parser tag,  can be used to completely prevent icons from appearing on a particular page.

Testing/Development/Bug fixing

 * Clone the github repository into the extensions/ folder of a test MediaWiki installation (worked on mediawiki-docker-dev).
 * Add  to your LocalSettings.php file.
 * Test installation by navigating to a page which is protected.