Extension:Purge/es
![]() Estado de lanzamiento estable |
|
---|---|
Implementación | Interfaz de usuario |
Descripción | Adds a purge tab on all normal pages, allowing for quick purging of the cache |
Autor(es) | Ævar Arnfjörð Bjarmason, Tom Hutchison |
Última versión | 2.0.0 (2020-06-11) |
MediaWiki | 1.31+ |
Cambios de la base de datos | No |
Licencia | GNU Licencia Pública general 2.0 o posterior |
Descarga | GitHub: Note: |
Traduce el Purge extensión | |
The Purge extension adds a purge tab on all normal pages, allowing for quick purging of the cache.
Instalación
- Download the latest release, extract the files y extrae los archivos en el directorio «
Purge
» dentro del directorioextensions/
existente. - Añade el código siguiente al final de
LocalSettings.php
:wfLoadExtension( 'Purge' );
- Configure if required
- Hecho – Navega a Special:Version en el wiki para verificar que la extensión se haya instalado correctamente.
Configuración
This extension comes with an extra user right called "purge" to allow fine grained control of its usage. By default it is assigned to the "user" user group, i.e. to all users with an account who are logged in. In case you would like to also assign it to anonymous users for them to make use of the cache purging functionality without the need of a post add the following code to your "LocalSettings.php" file right after invoking this extension:
$wgGroupPermissions['*']['purge'] = true;
Revoking the permission for the "user" user group and granting it at the same time only to the "sysop" user group may be done by adding the following two lines:
$wgGroupPermissions['user']['purge'] = false;
$wgGroupPermissions['sysop']['purge'] = true;
Ve también
- Manual:Purge for more information about the purge action.
This extension is included in the following packages and/or wiki farms: |