Index: trunk/phase3/includes/Linker.php |
— | — | @@ -1026,6 +1026,9 @@ |
1027 | 1027 | $section = str_replace( '[[:', '', $section ); |
1028 | 1028 | $section = str_replace( '[[', '', $section ); |
1029 | 1029 | $section = str_replace( ']]', '', $section ); |
| 1030 | + |
| 1031 | + # Most of Title:: expects fragments to be escaped |
| 1032 | + $section = Title::escapeFragmentForURL( $section ); |
1030 | 1033 | if ( $local ) { |
1031 | 1034 | $sectionTitle = Title::newFromText( '#' . $section ); |
1032 | 1035 | } else { |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -202,6 +202,7 @@ |
203 | 203 | a fatal error |
204 | 204 | * (bug 23465) Don't ignore the predefined destination filename on |
205 | 205 | Special:Upload after following a red link |
| 206 | +* Correct the escaping of the autosummary URI fragments. |
206 | 207 | |
207 | 208 | === API changes in 1.17 === |
208 | 209 | * (bug 22738) Allow filtering by action type on query=logevent. |