From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
Release status: unmaintained
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 Sigmundtalk
Maintainer(s) User:BrentLaabstalk
Latest version 1.9 (December 2016)
MediaWiki 1.17+
License GNU General Public License 2.0 or later
Translate the IDisplay extension if it is available at translatewiki.net
Check usage and version matrix.

The iDisplay extension allows MediaWiki pages to embed external web pages. It also allows setting 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.

Parser functions[edit]

The extension has one parser function:

  • #idisplay displays a webpage.


  • Download, extract and place the file(s) in a directory called iDisplay in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/iDisplay/iDisplay.php";
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.


To display pages call the following:



  • 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 in between.

For example:


You do not need to define all parameters, but you must keep the order!

Page fitting[edit]

You might cannot get the iframe to fit the page. A guest user suggested this workaround / fix:

Paste this code into your "common.css" page ("MediaWiki:Common.css")

iframe {
	width: 100% !important;
	height: * !important;
	min-width: 600px;
	min-height: 500px;


See also[edit]