# HG changeset patch # User Dan # Date 1248882548 14400 # Node ID 3780b54647786669ce682899afe1f8a4a641e7aa # Parent 4ef865b5f497a422400ca2c2768813e52889f33b Fixed title formatting in user pages diff -r 4ef865b5f497 -r 3780b5464778 includes/namespaces/user.php --- a/includes/namespaces/user.php Wed Jul 29 11:48:54 2009 -0400 +++ b/includes/namespaces/user.php Wed Jul 29 11:49:08 2009 -0400 @@ -23,7 +23,7 @@ if ( ( $this->title == str_replace('_', ' ', $this->page_id) || $this->title == $paths->nslist['User'] . str_replace('_', ' ', $this->page_id) ) || !$this->exists ) { - $this->title = $lang->get('userpage_page_title', array('username' => $this->page_id)); + $this->title = $lang->get('userpage_page_title', array('username' => str_replace('_', ' ', dirtify_page_id($this->page_id)))); $this->cdata['name'] = $this->title; }