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
Introduce Maintenance::getBatchSize()
[lhc/web/wiklou.git]
/
maintenance
/
makeTestEdits.php
diff --git
a/maintenance/makeTestEdits.php
b/maintenance/makeTestEdits.php
index
ca2f7c5
..
1effb61
100644
(file)
--- a/
maintenance/makeTestEdits.php
+++ b/
maintenance/makeTestEdits.php
@@
-55,7
+55,7
@@
class MakeTestEdits extends Maintenance {
$page->doEditContent( $content, $summary, 0, false, $user );
$this->output( "Edited $title\n" );
- if ( $i && ( $i % $this->
mBatchSize
) == 0 ) {
+ if ( $i && ( $i % $this->
getBatchSize()
) == 0 ) {
wfWaitForSlaves();
}
}