Maintenance script for pruning rows belonging to deleted or redirected items from the wb_items_per_site table.
More...
Maintenance script for pruning rows belonging to deleted or redirected items from the wb_items_per_site table.
- Copyright
- GPL-2.0-or-later
- Author
- Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >
◆ __construct()
Wikibase\Repo\Maintenance\PruneItemsPerSite::__construct |
( |
| ) |
|
◆ deleteRows()
Wikibase\Repo\Maintenance\PruneItemsPerSite::deleteRows |
( |
IDatabase |
$dbw, |
|
|
array |
$rowsToDelete |
|
) |
| |
|
private |
◆ execute()
Wikibase\Repo\Maintenance\PruneItemsPerSite::execute |
( |
| ) |
|
◆ prune()
Wikibase\Repo\Maintenance\PruneItemsPerSite::prune |
( |
RepoDomainDb |
$db, |
|
|
int |
$itemNamespace, |
|
|
int |
$selectBatchSize |
|
) |
| |
|
private |
◆ selectInRange()
Wikibase\Repo\Maintenance\PruneItemsPerSite::selectInRange |
( |
IDatabase |
$dbr, |
|
|
int |
$itemNamespace, |
|
|
int |
$startRowId, |
|
|
int |
$endRowId |
|
) |
| |
|
private |
The documentation for this class was generated from the following file: