Extension:IDisplay

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual - list
Crystal Clear action run.png
iDisplay

Release status: stable

Implementation Parser function
Description Allows to display external WebSites in an iFrame and allows to put a page before the site to prevent loading the site.
Author(s) Dominik Sigmund
Last version 1.0 (September 2011)
MediaWiki 1.13.* or greater
License GPL
Download See here
Check usage and version matrix

The iDisplay extension allows MediaWiki pages to embed external WebPages. It also allows to set an option to put a blocking page in front of it, so you prevent loading the page until the user wants to load the page.

Contents

Parser functions [edit]

The extension has one parser functions:

  • #idisplay displays a webpage.


Download [edit]

You can download the idisplay code here:

Installation [edit]

To install this extension, create an 'iDisplay' directory (by extracting a compressed file), and place this directory within the main MediaWiki 'extensions' directory. Then, in the file 'LocalSettings.php', add the following line:

include_once("$IP/extensions/iDisplay/iDisplay.php");

Authors [edit]

iDisplay was written by Dominik Sigmund.


Usage [edit]

To display pages call the following:

{{#iDisplay:URL|WIDTH|HEIGHT|SAFE}} 

Explanation:

  • The URL you want to display
  • The WIDTH of the iFrame
  • The HEIGHT of the iFRame
  • If SAFE == 1 then there will be the blocking page inbetween.

You must no present all parameters, but you must keep the order!