Page MenuHomePhabricator

Adding wiki links: When adding "[[" in front of a string, automatically pre-fill the following string into the search field
Open, Needs TriagePublic

Description

Hello,
I have been using the source editor for a long time now. We have a function in the VE that if I write [[ it's automatically converted into a search field, where I can type a lemma. often there are existing lemmas in the text I just wanna link. What about to automatically insert the lemma into the search when typing [[ (without space between [[ and {lemma}:
Example:

  • Article -> [[Article -> Search field is pre-filled with Article
  • Article -> [[ Article -> Search field is not pre-filled

Event Timeline

Der_Keks created this task.Jun 25 2019, 3:40 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 25 2019, 3:40 PM
Aklapper renamed this task from Feature: When creating "[[" for a Wikilink insert the word after into the search automatically to Adding wiki links: When adding "[[" in front of a string, automatically pre-fill the following string into the search field.Jun 25 2019, 4:45 PM
Aklapper updated the task description. (Show Details)

@Der_Keks: I edited the summary and description a bit, hope I understood correctly? Is this a feature request about the source code editor or the "visual" mode?

Thank you, perfect, thats correct.
It's about the VisualEditor :)