Template talk:Commons category-inline
Add topic| This is the talk page for discussing improvements to the Commons category-inline template. |
|
| Archives: 1Auto-archiving period: 6 months |
| This template (Template:Commonscat-inline) was considered for deletion on 2008 March 8. The result of the discussion was keep. |
| This template (Inline Sister Projects links) was considered for deletion on 2008 October 8. The result of the discussion was keep. |
"Inconsistent wikidata for Commons category"
[edit]This template places some pages into Category:Inconsistent wikidata for Commons category, while {{Commons category}} with the same arguments does not. Compare cc and cci. jlwoodwa (talk) 22:29, 18 December 2023 (UTC)
- This category uses a Lua implementation of error checking at Module:Commons link that may be slightly stricter than the template implementation at {{Commons category}}. I'll investigate and tell you what I find. — hike395 (talk) 01:31, 19 December 2023 (UTC)
- Here's the deal. {{Commons category}} uses Module:WikidataIB to look up wikidata entries. It looks sequentially at a number of properties in the associated Wikidata page, stopping when it finds one. {{Commons category-inline}} uses Module:Commons link, which doesn't stop at the first working property, but looks at all of them. If there is any inconsistency between them, it gives up and flags a warning message.
- Wikimedian of the Year has an associated Wikidata entry d:Q17525053. That data entry is inconsistent. The Commons sitelink is c:Category:Wikimedian of the Year, but the "Commons Category" properties is c:Category:Wikipedian of the Year (the latter is the parent category of the former). This warning is easily fixed by cleaning up Wikidata, which I can do. But I wanted to explain where the warning message came from. — hike395 (talk) 01:49, 19 December 2023 (UTC)
Template-protected edit request on 18 February 2024
[edit]This edit request has been answered. Set the |answered= parameter to no to reactivate your request. |
I would like to suggest combining this template with the multi-category abilities of {{Commons category multi}}, without the need to create a separate Template:Commons category multi-inline (similarly, {{Commons category}} and {{Commons category multi}} may also be combined). As the |2= parameter of {{Commons category-inline}} is currently being used for a label, I would suggest renaming it to |label1=, and so forth.
The reason for this request may be exampled with the Teddy (garment) article referring to both teddy and camiknickers for the same garment, while currently they are separate commons sub-categories (Category:Teddy and Category:Camiknickers); see also Category talk:Women's underwear#Disorganized subcats for a related discussion. — CJDOS, Sheridan, OR (talk) 21:44, 18 February 2024 (UTC)
- I solved the problem on Teddy by merging the categories on Commons, which is probably the best solution in most cases. However I support your proposal in general. — Martin (MSGJ · talk) 12:30, 19 February 2024 (UTC)
- This is an interesting idea. I am deactivating this edit request, since there does not appear to be an actionable code-change request here. If someone gets something working in the sandbox of one of these templates, feel free to reactivate the request. – Jonesey95 (talk) 14:25, 19 February 2024 (UTC)
Layout problem
[edit]Hello, there is a layout problem with the template that has occurred in the last few days. It is fine if preceded by an asterisk, but if there is no asterisk, then the image appears on one line with the text on a subsequent line. Keith D (talk) 18:48, 11 October 2025 (UTC)
Fixed The problem was at Template:Sister-inline --- a bug was introduced and fixed in the sandbox, but never promoted to main. See Template talk:Sister-inline#Edit request 19 September 2025 — hike395 (talk) 23:43, 11 October 2025 (UTC)
Capital initials
[edit]"Media related to Polar bears at Wikimedia Commons"
Is there a reason why "Polar bears" should have a capital initial "P" in this context? Michael Hardy (talk) 00:37, 22 July 2026 (UTC)
- There is no such category Commons:Category:Polar bears; it's Commons:Category:Ursus maritimus. -- Michael Bednarek (talk) 03:31, 22 July 2026 (UTC)
- You mean in the documentation?
Fixed — hike395 (talk) 03:51, 22 July 2026 (UTC)
- You mean in the documentation?