Extension:HtmlFromFile/es

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

Other languages:
English • ‎español • ‎日本語
MediaWiki extensions manual
OOjs UI icon advanced.svg
HtmlFromFile
Release status: estable
Implementación Tag
Descripción Includes HTML snippets from files into wiki pages
Autor(es) Constantin Berhard (ConnyOnnyOnnytalk)
Cambios de la base de datos No
Licencia CC0
Descarga https://gitlab.com/Thunis/HtmlFromFile
$wgHtmlFromFileMappings
Translate the HtmlFromFile extension if it is available at translatewiki.net
Verificar uso y versión de la matriz.

The HtmlFromFile extension includes some HTML snippet in the rendering of a wiki page. In the wiki markup you add <htmlfromfile>someName</htmlfromfile>. The extension does a lookup for "someName" in the configured mapping array (see below) to get a complete file name and then directly forwards the contents of that file to the viewer's browser.

Instalación

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

Configuration parameters

$wgHtmlFromFileMappings
Array which maps short names for in-wiki usage to actual file names where the content is

Ve también