Open prdes opened 4 years ago
I'm not sure what I can do about case insensitivity but I'll read the mediawiki API docs when I next get the chance.
Disambiguation is difficult and not standardised so we'd have to detect it and somewhat-fuzzy parse it which sucks but.... oh well. I'll look around at other wikipedia plugins for IRC bots to see how they did it.
I like the idea of 2a. maybe something like !page 2
.
- The first word of a multi word wiki search seems to not worry about the case but the second word seems to require me to put in the case sensitive input.
This is not a BitBot issue. The MediaWiki software automatically capitalizes the first word in a page title. I'm not sure why it does this but it's not something that can be fixed on BitBot's end.
2. How do redirects and a 'query' with multiple options (disambiguation) work.
The MediaWiki API will automatically resolve redirects if the 'redirects' parameter is set to '1'. For an example, see https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&format=json&prop=extracts%7Cinfo&titles=WP%3ABEANS&redirects=1&exchars=500 where [[WP:BEANS]] is resolved to [[Wikipedia:BEANS]] and then again to [[Wikipedia:Don't stuff beans up your nose]]. I hope this helps to clear some things up.
Hi Jesopo, These were my concerns, pls let me know what you feel about what is feasible and what isn't: