Public Member Functions | |
ArticleCounter () | |
makeNsSet () | |
Produce a comma-delimited set of namespaces Includes paranoia. | |
makeSql () | |
Produce SQL for the query. | |
count () | |
Count the number of valid content pages in the wiki. | |
Public Attributes | |
$dbr | |
$namespaces |
Definition at line 10 of file updateArticleCount.inc.php.
ArticleCounter::ArticleCounter | ( | ) |
Definition at line 15 of file updateArticleCount.inc.php.
References $wgContentNamespaces, and wfGetDB().
ArticleCounter::count | ( | ) |
Count the number of valid content pages in the wiki.
Definition at line 52 of file updateArticleCount.inc.php.
ArticleCounter::makeNsSet | ( | ) |
Produce a comma-delimited set of namespaces Includes paranoia.
Definition at line 27 of file updateArticleCount.inc.php.
References $namespaces.
Referenced by makeSql().
ArticleCounter::makeSql | ( | ) |
Produce SQL for the query.
Definition at line 38 of file updateArticleCount.inc.php.
References $page, and makeNsSet().
Referenced by count().
ArticleCounter::$dbr |
Definition at line 12 of file updateArticleCount.inc.php.
ArticleCounter::$namespaces |