The %s is used a little further down with string.format:
string.format(self.wiki_server, lang or self.default_lang)
The lang variable is set in frontend/ui/translator.lua, although given that we're dealing with single words I don't know about the viability of that approach.
Anyway, did you try the Wikipedia API without bothering with the KOReader code?
|