This forum has been archived. All content is frozen. Please use KDE Discuss instead.

wikipedia applet in 2.2beta2

Tags: None
(comma "," separated)
drinkingcoffee
Registered Member
Posts
31
Karma
0

wikipedia applet in 2.2beta2

Fri Sep 18, 2009 3:52 pm
Hi all --

Is it just be, or is the wikipedia applet returning less results than it used to?

From what I can guess, it seems to be trying links like:
http://en.wikipedia.org/wiki/Aesop_Rock_(band)

where Aesop Rock is the artist's name, whereas the correct link would be http://en.wikipedia.org/wiki/Aesop_Rock

Would it be possible to fall back to the second link (dropping '(band)') if the page does not exist?

thanks
optiluca
Registered Member
Posts
9
Karma
0

Re: wikipedia applet in 2.2beta2

Sun Sep 20, 2009 7:41 pm
I have also noticed this, and have the same diagnosis :)

Just submitted a bug: https://bugs.kde.org/show_bug.cgi?id=208024
Clive
Registered Member
Posts
1
Karma
0
OS

Re: wikipedia applet in 2.2beta2

Tue Sep 22, 2009 7:30 pm
Hope this helps; if compiling from source:

edit line 226 of

amarok-2.1.85/src/context/engines/wikipedia/WikipediaEngine.cpp

so that the double quoted expression reads
"wgArticleId=0,"
instead of "var wgArticleId = 0"

and recompile. This seems to fix the problem (for me at least). It seems wikipedia has changed its format when returning a non-existent page.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: wikipedia applet in 2.2beta2

Sat Sep 26, 2009 3:34 pm
I added your solution to this bug report, hope we will find time to correct this before Monday:

https://bugs.kde.org/show_bug.cgi?id=208546

Thanks for your suggestion!


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]