Manual:updateArticleCount.php

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil • ‎русский • ‎українська • ‎中文

updateArticleCount.inc.php is a maintenance script which updates the article count.

Usage[edit]

php maintenance/updateArticleCount.php

or just

php updateArticleCount.php

It will only count the number of articles and output the result, without updating the value. If you want to actually update the site statistics table, use this command:

php updateArticleCount.php --update