Jump to content

User:Mvolz/GCI TemplateData Tasks

From Wikipedia, the free encyclopedia

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


This is a page to communicate about TemplateData tasks for Google Code-in 2014.

Directions for all tasks

[edit]

A Template is a piece of on-wiki code that present information in a more complex way than plain wikitext can. TemplateData (TD) is a structured way of describing the parameters (variables) of a Template so those parameters are exposed to other applications. TemplateData is a block of JSON in between <templatedata></templatedata> tags, which can be found either in the source of the template itself, or in the documentation page (typically at Template:MyTemplateHere/doc). TD describes the name of the variable, its type, and also a description. TD can be edited manually, however, there is also a GUI that can be used to edit it (the edit TemplateData button will appear if you edit the source of a Template or a Template doc page) and can sometimes populate the names of the template parameters.

For more information, see:

TemplateData: Add TemplateData to ten templates that accept parameters and lack TemplateData associated with them

[edit]
Resolved

Add TemplateData to ten templates on English Wikipedia that accept parameters and lack TemplateData associated with them. If the template has a documentation page, TemplateData must be added to that documentation page. Otherwise, it must be added to the template itself.

Try to find templates that are visible on a page and are relatively simple. Here are some lists of templates that might be useful to you:

@Codename Lisa: The student's task (@Ajeet47:) is ready for review:

Mvolz (talk) 13:10, 26 December 2014 (UTC)

@Codename Lisa: Since we're required to review tasks within 36 hours, I've quickly reviewed and formally approved the student's work. However, feel free to make additional comments for Ajeet. Mvolz (talk) 21:40, 27 December 2014 (UTC)
@Mvolz: Hi. I am not sure you received a ping about all my changes above, so here it is. And sorry for not seeing your message. Since you were absent for a few days, I accepted a job mission and I was away on that critical 24 hours. Still, I thought I have until 02:10 28 December 2014 (UTC) which is 13:10 + 36 hours. Well... Very sorry. I will try to stay in touch for the rest of GCI period and prioritize it over anything else. Best regards, Codename Lisa (talk) 20:24, 28 December 2014 (UTC)
@Codename Lisa: Thanks for checking these. It's 36 hours from when the student asks for review on melange, and they submitted on December 26 2014 11:33 UTC. (Unfortunately students don't seem to notice that they're supposed to communicate on this page directly which would reduce lag- I put it in bold and made it more explicit in the other tasks!) I approved it on December 27 2014 21:38 UTC which was a little under two hours early. I probably should have waited a little bit longer; but what's done is done! No biggie. Mvolz (talk) 17:43, 29 December 2014 (UTC)

TemplateData: Fix the TemplateData issues with the table cell formatting templates

[edit]
Resolved

