Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-13728

Annotation and edit note pasted links: Should always stay in same MBS (eu/org, beta/main)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Data display
    • None

      As an MB user, I don't want to be sent to alternative MB sites (to and from org/eu or beta/main).


      Annotations

      Currently in annotations, full MBS links are transformed to absolute pathes (no protocol, no host), to remain in same MBS when clicking them.

      This way you stay in beta or in main. https://beta.musicbrainz.org/release-group/e60ad0fb-c6e6-472c-8414-030a4a15e290 (annotation http://mb.org track links will stay in https://beta.mb.org)

      But it does confusing mb.eu and mb.org, it will send you to https://mb.org. https://musicbrainz.eu/release-group/e60ad0fb-c6e6-472c-8414-030a4a15e290 (annotation http://mb.org track links will send you back to mb.org)

      Edit notes

      Here there is nothing done, so user will be sent to whichever server the editor pasted. https://musicbrainz.org/edit/101704616 (release links send you to beta.mb.org)


      Seems to be in https://github.com/metabrainz/musicbrainz-server/blob/master/lib/MusicBrainz/Server/Filters.pm but I did not understand which part is turning full URL into absolute path (no protocol, no host) for annotations (format_wikitext) and not for edit notes (format_editnote).


      From Should always stay in same MBS

            Unassigned Unassigned
            jesus2099 jesus2099
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Version Package