private $skin;
/**
- * @var SiteConfiguration
+ * @var Config
*/
private $config;
/**
- * Set the SiteConfiguration object
+ * Set the Config object
*
- * @param SiteConfiguration $c
+ * @param Config $c
*/
- public function setConfig( SiteConfiguration $c ) {
+ public function setConfig( Config $c ) {
$this->config = $c;
}
/**
- * Get the SiteConfiguration object
+ * Get the Config object
*
- * @return SiteConfiguration
+ * @return Config
*/
public function getConfig() {
if ( $this->config === null ) {
- global $wgConf;
- $this->config = $wgConf;
+ $this->config = Config::factory();
}
+
return $this->config;
}