GNOME Bugzilla – Bug 537682
View Artist on Wikipedia uses + instead of _ as word delimiter
Last modified: 2008-07-28 01:27:21 UTC
If you highlight last.fm in the sidebar, then right-click on a recently loved track and choose "View Artist on Wikipedia" - if the artist is a multi-word artist such as Billy Joel the wikipedia article will not come up. It looks like the + sign is being used as a word delimiter and this should be an _.
Created attachment 113147 [details] [review] patch to fix wikipedia last.fm linking this is my first ever patch, so any pointers on why this is terrible would be great... but it does seem to work.
Why do you call WikiEncode? That method seems to do absolutely nothing. Also this does not work for Artists with special characters in their name, ex) Hall & Oates.
Yeah, the spaces get turned into plus signs by the Encode method. All the patch should be is a artist.Replace (' ', '_') call before sending it into the Encode (with a null check).
Ok. I'll see if I can do that. I am quite inexperienced in C#, so I just did what I could to get it to work. Thanks for the feedback.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.