Wikidata:URLShortener

Example screenshot of the URL shortener

An official Wikimedia Foundation URL Shortener has been enabled since 11 April 2019, on Meta: m:Special:URLShortener.

What is the URL Shortener doing? edit

The Wikimedia URL Shortener (Wikimedia URL Shortener (Q62694334)) 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, on wikis, or on paper.

The feature can be accessed from Meta wiki on the special page m:Special:URLShortener. On this page, you will be able to enter any web address from a service hosted by the Wikimedia Foundation, to generate a short URL, and to copy it and reuse it anywhere.

The format of the URL is w.wiki/ followed by a string of letters and numbers. You can already test this, for example:

What are the limitations and security measures? 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 for example: all Wikimedia projects, Meta, mediawiki.org, the Wikidata Query Service, Phabricator (see the full list here).

In order to avoid abuse of the tool, there is a rate limit:

  • logged-in users can create up to 50 links every 2 minutes
  • IPs are limited to 10 creations per 2 minutes.

Where will this feature be available? edit

In order to enforce the rate limit described above, the page Special:URLShortener will only be enabled on Meta, and the Wikidata Query Service.

Where can I use short URLs? edit

In addition to using short URLs on social media, and on paper, they can be used:

  • in {{SPARQL}}'s |shortURL= parameter

Documentation and requests edit

See also edit