Wikidata:Property proposal/Key press
Jump to navigation
Jump to search
key press
[edit]Originally proposed at Wikidata:Property proposal/Generic
Description | keyboard shortcut sequence / Key entry sequence | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Data type | String | ||||||||||||||||||||||||||||||||||||
Allowed values | ^([^()\\\r\n]|\\[,+()\\ ]|\([^()]+\))+$ | ||||||||||||||||||||||||||||||||||||
Example |
| ||||||||||||||||||||||||||||||||||||
Robot and gadget jobs | Requires qualifier platform (P400) | ||||||||||||||||||||||||||||||||||||
See also | {{Key press}}, Unicode code point (P4213), HTML entity (P4575), TeX string (P1993) |
- Motivation
So while looking at w:Trademark symbol, I noticed it included Windows Alt key codes. I considered standardizing using an Infobox, but Wikidata seems like the Right Way to Do It™. —Dispenser (talk) 00:46, 19 November 2017 (UTC)
- Syntax
,
+
(
)
and \
are special character and need to escaped by \
for literals. Spaces (U+0020) surrounding special characters may be ignored.
- Discussion
- Comment @Dispenser:How to enter "{{key press}}" as a statement?Thank you David (talk) 16:45, 19 November 2017 (UTC)
- I've rendered with formatting templates, but should probably define a micro markup language. pilcrow (Q331864) would be entered as
Ctrl+K, P, I
. —Dispenser (talk) 20:31, 19 November 2017 (UTC)
- I've rendered with formatting templates, but should probably define a micro markup language. pilcrow (Q331864) would be entered as
- I take it you would represent the Platform with a platform (P400) qualifier? That should probably be a required qualifier if this new property is created. Do you have a good source for all these? ArthurPSmith (talk) 19:49, 20 November 2017 (UTC)
- Yes, it should. I've struck Konami Code from the examples list since its not specific enough. Examples listed were pulled from their English Wikipedia article. —Dispenser (talk) 21:37, 20 November 2017 (UTC)
- Apparently, ALT+0153 only works on numeric (side) keypads; not all windows machines. Beside that, I'd rather see a solution using items than strings. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:24, 20 November 2017 (UTC)
- The datatype is set to string. The example however contains Wikitext templates. Is that intentional? I'm not sure how you want to use "platform". I'm not sure how the examples are currently supposed to look. Maybe setup the examples on https://test.wikidata.org/wiki/Wikidata:Main_Page ? ChristianKl (✉) 14:58, 22 November 2017 (UTC)
- Comment Output looks interesting, but how could we do that?
--- Jura 19:42, 12 December 2017 (UTC) - Oppose too complex. Manu1400 (talk) 13:04, 12 February 2018 (UTC)
- @Dispenser, Manu1400, ChristianKl, ديفيد عادل وهبة خليل 2: I think I will close this as there are too many open questions and no support.
--- Jura 06:41, 25 February 2018 (UTC)- Sorry, I've been getting distracted. I will flesh out the implementation and define the micro syntax this week. —Dispenser (talk) 13:23, 25 February 2018 (UTC)
- Thanks. It's much clearer.
--- Jura 08:52, 22 March 2018 (UTC)
- Thanks. It's much clearer.
- Sorry, I've been getting distracted. I will flesh out the implementation and define the micro syntax this week. —Dispenser (talk) 13:23, 25 February 2018 (UTC)
- Support But add the qualifier platform (P400). John Samuel 19:18, 15 March 2018 (UTC)
- Support Micru (talk) 19:48, 20 March 2018 (UTC)
@Dispenser, Manu1400, ChristianKl, ديفيد عادل وهبة خليل 2, Micru, Jsamwrites: Done
--- Jura 06:24, 28 March 2018 (UTC)