Index: trunk/extensions/CentralAuth/WikiMap.php |
— | — | @@ -60,8 +60,8 @@ |
61 | 61 | function getDisplayName() { |
62 | 62 | $url = $this->getUrl( '' ); |
63 | 63 | $url = preg_replace( '!^https?://!', '', $url ); |
64 | | - $url = preg_replace( '!index\.php(\?title=|/)$!', '', $url ); |
65 | | - $url = preg_replace( '!wiki/$!', '', $url ); |
| 64 | + $url = preg_replace( '!/index\.php(\?title=|/)$!', '/', $url ); |
| 65 | + $url = preg_replace( '!/wiki/$!', '/', $url ); |
66 | 66 | $url = preg_replace( '!/$!', '', $url ); |
67 | 67 | return $url; |
68 | 68 | } |