Re: [mb-style] Adding language attribute to URLs

Calvin Walton <[email protected]>
Newsgroups gmane.comp.audio.musicbrainz.devel,gmane.comp.audio.musicbrainz.style,gmane.comp.audio.musicbrainz.user
Message-ID <1357320852.3829.39.camel@cwalton-XPS-8300>
On Tue, 2013-01-01 at 21:36 +0100, Frederik "Freso" S. Olesen wrote:
> Hello all,
> 
> I've been missing a "language" attribute for URLs for a while, as I'm 
> frequently adding e.g. Danish reviews of release groups. This post is to 
> discuss the feature and try to convince all the rest of you that it'd be 
> nifty to have as well. Please chime in with questions and comments and 
> suggestions!
> 
> Uses
> ----
> 
> Some use cases I see for this could be, once we actually launch a 
> localised musicbrainz.org, to only show URLs based on locale (e.g., show 
> English language links for English language locales).

One thing I'm curious about is how this will interact with Wikipedia
links, which are available in many languages.

Right now most people tend to add wikipedia links only for English and
the artist's native language if different - and sometimes other
languages if they have particularly good-quality pages. The built-in
wikipedia display support on the website can use the wikipedia api to
find the other languages automatically to display them, even though they
aren't explicitly linked.

If we get a feature like this, would you want to add all language
wikipedia links, or just add the languages to our existing links
(automatically, since it's trivial to detect) and stay with the status
quo of minimal links in the db?

-- 
Calvin Walton <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.