Index: trunk/extensions/WikiLove/wikiLove.css |
— | — | @@ -1,4 +1,4 @@ |
2 | | -/* include fix from r87101 here for older versions */ |
| 2 | +/* include fix from r87101 here for older versions; these three blocks can become deprecated later */ |
3 | 3 | div.vectorTabs span { |
4 | 4 | display: inline-block; |
5 | 5 | /* @embed */ |
Index: trunk/extensions/WikiLove/wikiLove.js |
— | — | @@ -428,8 +428,9 @@ |
429 | 429 | window.location.reload(); |
430 | 430 | } |
431 | 431 | else { |
432 | | - window.location = mw.config.get( 'wgArticlePath' ).replace( '$1', data.redirect.pageName ) |
433 | | - + '#' + data.redirect.fragment; |
| 432 | + window.location = mw.util.wikiUrlencode( |
| 433 | + mw.config.get( 'wgArticlePath' ).replace( '$1', data.redirect.pageName ) |
| 434 | + + '#' + data.redirect.fragment ); |
434 | 435 | } |
435 | 436 | } |
436 | 437 | }); |