Lines Matching defs:relold
96 * @param $relold string the old, possibly relative ID
101 protected function _nsStartCheck($relold, $new, $type) {
103 if($type == 'page' && substr($relold, -1) == ':') {
120 * @param string $relold the old, possibly relative ID
126 public function relativeLink($relold, $new, $type) {
132 $old = $relold;
144 return $relold; // old link still resolves, keep as is
147 if($conf['useslash']) $relold = str_replace('/', ':', $relold);
150 if(strpos($relold, ':') === false ||$relold[0] == '.') {
159 $new = $this->_nsStartCheck($relold, $new, $type);
184 $newrel = $this->_nsStartCheck($relold,$newrel,$type);
190 $newrel = $this->_nsStartCheck($relold,$newrel,$type);