/** * The default contructor of the SpecialUniversalExport class */ function __construct() { parent::__construct('UniversalExport', 'universalexport-export', true); $this->oOutputPage = $this->getOutput(); //Set up default parameters and metadata $this->aParams = BsConfig::get('MW::UniversalExport::ParamsDefaults'); $this->aParams['webroot-filesystempath'] = BsCore::getMediaWikiWebrootPath(); $this->aMetadata = FormatJson::decode(BsConfig::get('MW::UniversalExport::MetadataDefaults'), true); //Set up Black- and Whitelists $this->aCategoryWhitelist = BsConfig::get('MW::UniversalExport::CategoryWhitelist'); $this->aCategoryBlacklist = BsConfig::get('MW::UniversalExport::CategoryBlacklist'); }