function doSpecialListStreams($par = null)
{
    global $wgRequest, $wgOut;
    $sitting_id = $wgRequest->getVal('sitting_id');
    $existing = $wgRequest->getVal('existing');
    if ($sitting_id != "") {
        list($limit, $offset) = wfCheckLimits();
        $rep = new MV_SpecialListStreams($sitting_id, $existing);
        $rep->doQuery($offset, $limit);
    } else {
        $wgOut->addHTML(wfMsg('edit_sitting_missing'));
    }
}
function doSpecialListStreams($par = null)
{
    list($limit, $offset) = wfCheckLimits();
    $rep = new MV_SpecialListStreams();
    return $rep->doQuery($offset, $limit);
}
function mvDoMetavidSittingpage($title, $article)
{
	global $wgRequest;
	$name = $title->getDBKey();
	$sit = new MV_Sitting(array('name'=>$name));
	$sit->db_load_sitting();
	if ($wgRequest->getVal('action') != 'edit')
	{
		list( $limit, $offset ) = wfCheckLimits();
		$spec = new MV_SpecialListStreams($sit->id,'false');
		$spec->doQuery( $offset, $limit );
		return true;
	}
}