Lines Matching refs:ns
42 function _randompage($ns, $depth=0) { argument
48 $ns = cleanID($ns);
51 if(empty($ns)) {
52 $ns = dirname(str_replace(':','/',$ID));
53 if($ns == '.') $ns ='';
56 $dir = $conf['datadir'].'/'.str_replace(':','/',$ns);
57 $ns = str_replace('/',':',$ns);
60 search($data,$dir,'search_allpages',array('ns' => $ns, 'depth' => $depth));
98 $ns=getNS($id.':dummy');
104 $page = $this->_randompage($ns, $flagsarray['depth']);
109 $an_id=$ns.':'.$page;