Page MenuHomePhabricator

Wikimedia needs a URL shortener (tracking)
Closed, ResolvedPublic

Assigned To
Authored By
kaldari
Nov 13 2012, 10:46 PM
Referenced Files
None
Tokens
"Like" token, awarded by Lofhi."Like" token, awarded by matej_suchanek."Party Time" token, awarded by Chicocvenancio."Love" token, awarded by IKhitron."Like" token, awarded by iecetcwcpggwqpgciazwvzpfjpwomjxn."Love" token, awarded by Jseddon."Love" token, awarded by EdErhart-WMF."Love" token, awarded by mpopov."Love" token, awarded by RHo."Love" token, awarded by mcruzWMF."Like" token, awarded by TJones."Love" token, awarded by jrbs."Love" token, awarded by ggellerman."Love" token, awarded by cmadeo."Like" token, awarded by Liuxinyu970226."Like" token, awarded by Dalba."Love" token, awarded by Ladsgroup."Like" token, awarded by leila."Like" token, awarded by Varnent."Like" token, awarded by Smalyshev."Love" token, awarded by Luke081515."Like" token, awarded by MGChecker."Like" token, awarded by He7d3r.

Description

I tried to find an existing bug for this, but surprisingly, I wasn't able to find one. We need this especially for Notifications/Echo.

Currently there is Extension:ShortUrl, but the URLs generated by this aren't much shorter than the existing URLs.

We also can't use most 3rd party services due to privacy concerns.

The main thing we need is a short domain name. This would most likely have to be donated or granted to us, as short domain names are not cheap.


See Also:

Details

Related Objects

StatusSubtypeAssignedTask
ResolvedLadsgroup
DeclinedNemo_bis
Declinedyuvipanda
OpenNone
Declinedyuvipanda
ResolvedBBlack
ResolvedLadsgroup
Resolvedmatmarex
Resolvedmatmarex
ResolvedLegoktm
Resolvedmatmarex
DuplicateNone
Resolvedori
ResolvedBBlack
ResolvedBBlack
Resolved dpatrick
Resolved Prtksxna
ResolvedLegoktm
ResolvedLegoktm
ResolvedArielGlenn
ResolvedJoe
ResolvedBBlack
ResolvedSmalyshev
ResolvedLadsgroup
ResolvedMarostegui
ResolvedLegoktm
Resolved Prtksxna
ResolvedLadsgroup
DeclinedNone
DuplicateNone
ResolvedEsanders

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

I was hoping we'd gotten around to solve this. I'd love to have a shortener that shares are vision about privacy, better if it's our own.

Ticket is over 5 years old and has the most "love tokens" i have ever seen on any ticket. Yet it is _still_ blocked by T108557 and _that_ is blocked by T191592 and "Request (and respond to) a product review, if applicable" (no ticket for that?). Can we raise priority somewhere?

Hey @Legoktm, @kaldari - I'm hoping that there might be a status update on this?

How about https://meta.wikimedia.org/wiki/2018_Community_Wishlist_Survey ? - Would someone help me with that?

In the short term, I would at least wish for a "private" area. Here you could at least upload your "digital heritage". Everything else could be settled sometime later.

I have adapted my proposal so that the chances of realization may be higher . . . :-)

@EdErhart-WMF: Thank you for your nudge

Update: the URL Shortener will be deployed on Meta on April 11th :)
The user documentation is now online: https://meta.wikimedia.org/wiki/Wikimedia_URL_Shortener Please help us translating it in the languages that you speak!
The announcement will follow today. I'll send it to the biggest wikis as well as some mailing lists, feel free to help me spreading it in the communities where you're active.
A big, big thanks to everyone who helped this feature finally getting live!

Brilliant idea! Thanks a lot. Could you, please, add a Special:Interwiki "ww" wikilink prefix ([[ww:3]] -> https://w.wiki/3)?

Sounds very cool, thanks!

I see there's an API to create a new shortened URL, but is there an API to resolve a short URL to its target?

Thanks again!

Yay!!!
Many thanks to everyone involved in bringing this feature live, and thanks in advance to the people who will maintain and improve it <3

@Ladsgroup - Any plan to deploy on all wikis? Maybe a link in the sidebar - Shorten URL / Shorten this URL.

For now, the service is enabled on Meta only, because of the rate limit. However, linking from you wiki to the Meta page is possible and can already be done by the community (probably the interface admins)

For now, the service is enabled on Meta only, because of the rate limit. However, linking from you wiki to the Meta page is possible and can already be done by the community (probably the interface admins)

Thanks!

Niklitov subscribed.

Hi! Please add w.wiki/wmru and URL Shortener for ru.wikimedia.org. Thanks!

Hi! Please add w.wiki/wmru and URL Shortener for ru.wikimedia.org. Thanks!

Hey,

  • Please make another ticket for this. Each ticket should focus on one issue and this issue (deploying a url shortener in production) is resolved
  • Your request is unfortunately impossible due to design of the system. You can't assign any custom url (they go up incrementally so you can guess what will be assigned next but you need to wait for the right time)

Any reason to not include *.wmflabs.org to whitelisted domains? In my humble opinion shortening of addresses of tools may be useful.

Can I use the new feature in Wikipedia or Wikimedia Commons? If yes how?

Can I use the new feature in Wikipedia or Wikimedia Commons? If yes how?

See a previous comment in this thread: https://meta.wikimedia.org/wiki/Wikimedia_URL_Shortener

Many Thanks!

Really great, I waited a long time !!!

Two questions:

• How stable are the Shortener links likely to be?
• Could a field be provided in the description (of commons files)?

This task is resolved. https://www.mediawiki.org/wiki/Requests_for_comment/URL_shortener says "in discussion". Should that page be updated to... something?

Which are the long-term support plans for this feature? Will it be ever dropped in the next 7 to 10 years? Will the previous links still continue to work even after this feature dismissal?

@Lorenzururu: I'm afraid the crystal ball is currently broken, so it impossible to predict what will be in ten years. :)
Generally speaking, if for some reason something was dropped at some point, then I'd expect a migration concept if technically feasible.

Which are the long-term support plans for this feature? Will it be ever dropped in the next 7 to 10 years? Will the previous links still continue to work even after this feature dismissal?

What Aklapper said. In any case, we've taken contingency plans by providing regular dumps of the database (https://dumps.wikimedia.org/other/shorturls/), and mirror that to the Internet Archive (https://archive.org/search.php?query=subject%3A%22shorturls%22%20AND%20subject%3A%22wikimedia%22), so if it did ever go down, you'd still be able to figure out link destinations, and theoretically restore the service.

We've taken contingency plans by providing regular dumps of the database, and mirror that to the Internet Archive [...]

Great to hear that there are periodic backups, thank you for your answers!

Any plans to add to the list of supported sites Wikimedia Commons Query Service (https://wcqs-beta.wmflabs.org/) or even the whole wmflabs.org domain?

Unfortunately due to security reasons (as it can easily hide XSS or have open redirects to spam websites) it's not possible.

We are using this great feature in https://cr.bitplan.com/index.php/List_of_Queries but run into length limits for some of our queries e.g. try it !

QLever will e.g. happily create short urls such as https://qlever.cs.uni-freiburg.de/wikidata/6Xzhxj

What needs to be done to increase the lenght limit?

@WolfgangFahl Hi, this task was about writing a URL shortener. This was done years ago, so this task was resolved and is closed.
Please bring up support questions in support places (e.g. the extension talk page), or file a new feature request if there are no existing preferences. Thanks.