Extension:Purge/pl
![]() Status wydania: stabilne |
|
---|---|
Realizacja | Interfejs użytkownika |
Opis | Adds a purge tab on all normal pages, allowing for quick purging of the cache |
Autor(zy) | Ævar Arnfjörð Bjarmason, Tom Hutchison |
Ostatnia wersja | 2.0.0 (2020-06-11) |
MediaWiki | 1.31+ |
Zmiany w bazie danych | Nie |
Licencja | GNU General Public License 2.0 or later |
Pobieranie | GitHub: Uwaga: |
Translate the Purge extension | |
The Purge extension adds a purge tab on all normal pages, allowing for quick purging of the cache.
Instalacja
- Download the latest release, extract the files i umieść plik(i) w katalogu o nazwie
Purge
w swoim kataloguextensions/
. - Dodaj poniższy kod na dole swojego pliku
LocalSettings.php
:wfLoadExtension( 'Purge' );
- Configure if required
Zrobione – Przejdź do Special:Version na swojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Konfiguracja
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;
Zobacz też
- Manual:Purge for more information about the purge action.
![]() | This extension is included in the following packages and/or wiki farms: |