Index: trunk/phase3/includes/Title.php |
— | — | @@ -452,6 +452,10 @@ |
453 | 453 | */ |
454 | 454 | static function escapeFragmentForURL( $fragment ) { |
455 | 455 | global $wgEnforceHtmlIds; |
| 456 | + # Note that we don't urlencode the fragment. urlencoded Unicode |
| 457 | + # fragments appear not to work in IE (at least up to 7) or in at least |
| 458 | + # one version of Opera 9.x. The W3C validator, for one, doesn't seem |
| 459 | + # to care if they aren't encoded. |
456 | 460 | return Sanitizer::escapeId( $fragment, |
457 | 461 | $wgEnforceHtmlIds ? array() : 'xml' ); |
458 | 462 | } |