The RawMsg Extension is a MediaWiki extension which adds a parser function called #rawmsg for injecting raw HTML fragments into pages.
It is released under The MIT License.
Contents |
This extension requires:
require_once('extensions/RawMsg.php');
Once installed, you (or editors of your wiki) may begin embedding any existing raw messages into any pages.
The parser extension expects to be called in the following way:
Where:
For example, calling this:
{{#rawmsg:test-pattern}}
Would effectively grab the content of [[MediaWiki:rawmsg-test-pattern]] and inject it as raw HTML into the output.
Note: This output may still be subject to some mangling by the MediaWiki parser since whitespace and bullets can be interpreted as wikimarkup. See Raw HTML Output from a Parser Extension for more details.
Got something to say?
or, read what others have said ...