Lines Matching refs:NS
69 public function getNamespaceFromID($NS, &$PAGE) { argument
72 $NS = (new PageResolver($NS))->resolveId($NS);
73 $NSa = explode(':', $NS);
74 …if (!page_exists($NS) && array_pop($NSa) != strtolower($conf['start'])) { // Compare to lowercase …
75 $NS .= ':' . $conf['start'];
76 $NS = (new PageResolver($NS))->resolveId($NS);
79 $PAGE = noNS($NS);
80 $NS = getNS($NS);
82 return utf8_encodeFN(str_replace(':', '/', $NS));
138 $NS = $this->settings->exportNamespace;
140 $NAME = preg_replace("%^((_media|_detail)/)?(" . preg_quote($NS, '%') . "/)?%", "", $NAME);
399 …$NS = array_key_exists( 'ns', $data ) ? $data['ns'] : ( array_key_exists( 'id', $data ) ? $data['i…
428 return wl($NS, $data, true, '&') . $additionalKeys;