手册:维护脚本

From mediawiki.org
This page is a translated version of the page Manual:Maintenance scripts and the translation is 88% complete.
Outdated translations are marked like this.
  • 用户
  • 系统管理员
  • 开发者
  • 翻译人员

维护脚本用于进行各种管理、导入、维护、汇报与升级任务。 这些脚本用PHP编写,位于MediaWiki安装目录下的maintenance子目录。

脚本的用途和编码质量各不相同。 在使用脚本前,您应当仔细阅读其的文档;如果它没有附带文档,使用时请多加小心。

MediaWiki 1.38 版本已有超过200个维护脚本。

自MediaWiki 1.40起,维护脚本应直接通过maintenance/run.php 调用。直接调用维护脚本会触发警告。

參見