Manual:RecountCategories.php/pl

Wersja MediaWiki:
1.30
Category:MediaWiki code/pl#RecountCategories.php

Szczegóły

recountCategories.php is a maintenance script used to update the counts of category members, if the numbers displayed on category pages are inaccurate. During normal operation, it shouldn't be needed to run this script. However, a bug may cause the counts to not update properly (see T18036 and T85696 and T170737, the script was run on all public Wikimedia wikis 2021-06-23).

Options/Arguments

Opcja/Parametr Opis Required?
--modeWhich category count column to recompute: one of pages, subcats or files. Wymagane
--beginOnly recount categories with cat_id greater than the given value Optional
--throttleWait this many milliseconds after each batch. Default: 0 Optional
--skip-cleanupSkip running cleanupEmptyCategories if the "page" mode is selected Optional

Użycie

php maintenance/run.php recountCategories --mode modeName [ --begin| --throttle| --skip-cleanup ]
In MediaWiki version 1.39.13 and earlier, you must invoke maintenance scripts using php maintenance/scriptName.php instead of php maintenance/run.php scriptName.

With pages mode

Terminal

With subcats mode

Terminal

With files mode

Terminal

Zobacz też

Category:Maintenance scripts/pl Category:Content maintenance scripts/pl
Category:Content maintenance scripts/pl Category:Maintenance scripts/pl Category:MediaWiki code/pl