Extension:HostStats/es

Category:GPL licensed extensions/es
Manual de extensiones de MediaWiki
HostStats
Estado de la versión: estableCategory:Stable extensions/es
Implementación Página especial Category:Special page extensions/es
Descripción Provee una página especial que genera información sobre el host wiki.
Autor(es) Hydrizdiscusión
Última versión 2.0.0 (2019-09-16)
MediaWiki 1.32+Category:Extensions with manual MediaWiki version/es
PHP 7.0+
Cambios en la base de datos No
Licencia Licencia Pública General de GNU 3.0 o posterior
Descargar Category:Extensions in Wikimedia version control/es
README
CHANGELOG
$wgHostStatsCommands
Traduce la extensión HostStats si está disponible en translatewiki.net
Incidentes Tareas abiertas · Reportar un error
Category:All extensions/es

The HostStats extension implements a special page "Special:HostStats" that outputs information about the wiki's hosting server. The extension will run a set of commands based on the $wgHostStatsCommands parameter, which the output will be displayed as different sections in the "Special:HostStats" special page.

This extension, if misused, can potentially expose your server and put it at risk! Please use with extreme care and if in doubt, do not install.

Instalación

  • Descarga y mueve la carpeta HostStats extraída a tu directorio extensions/.
    Los desarrolladores y contribuidores de código deberían instalar la extensión desde Git en su lugar, usando:
    cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/HostStats
    
  • Añade el siguiente código en la parte final de tu archivo LocalSettings.php :
    wfLoadExtension( 'HostStats' );
    
  • Configuralo a tu gusto
  • Yes Hecho – Navega a Special:Version en el wiki para verificar que la extensión se haya instalado correctamente.

Configuración

Parámetro

$wgHostStatsCommands

An array of commands to output. Since version 2.0.0 empty by default. Example:

$wgHostStatsCommands = [
	'hostname',
	'df -h'
];
Este valor ejemplo sólo aplica a usuarios *nix. Los usuarios de Windows quizás deban cambiar esto acordemente.

Derecho del usuario

The user right "hoststats" will have to be set for an existing user group, e.g. "sysop" or preferably for a new user group:

$wgGroupPermissions['hoststats']['hoststats'] = true;
$wgGroupPermissions['sysop']['hoststats'] = true;
Category:All extensions/es Category:Extensions in Wikimedia version control/es Category:Extensions which add rights/es Category:Extensions with manual MediaWiki version/es Category:GPL licensed extensions/es Category:Special page extensions/es Category:Stable extensions/es