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
Hoist validation errors from hidden fields to the top of the form
[lhc/web/wiklou.git]
/
maintenance
/
mergeMessageFileList.php
diff --git
a/maintenance/mergeMessageFileList.php
b/maintenance/mergeMessageFileList.php
index
43fa460
..
b491497
100644
(file)
--- a/
maintenance/mergeMessageFileList.php
+++ b/
maintenance/mergeMessageFileList.php
@@
-173,10
+173,8
@@
foreach ( $mmfl['setupFiles'] as $fileName ) {
// Using extension.json or skin.json
if ( substr( $fileName, -strlen( '.json' ) ) === '.json' ) {
$queue[$fileName] = 1;
// Using extension.json or skin.json
if ( substr( $fileName, -strlen( '.json' ) ) === '.json' ) {
$queue[$fileName] = 1;
- } elseif ( !( include_once $fileName ) ) {
- // Include the extension to update $wgExtensionMessagesFiles
- fwrite( STDERR, "Unable to read $fileName\n" );
- exit( 1 );
+ } else {
+ require_once $fileName;
}
}
}
}