Bug 205901 - Appearance of the Wikipedia applet is broken with non-default MediaWiki skins
Summary: Appearance of the Wikipedia applet is broken with non-default MediaWiki skins
Status: RESOLVED FIXED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3-GIT
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-01 17:28 UTC by Stefan Majewsky
Modified: 2009-09-03 09:38 UTC (History)
1 user (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 Stefan Majewsky 2009-09-01 17:28:38 UTC
Version:           2.2-GIT (using KDE 4.3.0)
Installed from:    SuSE RPMs

I'm participating in what Wikipedia calls "beta test", which means that I've selected some new skin for Wikipedia. Because of KCookieJar, this setting is also shared with Amarok. The new skin seems to emit slightly different input, because the parser in WikipediaEngine::wikiParse() partially fails: The result still looks like the normal Wikipedia webpage, including space for the menu bar at the left, though all menu elements and the Wikipedia logo are correctly hidden. It just looks suboptimal.

Looking at WikipediaEngine::wikiUrl, I see that no skin is specified manually. Instead of URLs like http://en.wikipedia.org/wiki/The_Beatles, you should use: http://en.wikipedia.org/w/index.php?title=The_Beatles&useskin=monobook - This includes a fixed skin, which your parser can be tailored towards.
Comment 1 Simon ESNEAULT 2009-09-03 09:38:14 UTC
Good suggestion, it's now in trunk, thanks
-Simon