Manual:UpdateArticleCount.php/ru

Версия MediaWiki:
1.6
Category:MediaWiki code/ru#UpdateArticleCount.php

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/run.php updateArticleCount [ --update| --use-master ]
Terminal
In MediaWiki version 1.39.12 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

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

См. также

Category:Maintenance scripts/ru#UpdateArticleCount.php Category:Stats maintenance scripts/ru
Category:Maintenance scripts/ru Category:MediaWiki code/ru Category:Stats maintenance scripts/ru