A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.mediawiki.org/wiki/Manual:$wgRawHtmlMessages below:

Manual:$wgRawHtmlMessages - MediaWiki

This variable is primarily meant for extensions so they can register sensitive messages. Extension authors should add all messages here which will be displayed without escaping (e.g. messages which use $msg->text() or $msg->plain(), and then send the text to the output without further escaping). The list is used for access control, changing messages listed here will require editsitecss and editsitejs rights in addition to editinterface already required for editing MediaWiki namespace.

To add values in an extension, add a section like this to extension.json:

"RawHtmlMessages": [
    "foo",
    "bar",
    "baz"
],

Message names must be given with underscores rather than spaces and with lowercase first letter.

MediaWiki version:

1.45

$wgRawHtmlMessages = [
	'copyright',
	'history_copyright',
];

In MW 1.43-1.44, these two raw HTML messages are only active when $wgAllowRawHtmlCopyrightMessages is true.

MediaWiki versions:

1.42 – 1.43

$wgRawHtmlMessages = [
	'copyright',
	'history_copyright',
	'googlesearch',
];
$wgRawHtmlMessages = [
	'copyright',
	'history_copyright',
	'googlesearch',
	'youhavenewmessagesmanyusers',
	'youhavenewmessages',
];
Backported to

1.39.5

$wgRawHtmlMessages = [
	'copyright',
	'history_copyright',
	'googlesearch',
	'youhavenewmessagesmanyusers',
	'youhavenewmessages',
];

1.35.12

$wgRawHtmlMessages = [
	'copyright',
	'history_copyright',
	'googlesearch',
	'feedback-terms',
	'feedback-termsofuse',
	'youhavenewmessagesmanyusers',
	'youhavenewmessages',
];
MediaWiki versions:

1.32 – 1.40

$wgRawHtmlMessages = [
	'copyright',
	'history_copyright',
	'googlesearch',
	'feedback-terms',
	'feedback-termsofuse',
];

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4