}
if ( !$caches ) {
- $key = 'config-no-cache-apcu';
- $this->showMessage( $key );
+ $this->showMessage( 'config-no-cache-apcu' );
}
$this->setVar( '_Caches', $caches );
$data = $registry->readFromQueue( $queue );
$wgAutoloadClasses += $data['autoload'];
- /** @suppress PhanUndeclaredVariable $wgHooks is set by DefaultSettings */
+ // @phan-suppress-next-line PhanUndeclaredVariable $wgHooks is set by DefaultSettings
$hooksWeWant = $wgHooks['LoadExtensionSchemaUpdates'] ?? [];
if ( isset( $data['globals']['wgHooks']['LoadExtensionSchemaUpdates'] ) ) {
}
if ( $status->isOk() ) {
$this->showMessage(
- 'config-install-success',
- $this->getVar( 'wgServer' ),
- $this->getVar( 'wgScriptPath' )
+ 'config-install-db-success'
);
$this->setVar( '_InstallDone', true );
}
}
/**
- * Generate a secret value for variables using our CryptRand generator.
- * Produce a warning if the random source was insecure.
+ * Generate a secret value for variables using a secure generator.
*
* @param array $keys
* @return Status