summaryrefslogtreecommitdiff
path: root/maintenance/exportSites.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2015-12-17 09:15:42 +0100
committerPierre Schmitz <pierre@archlinux.de>2015-12-17 09:44:51 +0100
commita1789ddde42033f1b05cc4929491214ee6e79383 (patch)
tree63615735c4ddffaaabf2428946bb26f90899f7bf /maintenance/exportSites.php
parent9e06a62f265e3a2aaabecc598d4bc617e06fa32d (diff)
Update to MediaWiki 1.26.0
Diffstat (limited to 'maintenance/exportSites.php')
-rw-r--r--maintenance/exportSites.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/maintenance/exportSites.php b/maintenance/exportSites.php
index 1c71dc0e..145c9249 100644
--- a/maintenance/exportSites.php
+++ b/maintenance/exportSites.php
@@ -17,7 +17,9 @@ class ExportSites extends Maintenance {
public function __construct() {
$this->mDescription = 'Exports site definitions the sites table to XML file';
- $this->addArg( 'file', 'A file to write the XML to (see docs/sitelist.txt). Use "php://stdout" to write to stdout.', true );
+ $this->addArg( 'file', 'A file to write the XML to (see docs/sitelist.txt). ' .
+ 'Use "php://stdout" to write to stdout.', true
+ );
parent::__construct();
}
@@ -34,7 +36,7 @@ class ExportSites extends Maintenance {
$handle = fopen( $file, 'w' );
- if ( !$handle ) {
+ if ( !$handle ) {
$this->error( "Failed to open $file for writing.\n", 1 );
}
@@ -51,4 +53,4 @@ class ExportSites extends Maintenance {
}
$maintClass = 'ExportSites';
-require_once( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;