dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Add string length limits"
[lhc/web/wiklou.git]
/
maintenance
/
recountCategories.php
diff --git
a/maintenance/recountCategories.php
b/maintenance/recountCategories.php
index
a4bfa98
..
b4d75c7
100644
(file)
--- a/
maintenance/recountCategories.php
+++ b/
maintenance/recountCategories.php
@@
-97,8
+97,8
@@
TEXT
}
protected function doWork() {
}
protected function doWork() {
- $this->output( "Finding up to {$this->
mBatchSize
} drifted rows " .
- "starting at cat_id {$this->
minimumId
}...\n" );
+ $this->output( "Finding up to {$this->
getBatchSize()
} drifted rows " .
+ "starting at cat_id {$this->
getBatchSize()
}...\n" );
$countingConds = [ 'cl_to = cat_title' ];
if ( $this->mode === 'subcats' ) {
$countingConds = [ 'cl_to = cat_title' ];
if ( $this->mode === 'subcats' ) {
@@
-124,7
+124,7
@@
TEXT
"cat_{$this->mode} != ($countingSubquery)"
],
__METHOD__,
"cat_{$this->mode} != ($countingSubquery)"
],
__METHOD__,
- [ 'LIMIT' => $this->
mBatchSize
]
+ [ 'LIMIT' => $this->
getBatchSize()
]
);
if ( !$idsToUpdate ) {
return false;
);
if ( !$idsToUpdate ) {
return false;