Index: trunk/phase3/includes/Title.php |
— | — | @@ -850,8 +850,9 @@ |
851 | 851 | else |
852 | 852 | $variantArticlePath = $wgVariantArticlePath; |
853 | 853 | |
854 | | - $url = str_replace( '$1', $dbkey, $variantArticlePath ); |
855 | | - $url = str_replace( '$2', urlencode( $variant ), $url ); |
| 854 | + $url = str_replace( '$2', urlencode( $variant ), $variantArticlePath ); |
| 855 | + $url = str_replace( '$1', $dbkey, $url ); |
| 856 | + |
856 | 857 | } |
857 | 858 | else |
858 | 859 | $url = str_replace( '$1', $dbkey, $wgArticlePath ); |