Lines Matching defs:ns
297 $baseNS = empty($this->parsedQuery['ns']) ? '' : $this->parsedQuery['ns'][0];
324 foreach ($extraNS as $ns => $count) {
326 $label = $ns . ($count ? " <bdi>($count)</bdi>" : '');
328 if ($ns === $baseNS) {
332 $link = $this->searchState->withNamespace($ns)->getSearchLink($label);
485 if (!empty($parsedQuery['ns'])) {
486 $pagename .= ':' . cleanID($parsedQuery['ns'][0]);
512 if (!useHeading('navigation') && $ns = getNS($id)) {
513 $name = shorten(noNS($id), ' (' . $ns . ')', 30);
606 * @param false|string $ns the namespace to which to restrict the query
610 protected function restrictQueryToNSLink($ns)
612 if (!$ns) {
618 if (!empty($this->parsedQuery['ns']) && $this->parsedQuery['ns'][0] === $ns) {
622 $name = '@' . $ns;
623 return $this->searchState->withNamespace($ns)->getSearchLink($name);