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 "Display MAX_CHARS / MAX_BYTES in ApiSandbox"
[lhc/web/wiklou.git]
/
maintenance
/
cleanupEmptyCategories.php
diff --git
a/maintenance/cleanupEmptyCategories.php
b/maintenance/cleanupEmptyCategories.php
index
b8a246e
..
2d22704
100644
(file)
--- a/
maintenance/cleanupEmptyCategories.php
+++ b/
maintenance/cleanupEmptyCategories.php
@@
-109,7
+109,7
@@
TEXT
__METHOD__,
[
'ORDER BY' => 'page_title',
__METHOD__,
[
'ORDER BY' => 'page_title',
- 'LIMIT' => $this->
mBatchSize
,
+ 'LIMIT' => $this->
getBatchSize()
,
],
[
'category' => [ 'LEFT JOIN', 'page_title = cat_title' ],
],
[
'category' => [ 'LEFT JOIN', 'page_title = cat_title' ],
@@
-147,7
+147,6
@@
TEXT
} else {
$where = [];
}
} else {
$where = [];
}
- $i = 0;
$this->output( "Removing empty categories without description pages...\n" );
while ( true ) {
$this->output( "Removing empty categories without description pages...\n" );
while ( true ) {
@@
-162,7
+161,7
@@
TEXT
__METHOD__,
[
'ORDER BY' => 'cat_title',
__METHOD__,
[
'ORDER BY' => 'cat_title',
- 'LIMIT' => $this->
mBatchSize
,
+ 'LIMIT' => $this->
getBatchSize()
,
],
[
'page' => [ 'LEFT JOIN', [
],
[
'page' => [ 'LEFT JOIN', [