Wikidata talk:Mastodon tags with QIDs

From Wikidata
Jump to navigation Jump to search

ActivityPub protocol[edit]

What's a hashtag in the protocol? A "tag"?

One or more "tags" that have been associated with an objects. A tag can be any kind of Object. The key difference between attachment and tag is that the former implies association by inclusion, while the latter implies associated by reference.

https://www.w3.org/TR/activitystreams-vocabulary/#dfn-tag

Nemo 18:53, 16 November 2022 (UTC)[reply]

Wikidata-only option[edit]

Is there a way to implement this on clients only, using Wikidata data, without any change on the servers? If you think of how Mapbox has used the Wikidata items' names to enrich the OSM maps, a one-way relationship is often enough. We could have an ontology on Wikidata for all relevant threads, and clients could query it as needed to offer suggestions or to automate certain actions (such as following a topic and all its subtopics). Nemo 19:00, 16 November 2022 (UTC)[reply]

This can be done by simply using QIDs as hashtags such as #Q42. No need to change anything on the server but clients not aware of this special QID-hashtags will not display readable names and users won't be able to easily insert such hashtags without client support. For web clients this could all be done with JavaScript. JakobVoss (talk) 20:34, 16 November 2022 (UTC)[reply]
Replacing readable text with unreadable IDs is like replacing links with t.co URL shorteners, bad for long-term preservation. So is your idea that people would only use such hashtags as metadata outside the "actual text"? Nemo 22:20, 16 November 2022 (UTC)[reply]
Yes: either use non-readable identifiers with defined meaning in an external database (Wikidata) or readable names without defined meaning -- JakobVoss (talk) 16:48, 17 November 2022 (UTC)[reply]