Lines Matching refs:q
50 $q = trim($INPUT->post->str('q')); //entered string
53 list($q, $hash) = array_pad(explode('#', $q, 2), 2, null);
56 $entered_ns = getNS($q); //namespace of entered string
59 //no namespace given (i.e. none : in $q)
61 if (substr($q, 0, 2) === '..') {
63 } elseif (substr($q, 0, 1) === '.') {
66 } elseif (substr($q, 0, 1) === '~') {
72 $entered_page = cleanID(noNS($q)); //page part of entered string
76 } else if (strpos($q, '.') !== false //relative link (., .:, .., ..:, .ns: etc, and :..:, :.: )
125 $link = $q;
172 $q = trim($INPUT->post->str('q')); //entered string
174 $entered_ns = getNS($q); //namespace of entered string
177 //no namespace given (i.e. none : in $q)
179 if (substr($q, 0, 2) === '..') {
181 } elseif (substr($q, 0, 1) === '.') {
184 } elseif (substr($q, 0, 1) === '~') {
190 $entered_media = cleanID(noNS($q)); //page part of entered string
194 } else if (strpos($q, '.') !== false //relative link (., .:, .., ..:, .ns: etc, and :..:, :.: )