Ticket #1102 (new bug)

Opened 3 years ago

Last modified 1 year ago

Better readability and conformance to RFC for Wikipedia links

Reported by: rowaasr13 Assigned to:
Priority: important Milestone:
Component: MusicBrainz Server Version:
Keywords: Cc: Fuchs, ZaphodBeeblebrox, keschte
Browser: OS:

Description

To increase readability and conformance to RFC for Wikipedia links they should be treated specially, like for example ASIN URLs now are.

Only language and article title part should be displayed in link text (like "en: Artist name"), with all %-escaped characters automatically decoded and conversely href for that link should have all non-safe and non-ASCII characters automatically %-encoded.

Attachments

Change History

2006-03-01 17:27:48 changed by luks

  • owner set to luks.
  • status changed from new to assigned.

2006-03-01 18:50:06 changed by Fuchs

  • cc set to Fuchs.

2006-04-11 11:09:51 changed by ZaphodBeeblebrox

  • cc changed from Fuchs to Fuchs ZaphodBeeblebrox.

2006-04-11 11:11:00 changed by luks

  • status changed from assigned to closed.
  • resolution set to fixed.

2006-04-11 11:11:14 changed by luks

  • cc changed from Fuchs ZaphodBeeblebrox to Fuchs, ZaphodBeeblebrox.

2006-07-27 08:10:47 changed by rowaasr13

  • status changed from closed to reopened.
  • resolution deleted.

Only part that deals with converting %-encoding on display is implemented. Characters that are stored as Unicode in link are still not converted to %-escaped form for href attribute.

2006-07-27 08:23:30 changed by keschte

  • cc changed from Fuchs, ZaphodBeeblebrox to Fuchs, ZaphodBeeblebrox, keschte.

2006-08-16 12:49:29 changed by luks

  • owner deleted.
  • status changed from reopened to new.

2007-11-22 10:21:47 changed by nhumfrey

  • priority changed from normal to important.
  • type changed from enhancement to bug.

I would like to express my interest getting this fixed. It is a pain to reuse MusicBrainz data when the URLs are in an inconsistent state - the URLs should be being stored as escaped 7-bit characters in the database - there is currently a mixture of escaped and unescaped utf8.

Some examples of escaped:

http://musicbrainz.org/show/artist/relationships.html?artistid=1022 http://en.wikipedia.org/wiki/Bj%F6rk

http://musicbrainz.org/show/artist/relationships.html?artistid=1601 http://en.wikipedia.org/wiki/Blue_%D6yster_Cult

-- Or stored as UTF8: --

http://musicbrainz.org/show/artist/relationships.html?artistid=21361 http://en.wikipedia.org/wiki/Béla_Bartók

http://musicbrainz.org/show/artist/relationships.html?artistid=52208 http://en.wikipedia.org/wiki/Röyksopp


Add/Change #1102 (Better readability and conformance to RFC for Wikipedia links)