Template talk:Music of sidebar
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Why Saluang?
[edit]Why the template picture of Indonesian music infobox is saluang? The flute is too commmon and not uniquely Indonesian. I mean come on..., bamboo flute is founds across Asia from India, Southeast Asia, China, to Japan. Indonesia has better and unique musical instruments like Angklung, Gamelan, or Sasando.(Gunkarta (talk) 20:07, 29 May 2009 (UTC))
See request by Bearcat at WP:WPT (talk). -DePiep (talk) 22:09, 21 July 2012 (UTC)
Automatic category
[edit]re request at WP:WPT [1] by bearcat. -DePiep (talk) 22:13, 21 July 2012 (UTC)
- Just for a bit of extra context, the particular situation at hand is that because this infobox uses an entry field in child templates to generate and transclude a category onto the pages that the child templates are added to, in some cases that results in unnecessary duplicate categorization that can clutter up and reduce the usefulness of that method of navigation — but because the category is automatically transcluded by the template, at present the only documented way to remove that extra category from an article where it's not needed is to remove the whole template. As I noted in my original request, further, Wikipedia actually strongly recommends against transcluding content categories onto articles by means of a template instead of by applying the desired categories directly to the article itself.
- My request, accordingly, was for one of two things: either the category-generation function should be removed entirely from this template, or it should be made possible to voluntarily suppress the extra category in cases where it's not needed (via the nocat=true/false option), while still leaving the function accessible in other cases where it might still be useful.
- I'd prefer the first solution, as it's the one recommended by the categorization guidelines, but the second is perfectly acceptable to me if someone can assist in implementing it. The issue is that I don't know how to do either one myself, because I'm not familiar with more complex template syntax, and CATSUP isn't very clear or helpful for a novice. For instance, I don't have a honking clue what to do with the "nocat=true/false" flag: do I add it directly to the "Music of Country" navbox? Do I leave the navbox itself as is and add {{Music of Country|nocat=true}} to each individual article instead? Does this template have to be modified to make that option usable? The guideline just isn't clear enough if you don't already know a lot more about template coding than I do. Bearcat (talk) 22:42, 21 July 2012 (UTC)
- I am researching the technicalities. Your earlier description was very good & clear & to the point. Expect outcome: template requires an opt-in for the automatic category. From a template we cannot check for categories on the article page. I will report (and not disrupt blindly). -DePiep (talk)
- No worries, I just wanted to clarify my request in case additional users from outside WPT came along to participate in the discussion, and didn't fully understand what I was asking for since my original request was pitched more to an "expertise in template coding" audience than an "expertise in music" one :-) Bearcat (talk) 22:52, 21 July 2012 (UTC)
- I am researching the technicalities. Your earlier description was very good & clear & to the point. Expect outcome: template requires an opt-in for the automatic category. From a template we cannot check for categories on the article page. I will report (and not disrupt blindly). -DePiep (talk)
OK. This is the plan, and what I have done. Problem is that this infobox adds a category like Category:Martian music indiscriminately, while an editor might have added a more specific subcategory. For example: German hip hop article has the infobox, and so the Category:German music. But the editor correctly added Category:German hip hop, which is a subcategory. In this situation, the parent category should disappear (because every page in the subcategory is in the parent category by definition). Solution is that the automatic category adding by this template should be killed (removed). Adding the category by infobox option, say introducing the option nocat=true
, is not helpful, because using this is more difficult that adding a category directly by typing. Almost every editor can add a category easily. Step 1 is checking & improving every article that has this automatic template. These pages (all article pages that use this infobox template) are listed in Category:Music of foo article for attention, currently 266. Before we can remove the automatic category I have checked & edited: when that auto category (Category:Martian music) is removed, is there still a good category present? If not, I have added that one (possibly that same category, now hardcoded). If a good subcategory is present I've left it (eg if Category:Pakistani styles of music is added to the article, the parent Category:Pakistani music can go without problem). On the other hand, if a parent and child category are hardcoded in the article, I have removed the parent one. I edited some 85 of the 266 pages this way. Note: outside of this music category thing, I have edited not much else (only obvious errors). I have kept this rule: if the music infobox is present, the article should be in a music category. In some places this could be disputed ((eg MAD World) - a different topic. Question: do we agree on this change, and so remove the automatic category from the template? -DePiep (talk) 14:00, 22 July 2012 (UTC)
- And a sort of warning may be usefull. To music-knowns (as most here are) a non-intuitive change will appear. For example. When we drop the automatic category as proposed, this wil happen: from article Dance_hall_(Jamaican), the category Category:Jamaican music disappears, because Category:Reggae already is there and that is child category of Category:Jamaican music. That is category law & logic.
- Highly affected categories are:
- Category:Russian music. e.g. article Music in Irkutsk Oblast appears in subcategory Category:Music in the federal subjects of Russia only, not any more in its parent Category:Russian music.
- Category:Chinese music. eg article Music of Xinjiang appears in subcategory Category:Music of Chinese subdivisions only, not any more in its parent Category:Chinese music.
- Category:Jamaican music. eg article Sound system (Jamaican) appears in subcategory Category:Reggae only, not any more in its grandparent Category:Jamaican music.
- Each if these may have a dozen of articles involved. -DePiep (talk) 22:22, 22 July 2012 (UTC)
- Done. Into live. -DePiep (talk) 23:54, 25 July 2012 (UTC)
- I have removed the tracking category. -DePiep (talk) 18:19, 11 August 2012 (UTC)
- Done. Into live. -DePiep (talk) 23:54, 25 July 2012 (UTC)
Navbox?
[edit]Isn't this a navbox rather than an infobox? I was surprised to see it show up on mobile ({{Music of India}}
at Raga music). Hairy Dude (talk) 01:16, 27 March 2018 (UTC)