Lines Matching refs:ID

57         global $ID;
69 $split_id = explode(':', $ID);
91 global $ID;
97 if ($this->check_in_glossary_ns() and $event->data == 'show' and $ID == $this->get_glossary_ns()) {
101 $split_id = explode(':', $ID);
129 global $ID;
136 if(preg_match('/^' . $glossary_ns . ':(\w{2})_(\w{2})$/', $ID, $id_match)) {
190 global $ID;
215 saveWikiText($ID, $translated_text, 'Automatic translation');
220 send_redirect(wl($ID));
234 global $ID;
241 send_redirect(wl($ID));
246 send_redirect(wl($ID));
252 $org_page_text = rawWiki($ID);
261 // if default lang is in ns: replace language namespace in ID
262 $split_id = explode(':', $ID);
267 // if default lang is not in ns: add language namespace to ID
268 $lang_id = $lang . ':' . $ID;
279 $translated_text = $this->deepl_translate($org_page_text, $lang, getNS($ID));
286 send_redirect(wl($ID));
290 global $ID;
295 if ($ID == $glossary_ns . ':start') {
311 if (preg_match('/^' . $glossary_ns . ':(\w{2})_(\w{2})$/', $ID, $match)) {
332 global $ID;
334 if (preg_match('/' . $this->getConf('editor_regex') . '/', $ID) === 1) return 'editor';
337 if (preg_match('/' . $this->getConf('direct_regex') . '/', $ID) === 1) return 'direct';
343 global $ID;
344 $split_id = explode(':', $ID);
361 global $ID;
363 $split_id = explode(':', $ID);
461 global $ID;
469 if (substr($ID, 0, strlen($glossary_ns)) == $glossary_ns) {
487 global $ID;
493 $perm = auth_quickaclcheck($ID);
498 if (preg_match('/' . $this->getConf('blacklist_regex') . '/', $ID) === 1) return false;
501 $split_id = explode(':', $ID);
524 global $ID;
530 $perm = auth_quickaclcheck($ID);
535 $split_id = explode(':', $ID);
551 if (preg_match('/' . $this->getConf('blacklist_regex') . '/', $ID) === 1) return false;
768 // Page in target lang does not exist --> replace with absolute ID in case it was a relative ID
797 // align left --> space in front of ID
821 // media in target lang does not exist --> replace with absolute ID in case it was a relative ID