Steps to replicate the issue (include links if applicable):
- Open WTE2010 with CodeMirror 6 beta feature enabled, and then enable the auto-completion and modifier click extensions.
- Paste the following wikitext into the textarea:
<gallery>Foobar.jpg</gallery>
- Mod-click on Foobar.jpg.
- Put the cursor after Foobar.jpg and then type Shift-Enter to explicitly trigger auto-completion.
What happens?:
With the modifier click, a new tab for a non-existing page Foobar.jpg is opened. In addition, no suggestion is available from auto-completion.
What should have happened instead?:
With the modifier click, a new tab for File:Foobar.jpg should be opened. Auto-completion should suggest Foobar.jpg.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):