Extension:Jehovahsays

MediaWiki extensions manual
jehovahsays
Release status: unmaintained
Implementation Parser extension
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)
Latest version 1.1
MediaWiki 1.27+
PHP PHP5+ and lower
License MIT License
Download
README.md
Example @jehovahsays

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

$wgSecurity = 'Your Custom HTTP Security Headers go here';
Mediawiki 1.27+ & lower

Jehovahsays extension allows custom HTTP security headers to be added to the wiki as configured in the LocalSettings.php file.

Installation

edit
  • Download and place the file(s) in a directory called Jehovahsays in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    require_once "$IP/extensions/Jehovahsays/Jehovahsays.php";
    
  •   Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

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

Trouble shooting

edit

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';

See also

edit