Hello,
Amarok power users already have noticed that a click on the Wikipedia button will end on a site with a useless language selection block. The reason is that Wikipedia changed its layout and in Amarok this layout stuff is hard coded into the C++ code. The solution comes from here: https://bugs.launchpad.net/ubuntu/+source/amarok/+bug/316140/ (*) In brief the simple solution:
Edit /usr/ports/audio/amarok/work/amarok-1.4.10/amarok/src/contextbrowser.cpp and go to line 4192.
Delete the existing line:
m_wiki = m_wiki.mid( m_wiki.find( "<h1 class=\"firstHeading\">" ) );
Add the new line:
m_wiki = m_wiki.mid( m_wiki.find( "<h1 id=\"firstHeading\"" ) );
This simple solution works in my Amarok. The other solution mentioned in the linked text beneath I didn't test so far.
(*) Thanks to Launchpad and Ubuntu users.
Amarok power users already have noticed that a click on the Wikipedia button will end on a site with a useless language selection block. The reason is that Wikipedia changed its layout and in Amarok this layout stuff is hard coded into the C++ code. The solution comes from here: https://bugs.launchpad.net/ubuntu/+source/amarok/+bug/316140/ (*) In brief the simple solution:
Edit /usr/ports/audio/amarok/work/amarok-1.4.10/amarok/src/contextbrowser.cpp and go to line 4192.
Delete the existing line:
m_wiki = m_wiki.mid( m_wiki.find( "<h1 class=\"firstHeading\">" ) );
Add the new line:
m_wiki = m_wiki.mid( m_wiki.find( "<h1 id=\"firstHeading\"" ) );
Code:
make
# if compiling and linking was ok:
make deinstall
make install
This simple solution works in my Amarok. The other solution mentioned in the linked text beneath I didn't test so far.
(*) Thanks to Launchpad and Ubuntu users.