includes/namespaces/default.php
changeset 980 d13fad911955
parent 979 aafb9f6806c9
child 997 07a26bd567a5
equal deleted inserted replaced
979:aafb9f6806c9 980:d13fad911955
   141     }
   141     }
   142     
   142     
   143     $this->exists = false;
   143     $this->exists = false;
   144     $ns_char = substr($paths->nslist['Special'], -1);
   144     $ns_char = substr($paths->nslist['Special'], -1);
   145     $page_name = $this->namespace == 'Article' ? dirtify_page_id($this->page_id) : "{$this->namespace}{$ns_char}" . dirtify_page_id($this->page_id);
   145     $page_name = $this->namespace == 'Article' ? dirtify_page_id($this->page_id) : "{$this->namespace}{$ns_char}" . dirtify_page_id($this->page_id);
       
   146     $page_name = str_replace('_', ' ', $page_name);
   146     $this->title = $page_name;
   147     $this->title = $page_name;
   147     
   148     
   148     $this->cdata = array(
   149     $this->cdata = array(
   149       'name' => $page_name,
   150       'name' => $page_name,
   150       'urlname' => $this->page_id,
   151       'urlname' => $this->page_id,