Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a231ef2b3dc08682

Jump to content

Template talk:Commons category-inline

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 8 days ago by Hike395 in topic Capital initials

"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)Reply

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)Reply
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)Reply

Template-protected edit request on 18 February 2024

[edit]

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)Reply

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)Reply
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)Reply

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)Reply

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 2025hike395 (talk) 23:43, 11 October 2025 (UTC)Reply

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)Reply

There is no such category Commons:Category:Polar bears; it's Commons:Category:Ursus maritimus. -- Michael Bednarek (talk) 03:31, 22 July 2026 (UTC)Reply
You mean in the documentation? Fixedhike395 (talk) 03:51, 22 July 2026 (UTC)Reply