Jump to content

Manual:UpdateArticleCount.php/ru

From mediawiki.org
This page is a translated version of the page Manual:UpdateArticleCount.php and the translation is 15% complete.
Outdated translations are marked like this.
Версия MediaWiki:
1.6

updateArticleCount.inc.phpскрипт, который обновляет счётчик статей. Пример использования:

It simply counts the total articles on the wiki and updates the statistics in site_stats table.

Options

Option Description Required
--update Update the site_stats table with the new count По желанию
--use-master Count using the primary database По желанию

Использование

php maintenance/updateArticleCount.php [ --update| --use-master ]
Terminal

It will only count the number of articles and output the result, without updating the value.

To update the site statistics table, run the script with the --update option.

Terminal

См. также