includes/namespaces/user.php
changeset 1062 3780b5464778
parent 986 aa6f26d96577
child 1081 745200a9cc2a
equal deleted inserted replaced
1061:4ef865b5f497 1062:3780b5464778
    21     
    21     
    22     parent::__construct($page_id, $namespace, $revision_id);
    22     parent::__construct($page_id, $namespace, $revision_id);
    23     
    23     
    24     if ( ( $this->title == str_replace('_', ' ', $this->page_id) || $this->title == $paths->nslist['User'] . str_replace('_', ' ', $this->page_id) ) || !$this->exists )
    24     if ( ( $this->title == str_replace('_', ' ', $this->page_id) || $this->title == $paths->nslist['User'] . str_replace('_', ' ', $this->page_id) ) || !$this->exists )
    25     {
    25     {
    26       $this->title = $lang->get('userpage_page_title', array('username' => $this->page_id));
    26       $this->title = $lang->get('userpage_page_title', array('username' => str_replace('_', ' ', dirtify_page_id($this->page_id))));
    27       $this->cdata['name'] = $this->title;
    27       $this->cdata['name'] = $this->title;
    28     }
    28     }
    29     
    29     
    30   }
    30   }
    31   
    31