X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FLocalSettingsGenerator.php;h=5e89ca4aa978e8fe3667212bf1609ff24f716731;hb=a2dd652d9d14253683ca5fa93db0f19c36326605;hp=77c35b85ad78a2f99444f9894c6cbac8e2ce2a4a;hpb=806df0771ec33e1e6abd4b83105a8c6ffa1d9bad;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/LocalSettingsGenerator.php b/includes/installer/LocalSettingsGenerator.php index 77c35b85ad..5e89ca4aa9 100644 --- a/includes/installer/LocalSettingsGenerator.php +++ b/includes/installer/LocalSettingsGenerator.php @@ -43,7 +43,7 @@ class LocalSettingsGenerator { /** * Constructor. * - * @param $installer Installer subclass + * @param Installer $installer */ public function __construct( Installer $installer ) { $this->installer = $installer; @@ -105,9 +105,9 @@ class LocalSettingsGenerator { /** * Returns the escaped version of a string of php code. * - * @param $string String + * @param string $string * - * @return String + * @return string */ public static function escapePhpString( $string ) { if ( is_array( $string ) || is_object( $string ) ) { @@ -131,7 +131,7 @@ class LocalSettingsGenerator { * Return the full text of the generated LocalSettings.php file, * including the extensions * - * @return String + * @return string */ public function getText() { $localSettings = $this->getDefaultText(); @@ -164,7 +164,7 @@ class LocalSettingsGenerator { } /** - * @return String + * @return string */ protected function buildMemcachedServerList() { $servers = $this->values['_MemCachedServers']; @@ -185,7 +185,7 @@ class LocalSettingsGenerator { } /** - * @return String + * @return string */ protected function getDefaultText() { if ( !$this->values['wgImageMagickConvertCommand'] ) { @@ -264,7 +264,7 @@ class LocalSettingsGenerator { # file, not there. # # Further documentation for configuration settings may be found at: -# http://www.mediawiki.org/wiki/Manual:Configuration_settings +# https://www.mediawiki.org/wiki/Manual:Configuration_settings # Protect against web entry if ( !defined( 'MEDIAWIKI' ) ) { @@ -280,7 +280,7 @@ if ( !defined( 'MEDIAWIKI' ) ) { ## defaults for all runtime URL paths are based off of this. ## For more information on customizing the URLs ## (like /w/index.php/Page_title to /wiki/Page_title) please see: -## http://www.mediawiki.org/wiki/Manual:Short_URL +## https://www.mediawiki.org/wiki/Manual:Short_URL \$wgScriptPath = \"{$this->values['wgScriptPath']}\"; \$wgScriptExtension = \"{$this->values['wgScriptExtension']}\"; ${serverSetting} @@ -351,7 +351,7 @@ ${serverSetting} \$wgUpgradeKey = \"{$this->values['wgUpgradeKey']}\"; ## Default skin: you can change the default skin. Use the internal symbolic -## names, ie 'cologneblue', 'monobook', 'vector': +## names, ie 'vector', 'monobook': \$wgDefaultSkin = \"{$this->values['wgDefaultSkin']}\"; ## For attaching licensing metadata to pages, and displaying an