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 "HTMLCheckMatrix support for forcing options on/off"
[lhc/web/wiklou.git]
/
maintenance
/
updateSpecialPages.php
diff --git
a/maintenance/updateSpecialPages.php
b/maintenance/updateSpecialPages.php
index
f92f67a
..
5472623
100644
(file)
--- a/
maintenance/updateSpecialPages.php
+++ b/
maintenance/updateSpecialPages.php
@@
-100,7
+100,7
@@
class UpdateSpecialPages extends Maintenance {
}
if ( !$this->hasOption( 'only' ) || $this->getOption( 'only' ) == $queryPage->getName() ) {
}
if ( !$this->hasOption( 'only' ) || $this->getOption( 'only' ) == $queryPage->getName() ) {
- $this->output( sprintf( '%-30s ',
$special ) );
+ $this->output( sprintf( '%-30s ', $special ) );
if ( $queryPage->isExpensive() ) {
$t1 = explode( ' ', microtime() );
# Do the query
if ( $queryPage->isExpensive() ) {
$t1 = explode( ' ', microtime() );
# Do the query
@@
-124,7
+124,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
- if ( !wfGetLB()->pingAll() )
{
+ if ( !wfGetLB()->pingAll() ) {
$this->output( "\n" );
do {
$this->error( "Connection failed, reconnecting in 10 seconds..." );
$this->output( "\n" );
do {
$this->error( "Connection failed, reconnecting in 10 seconds..." );
@@
-146,4
+146,4
@@
class UpdateSpecialPages extends Maintenance {
}
$maintClass = "UpdateSpecialPages";
}
$maintClass = "UpdateSpecialPages";
-require_once
( RUN_MAINTENANCE_IF_MAIN )
;
+require_once
RUN_MAINTENANCE_IF_MAIN
;