Afternoon all,
I've got a desire to embed a visio diagram into my wiki after saving the diagram as a webpage.
How do I embed HTML into a wiki article?
Thanks,
Brett
On Mon, Sep 13, 2010 at 6:16 AM, Brett's GMAIL brettles101@gmail.com wrote:
Afternoon all,
I've got a desire to embed a visio diagram into my wiki after saving the diagram as a webpage.
How do I embed HTML into a wiki article?
Set $wgRawHtml to true. Details are here: http://www.mediawiki.org/wiki/Manual:$wgRawHtml
You can then use the <html> tag to wrap blocks of code containing any HTML you want. In this case you may want to include an <iframe>, for example.
Beware, though. This is a serious security issue on a wiki that's publicly editable. Depending on your situation this may or may not be the solution you want.
There is really no alternative except $wgRawHtml? I can't believe that.
robert
2010/9/13 Łukasz Garczewski tor@wikia-inc.com
On Mon, Sep 13, 2010 at 6:16 AM, Brett's GMAIL brettles101@gmail.com wrote:
Afternoon all,
I've got a desire to embed a visio diagram into my wiki after saving the
diagram as a webpage.
How do I embed HTML into a wiki article?
Set $wgRawHtml to true. Details are here: http://www.mediawiki.org/wiki/Manual:$wgRawHtml
You can then use the <html> tag to wrap blocks of code containing any HTML you want. In this case you may want to include an <iframe>, for example.
Beware, though. This is a serious security issue on a wiki that's publicly editable. Depending on your situation this may or may not be the solution you want.
-- Lucas 'TOR' Garczewski Wikia Tech Team
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
orschiro@googlemail.com wrote:
There is really no alternative except $wgRawHtml? I can't believe that.
robert
You could use an extension to embed it. There are a number of extensions creating iframes, although they usually have security issues, the safer one seems to be http://www.mediawiki.org/wiki/Extension:HTMLets
mediawiki-l@lists.wikimedia.org