Summary: | Article language choice in the Wikipedia plugin for Marble | ||
---|---|---|---|
Product: | [Applications] marble | Reporter: | Milko Krachounov <exabyte> |
Component: | general | Assignee: | marble-bugs |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | nienhueser, pablos.sr85 |
Priority: | NOR | Keywords: | junior-jobs |
Version: | unspecified | ||
Target Milestone: | 1.7 (KDE 4.12) | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Milko Krachounov
2011-03-01 17:08:33 UTC
Hello, I am interested in working on this bug. I saw this bug has an UNCONFIRMED status. Could someone tell me what does it mean? Pablo Let me add some random thoughts: - the current Marble version uses the mobile Wikipedia interface which provides a button at the bottom of the page to switch languages. - wikipedia articles are currently located using http://www.geonames.org/export/wikipedia-webservice.html#wikipediaBoundingBox which claims a rather restricted number of language codes. Would be nice to check that for the ones we actually allow to put in (MarbleLocale::languageCode(), see WikipediaModel.cpp) A possible approach might be this: - extend the existing configuration dialog of the wikipedia plugin to have an configurable list of additional languages (besides current locale) - change WikipediaModel::getAdditionalItems() to query not only the current locale, but also all configured additional languages - try whether it is needed to remove duplicate entries (when articles are available in several of the configured languages) in the plugin (might not be needed: when items overlap on the map, Marble shows a context menu to select them. So if they're named correctly, this could be a nice way for the user to switch languages before even opening the popup browser) To get started, I'd play with the current plugin while changing locales to see how the wikipedia coverage is for articles in various languages. Re UNCONFIRMED status: That means that a bug was filed, but its status was not reviewed by someone else yet. I have been playing a few days with the plugin and reading the source code. The idea is to prioritize a language over another one, but it is not enough to know the language of an item. There are Wikipedia articles from the same site with different names in each language. It is not possible to know which WikipediaItems are the same article in different languages. In addition, WikipediaItems do not overlap and only the last downloaded item is showed in the map. Even when items have the same name, Marble do not show a contextual menu. Marble only shows a contextual menu when plugin of differents types overlaps. |