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 "Localize some special pages into Korean (ko)"
[lhc/web/wiklou.git]
/
maintenance
/
cleanupEmptyCategories.php
diff --git
a/maintenance/cleanupEmptyCategories.php
b/maintenance/cleanupEmptyCategories.php
index
8672223
..
786c20a
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' ],
@@
-161,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', [
@@
-199,5
+199,5
@@
TEXT
}
}
}
}
-$maintClass =
'CleanupEmptyCategories'
;
+$maintClass =
CleanupEmptyCategories::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;