Index: trunk/extensions/GlobalUsage/GlobalUsage_body.php |
— | — | @@ -28,7 +28,7 @@ |
29 | 29 | 'gil_wiki' => $this->interwiki, |
30 | 30 | 'gil_page' => $title->getArticleID( $pageIdFlags ), |
31 | 31 | 'gil_page_namespace' => $title->getNsText(), |
32 | | - 'gil_page_title' => $title->getText(), |
| 32 | + 'gil_page_title' => $title->getDBkey(), |
33 | 33 | 'gil_to' => $name |
34 | 34 | ); |
35 | 35 | } |
Index: trunk/extensions/GlobalUsage/SpecialGlobalUsage.php |
— | — | @@ -109,7 +109,8 @@ |
110 | 110 | |
111 | 111 | $wiki = WikiMap::getWiki( $item['wiki'] ); |
112 | 112 | |
113 | | - return WikiMap::makeForeignLink( $item['wiki'], $page ); |
| 113 | + return WikiMap::makeForeignLink( $item['wiki'], |
| 114 | + str_replace( '_', ' ', $page ) ); |
114 | 115 | } |
115 | 116 | |
116 | 117 | public static function onImagePageAfterImageLinks( $imagePage, &$html ) { |