Example searches:
iphone
displays a Wikipedia widget for "IPhone" instead of "iPhone"
title of show
displays a Wikipedia widget for "Title of show" instead of "[title of show]"
c sharp
displays a Wikipedia widget for "C Sharp (programming language)" instead of "C# (programming language)"
robot face caravan palace
displays a Wikipedia widget for "Robot Face" instead of "<|°_°|>"
There are various technical limitations on Wikipedia titles, such as forbidden characters, and the fact that they must start with a capital letter.
There are two main ways that this is dealt with:
- Use of DISPLAYTITLE to alter the title appearance on the Wikipedia page, either explicitly or through a template like {{lowercase}}
- Use of {{correct title}} to state the title as it should appear, without actually overwriting the title
Kagi should at least support the first case, as it's the title that is presented absolutely everywhere besides the URL. I would recommend also supporting the latter.
A full overview of limitations and workarounds can be found here, if it's useful:
https://en.wikipedia.org/wiki/Wikipedia:Naming_conventions_(technical_restrictions)