Extension:IDisplay/es

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Extension:IDisplay and the translation is 5% complete.

Other languages:
English • ‎español • ‎русский • ‎中文 • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
iDisplay
Release status: sin mantenimiento
Implementación Parser function
Descripción Allows to display external websites in an iframe and allows to put a page before the site to prevent loading the site.
Autor(es) Dominik Sigmundtalk
Mantenedor(es) User:BrentLaabstalk
Última versión 1.9 (diciembre de 2016)
MediaWiki 1.17+
Licencia GNU General Public License 2.0 or later
Descarga
Translate the IDisplay extension if it is available at translatewiki.net
Verificar uso y versión de la matriz.

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

The extension has one parser function:

  • #idisplay displays a webpage.

Installation

  • Download, extract y extrae los archivos en el directorio «iDisplay» dentro del directorio extensions/ existente.
  • Añade el siguiente código a tu LocalSettings.php (preferiblemente al final):
    require_once "$IP/extensions/iDisplay/iDisplay.php";
    
  • Yes Listo – Navega a Special:Version en tu wiki para verificar que la apariencia se haya instalado correctamente.

Usage

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

For example:

{{#iDisplay:http://my.example.com/interesting-page|100%|600}}

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

Page fitting

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;
}

Source

Véase también