Index: trunk/extensions/CentralAuth/WikiMap.php |
— | — | @@ -63,7 +63,7 @@ |
64 | 64 | |
65 | 65 | private function getLocalUrl( $page ) { |
66 | 66 | // FIXME: this may be generalized... |
67 | | - return str_replace( '$1', wfUrlEncode( $page ), $this->mPath ); |
| 67 | + return str_replace( '$1', wfUrlEncode( str_replace( ' ', '_', $page ) ), $this->mPath ); |
68 | 68 | } |
69 | 69 | |
70 | 70 | function getUrl( $page ) { |