Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. 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 Florian Pritz (bluewind) - Wednesday, 07 March 2018, 11:05 GMT
Opened by David Thurstenson (thurstylark) - Friday, 21 April 2017, 16:17 GMT
Last edited by Florian Pritz (bluewind) - Wednesday, 07 March 2018, 11:05 GMT
|
DetailsThis 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 - https://wiki.archlinux.org/index.php/ESP" Q: "esp" R: "No results found." Q: "Esp" R: "No results found." Q: "eSP" R: "ESP - https://wiki.archlinux.org/index.php/ESP" Q: "EFI System Partition" R: "EFI System Partition - https://wiki.archlinux.org/index.php/EFI_System_Partition" Q: "EFI System partition" R: "No results found." Q: "EFI system Partition" R: "No results found." [1]: https://github.com/meskarune/supybot-ALwiki [2]: https://www.mediawiki.org/wiki/API:Opensearch [3]: https://github.com/meskarune/supybot-ALwiki/blob/master/ALwiki/plugin.py#L55 [4]: https://www.mediawiki.org/wiki/Extension:TitleKey [5]: https://wiki.archlinux.org/index.php/Phrik |
This task depends upon
Closed by Florian Pritz (bluewind)
Wednesday, 07 March 2018, 11:05 GMT
Reason for closing: Implemented
Additional comments about closing: Merged and deployed
Wednesday, 07 March 2018, 11:05 GMT
Reason for closing: Implemented
Additional comments about closing: Merged and deployed
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...