/**
  * @see SpecialPage::execute
  */
 public function execute($param)
 {
     Profiler::In(__METHOD__);
     $semanticStatistics = $this->getStore()->getStatistics();
     $context = $this->getContext();
     $out = $this->getOutput();
     $out->setPageTitle($context->msg('semanticstatistics')->text());
     $out->addHTML($context->msg('smw_semstats_text')->numParams($semanticStatistics['PROPUSES'], $semanticStatistics['USEDPROPS'], $semanticStatistics['OWNPAGE'], $semanticStatistics['DECLPROPS'])->parseAsBlock());
     Profiler::Out(__METHOD__);
 }
 /**
  * Initialise a global language object for content language. This must happen
  * early on, even before user language is known, to determine labels for
  * additional namespaces. In contrast, messages can be initialised much later
  * when they are actually needed.
  *
  * @since 1.9
  */
 protected function initContentLanguage($langcode)
 {
     Profiler::In();
     $this->setLanguage($langcode);
     $this->isValidLanguageClassOrSetFallback($this->globalVars['smwContLangClass'], 'en');
     $this->globalVars['smwgContLang'] = new $this->globalVars['smwContLangClass']();
     Profiler::Out();
 }
 /**
  * Compare and find changes related to conversion factor
  *
  * @since 1.9
  */
 protected function compareConversionTypedFactors()
 {
     Profiler::In(__METHOD__, true);
     $pconversion = new DIProperty(DIProperty::TYPE_CONVERSION);
     $newfactors = $this->semanticData->getPropertyValues($pconversion);
     $oldfactors = $this->store->getPropertyValues($this->semanticData->getSubject(), $pconversion);
     $this->notifyUpdateDispatcher(!$this->isEqual($oldfactors, $newfactors));
     Profiler::Out(__METHOD__, true);
 }