Steps to reproduce:
- . Install Visual Editor REL1_30 + Parsoid
- . Create a template like "DummyTemplate"
- . Edit a page via Visual Editor and select "Insert" -> "Template"
- . 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.