Topic on Extension talk:TitleKey

Jump to navigation Jump to search

Breaks VisualEditor autocompletion for templates

2
Vedmaka (talkcontribs)

Steps to reproduce:

  1. . Install Visual Editor REL1_30 + Parsoid
  2. . Create a template like "DummyTemplate"
  3. . Edit a page via Visual Editor and select "Insert" -> "Template"
  4. . Type first symbol of tempalte name

Expected result: list of found templates is displayed Actual result: nothing is displayed

The reason is that apparently TitleKey is affecting results of "api.php?action=query&format=json&prop=info%7Cpageprops&generator=prefixsearch&gpssearch=P&gpsnamespace=10&gpslimit=10&ppprop=disambiguation&redirects=true" request which VE uses to find templates by name because each found page appears to be missing when TitleKey is enabled and works and intended when TitleKey is disabled.

Kghbln (talkcontribs)

Oops, indeed a fix for this will be cool. Keeping fingers crossed. I suggest to create a phabricator task for this. I doubt that anybody will have a peep here.

Reply to "Breaks VisualEditor autocompletion for templates"