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
Pass phpcs-strict on maintenance/storage/
[lhc/web/wiklou.git]
/
maintenance
/
importDump.php
diff --git
a/maintenance/importDump.php
b/maintenance/importDump.php
index
9d15d90
..
61189b7
100644
(file)
--- a/
maintenance/importDump.php
+++ b/
maintenance/importDump.php
@@
-3,7
+3,7
@@
* Import XML dump files into the current wiki.
*
* Copyright © 2005 Brion Vibber <brion@pobox.com>
* Import XML dump files into the current wiki.
*
* Copyright © 2005 Brion Vibber <brion@pobox.com>
- * http://www.mediawiki.org/
+ * http
s
://www.mediawiki.org/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-24,7
+24,7
@@
* @ingroup Maintenance
*/
* @ingroup Maintenance
*/
-require_once
( __DIR__ . '/Maintenance.php' )
;
+require_once
__DIR__ . '/Maintenance.php'
;
/**
* Maintenance script that imports XML dump files into the current wiki.
/**
* Maintenance script that imports XML dump files into the current wiki.
@@
-56,7
+56,7
@@
Compressed XML files may be read directly:
Note that for very large data sets, importDump.php may be slow; there are
alternate methods which can be much faster for full site restoration:
Note that for very large data sets, importDump.php may be slow; there are
alternate methods which can be much faster for full site restoration:
-<http://www.mediawiki.org/wiki/Manual:Importing_XML_dumps>
+<http
s
://www.mediawiki.org/wiki/Manual:Importing_XML_dumps>
TEXT;
$this->stderr = fopen( "php://stderr", "wt" );
$this->addOption( 'report',
TEXT;
$this->stderr = fopen( "php://stderr", "wt" );
$this->addOption( 'report',
@@
-122,7
+122,7
@@
TEXT;
}
/**
}
/**
- * @param
$obj Title|Revision
+ * @param
Title|Revision $obj
* @return bool
*/
private function skippedNamespace( $obj ) {
* @return bool
*/
private function skippedNamespace( $obj ) {
@@
-144,8
+144,7
@@
TEXT;
}
/**
}
/**
- * @param $rev Revision
- * @return mixed
+ * @param Revision $rev
*/
function handleRevision( $rev ) {
$title = $rev->getTitle();
*/
function handleRevision( $rev ) {
$title = $rev->getTitle();
@@
-167,7
+166,7
@@
TEXT;
}
/**
}
/**
- * @param
$revision R
evision
+ * @param
Revision $r
evision
* @return bool
*/
function handleUpload( $revision ) {
* @return bool
*/
function handleUpload( $revision ) {