Podręcznik:Rebuildmessages.php
Appearance
| Wersja MediaWiki: | ≥ 1.12 |
| Plik MediaWiki: rebuildmessages.php | |
|---|---|
| Lokalizacja: | maintenance/ |
| Kod źródłowy: | master • 1.46.2 • 1.45.6 • 1.43.11 |
| Klasy: | RebuildMessages |
Szczegóły
rebuildmessages.php file is a maintenance script to purge all language messages from the cache.
Wprowadzono w r28789 (MW 1.12).
MediaWiki provides $wgMessageCacheType to set cache through MessageCache.php. This script clears this cache.
Options
This script does not accept any options.
Usage
php maintenance/run.php rebuildmessages
Terminal
$ php maintenance/run.php rebuildmessages Purging message cache for all languages on this wiki... Done
W wersji MediaWiki MediaWiki 1.39 i we wcześniejszych musisz wywoływać skrypty konserwacyjne poprzez
php maintenance/nazwaSkryptu.php zamiast php maintenance/run.php nazwaSkryptu.