Steps to replicate the issue:
- Pick a page in https://en.wikipedia.org/wiki/Category:Pages_with_script_errors
- Find a red Scribunto error message. The popup should contain a link supposed to point to the line of code in the module, e.g. https://en.wikipedia.org/w/index.php?title=Module:xxx&action=edit#mw-ce-l24
What happens?:
Clicking the link won't bring the user to the exact line of source code, because the editor has been Extension:CodeMirror after T419332: Replacing CodeEditor with CodeMirror by MW 1.46, which does not honour those anchors.
(Though this feature appears to have not worked well before the switch, per T234729#5552196.)
What should have happened instead?:
Not sure. Extension:SyntaxHighlight also provides numbered links, but it has a size limit and does not work on large pages. Or the CodeMirror editor may choose to support this kind of links.
Software version: 1.47.0-wmf.21