Bug 256019 - wikipedia plugin for krunner only searches in english wikipedia, no way to configure preferred language
Summary: wikipedia plugin for krunner only searches in english wikipedia, no way to co...
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Debian unstable Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-04 07:48 UTC by Janet
Modified: 2020-07-08 14:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janet 2010-11-04 07:48:09 UTC
Version:           unspecified (using KDE 4.5.2) 
OS:                Linux

I prefer to seach the german wikipedia because that's my native language. But when I use the wikipedia plugin for krunner and type in the shortcut "wiki" followed by the terms I want to search for I only get a list with the english wikipedia links. In the plugin settings there's no configuration option. 

Reproducible: Always



Expected Results:  
There should be a configuration option for the wikipedia plugin that allows the user to set the preferred language version of wikipedia. Fallback should stay the english wikipedia.
Comment 1 Janet 2010-11-04 08:59:50 UTC
As alternative to language settings the wikipedia plugin maybe could use the system locale? Though I'd prefer to have it as per user setting.
Comment 2 Kai Uwe Broulik 2011-10-18 10:46:52 UTC
The major "problem" with this thing is that the Wikipedia runner uses an underlying MediaWiki API thingie which is utilized by KDE's Techbase and Userbase runners as well. The MediaWiki API query thing is only given the API URL (which is http://en.wikipedia.org/w/api.php in case of Wikipedia) and this one only querys in the English wikipedia. I looked at the API docs but I can't find a way to make it query in a different language on the same API domain (i.e. "uselang=de" or something like that), so I need to enable the MediaWiki runner to replate that "en" in the URL by "de" or "fr" etc.
I put it on my ToDo-list for 4.9 :)
Comment 3 Andrew Crouthamel 2018-11-06 15:11:28 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-11-18 03:35:05 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Alexander Lohnau 2020-07-08 14:30:18 UTC
Now the url used in the runner is different:
>https://en.wikipedia.org/wiki/Special:Search?search=\{@}&go=Go

This should be easy any intuitive if you want to edit it.