includes/namespaces/user.php
changeset 1069 d54e7620bd3e
parent 1062 3780b5464778
child 1081 745200a9cc2a
equal deleted inserted replaced
1068:4bcefa85649c 1069:d54e7620bd3e
    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