Erweiterung:Purge
![]() Freigabestatus: stabil |
|
---|---|
Einbindung | Benutzer-Schnittstelle |
Beschreibung | Adds a purge tab on all normal pages, allowing for quick purging of the cache |
Autor(en) | Ævar Arnfjörð Bjarmason, Tom Hutchison |
Letzte Version | 2.0.0 (2020-06-11) |
MediaWiki | 1.31+ |
Datenbankänderungen | Nein |
Lizenz | GNU General Public License 2.0 oder neuer |
Herunterladen | GitHub: Hinweis: |
Übersetze die Purge-Erweiterung | |
The Purge extension adds a purge tab on all normal pages, allowing for quick purging of the cache.
Installation
- Die neuste Veröffentlichung der Erweiterung und die Datei(en) in ein Verzeichnis namens
Purge
im Ordnerextensions/
ablegen. - Folgenden Code am Ende deiner
LocalSettings.php
hinzufügen:wfLoadExtension( 'Purge' );
- Konfiguriere, wenn nötig
- Erledigt – Zu Special:Version in dem Wiki (bei Einstellung auf deutsch nach Spezial:Version) navigieren, um die erfolgreiche Installierung der Erweiterung zu überprüfen.
Konfiguration
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;
Siehe auch
- Manual:Purge for more information about the purge action.
Diese Erweiterung ist in den folgenden Paketen und/oder WikiFarmen beinhalten: |