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 "SpecialEditWatchlist: Avoid empty namespace sections"
[lhc/web/wiklou.git]
/
maintenance
/
dumpSisterSites.php
diff --git
a/maintenance/dumpSisterSites.php
b/maintenance/dumpSisterSites.php
index
1eecfe4
..
784dc7a
100644
(file)
--- a/
maintenance/dumpSisterSites.php
+++ b/
maintenance/dumpSisterSites.php
@@
-4,7
+4,7
@@
* http://www.eekim.com/cgi-bin/wiki.pl?SisterSites
*
* Copyright © 2006 Brion Vibber <brion@pobox.com>
* http://www.eekim.com/cgi-bin/wiki.pl?SisterSites
*
* Copyright © 2006 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
@@
-25,7
+25,7
@@
* @ingroup Maintenance
*/
* @ingroup Maintenance
*/
-require_once
( __DIR__ . '/Maintenance.php' )
;
+require_once
__DIR__ . '/Maintenance.php'
;
/**
* Maintenance script that generates a page name dump for SisterSites usage.
/**
* Maintenance script that generates a page name dump for SisterSites usage.
@@
-43,8
+43,9
@@
class DumpSisterSites extends Maintenance {
$dbr->bufferResults( false );
$result = $dbr->select( 'page',
array( 'page_namespace', 'page_title' ),
$dbr->bufferResults( false );
$result = $dbr->select( 'page',
array( 'page_namespace', 'page_title' ),
- array( 'page_namespace' => NS_MAIN,
- 'page_is_redirect' => 0,
+ array(
+ 'page_namespace' => NS_MAIN,
+ 'page_is_redirect' => 0,
),
__METHOD__ );
),
__METHOD__ );
@@
-58,4
+59,4
@@
class DumpSisterSites extends Maintenance {
}
$maintClass = "DumpSisterSites";
}
$maintClass = "DumpSisterSites";
-require_once
( RUN_MAINTENANCE_IF_MAIN )
;
+require_once
RUN_MAINTENANCE_IF_MAIN
;