'icon' => '{$wgStylePath}/common/images/gnu-fdl.png',
),
'cc-choose' => array(
- // details will be filled in by the selector
+ // Details will be filled in by the selector.
'url' => '',
'icon' => '',
'text' => '',
<?php
class LocalSettingsGenerator {
+
private $extensions = array();
private $values = array();
private $configPath = '';
$this->values['wgEmergencyContact'] = $this->values['wgPasswordSender'];
}
+ /**
+ * Returns the escaped version of a string of php code.
+ *
+ * @param $string String
+ *
+ * @return String
+ */
public static function escapePhpString( $string ) {
if ( is_array( $string ) || is_object( $string ) ) {
return false;
/**
* Return the full text of the generated LocalSettings.php file,
* including the extensions
- * @returns String
+ *
+ * @return String
*/
public function getText() {
$localSettings = $this->getDefaultText();
return $localSettings;
}
+ /**
+ * @return String
+ */
private function buildMemcachedServerList() {
$servers = $this->values['_MemCachedServers'];
}
}
+ /**
+ * @return String
+ */
private function getDefaultText() {
if( !$this->values['wgImageMagickConvertCommand'] ) {
$this->values['wgImageMagickConvertCommand'] = '/usr/bin/convert';