GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Get MediaWiki
  • Get extensions
  • Tech blog
  • Contribute
  • User help
  • FAQ
  • Technical manual
  • Support desk
  • Communication
  • Developer portal
  • Code statistics
  • Community portal
  • Recent changes

This view

  • Original page
  • New address

GeezerVison is showing www.mediawiki.org — Extension:SaferHTMLTag - MediaWiki

Warning: The code or configuration described here poses a major security risk.

Site administrators: You are advised against using it until this security issue is resolved.


Problem: The html tag check can be bypassed by obfuscating the html tag, leading to a false sense of security. See https://github.com/Wikimedica/mediawiki-extensions-SaferHTMLTag/issues/5
MediaWiki extensions manual
SaferHTMLTag
Release status: stable
Implementation Tag , User rights
Description Allows only sysops and certain user groups to edit pages containing the ‎<html> tag.
Author(s) Antoine Mercier-Linteau (Tinsstalk)
Latest version 0.4 (2024-02-19)
Compatibility policy Master maintains backward compatibility.
MediaWiki 1.35+
Added rights
edit-html
Hooks used
  • EditPage::showEditForm:initial
  • TitleGetEditNotices
  • EditFilterMergedContent
  • getUserPermissionsErrors
Licence GNU General Public License 2.0 or later
Download
GitHub:
  • project page
  • git repository URL
  • commit history

Note:
No localisation updates are
provided by translatewiki.net .


README

The SaferHTMLTag extension prevents edition of pages that contain the ‎<html> tag by unauthorized users and groups.

Installation

  • Download, extract and place the file(s) in a directory called SaferHTMLTag in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'SaferHTMLTag' );
    
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Enabling for a group

To enable for a group (eg: sysops), add the following to you LocalSettings.php file:

$wgGroupPermissions['sysop']['edit-html'] = true; // Enable in-wiki HTML editing for sysops.

See also

  • Extension:Secure_HTML - Lets you include arbitrary HTML in an authorized and secure way.
Retrieved from "https://www.mediawiki.org/w/index.php?title=Extension:SaferHTMLTag&oldid=7865138"
Categories:
  • Extensions with security vulnerabilities
  • Stable extensions
  • Tag extensions
  • User rights extensions
  • Extensions which add rights
  • EditPage::showEditForm:initial extensions
  • TitleGetEditNotices extensions
  • EditFilterMergedContent extensions
  • GetUserPermissionsErrors extensions
  • GPL licensed extensions
  • Extensions in GitHub version control
  • All extensions
Hidden categories:
  • Extensions without an image
  • Extensions with master compatibility policy
  • Extensions with manual MediaWiki version
  • Extensions not in ExtensionJson
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.