equal
deleted
inserted
replaced
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 |