HomePhorge

Parser: Add mw-selflink-fragment class to links to hash fragments in the same…

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Parser: Add mw-selflink-fragment class to links to hash fragments in the same page

It should be cheap for JavaScript modules to identify all links in the page
which point to hash fragments within the current article. These should not be
styled the same as self links given the existing parser text.

This will be used by Popups to disable previews on links that link back
to the same page.

Bug: T198652
Change-Id: Ic6cca5023c32291032cf10c1ece9c70ddd0f40c2

Details

Provenance
Jon RobsonAuthored on Jan 6 2023, 5:37 PM
JdlrobsonCommitted on Jan 6 2023, 10:01 PM

Commit No Longer Exists

This commit no longer exists in the repository.