X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FWebInstallerExistingWiki.php;h=df68be8ef6df5e03c868e3f0206f932bc729874d;hb=a15bb6bb4fbc7617ed58e0bb9b73172f45b4e437;hp=1d17c940f43ec0eeab3b706297d225a1ef202521;hpb=86e88af076b8a696ba98b31c54d377be9461cf8e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/WebInstallerExistingWiki.php b/includes/installer/WebInstallerExistingWiki.php index 1d17c940f4..df68be8ef6 100644 --- a/includes/installer/WebInstallerExistingWiki.php +++ b/includes/installer/WebInstallerExistingWiki.php @@ -103,11 +103,11 @@ class WebInstallerExistingWiki extends WebInstallerPage { $this->addHTML( $this->parent->getInfoBox( wfMessage( 'config-localsettings-upgrade' )->plain() ) . '
' . - $this->parent->getTextBox( array( + $this->parent->getTextBox( [ 'var' => 'wgUpgradeKey', 'label' => 'config-localsettings-key', - 'attribs' => array( 'autocomplete' => 'off' ), - ) ) + 'attribs' => [ 'autocomplete' => 'off' ], + ] ) ); $this->endForm( 'continue' ); } @@ -146,7 +146,7 @@ class WebInstallerExistingWiki extends WebInstallerPage { } // Set the relevant variables from LocalSettings.php - $requiredVars = array( 'wgDBtype' ); + $requiredVars = [ 'wgDBtype' ]; $status = $this->importVariables( $requiredVars, $vars ); $installer = $this->parent->getDBInstaller(); $status->merge( $this->importVariables( $installer->getGlobalNames(), $vars ) );