Extension:Iframe

Copyright & Security issue
Embedding external webpage into MediaWiki has two issues:


 * Copyright violation: Embedding an external web page may violate copyrights. So, make sure that the domains that can be used in the extension are trusted!
 * Security issue: External web pages may contain malicous code. Again make sure that the domains that can be used in the extension are trusted!

The extension uses keys to select web servers which are given by the wiki adminstrator during installation. Therefore, behind the key should only be trusted domains.

Download
You can obtain the extension from Github.

Installation

 * 1) Go to the extensions directory and
 * 2) clone it from GitHub
 * 3) Add to the bottom of LocalSettings.php
 * 4) If want to add own keys/servers after loading the extension

Predefined keys, schemes, and domains currently are

Examples
1. Shows the test page of my shiny server

2. Shows the example app for R codes which I use (to load an file click on, select File select and choose an example file).

Usage
The tag iframe has the following attributes

The final URL is build by scheme://level.domain/path where scheme and domain are given by the key, e.g. the examples above will generate the URLs


 * https://shinyapps.wiwi.hu-berlin.de/ and
 * https://shinyapps.wiwi.hu-berlin.de/examples.

Note: you can abbreviate the keys, e.g. for the examples above could be used

Wikis

 * MM-Stat wiki (in german)