Release status: stable
|Description||Allows custom HTTP security headers to be added to the wiki as configured in the LocalSettings.php file.|
|Author(s)||Morgan Shatee Byers (jehovahsaystalk)|
|PHP||PHP5+ and lower|
require_once "$IP/extensions/jehovahsays/jehovahsays.php";$wgSecurity = 'Your Custom HTTP Security Headers go here';
|Mediawiki 1.27+ & lower|
|Translate the Jehovahsays extension if it is available at translatewiki.net|
|Check usage and version matrix.|
Jehovahsays extension allows custom HTTP security headers to be added to the wiki as configured in the LocalSettings.php file.
- Download and place the file(s) in a directory called
- Add the following code at the bottom of your LocalSettings.php:
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
$wgSecurity = 'Your Custom HTTP Security Headers go here';
After downloading jehovahsays-master.zip from Git hub , extract the folder named jehovahsays-master.
Rename the folder jehovahsays-master to jehovahsays.
Copy the folder named jehovahsays and paste it into your Mediawiki Extensions folder.
Open your localsetting.php
copy and paste the code below
require_once "$IP/extensions/jehovahsays/jehovahsays.php"; $wgSecurity = 'replace the text here with your custom http security headers or programming language';
And now with code below added to your localsettings.php you can add html to the bottom of every wiki article.
$wgBottomSecurity = 'replace the text here with your Text or programming language';