Посібник:Скрипти обслуговування

From mediawiki.org
This page is a translated version of the page Manual:Maintenance scripts and the translation is 25% complete.
Outdated translations are marked like this.
  • Користувачам
  • Адміністраторам
  • Розробникам
  • Перекладачам

Скрипти обслуговування використовуються для виконання різних адміністративних завдань, імпорту, обслуговування, звітування та оновлення. Скрипти написані на PHP і розміщені в підкаталозі maintenance під час встановлення MediaWiki. The scripts are written in PHP and live in the maintenance subdirectory of MediaWiki installs.

Існують десятки сценаріїв із різним ступенем загальної корисності та якості. Перед використанням слід уважно прочитати документацію щодо сценарію; якщо скрипт не задокументований, додатково подбайте про це. You should carefully read the documentation on a script before using it; if a script isn't documented, take additional care running it.

As of MediaWiki 1.38 , there are more than 200 maintenance scripts.

Since MediaWiki 1.40, maintenance scripts should be invoked directly through maintenance/run.php . Invoking maintenance scripts directly will trigger a warning.

Див. також