Wikidata:Property proposal/shortcode
Jump to navigation
Jump to search
shortcode
[edit]Originally proposed at Wikidata:Property proposal/Computing
Motivation
[edit]This property will expand our coverage of emoji. It will be very easy to import these codes from various websites, as they are usually all easily accessible in a platform's emoji picker. Examples 1-6 are from Emojipedia. -wd-Ryan (Talk/Edits) 23:01, 20 March 2023 (UTC)
Discussion
[edit]- Notified participants of WikiProject Emoji Thoughts on this? -wd-Ryan (Talk/Edits) 00:27, 21 March 2023 (UTC)
- Where would you import them from? A particular file? API? Shisma (talk) 07:50, 21 March 2023 (UTC)
- I would be using inspect element to grab whole emoji pickers, parsing it, then using my own script to connect them to QIDs. -wd-Ryan (Talk/Edits) 12:16, 21 March 2023 (UTC)
- Where would you import them from? A particular file? API? Shisma (talk) 07:50, 21 March 2023 (UTC)
- Β Support Shortcodes are a significant part of how emojis are used, so I think that they're important to include in Wikidata. I have a few thoughts on the exact implementation:
- General scope: As mentioned in the examples, emojis are not the only things that can have shortcodes, e.g. Twitch emote (Q99899353). Where do we draw the line between emoji(-like) shortcodes and things like HTML entities or wikitext like
{{!}}
, which also act like shortcodes? - (β―Β°_Β°οΌβ―οΈ΅ β»ββ» (Q61874916)shortcode/tableflip
used by (P1535)Discord (Q22907849) I don't think that "/tableflip" is a shortcode: it's just a client-side shortcut that sands a tableflip message. (Recently it's been rebranded as a Slash Command.) For example, "/tableflip" in the middle of a message won't be recognised, nor will it be if directly sent to Discord's API. Β β The preceding unsigned comment was added by BEANS X2 (talkΒ β’Β contribs)Β at 10:41, 23 April 2023β (UTC). - I wouldn't be opposed to things like wikitext if somebody wants to use it for that. HTML entities have their own property so it could perhaps be a subproperty of this one. I agree that /tableflip was a bit of a stretch and we don't need to include it. -wd-Ryan (Talk/Edits) 17:38, 23 July 2023 (UTC)
- General scope: As mentioned in the examples, emojis are not the only things that can have shortcodes, e.g. Twitch emote (Q99899353). Where do we draw the line between emoji(-like) shortcodes and things like HTML entities or wikitext like
- Β Support --Tinker Bell β β₯ 21:35, 2 July 2023 (UTC)
- Β Support For reference, the canonical list of GitHub's short codes are tracked here. Josh404 (talk) 04:25, 21 July 2023 (UTC)
- @Wd-Ryan, Shisma, BEANS X2, Tinker Bell, Josh404: Β Done: shortcode (P11916). Regards Kirilloparma (talk) 02:34, 26 July 2023 (UTC)