Wikidata:Property proposal/shortened URL formatter
Jump to navigation
Jump to search
shortened URL formatter
[edit]Originally proposed at Wikidata:Property proposal/Organization
Description | URI template from which "$1" can be automatically replaced with the ID of a URL shortened by the service |
---|---|
Represents | URL shortener (Q62694393) |
Data type | String |
Domain | item, service on Internet (Q1668024), organization (Q43229), video game (Q7889) |
Example 1 | X (Q918) → https://[spam filter]/$1 (statement is subject of (P805) t.co (Q17164377)) |
Example 2 | Mojang Studios (Q1129295) → https://redsto.ne/$1 |
Example 3 | Discord (Q22907849) → https://[spam filter]/$1 |
Example 4 | Nintendo (Q8093) → https://ninten.do/$1 |
Example 5 | Wikimedia Foundation (Q180) → https://w.wiki/$1 (statement is subject of (P805) Wikimedia URL Shortener (Q62694334)) |
Example 6 | Twitch (Q4555537) → https://link.twitch.tv/$1 |
Example 7 | Microsoft (Q2283) → https://msft.it/$1 |
Example 8 | Spotify (Q689141) → https://spotify.link/$1 |
See also | search formatter URL (P4354) |
Wikidata project | WikiProject Websites (Q15831464) |
Motivation
[edit]Many services and organizations have URL shorteners that cannot be represented currently on Wikidata. A property for this would be useful for cataloging them. It would be a subproperty of URL (P2699), like search formatter URL (P4354). It can use the qualifier statement is subject of (P805) if an item for the URL shortener exists.
Notified participants of WikiProject Websites
-wd-Ryan (Talk/Edits) 16:47, 17 October 2022 (UTC)
Discussion
[edit]- Support Lectrician1 (talk) 19:07, 17 October 2022 (UTC)
- Strong support Laftp0 (talk) 23:37, 17 October 2022 (UTC)
- Comment Do you anticipate some use for this in Wikidata where the shortener would be paired with the id (as a qualifier in some way) so that applications could apply the formatter directly? ArthurPSmith (talk) 17:50, 18 October 2022 (UTC)
- @ArthurPSmith: I couldn't think of an example but that is what I had in mind. There could be a future property called "shortened URL ID" which can be a qualifier to identifiers, or as a reference with a complementary stated in (P248) value. -wd-Ryan (Talk/Edits) 17:59, 18 October 2022 (UTC)
- Support. Nomen ad hoc (talk) 14:10, 19 October 2022 (UTC).
- Support – Minh Nguyễn 💬 06:34, 23 October 2022 (UTC)
- Support — The Erinaceous One 🦔 00:48, 27 October 2022 (UTC)
- @Wd-Ryan, Lectrician1, Laftp0, Nomen ad hoc, Mxn, The-erinaceous-one: Done --Tinker Bell ★ ♥ 13:30, 27 October 2022 (UTC)