Page MenuHomePhabricator

visual editor seems to automatically replace long (good) urls with short urls
Closed, DuplicatePublic

Description

VE/Citoid is replacing URLs such as

https://www.faz.net/aktuell/gesellschaft/menschen/verleumdungsklage-von-e-jean-carroll-gegen-trump-16469341.html

or

https://archive.today/20120529131131/repertoire.bmi.com/title.asp?blnWriter=True&blnPublisher=True&blnArtist=True&page=1&keyid=1448224&ShowNbr=0&ShowSeqNbr=0&querytype=WorkID

with a short URL (e.g. https://www.faz.net/1.6469341 or http://archive.md/rCCm) which is very bad to use in citations. (for example: if archive.md will be discontinued in future, then we don't have a clue what the original url/article has been, if the information is not mentioned elsewhere inside the ref element.)

in dewiki we are constantly trying to teach people to use the long URLs only. i even operate a bot which replaces short URLs by long urls and gives the users who added the short urls a message that they should use the long URLs only.

Some of them recently complained that they actually used the long URL, but the VE converted it to a short url.

So please remove that feature completely because it will otherwise lead to many broken and unrepairable links in future.

related: T212608

Event Timeline

Can you give an example of edits where this happens?

For this specific case, the url seems to be coming from

<meta property="og:url" content="https://www.faz.net/1.6469341" />

It would probably be better to use <link rel="canonical" href="https://www.faz.net/aktuell/gesellschaft/menschen/verleumdungsklage-von-e-jean-carroll-gegen-trump-16469341.html"/>, in theory. But this is coming from Zotero, so we can't really change how they pick which metadata to use, except possibly to file a bug. One possible solution is the one I've closed this as a duplicate of.

(Note that this is not due to any change in the software, but rather that lots of websites seem to be using short urls in their metadata than ever before. So any change you're seeing is rather more distributed! )