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 "Allow providing 'notices' for OOUI HTMLForm fields"
[lhc/web/wiklou.git]
/
maintenance
/
convertExtensionToRegistration.php
diff --git
a/maintenance/convertExtensionToRegistration.php
b/maintenance/convertExtensionToRegistration.php
index
7c87e10
..
6d2a0e9
100644
(file)
--- a/
maintenance/convertExtensionToRegistration.php
+++ b/
maintenance/convertExtensionToRegistration.php
@@
-120,7
+120,7
@@
class ConvertExtensionToRegistration extends Maintenance {
$this->hasWarning = true;
} elseif ( strpos( $name, $configPrefix ) === 0 ) {
// Most likely a config setting
$this->hasWarning = true;
} elseif ( strpos( $name, $configPrefix ) === 0 ) {
// Most likely a config setting
- $this->json['config'][substr( $name, strlen( $configPrefix ) )] =
$value
;
+ $this->json['config'][substr( $name, strlen( $configPrefix ) )] =
[ 'value' => $value ]
;
} elseif ( $configPrefix !== 'wg' && strpos( $name, 'wg' ) === 0 ) {
// Warn about this
$this->output( 'Warning: Skipped global "' . $name . '" (' .
} elseif ( $configPrefix !== 'wg' && strpos( $name, 'wg' ) === 0 ) {
// Warn about this
$this->output( 'Warning: Skipped global "' . $name . '" (' .