Wikimedia URL Shortener

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎dansk • ‎español • ‎français • ‎italiano • ‎polski • ‎português do Brasil • ‎русский • ‎עברית • ‎العربية • ‎فارسی • ‎বাংলা • ‎中文 • ‎日本語

The Wikimedia URL Shortener is a feature that allows you to create short URLs for any page on projects hosted by the Wikimedia Foundation, in order to reuse them elsewhere, for example on social networks or on wikis.

How to use it?[edit]

Example screenshot of the URL shortener

The feature can be accessed from Meta wiki on the special page Special:URLShortener.

On this page, you can enter any web address from a service hosted by the Wikimedia Foundation (see list below). Click on Shorten to generate a short URL. You can then copy it and reuse it anywhere.

The format of the URL is w.wiki/ followed by a string of letters and numbers.

Depending on the website you're using it on, you may have to add the prefix https:// to have it recognized as a link. For example, on wikis, w.wiki/A is not recognized as a link but https://w.wiki/A is.

On your wiki, you can create a template to display the links as internal links, see for example Template:Short url on English Wikipedia.

List of supported sites[edit]

In order to assure the security of the links, and to avoid short links pointing to external or dangerous websites, the URL shortener is restricted to services hosted by the Wikimedia Foundation. This includes:

Existing short links[edit]

When you shorten a link, the system will check it against the links that already exist in the database, to avoid duplicates. If you try to shorten a link that already has been shortened by someone else, the system will not create a new URL but return the existing shortlink.

Some links have been already created, redirecting to some of our projects.

Security[edit]

This feature has been designed to provide to the Wikimedia editors a secure way to shorten and share links.

  • The URL shortener only accepts links that are in WMF-based domains, so no external website can be linked
  • Blocked users (on Meta or globally blocked) are not allowed to create short URLs
  • If there's a severe case of information disclosure, stewards can remove the redirect
  • Abuse prevention has been added: the rate limit is 10 creations per 2 minutes for IPs and 50 for logged-in users. This ratelimit is the reason why the tool is enabled only on Meta.

Delete a link[edit]

This action is available for stewards only. On Meta, you can access the special page Special:ManageShortUrls and delete an existing URL, or restore a deleted one.

After deleting a short URL, the short link will not redirect to the page anymore. Please use this feature carefully, for it can cause dead links.

See also[edit]