Екстензија:Освежи
![]() Release status: stable |
|
---|---|
Implementation | User interface |
Description | Додаје таб "освежи" на свим стандардним станицама, дозвољавајући лако освежавање кеш меморије |
Author(s) | Ævar Arnfjörð Bjarmason, Tom Hutchison |
Latest version | 2.0.0 (2020-06-11) |
MediaWiki | 1.31+ |
Database changes | No |
License | GNU General Public License 2.0 or later |
Download | GitHub: Note: |
Translate the Purge extension | |
Екстензија Purge додаје таб освежи на свим стандардним страницама, дозвољавајући лако освежавање кеш меморије.
Инсталација
- Преузмите најновију верзију, распакујте датотеке and place the file(s) in a directory called
Purge
in yourextensions/
folder. - Add the following code at the bottom of your
LocalSettings.php
:wfLoadExtension( 'Purge' );
- Конфигуришите као што је препоручено
- Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.
Конфигурација
Ова екстензија долази са екстра корисничким правом званим "purge" која дозвољава фину контролу њене употребе. По подразумеваном, сви регистровани корисници имају то право. 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;
Види још
- Manual:Purge for more information about the purge action.
This extension is included in the following packages and/or wiki farms: |