Page MenuHomePhabricator

Handle links with `../` in CodeMirror
Closed, ResolvedPublicFeature

Description

Feature summary (what you would like to be able to do and where): Links using the ../ syntax (e.g. [[../Example]]) should be accessible via click + modifier key in CodeMirror, like other links are.

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution): See https://en.wikipedia.org/w/index.php?title=Wikipedia:Administrator_elections/May_2026/Todo_list&action=edit for an example. As can be seen there, links beginning with ../ can't be clicked to open the page like other links can (in CodeMirror).

Benefits (why should this be implemented?): Same reasons this sort of linking is a thing in CodeMirror in the first place.

Event Timeline

Change #1275092 had a related patch set uploaded (by Bhsd; author: Bhsd):

[mediawiki/extensions/CodeMirror@master] openLinksExtension: links starting with `../`

https://gerrit.wikimedia.org/r/1275092

Bhsd changed the task status from Open to In Progress.Apr 18 2026, 5:34 PM
Bhsd claimed this task.

Change #1275092 merged by jenkins-bot:

[mediawiki/extensions/CodeMirror@master] openLinksExtension: links starting with `../`

https://gerrit.wikimedia.org/r/1275092

Bhsd moved this task from Improvement to Done on the MediaWiki-extensions-CodeMirror board.