getConf('adminonly')) {
if(!isset($_SERVER['REMOTE_USER']) || !auth_isadmin())
return;
}
echo '
';
echo '
';
echo $this->getLang('i_qcscore');
echo '
';
echo '
';
echo '
';
}
/**
* Return the raw quality data
*
* Always call this asynchronly!
*
* @param $theid
* @return array
*/
function getQCData($theid) {
global $ID;
$oldid = $ID;
$ID = $theid;
$data = unserialize(p_cached_output(wikiFN($ID), 'qc', $ID));
$ID = $oldid;
return $data;
}
}