function smwfDoSpecialProperties()
{
    wfProfileIn('smwfDoSpecialProperties (SMW)');
    list($limit, $offset) = wfCheckLimits();
    $rep = new SMWPropertiesPage();
    $result = $rep->doQuery($offset, $limit);
    wfProfileOut('smwfDoSpecialProperties (SMW)');
    return $result;
}
 public function execute($param)
 {
     wfProfileIn('smwfDoSpecialProperties (SMW)');
     global $wgOut;
     $wgOut->setPageTitle(wfMessage('properties')->text());
     $rep = new SMWPropertiesPage();
     list($limit, $offset) = wfCheckLimits();
     $rep->doQuery($offset, $limit);
     // Ensure locally collected output data is pushed to the output!
     SMWOutputs::commitToOutputPage($wgOut);
     wfProfileOut('smwfDoSpecialProperties (SMW)');
 }