The extension allows in a MediWiki the embedding of foreign web pages via an iframe
.
<iframe k="rstudio" p="page" w="800" h="600" />
The parameters w
, h
and allowfullscreen
are optional. The final URL is http://shiny.rstudio.com/page
, composed of the value in $wgIframeUrl
for the key rstudio
and p
.
- Go to the extensions directory of your MediaWiki installation.
- Clone the extension from github by
git clone https://github.com/sigbertklinke/Iframe
- Edit your
LocalSettings.php
and add at the endwfLoadExtension( 'Iframe' );
- The global variable
$wgIframe
controls which defaults are used (web address, sizes etc.)
The extension is potentially a security reason, since an external web page may contain malicious code.
The software is usable under the GNU General Public License, Version 3.0, for details see LICENSE.