Index: trunk/extensions/Wikidata/OmegaWiki/type.php |
— | — | @@ -27,7 +27,8 @@ |
28 | 28 | |
29 | 29 | global $wgArticlePath; |
30 | 30 | |
31 | | - $url = str_replace( "$1", urlencode( $nameSpace . ':' . $title ), $wgArticlePath ); |
| 31 | + $titleNoSpace = str_replace( " ", "_", $title ) ; |
| 32 | + $url = str_replace( "$1", $nameSpace . ':' . urlencode( $titleNoSpace ), $wgArticlePath ); |
32 | 33 | |
33 | 34 | if ( $usedc ) { |
34 | 35 | $dc = wdGetDataSetContext(); |