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
make 7zip wrapper usable for dumping text revisions again
[lhc/web/wiklou.git]
/
maintenance
/
updateSpecialPages.php
diff --git
a/maintenance/updateSpecialPages.php
b/maintenance/updateSpecialPages.php
index
cc9f763
..
58f23df
100644
(file)
--- a/
maintenance/updateSpecialPages.php
+++ b/
maintenance/updateSpecialPages.php
@@
-72,7
+72,7
@@
class UpdateSpecialPages extends Maintenance {
$queryPage = $specialObj;
} else {
$class = get_class( $specialObj );
$queryPage = $specialObj;
} else {
$class = get_class( $specialObj );
- $this->
error( "$class is not an instance of QueryPage.\n", 1
);
+ $this->
fatalError( "$class is not an instance of QueryPage.\n"
);
die;
}
die;
}
@@
-101,7
+101,7
@@
class UpdateSpecialPages extends Maintenance {
$this->output( sprintf( "%.2fs\n", $seconds ) );
}
# Reopen any connections that have closed
$this->output( sprintf( "%.2fs\n", $seconds ) );
}
# Reopen any connections that have closed
- $this->reopenAndWaitFo
t
Replicas();
+ $this->reopenAndWaitFo
r
Replicas();
} else {
$this->output( "cheap, skipped\n" );
}
} else {
$this->output( "cheap, skipped\n" );
}
@@
-118,7
+118,7
@@
class UpdateSpecialPages extends Maintenance {
* Queries that take a really long time, might cause the
* mysql connection to "go away"
*/
* Queries that take a really long time, might cause the
* mysql connection to "go away"
*/
- private function reopenAndWai
Fot
Replicas() {
+ private function reopenAndWai
tFor
Replicas() {
if ( !wfGetLB()->pingAll() ) {
$this->output( "\n" );
do {
if ( !wfGetLB()->pingAll() ) {
$this->output( "\n" );
do {