Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#53745 - {wiki} Install and enable TitleKey extension to allow case-insensitive Opensearch queries

Attached to Project: Arch Linux
Opened by David Thurstenson (thurstylark) - Friday, 21 April 2017, 16:17 GMT
Last edited by Eli Schwartz (eschwartz) - Monday, 10 July 2017, 17:47 GMT
Task Type Feature Request
Category Web Sites
Status Assigned
Assigned To Pierre Schmitz (Pierre)
Florian Pritz (bluewind)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No


This is useful for anything that uses the Opensearch API[2] for searching page title names[3], since only the first character of the query is case-insensitive when using this search method. The Opensearch API wiki page suggests installing and enabling the TitleKey extension[4] to enable case-insensitive search.

For example, the supybot-ALwiki plugin[1] makes use of this API in order to implement the !aw $searchterm functionality for phrik[5].
Ideally, this will make the ALwiki plugin much more useful in the IRC channels where phrik is joined.

Example cases:

Q: "ESP"
R: "ESP -";

Q: "esp"
R: "No results found."

Q: "Esp"
R: "No results found."

Q: "eSP"
R: "ESP -";

Q: "EFI System Partition"
R: "EFI System Partition -";

Q: "EFI System partition"
R: "No results found."

Q: "EFI system Partition"
R: "No results found."

This task depends upon

Comment by Eli Schwartz (eschwartz) - Monday, 10 July 2017, 17:47 GMT
alad basically said okay to this:

1:33:15 PM - alad: eschwartz, add extension bloat just because phrik sucks, idk
1:34:25 PM - alad: wait, mediawiki's own api suggests to use that extension
1:39:54 PM - alad: I find it silly that to unbreak a broken api you now need to maintain and install an extra extension
1:39:59 PM - alad: but it's up to florian/pierre anyway

I have to agree mediawiki is pretty wrong here, but on the other hand this is pretty valuable functionality...
Comment by Eli Schwartz (eschwartz) - Wednesday, 07 February 2018, 22:37 GMT