Index: trunk/phase3/maintenance/parserTests.txt |
— | — | @@ -1345,7 +1345,7 @@ |
1346 | 1346 | !! input |
1347 | 1347 | [[Special:ThisNameWillHopefullyNeverBeUsed#anchor]] |
1348 | 1348 | !! result |
1349 | | -<p><a href="https://www.mediawiki.org/wiki/Special:ThisNameWillHopefullyNeverBeUsed#anchor" class="new" title="Special:ThisNameWillHopefullyNeverBeUsed (not yet written)">Special:ThisNameWillHopefullyNeverBeUsed#anchor</a> |
| 1349 | +<p><a href="https://www.mediawiki.org/wiki/Special:ThisNameWillHopefullyNeverBeUsed" class="new" title="Special:ThisNameWillHopefullyNeverBeUsed (not yet written)">Special:ThisNameWillHopefullyNeverBeUsed#anchor</a> |
1350 | 1350 | </p> |
1351 | 1351 | !! end |
1352 | 1352 | |
Index: trunk/phase3/includes/Linker.php |
— | — | @@ -522,11 +522,6 @@ |
523 | 523 | $q = 'action=edit&redlink=1&'.$query; |
524 | 524 | } |
525 | 525 | $u = $nt->escapeLocalURL( $q ); |
526 | | - if( $nt->getFragmentForURL() !== '' ) { |
527 | | - # Might seem pointless to have a fragment on a redlink, but let's |
528 | | - # be obedient. |
529 | | - $u .= $nt->getFragmentForURL(); |
530 | | - } |
531 | 526 | |
532 | 527 | $titleText = $nt->getPrefixedText(); |
533 | 528 | if ( '' == $text ) { |