Topic on Extension talk:Display Title

Link anchors are invisible

8
Summary last edited by Oetterer 07:29, 11 September 2022 1 year ago

There used to be an issue where links to anchors were not visible. This issue has since been resolved with Cicalese' latest patches for MW 1.35, 1.36, and 1.37.


Current master (1bd514b) hides piped anchor links in LTS (1.35).

MoltonMontro (talkcontribs)

Bug occurs while using the MW 1.37 release branch. This issue was not present on the MW 1.35 release branch.

When a link or linked text includes an anchor, this is cut from the displayed linked text. For example, this bug would apply to links such [[#Help]], [[Page#Help]], and [[Page#Help|#Help]]. The first link would result in no link being shown at all, the second would display the linked text as Page, and the third would again be invisible.

Cindy.cicalese (talkcontribs)
Aaditya8851 (talkcontribs)

how to work on this issue , can anyone guide me?

Cindy.cicalese (talkcontribs)

I have a patch prepared to address this already that I will be uploading soon.

Cindy.cicalese (talkcontribs)
Oetterer (talkcontribs)

Hi Cindy.


I checked out master and for me piped anchor links do not show. DisplayTitle's patch 0d941c3 works, but 65c5ac1 breaks it again. I'm currently on LTS (1.35). Non-piped anchor links do show with master, though.

2A02:A45E:6559:1:3447:92FE:1246:C156 (talkcontribs)

I have a similar issue where links of the form [[#Foo bar Baz|Foo bar Baz]] are not shown. For some reason, this only happens when anchor link and link text are exactly the same except for the fragment symbol.

Similar links that show as empty:

[[#Foo_bar_Baz|Foo bar Baz]]

[[#Foo%20bar%20Baz|Foo bar Baz]]

Links that do not show as empty:

[[#Foo bar baz|Foo bar Baz]] (Capitalisation change)

[[#Foo bar Baz|Fo bar Baz]] (Different spelling)

etc.

I am currently on REL1_35 (53260f9c9dae714efde43d91376d22ab4190df76)

Yaron Koren (talkcontribs)

There's a Phabricator bug (with a potential fix) for this issue here.

Reply to "Link anchors are invisible"