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 "Default $wgActorTableSchemaMigrationStage to READ_NEW"
[lhc/web/wiklou.git]
/
maintenance
/
fixDefaultJsonContentPages.php
diff --git
a/maintenance/fixDefaultJsonContentPages.php
b/maintenance/fixDefaultJsonContentPages.php
index
460b553
..
cb4eddf
100644
(file)
--- a/
maintenance/fixDefaultJsonContentPages.php
+++ b/
maintenance/fixDefaultJsonContentPages.php
@@
-64,12
+64,12
@@
class FixDefaultJsonContentPages extends LoggedUpdateMaintenance {
'page_id > ' . $dbr->addQuotes( $lastPage )
],
__METHOD__,
'page_id > ' . $dbr->addQuotes( $lastPage )
],
__METHOD__,
- [ 'ORDER BY' => 'page_id', 'LIMIT' => $this->
mBatchSize
]
+ [ 'ORDER BY' => 'page_id', 'LIMIT' => $this->
getBatchSize()
]
);
foreach ( $rows as $row ) {
$this->handleRow( $row );
}
);
foreach ( $rows as $row ) {
$this->handleRow( $row );
}
- } while ( $rows->numRows() >= $this->
mBatchSize
);
+ } while ( $rows->numRows() >= $this->
getBatchSize()
);
}
return true;
}
return true;
@@
-124,5
+124,5
@@
class FixDefaultJsonContentPages extends LoggedUpdateMaintenance {
}
}
}
}
-$maintClass =
'FixDefaultJsonContentPages'
;
+$maintClass =
FixDefaultJsonContentPages::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;