wikimedia / mediawiki-extensions-SecureHTML

Github mirror of MediaWiki extension SecureHTML - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

Home Page:https://gerrit.wikimedia.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Secure HTML
Copyright (C) 2012-2016 Ryan Finnie
Lets you include arbitrary HTML in an authorized and secure way
https://www.mediawiki.org/wiki/Extension:Secure_HTML

Occasionally you need to display HTML within a wiki, but allowing it 
site-wide opens you up to various XSS attacks. This extension solves 
that problem by letting you specify arbitrary HTML, but only if the HTML 
includes a corresponding hash that is created by combining the HTML 
input, along with a secret that only authorized people know.

The extension uses a special page, Special:SecureHTML which helps you 
build a tag, <shtml>, which acts as a wrapper around raw HTML.

For installation and usage instructions, please see:
https://www.mediawiki.org/wiki/Extension:Secure_HTML

About

Github mirror of MediaWiki extension SecureHTML - our actual code is hosted with Gerrit (please see https://www.mediawiki.org/wiki/Developer_access for contributing)

https://gerrit.wikimedia.org

License:GNU General Public License v2.0


Languages

Language:PHP 93.1%Language:JavaScript 6.9%