The documentation page at Template:Yes/doc (https://en.wikipedia.org/wiki/Template:Yes/doc) lists several templates. There is a problem with the TemplateData of these templates. Visit each template and solve the issue. (Make sure they have accurate template data associated with them.)

TemplateData: Add TemplateData to {{Cite AV media}}

[edit]
Resolved

Add TemplateData to the {{Cite AV media}} template. (https://en.wikipedia.org/wiki/Template:Cite_AV_media) These data must go to the appropriate place in its documentation page, where there is already an incomplete TemplateData

@Codename Lisa: this task is ready to review. Mvolz (talk) 16:32, 13 December 2014 (UTC)
Now authenticating. Unicodesnowman has made six contribution on 13 December 2013.[1] Jonesey95 has made a correction.[2] One parameters seems to be missing on my count. Please standby for verification. Best regards, Codename Lisa (talk) 18:54, 13 December 2014 (UTC)
Confirmed completed. He could have marked the type of "orig-year" and "minutes" parameters as "Number" but that's not a blocking issue for now. Best regards, Codename Lisa (talk) 19:09, 13 December 2014 (UTC)
@Unicodesnowman: so they see feedback. Thanks Codename Lisa! Mvolz (talk) 19:18, 13 December 2014 (UTC)

TemplateData: Add TemplateData to {{Infobox file format}}

[edit]
Resolved

@Mvolz and Codename Lisa: I added the TemplateData to the template - it's ready to be reviewed. Also had kinda strange situation with a normal Wikipedia user, who wanted to add the TemplateData here as well... (see Wikipedia:Teahouse/Questions#I have been asked to stop helping in a particular area, what do I do?). M4tx (talk) 15:14, 2 January 2015 (UTC)

(edit conflict)
@Mvolz, M4tx, and NetworkOP: Hello, everyone.
I see a joint work by both M4tx and NetworkOP. (I moved NetworkOP's work into /doc subpage.)
Assessing...
  • |Child= not imported. The parameter is allows the infobox to be embedded into another infobox. It accepts "yes" and "no".
  • Alias undocumented: |latest release version= and |latest release date= have two aliases: |latest_release_version= and |latest_release_date=. They are not added.
  • Alias undocumented: |container for= has two aliases |container_for= and |containerfor=. Both must appear in TemplateData.
  • Alias undocumented: |contained by= has two aliases |contained_by= and |containedby=. Both must appear in TemplateData.
  • Alias undocumented: |extended from= has two aliases |extended_from= and |extendedfrom=. Both must appear in TemplateData.
  • Alias undocumented: |extended to= has two aliases |extended_to= and |extendedto=. Both must appear in TemplateData.
|container for=, |contained by=, |extended_from= and |extended_to= can have much better descriptions. But not a blocking issue, IMHO.
Best regards,
Codename Lisa (talk) 00:55, 3 January 2015 (UTC)
I updated the TemplateData, adding missing aliases, improving descriptions for a few parameters, and importing |child=. It should look better now. M4tx (talk) 10:07, 3 January 2015 (UTC)
 Done Nice work, M4tx. Codename Lisa (talk) 00:28, 4 January 2015 (UTC)

TemplateData: Add TemplateData to {{Infobox file system}}

[edit]
Resolved

@Mvolz: @Codename Lisa:: I've added the templatedata [1], please review. I used String instead of Boolean/Number as the infobox is sometimes used for a family of filesystems (e.g. [2]). Thanks! ☃ Unicodesnowman (talk) 05:10, 31 December 2014 (UTC)

 Done. And masterfully so! Best regards, Codename Lisa (talk) 15:04, 31 December 2014 (UTC)
Sweet! Thanks @Codename Lisa:! In the future, would you mind pinging me as well when you approve these? That way I can close out the task in melange in a timely manner. Mvolz (talk) 22:16, 31 December 2014 (UTC)
@Mvolz: Wilco. Codename Lisa (talk)

TemplateData: Add TemplateData to {{Infobox character encoding}}

[edit]
Resolved

Ready for review. — Preceding unsigned comment added by Ajeet47 (talkcontribs) 00:51, 3 January 2015‎ (UTC)

 Fail Hello, Ajeet47. Your TemplateData contribution has zero effects because it is added in an inappropriate place. Open Template:Infobox character encoding and inspect it (in read mode) from top to bottom to find out why. Also please sign your messages. (It is done by inserting ~~~~ at the end.) Best regards, Codename Lisa (talk) 00:59, 3 January 2015 (UTC)
@Ajeet47: in case mentions didn't notify. Mvolz (talk) 09:22, 3 January 2015 (UTC)
Ready for review. — Preceding unsigned comment added by Ajeet47 (talkcontribs) 18:35, 3 January 2015‎ (UTC)
 Done Good work, Ajeet47. Codename Lisa (talk) 00:28, 4 January 2015 (UTC)

TemplateData: Add TemplateData to {{Infobox networking protocol}}

[edit]
Resolved
  • @Ajeet47: Four parameters done, two to go. Please report back when you are done with it. Best regards, Codename Lisa (talk) 10:05, 5 January 2015 (UTC)
  • Can you please notify me which two more parameters to do?
  • I can tell you yes. Here:
  1. |Name= must have an alias called |title=.  Not done
  2. |rfcs='s type must be "string".  Done
  3. |rfcs='s label must "RFC(s)".  Done
  4. |ports='s type must be "string".  Done
  5. |ports='s label must be "Port(s)".  Done
  6. |osilayer='s label must be "OSI layer".  Done
  7. You must sign your messages in this page by inserting ~~~~ at the end!\
Best regards,
Codename Lisa (talk) 14:58, 5 January 2015 (UTC)

@Codename Lisa:task is ready for review. Ajeet47 (talk) 00:45, 6 January 2015 (UTC)

 Fail. You have added a second "Port(s)" parameter and a second "RFC(s)" parameter, which is wrong. Also, you still haven't added the |title= alias.
Best regards,
Codename Lisa (talk) 02:40, 6 January 2015 (UTC)

@Codename Lisa:task is ready for review.Ajeet47 (talk) 16:18, 6 January 2015 (UTC)

 Fail although you are getting better. You still need to add "Title" as an alias for "Name". But the worst part is that you inserted a block of meaningless code:
      "|title=":{
    "label":"|title=",
    "type":"string",
    "required":false,
    "suggested":false,
    "deprecated":false,
    "description":"{{{title|{{{name|<includeonly>{{PAGENAME}}</includeonly>}}}}}}"
},
 Fixed. Well, third time is the charm. I fix it myself. For now.
Best regards,
Codename Lisa (talk) 23:24, 6 January 2015 (UTC)

@Codename Lisa:thank you. Now what I suppose to do?

Nothing left here. Move on. Best regards, Codename Lisa (talk) 00:45, 7 January 2015 (UTC)

@Codename Lisa:Is this task failed for me? Is my task will count or not?

You did most of it. And it is complete. Best regards, Codename Lisa (talk) 02:38, 7 January 2015 (UTC)

TemplateData: Add TemplateData to {{Infobox software license}}

[edit]
Resolved

@Codename Lisa:task is ready for reviewAjeet47 (talk) 15:00, 7 January 2015 (UTC)

This task was already done by NetworkOP. Your edit introduced the following flaws:
  • Non-constructive "label" field is added to all parameters that contains nothing but a repetition of the name itself. "Label" is intended to help display correct English syntax, a fact you grossly disregarded in all your previous edits.
  • |image='s type is changed from "wiki-file-name" (valid) to "string/wiki-file-name" (invalid).
  • Incorrect sentence is added to |image='s description. "Must take the form of an image reference (e.g., [[Image:something.jpg]]." is wrong. No, in VisualEditor, it mustn't.
  • Description of the |caption= is de-capitalized, changed from correct English to wrong English.
  • Description of the |version= is changed from an excellent sentence to a totally nonsensical one. "The version of the software" is correct. "version of the license, if any" is patent nonsense.
  • |copyright= is deleted!
  • Type of |date= is changed to "number" which is wrong. Date is a string.
  • Type of |website= is change to "wiki-page-name" which is wrong. Website is a URL, not a Wikipedia page.
  • Template description is deleted!
I reverted your edit.
Best regards,
Codename Lisa (talk) 08:28, 8 January 2015 (UTC)

TemplateData: Add TemplateData to {{Infobox computing standard}}

[edit]
Resolved

TemplateData: Add TemplateData to {{Infobox OS component}}

[edit]
Resolved

TemplateData: Add TemplateData to {{System requirements}}

[edit]
Resolved
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.