Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 892 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 892 Bytes

Purpose

The extension allows in a MediWiki the embedding of foreign web pages via an iframe.

Usage

<iframe k="rstudio" p="page" w="800" h="600" />

The parameters wand h are optional. The final URL is http://shiny.rstudio.com/page, composed of the value in $wgIframeUrl for the key rstudio and p.

Installation

  • 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 end wfLoadExtension( 'Iframe' );
  • The global variable $wgIframe controls which defaults are used (web address, sizes etc.)

Note

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.