User:Mvolz/GCI TemplateData Tasks

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

Directions for all tasks
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 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:
 * Templates
 * Transclusion
 * TemplateData

TemplateData: Add TemplateData to ten templates that accept parameters and lack TemplateData associated with them
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:


 * AutoWikiBrowser/Dated templates
 * Template messages/Sister projects
 * Template messages/Links

The student's task is ready for review:


 * Template:Infobox_organization/doc
 * Template:Infobox_sportsperson/doc
 * ❌ Bad parameters like "debutyear / debutteam". Needs check. Codename Lisa (talk)
 * Template:Infobox_German_location/doc
 * Template:Infobox_ship_career/doc
 * ❌ TemplateData added were worthless because of much error in them. Had to remove all of them. Codename Lisa (talk))
 * Re-implemented by Codename Lisa. Codename Lisa (talk) 04:40, 28 December 2014 (UTC)
 * Template:Infobox_ship_image/doc
 * ❌ Had to remove all of them. Codename Lisa (talk)
 * Re-implemented by Codename Lisa. Codename Lisa (talk) 04:40, 28 December 2014 (UTC)
 * Template:Infobox_NFL_player/doc
 * ❌ Bad parameters like "debutyear / debutteam". Codename Lisa (talk)
 * Template:Infobox_medal_templates/doc
 * ❌ Codename Lisa (talk)
 * by Codename Lisa. Codename Lisa (talk) 04:40, 28 December 2014 (UTC)
 * Template:Infobox_planet/doc
 * Template:Infobox_radio_station/doc
 * Template:Infobox_rugby_league_biography/doc
 * ❌ Codename Lisa (talk)

Mvolz (talk) 13:10, 26 December 2014 (UTC)
 * 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)
 * 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)
 * 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
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
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
 * this task is ready to review. Mvolz (talk) 16:32, 13 December 2014 (UTC)
 * Now authenticating. has made six contribution on 13 December 2013.  has made a correction. 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)
 * so they see feedback. Thanks ! Mvolz (talk) 19:18, 13 December 2014 (UTC)

TemplateData: Add TemplateData to Infobox file format
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 Teahouse/Questions). M4tx (talk) 15:14, 2 January 2015 (UTC)


 * Hello, everyone.
 * I see a joint work by both and . (I moved NetworkOP's work into /doc subpage.)
 * I see a joint work by both and . (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)
 * Nice work, . Codename Lisa (talk) 00:28, 4 January 2015 (UTC)

TemplateData: Add TemplateData to Infobox file system
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)
 * . And masterfully so! Best regards, Codename Lisa (talk) 15:04, 31 December 2014 (UTC)
 * Sweet! Thanks ! 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)
 * Wilco. Codename Lisa (talk)

TemplateData: Add TemplateData to Infobox character encoding
Ready for review. — Preceding unsigned comment added by Ajeet47 (talk • contribs) 00:51, 3 January 2015‎ (UTC)
 * ❌ Hello, . 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)
 * in case mentions didn't notify. Mvolz (talk) 09:22, 3 January 2015 (UTC)
 * Ready for review. — Preceding unsigned comment added by Ajeet47 (talk • contribs) 18:35, 3 January 2015‎ (UTC)
 * Good work, . Codename Lisa (talk) 00:28, 4 January 2015 (UTC)

TemplateData: Add TemplateData to Infobox networking protocol

 * 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:
 * Name must have an alias called title. ❌
 * rfcs's type must be "string".
 * rfcs's label must "RFC(s)".
 * ports's type must be "string".
 * ports's label must be "Port(s)".
 * osilayer's label must be "OSI layer".
 * You must sign your messages in this page by inserting ~ at the end!\
 * Best regards,
 * Codename Lisa (talk) 14:58, 5 January 2015 (UTC)

task is ready for review. Ajeet47 (talk) 00:45, 6 January 2015 (UTC)
 * ❌. 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)

task is ready for review.Ajeet47 (talk) 16:18, 6 January 2015 (UTC)
 * ❌ 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":"" },
 * . Well, third time is the charm. I fix it myself. For now.
 * Best regards,
 * Codename Lisa (talk) 23:24, 6 January 2015 (UTC)

thank you. Now what I suppose to do?
 * Nothing left here. Move on. Best regards, Codename Lisa (talk) 00:45, 7 January 2015 (UTC)

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
task is ready for reviewAjeet47 (talk) 15:00, 7 January 2015 (UTC)
 * This task was already done by . 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)