Change test case added in r38400
authorBrion Vibber <brion@users.mediawiki.org>
Mon, 4 Aug 2008 03:00:53 +0000 (03:00 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Mon, 4 Aug 2008 03:00:53 +0000 (03:00 +0000)
We shouldn't append a wiki link fragment onto a redlink; the edit UI is different from a page view, so appending a page-content fragment will at best do nothing and a worst conflict with the UI and scroll us down unexpectedly.

maintenance/parserTests.txt

index 51df7e3..0c36f57 100644 (file)
@@ -1327,7 +1327,7 @@ Broken link with fragment
 !! input
 [[Zigzagzogzagzig#zug]]
 !! result
-<p><a href="/index.php?title=Zigzagzogzagzig&amp;action=edit&amp;redlink=1#zug" class="new" title="Zigzagzogzagzig (not yet written)">Zigzagzogzagzig#zug</a>
+<p><a href="/index.php?title=Zigzagzogzagzig&amp;action=edit&amp;redlink=1" class="new" title="Zigzagzogzagzig (not yet written)">Zigzagzogzagzig#zug</a>
 </p>
 !! end