|
@@ 141-151 (lines=11) @@
|
| 138 |
|
public function getText() { |
| 139 |
|
$localSettings = $this->getDefaultText(); |
| 140 |
|
|
| 141 |
|
if ( count( $this->skins ) ) { |
| 142 |
|
$localSettings .= " |
| 143 |
|
# Enabled skins. |
| 144 |
|
# The following skins were automatically enabled:\n"; |
| 145 |
|
|
| 146 |
|
foreach ( $this->skins as $skinName ) { |
| 147 |
|
$localSettings .= $this->generateExtEnableLine( 'skins', $skinName ); |
| 148 |
|
} |
| 149 |
|
|
| 150 |
|
$localSettings .= "\n"; |
| 151 |
|
} |
| 152 |
|
|
| 153 |
|
if ( count( $this->extensions ) ) { |
| 154 |
|
$localSettings .= " |
|
@@ 153-165 (lines=13) @@
|
| 150 |
|
$localSettings .= "\n"; |
| 151 |
|
} |
| 152 |
|
|
| 153 |
|
if ( count( $this->extensions ) ) { |
| 154 |
|
$localSettings .= " |
| 155 |
|
# Enabled extensions. Most of the extensions are enabled by adding |
| 156 |
|
# wfLoadExtensions('ExtensionName'); |
| 157 |
|
# to LocalSettings.php. Check specific extension documentation for more details. |
| 158 |
|
# The following extensions were automatically enabled:\n"; |
| 159 |
|
|
| 160 |
|
foreach ( $this->extensions as $extName ) { |
| 161 |
|
$localSettings .= $this->generateExtEnableLine( 'extensions', $extName ); |
| 162 |
|
} |
| 163 |
|
|
| 164 |
|
$localSettings .= "\n"; |
| 165 |
|
} |
| 166 |
|
|
| 167 |
|
$localSettings .= " |
| 168 |
|
# End of automatically generated settings. |