Lines Matching refs:wikitext
40 $wikitext=io_readFile($templatefile);
45 if($ns_type === "pages" && $wikitext){
78 $wikitext=preg_replace("/@NS@/", $ns, $wikitext);
79 $wikitext=preg_replace("/@!NS@/", ucfirst($goodns), $wikitext);
80 $wikitext=preg_replace("/@!!NS@/", ucwords($goodns), $wikitext);
81 $wikitext=preg_replace("/@!!NS!@/", strtoupper($goodns), $wikitext);
82 $wikitext=preg_replace("/@ID@/", $id, $wikitext);
83 $wikitext=preg_replace("/@PAGE@/",$page, $wikitext);
84 $wikitext=preg_replace("/@!PAGE@/",ucfirst($page), $wikitext);
85 $wikitext=preg_replace("/@!!PAGE@/",$uupage=ucwords($page), $wikitext);
86 $wikitext=preg_replace("/@!PAGE!@/",strtoupper($page), $wikitext);
87 $wikitext=preg_replace("/@FILE@/",$f, $wikitext);
88 $wikitext=preg_replace("/@!FILE@/",ucfirst($f), $wikitext);
89 $wikitext=preg_replace("/@!FILE!@/",strtoupper($f), $wikitext);
90 $wikitext=preg_replace("/@USER@/",$_SERVER['REMOTE_USER'], $wikitext);
91 $wikitext=preg_replace("/@NAME@/",$INFO['userinfo']['name'], $wikitext);
92 $wikitext=preg_replace("/@MAIL@/",$INFO['userinfo']['mail'], $wikitext);
93 $wikitext=preg_replace("/@DATE@/",strftime("%D"), $wikitext);
94 $wikitext=preg_replace("/@PARENT@/",$parent, $wikitext);
95 if(preg_match("/@DATE=(.*)@/", $wikitext, $matches)){
96 $wikitext=str_replace($matches[0], strftime($matches[1]), $wikitext);
103 saveWikiText($id, $wikitext, "autostartpage", $minor = false);
115 }elseif (!$wikitext and !$silent){