Commit 76a59f65 authored by Sven Krohlas's avatar Sven Krohlas
Browse files

Correctly parse disambiguation pages for songs in the English Wikipedia

The regexp looks wrong, I gues it didn't work at all before...

BUG:270054
FIXED-IN:2.5.0
parent 14cca88e
......@@ -8,6 +8,7 @@ Version 2.5
Playlist's layout items.
BUGFIXES:
* Correctly parse disambiguation pages for songs in the English Wikipedia. (BR 270054)
* Fix wrong context view applets sizes on start up in some cases.
* Fix Amarok consuming CPU until main window is shown. (BR 278897)
* Fix last.fm 'scrobble composer' option's fallback to artist (BR 286215)
......
......@@ -459,7 +459,7 @@ WikipediaEnginePrivate::_parseListingResult( const KUrl &url,
case Track:
if( hostLang == QLatin1String("en") )
pattern = QLatin1String(".*\\(.*song|track.*\\)");
pattern = QLatin1String(".*\\(.*(song|track).*\\)");
else if( hostLang == QLatin1String("pl") )
pattern = QLatin1String(".*\\(.*singel.*\\)");
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment