Wikidata:Requests for comment/Q189053
An editor has requested the community to provide input on "Q189053" via the Requests for comment (RFC) process. This is the discussion page regarding the issue.
If you have an opinion regarding this issue, feel free to comment below. Thank you! |
THIS RFC IS CLOSED. Please do NOT vote nor add comments.
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
- Technical issue, RFC not needed. RfC's don't decide about the development agenda of WMDE. If you want to request a new technical feature it makes more sense to write a phabricator ticket and/or wait till it's community wishlist season. ChristianKl (✉) 19:22, 5 December 2017 (UTC)[reply]
Commands have options/arguments. For example, almost all commands have an argument like -h or --help to get details of the respective command. Is it relevant to wikidata to incorporate such information. From user's perspective, it is very interesting to get complete details of a command from a wikidata page. E.g. ls command.
- Could you given a complete example of an instance of command-line interface (Q189053) with all of its arguments/option to be documented? -- JakobVoss (talk) 13:40, 28 February 2017 (UTC)[reply]
- Possibly related are fields of instances of form (Q1335296), e.g. Form I-140 (Q23091801) asks for given name, surname, tax ID etc. -- JakobVoss (talk) 13:40, 28 February 2017 (UTC)[reply]
- Hi JakobVoss, your example is similar to what I have been looking for. In the following examples, ls is a command
$ ls dirname
displays the contents of a directory (with name 'dirname' as argument)
$ ls -R dirname
displays the contents of a directory recursively (directories within directory etc.). Here -R is an option.
There are 2 options (propositions):
- make use of has part(s) (P527) to specify that commands have arguments and options
- propose 2 new properties: has argument and has option for command line tools
P.S. Sorry for the long delay in reply. Jsamwrites (talk) 08:47, 2 April 2017 (UTC)[reply]
Hi Jsamwrites! I found the following items
- parameter (Q1410440): in computer programming, special kind of variable that holds data that was passed as an argument to a subroutine (with many Wikipedia links)
- option (Q28827890): option of a graphical user interface or command line (no Wikipedia links, created by you)
- option argument (Q28827897): arguments to an option of a graphical user interface or a command (no Wikipedia links, created by you)
- command-line option (Q28827893): special token given to a program on the command line to alter its behavior (no Wikipedia links, created by you)
- command-line option (Q28827911): special token given to a program on the command line to alter its behavior (no Wikipedia links, created by you)
Some of these should better be merged. I think parameter (Q1410440) is the general term that also submsumes en:Command-line_interface#Arguments such as positional arguments and options. The latter are also known as "flags" or "switches". Three or even two items are enough:
- parameter in general: parameter (Q1410440)
- program option/switch/flag: ?
- maybe parameter that is no option/switch/flag, but Q1410440 might be enough
-- JakobVoss (talk) 12:56, 3 April 2017 (UTC)[reply]
- Thanks JakobVoss for the reply. I have merged command-line option (Q28827911): special token given to a program on the command line to alter its behavior and command-line option (Q28827893): special token given to a program on the command line to alter its behavior. Jsamwrites (talk) 17:25, 3 April 2017 (UTC)[reply]
Comment I am getting rid of the second RfC as I think it is an error. PokestarFan • Drink some tea and talk with me • Stalk my edits • I'm not shouting, I just like this font! 02:18, 4 June 2017 (UTC)[reply]