Extension:Jehovahsays

Jehovahsays extension Allows Custom HTTP Security Headers to be added to the wiki as configured in the LocalSettings.php file.

Installation
Jehovahsays Allows Custom HTTP Security Headers to be added to the wiki as configured in the LocalSettings.php file. The code below is what you will need to define in LocalSettings.php and is controlled by variables. This implementation makes it easy for inexperienced users of MediaWiki to implement Custom HTTP Security Headers into the wiki.

Download the jehovahsays extension and place it in your extensions/ folder. If the folder is named jehovahsays-master rename the folder jehovahsays.

Add the following code at the bottom of your LocalSettings.php:

require_once "$IP/extensions/jehovahsays/jehovahsays.php";

Yes Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration
$wgSecurity = 'Your Custom HTTP Security Headers go here';