When I use the ContentTranslation Tool, in the section to add categories, if I type a category to add to the destination wiki, the "related categories" not shown.
Impact
User can't add category in ContentTranslation with this bug (either existance or user defined)
Console error
(with guwiki)
jQuery.Deferred exception: (query.pages || []).forEach is not a function TypeError: (query.pages || []).forEach is not a function at CategoryInputWidget.ve.ui.MWCategoryInputWidget.getLookupCacheDataFromResponse (<anonymous>:304:119) at CategoryInputWidget.mw.cx.ui.CategoryInputWidget.getLookupCacheDataFromResponse (<anonymous>:288:535) at CategoryInputWidget.OO.ui.mixin.LookupElement.getRequestCacheDataFromResponse (https://gu.wikipedia.org/w/load.php?lang=gu&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=tjfue:342:749) at https://gu.wikipedia.org/w/load.php?lang=gu&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=tjfue:337:768 at fire (https://gu.wikipedia.org/w/load.php?lang=gu&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=tjfue:46:209) at fireWith (https://gu.wikipedia.org/w/load.php?lang=gu&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=tjfue:47:402) at mightThrow (https://gu.wikipedia.org/w/load.php?lang=gu&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=tjfue:49:751) at process (https://gu.wikipedia.org/w/load.php?lang=gu&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=tjfue:49:808) at https://gu.wikipedia.org/w/load.php?lang=gu&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=tjfue:50:37 at mightThrow (https://gu.wikipedia.org/w/load.php?lang=gu&modules=jquery%2Coojs-ui-core%2Coojs-ui-widgets%7Cjquery.ui&skin=vector&version=tjfue:49:149) undefined