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
Handle missing titles and usernames when importing log items
[lhc/web/wiklou.git]
/
maintenance
/
checkSyntax.php
diff --git
a/maintenance/checkSyntax.php
b/maintenance/checkSyntax.php
index
d1c2edd
..
30a23d3
100644
(file)
--- a/
maintenance/checkSyntax.php
+++ b/
maintenance/checkSyntax.php
@@
-121,9
+121,9
@@
class CheckSyntax extends Maintenance {
return; // process only this path
} elseif ( $this->hasOption( 'list-file' ) ) {
$file = $this->getOption( 'list-file' );
return; // process only this path
} elseif ( $this->hasOption( 'list-file' ) ) {
$file = $this->getOption( 'list-file' );
-
wfS
uppressWarnings();
+
MediaWiki\s
uppressWarnings();
$f = fopen( $file, 'r' );
$f = fopen( $file, 'r' );
-
wfR
estoreWarnings();
+
MediaWiki\r
estoreWarnings();
if ( !$f ) {
$this->error( "Can't open file $file\n", true );
}
if ( !$f ) {
$this->error( "Can't open file $file\n", true );
}