Lines Matching refs:fileid
171 ($match[1]) ? $fileid = intval($match[1]) : $fileid = 0;
173 $fileid = 0;
188 if($fileid > 0){ // Then find filename from id
189 $path = $helper->getFilenameForID($fileid);
204 $fileid = $helper->fileIDForWikiID($src);
206 $fileid = $helper->fileIDForWikiID($oldsrc);
207 if($fileid != '' && $fileid > 0) $src = $oldsrc;
210 if($fileid == '' || $fileid < 1) return $rawdata;
213 if($write) $this -> mediaUse($fileid,$helper);
214 $param = preg_replace('#fileid=(\d+)?#i',"fileid=$fileid",$param,-1,$count);
215 …if($fileid!='' && $fileid > 0 && $count < 1) $param = (($param != "") ? "$param&fileid=$fileid":"f…
223 function mediaUse($fileid, &$helper){ argument
227 …d`, `wikipage`,`wikipage_hash`,`firstheading`) VALUES (?,?,?,?)', array($fileid, $ID, md5($ID), $h…