Lines Matching full:if
30 * we only search if a search word was given
44 if ($ID !== $conf['start'] && !$INPUT->has('q')) {
52 if ($s === '') throw new ActionAbort();
95 …* This will only do something if the search didn't originate from the form on the searchpage itself
101 if ($INPUT->bool('sf')) {
107 if (empty($parsedQuery['ns']) && empty($parsedQuery['notns'])) {
108 if ($conf['search_nslimit'] > 0) {
109 if (getNS($ID) !== false) {
117 if ($conf['search_fragment'] !== 'exact') {
118 if (empty(array_diff($parsedQuery['words'], $parsedQuery['and']))) {
119 if (!str_contains($QUERY, '*')) {
122 if (str_starts_with($part, '@')) {
125 if (str_starts_with($part, 'ns:')) {
128 if (str_starts_with($part, '^')) {
131 if (str_starts_with($part, '-ns:')) {
137 if ($conf['search_fragment'] === 'starts_with') {
140 if ($conf['search_fragment'] === 'ends_with') {