Embedding an iframe

Just wondering if there's any way to get WackoWiki to permit me to embed things like Google Maps in an iframe.

I've got a private wiki, only accessible by authorized users and only editable by a further restricted subset so I'm not worried about the usual security risks of this approach. Is there anyway to allow at least a subset of a wiki's users to make edits of this nature?


  1. Settings for using iframe

    Requiered settings:

    1. HTML support must be enabled for the particular page or globally.
      • If SafeHtml is set on globally in the configuration, which is strongly recommended,
        you must ensure that at [page properties -> extended] 'Filtering of unsafe HTML' is disabled for this particular page. Otherwise turn SafeHtml off 'allow_rawhtm' -> 0 in your secondary config.
      • For security reasons only members of the Admins group are allowed to do that by default.
    2. Security Headers
      • If you’re wanting to load your WackoWiki installation in an IFrame or using it via different domains you’ll need to modify the csp_custom.conf. Otherwise turn the setting off 'enable_security_headers' => 0 in your secondary config (by hand in the config table via phpMyAdmin or the Admin Panel ).
      • https://wackowiki.org/lab/News/2010/12/SecurityHeaders

    Insert the provided code snippet in the wiki page via <# HTML here #>.

    Example: https://wackowiki.org/lab/News/2010/10/GoogleMaps
    <#<iframe width="640" height="480" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/?ie=UTF8&ll=-36.75649,175.493975&spn=0.033008,0.054932&t=p&z=14&output=embed"></iframe><br />
    <small><a href="http://maps.google.com/?ie=UTF8&ll=-36.75649,175.493975&spn=0.033008,0.054932&t=p&z=14&source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>#>

    • WikiAdmin
    • edited