![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 |
It would be nice if this template supported an optional title parameter, for cases where the commonscat has an unfortunate name. For example, Generic Mapping Tools would really benefit from a link to the commons category commons:Category:GFDL-GMT. But using this template one is stuck with text explicity referring to the rather ungainly GFDL-GMT. Would it be possible to add a parameter to allow us to override the display name of the link in circumstances like these (perhaps using markup like {{commonscat|GFDL-GMT|Generic Mapping Tools}})? -- Finlay McWalter | Talk 12:42, 5 May 2006 (UTC)
{{Commonscat|GFDL-GMT}}
, but this changes the visible text as well. Is that what you wanted? If not, I suggest you add {{
editprotected}} to this talk page, along with the exact change you want made to the template page, i.e. the code as well as the result. That'll make it easier and hopefully quicker as well.
SeventyThree(
Talk)
05:47, 13 May 2006 (UTC)Please add:
[[es:Plantilla:Commonscat]] -- elwikipedista 16:22, 20 August 2006 (UTC)
Please, also add the following: [[ca:Template:Commonscat]] [[cs:Template:Commonscat]] [[eo:Template:Commonscat]] [[id:Template:Commonscat]] [[io:Template:Commonscat]] [[is:Template:Commonscat]] [[lt:Template:Commonscat]] [[lv:Template:Commonscat]] [[ms:Template:Commonscat]] [[oc:Template:Commonscat]] [[pl:Template:Commonscat]] [[ro:Template:Commonscat]] [[simple:Template:Commonscat]] [[sl:Template:Commonscat]] [[su:Template:Commonscat]] [[tr:Şablon:CommonsKat]]
Please add interwiki link for Serbian language Wikipedia. The link is:
[[sr:Шаблон:Commonscat]]
Thank you. -- Branislav Jovanovic 16:10, 30 August 2006 (UTC)
Thank you again. -- Branislav Jovanovic 06:20, 10 October 2006 (UTC)
Please, correct sl: to
sl:Predloga:Kategorija v Zbirki. Thanks. --
Eleassar
my talk
15:13, 18 January 2007 (UTC)
In the course of adding another image to
Fremont Bridge (Portland), I discovered a peculiar side effect of {{
Commonscat}}. I intended the image appear midway down the left side (as in the present article version), but putting [[Image:Fremont bridge pedal 1230.jpeg | thumb | left]]
in the middle of the article mysteriously showed the thumb at the bottom left.
After several confused attempts, I surrendered and placed it at the top left as that seemed the only other place allowed. Another article did it correctly somehow, so that led to determining {{ Commonscat}} "drags" all images below it (in the wikitext) to the bottom of the article. Is this intentional? If so, perhaps the template page could mention the recommended placement of the template reference. — EncMstr 05:25, 10 September 2006 (UTC)
de:Vorlage:Commons2 has been deleted -- 84.137.17.88 12:20, 4 October 2006 (UTC)
See title. Simply south 21:26, 8 November 2006 (UTC)
The size of the images is just a bit different, you don't even see it if you don't see the templates next to eachother. But for the perfectionists among us... maybe the size could be made the same. —The preceding unsigned comment was added by Bart v M ( talk • contribs) 15:33, 5 December 2006 (UTC).
Yes, this template is slightly narrower width than the other Wikimedia templates. Could someone please fix. -- Pmsyyz 01:53, 3 January 2007 (UTC)
<div class="infobox sisterproject">[[Image:Commons-logo.svg|left|50px]] <div style="margin-left: 60px;">[[Wikimedia Commons]] has media related to: <div style="margin-left: 10px;"> '''''[[Commons:Category:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]'''''</div> </div> </div>
{{ editprotected}} Please update the interwikis with a copy/paste of the following (easier than only listing the changes):
<!-- interwiki --> [[af:Sjabloon:CommonsKategorie]] [[als:Vorlage:Commonscat]] [[az:Şablon:CommonsKat]] [[bg:Шаблон:Commonscat]] [[ca:Plantilla:Commonscat]] [[cs:Šablona:Commonscat]] [[da:Skabelon:Commonscat]] [[eo:Ŝablono:Commonscat]] [[eu:Txantiloi:Commonskat]] [[fr:Modèle:CommonsCat]] [[ko:틀:Commonscat]] [[hr:Predložak:Commonscat]] [[io:Template:Commonscat]] [[id:Templat:Commonscat]] [[os:Шаблон:Commonscat]] [[is:Snið:Commonscat]] [[lv:Veidne:Commonscat]] [[lt:Šablonas:Commonscat]] [[hu:Sablon:Közvagyonkat]] [[mk:Шаблон:Ризница-врска]] [[ms:Templat:Commonscat]] [[nl:Sjabloon:Commonscatklein]] [[ja:Template:Commonscat]] [[oc:Modèl:Commonscat]] [[pl:Szablon:Commonscat]] [[pt:Predefinição:Commonscat]] [[ro:Format:Commonscat]] [[ru:Шаблон:Commonscat]] [[simple:Template:Commonscat]] [[sk:Šablóna:Commonscat]] [[sl:Predloga:Kategorija v Zbirki]] [[sr:Шаблон:Commonscat]] [[sh:Template:Commonscat]] [[su:Citakan:Commonscat]] [[fi:Malline:Commonscat]] [[sv:Mall:Commonscat-box]] [[th:แม่แบบ:Commonscat]] [[vi:Tiêu bản:Commonscat]] [[tr:Şablon:CommonsKat]] [[uk:Шаблон:Commonscat]] [[zh-yue:Template:同享類]] [[zh:Template:Commonscat]]
They were all checked and sorted. — Robin des Bois ♘ ➳ ✉ 02:42, 11 April 2007 (UTC)
{{ editprotected}}
Dear administrator, please add the following interwiki link:
Thank you in advance, Julian 11:21, 29 May 2007 (UTC)
{{ Editprotected}}Could we change the template to allow piped links? eg.
<div style="margin-left: 10px;"> '''''[[Commons:Category:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]'''''</div>
to
<div style="margin-left: 10px;"> '''''[[Commons:Category:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]'''''</div>
Which follows the Template:Commons syntax. Already tested most situations here. Thanks, Monkeyblu e 07:54, 17 June 2007 (UTC)
Title is "commonscat". Should be renamed to "commons_cat" because at present it can be read as "common scat". William Ortiz ( talk) 08:23, 26 January 2008 (UTC)
I think this should be made into a call to {{ commons}} to avoid redundancy:
{{commons|:Category:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}}}
which produces:
should work fine. Superm401 - Talk 11:56, 13 April 2008 (UTC)
move the <noinclude> right up to the same line as the }}}}}}}}}}. It's creating extra space when templates are stacked above or below it, or when 2 of these templates are stacked one on top of the other. 68.148.164.166 ( talk) 05:09, 2 July 2008 (UTC) 68.148.164.166 ( talk) 05:11, 2 July 2008 (UTC)
This says 'Commons has media related to'..., but what about cases where it is not about media, e.g. commons:Category:Users in Belgium, which is merely a category for users there? Richard001 ( talk) 10:36, 14 July 2008 (UTC)
{{ editprotected}} Can we wikilink Wikimedia Commons? {{ wikisource-author}} links to Wikisource. Skomorokh 15:44, 15 July 2008 (UTC)
{{
editprotected}}
The commons logo should link to the image; we already have a link to the main page in the template. Please add: link=commons:Special:Search/{{PAGENAME}}|Commons
to the Commons logo. Thanks--
penubag (
talk)
20:45, 6 December 2008 (UTC)
{{ editprotected}}
Hi, I think the wording of these two templates should be changed to show that the first relates to a gallery and the second to a category. "Wikimedia Commons has a gallery of images related to Ivan the Terrible" and "Wikimedia Commons has a category of images related to Ivan the Terrible" would help to differentiate. Currently they appear identical in an article. Thanks Rotational ( talk) 06:43, 13 January 2009 (UTC)
{{
edit protected}}
template.
Stifle (
talk)
14:59, 16 January 2009 (UTC)I can't see that anyone would object to clarifying what is obviously an unintended bit of confusion....... Surely it would fall in the category "uncontroversial" in the sense that it is used in the lead paragraph "if the proposal is uncontroversial" Rotational ( talk) 22:17, 18 January 2009 (UTC)
If there is no practical difference between a gallery and a category, then why maintain the illusion of a difference? Rather simplify and have only one, otherwise the system becomes even more muddled. Rotational ( talk) 21:21, 19 January 2009 (UTC)
I don't know if something was changed recently, but this template is displaying incorrectly in the polycarbonate article. The box is extending across the whole screen. Wizard191 ( talk) 19:13, 6 February 2009 (UTC)
{{ editprotected}}
Please add |position={{{position|}}}
after {{commons
, so this template can be used on the left side too. Thanks. —
Ms2ger (
talk)
18:16, 14 February 2009 (UTC)
I noticed the template was moved from "Commons cat" to "Commons category" the other day. Have I missed a discussion somewhere, because it seems a large step to take with no consensus? I see it rather pointless, when this template is used on so many pages, to move it, when most people will know what Commons cat is anyway. Arriva436 talk/ contribs 15:57, 17 July 2009 (UTC)
OK, thanks very much! All fair points, particularly the standardisation issue. Thanks for the reply. May I suggest next time you do something like this though you leave a quick note on the talk page first, just to avoid any confusion? Arriva436 talk/ contribs 20:56, 25 July 2009 (UTC)
Is it possible to change size of the box to line up with Infobox. Infobox is, I think, 250px wide. Also is it possible to add
<br>
, inside "Wikimedia Commons has media related to:" after to:, to have the "Category" line below -- WlaKom ( talk) 23:32, 7 August 2009 (UTC)
Please see
Inner_German_border#External links and consider correcting the unclosed bold in the template, thanks.
Fifelfoo (
talk)
08:39, 26 October 2009 (UTC)
The syntax in all these templates should appear the same:
Fix 174.3.110.108 ( talk) 05:35, 7 March 2010 (UTC)
Hi! I wish to inform you that I asked here the approval for a bot able to add, in few very obivious cases and after appropriate checks on Wikimedia Commons, the templates {{ commons}} and {{ commons category}}. For details or questions please check Wikipedia:Bots/Requests for approval/FrescoBot 6. -- Basilicofresco ( msg) 10:39, 20 August 2010 (UTC)
I noted that here a user removed {{ Commons cat}} due the concurring presence of {{ Sister project links}}. In my opinion it should not affect or discurage the use of {{ Commons category}} or {{ Commons}} because {{ Sister project links}} simply "provides links to the 'Search' page on the various Wikimedia sister projects". That means that it does not grant that any related content actually exist, it is just a (blind) guess. {{ Commons}} and {{ Commons cat}} instead state that Wikimedia Commons actually has media related to the subject and provide a link to it. This is a precious information. What do you think about it? -- Basilicofresco ( msg) 18:47, 15 November 2010 (UTC)
21-Nov-2010: I have added subheaders above as "Topics from 2006" (etc.) to emphasize the dates of topics in the talk-page. Older topics might still apply, but using the year headers helps to focus on more current issues as well. The topic-year boundaries were located by searching from bottom for the prior year#. - Wikid77 ( talk) 19:46, 21 November 2010 (UTC)
21-Nov-2010: Bug fix: This Template:Commons category needs to restore use of the standard keyword "align=left" known universally across the entire Earth due to the word "align" being a long-term keyword in HTML and World Wide Web usage. Apparently, when Commonscat (with align=left) was re-re-re-redesigned in February 2009, someone favored the word "position" to replace "align=left". Now, there's the danger someone else might want "side=left" as yet another redesign, unless forced to meet standard keywords, such as "align=left" (and "align=right" etc.). Fortunately, both keywords ("align" & "position") can be allowed inside the template, without incurring a resource drain for template usage. Simply check for either keyword inside the template, as with:
The use of "align" as the outer keyword allows it to override the value of "position=right" just in case someone, new to Wikipedia, would of course assume to insert "align=left" while unaware of what-the-heck the parameter "position=right" does. When deprecating older keywords, it is advisable to give priority to new keywords, in the event that older keywords might be remnants buried in areas not seen, yet allow the new, obvious keywords to take effect without knowing the twisted past of unusual former keywords. Hence, the tactic has 2 steps: (1) to plan to use standard HTML keywords, and (2) empower new keywords to override any remnants of deprecated keywords.
The reason "align=left" is such an obvious standard, for a keyword, is because "align" has appeared in HTML markup language and World Wide Web usage for many, many years. Hence, "align" has become an international word for computer users specifying the alignment on a webpage. We know, from historical documents, such as issues of magazine " Die Gartenlaube", how people in other nations have readily adopted new technology words, for over 140 years. So, expect "align=left" to be easily understood world-wide, in usage with webpages on sister projects. - Wikid77 ( talk) 19:46, 21 November 2010 (UTC)
I propose a change in the wording from the current Wikimedia Commons has media related to
to the following: Wikimedia Commons may have media related to.
With the additions of thousands of pictures daily to Wikipedia Commons an editor could dutifully check for a related picture on Commons and not find any and therefore not add the template. A minute/day/month later someone could upload a picture to Commons that is related to the article, but have no idea that it would make a contribution to this particular article. If this simple word change was integrated then an editor could in good faith add the template to any article that he/she has a reasonable expectation of future media being made available on Commons. Then any future editor looking at the article could then with one click do a check to see if a picture is available.
I work with Communities (neighborhoods, boroughs, townships, cities, counties, states, countries) all have a reasonable expectation of pictures being added in the future. I am sure there are 100's (if not more) other topics in the same situation. Offhand I can think of these applications - films, food, roads, all transportation types, any article that a US government photo may be taken that is related, as they are in the public domain, animals. I could go on but I hope I have made my point.
--
RifeIdeas
Talk
18:32, 30 January 2011 (UTC)
Please see: Wikipedia_talk:Wikimedia_sister_projects#There.27s_gotta_be_a_better_way.-- Doug.( talk • contribs) 12:14, 22 August 2011 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please delete Jigme Singye Wangchuck on http://en.wikipedia.org/wiki/Category:Rice_University_alumni as he is not a Rice Alumnus. A correction has been made to his main Wikepedia entry stating that he has been confused with his cousin, who was a Rice alumnus. RiceResearch 16:22, 23 December 2011 (UTC)Jean Packard, Research Analyst at Rice University
{{
commons category}}
template). An article's categories are usually listed in the last section of the article (see
Help:Category), so all you needed to do was edit the article to remove that line,
like this. --
Redrose64 (
talk)
18:13, 23 December 2011 (UTC)Wikipedia:Templates_for_discussion/Log/2012_March_16#Link_templates_for_other_Wikimedia_projects. ASCIIn2Bme ( talk) 14:49, 16 March 2012 (UTC)
Maybe this made it wrong? Newone ( talk) 16:52, 31 July 2012 (UTC)
I reverted the doc which claimed "use colon to put this template all by itself". Simply you can stash it in the last section, regardless of the presence of the "external links" section, as written in WP:SIS#Where to place links. Or, you can use {{ commons-inline}} like:
-- Ahora ( talk) 07:41, 1 January 2013 (UTC)
Why is the category rendered in italics? (I think this occurs in {{ Commons}}.) {{ Commons-inline}}, IMO correctly, doesn't do that. -- Michael Bednarek ( talk) 10:23, 19 March 2013 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I'd like to add a snippet of code that would check for errors in the data stored on Wikidata. This won't change the page text in anyway, besides adding a tracking category. This would have the benefit of correcting errors that are present on Wikidata as well as errors that may exist here on the English Wikipedia. Wikidata data was imported from multiple wikis, so by identifying these errors, we can potentially correct them on multiple wikis extremely easily.
{{#if: {{#property:P373}} | {{#ifeq: {{#property:P373}} | {{#if:x| {{{1| {{PAGENAME}} }}} }} | | [[Category:Articles where the Commons category differs from Wikidata]] }}
I haven't created this category yet, so if the accepting admin could create it and add {{
hiddencat}}
to it.
Legoktm (
talk)
09:58, 24 April 2013 (UTC)
<!-- Some tracking categories to see if we're ready to switch to Wikidata --> {{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories. --> {{#if:{{#property:P373}} | {{#if:{{{1|}}} | {{#ifeq:{{#property:P373}}|{{{1|}}} | [[Category:Commons category with local link same as on Wikidata]] <!-- We want to end up here --> | [[Category:Commons category with local link different than on Wikidata]] <!-- Figure out the best link --> }} | {{#ifeq:{{#property:P373}}|{{PAGENAME}} | [[Category:Commons category with page title same as on Wikidata]] <!-- Ending up here is just fine --> | [[Category:Commons category with page title different than on Wikidata]] <!-- Figure out the best link here too --> }} }} | [[Category:Commons category without a link on Wikidata]] <!-- These we still need to import --> }} }}
I think it may be a good idea to extract this code to some generic template as similar stuff might need to be done in a number of other templates. -- DixonD ( talk) 19:41, 25 April 2013 (UTC)
Category:Ben & Jerry's matches with "Ben & Jerry's" so most titles with ampersands and apostrophes are listed as different than on Wikidata as false positives. -- Vriullop ( talk) 10:13, 30 April 2013 (UTC)
Why is the category being added every time someone uses Visual Editor (e.g. [1]) and is it really necessary? DrKiernan ( talk) 14:31, 24 July 2013 (UTC)
I think the colon should go. In prose writing, a colon separating (in this case) "related to" and the object is not accepted. Drmies ( talk) 21:02, 23 January 2012 (UTC)
{{
Commons}}
though.
Rich
Farmbrough,
14:31, 7 May 2012 (UTC).(Using some automation)![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please, update from sandbox. Parameter is encoded as a pagename via Lua avoiding false possitives in Category:Commons category with local link different than on Wikidata. See Wikipedia:Lua requests/Archive 3#Pagename and three special characters. Vriullop ( talk) 08:51, 28 September 2013 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
If you add {{commonscat}} with no additional parameters, then the link goes to [[Commons:Category:{{PAGENAME}}]]. The link should go to [[Commons:Category:{{#property:P373}}]] instead. The error is here:
|Category:{{#if:x| {{{1| {{PAGENAME}} }}} }}<!-- -->|{{{2|{{{1|{{PAGENAME}}}}}}}}<!--
These lines should probably be
|Category:{{#if:x| {{{1| {{#property:P373| {{PAGENAME}} }} }}} }}<!-- -->|{{{2|{{{1|{{#property:P373|{{PAGENAME}}}}}}}}}}<!--
or similar instead.
Example: The article Free Art License has {{ commonscat}} without additional parameters. d:Q152332 tells that the Commons category is Commons:Category:FAL, but the template links to Commons:Category:Free Art License instead. -- Stefan2 ( talk) 19:43, 6 October 2013 (UTC)
{{
edit protected}}
template. --
Redrose64 (
talk)
21:07, 6 October 2013 (UTC)
{{
commons category}}
is placed into one of the five subcats of ‹The
template
Category link is being
considered for merging.›
Category:Commons category Wikidata tracking categories; those without the parameter are also placed into ‹The
template
Category link is being
considered for merging.›
Category:Commons category template with no category set. The aim is to depopulate the latter and certain subcats of the former - possibly as many as four of the five, the exception being ‹The
template
Category link is being
considered for merging.›
Category:Commons category with local link same as on Wikidata. --
Redrose64 (
talk)
21:56, 6 October 2013 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
In nearly all articles I've worked on, the template is placed in the "references" section (usually the last section on the page in articles without an "external links" section).
As soon as references are displayed in columns, though, the template placement becomes a problem, as it is then in one of the phohibited placements that shows up as an additional column by itself. And in articles with a multitude of references, columns display better.
It works and looks better in the second-to-last section, always the "See also" section. Here it not only displays perfectly and fills up some white space in the process, but it's also right on topic as a "see also" item. See
South African Class 6E1, Series 10 for a trial run example.
Would there be any
WP:MOS objections to making this standard practice?
André Kritzinger (
talk)
11:28, 19 November 2013 (UTC)
Almost the first thing on the Template page is a flag (bar? label? banner?) that says
(I think the link is an internal wikilink ([[...]]
), but I'm using an external link ([...]
) here, with the URL as it comes out in the rendered page, namely
)
It yields the wikiversion of 404, "This page does not currently exist." -- Thnidu ( talk) 05:24, 18 May 2014 (UTC)
{{PAGENAME}}
. Since {{PAGENAME}}
at
Template:Commons category is Commons category, it constructs the link accordingly. Part of this is done in {{
commons}}
, which uses the internal link syntax, so you get [[commons:Category:{{PAGENAME}}]]
→
commons:Category:Commons category. But if used without parameters on an article like
Paris, you get
commons:Category:Paris --
Redrose64 (
talk)
11:24, 18 May 2014 (UTC)
Hello, would it possible to adjust formatting of the template, so names the introductory text will be displayed as follows
as also recently processed on the similar template such as Sister project links, please? As the moment in most cases the names result in appearing in two separate lines with first names of authors being displayed at the end of one line, while their surnames at the beginning of the following, for a change ( see an example). MiewEN ( talk) 10:17, 7 November 2014 (UTC)
FYI, ‹The template Category link is being considered for merging.› Category:Commons category template with no category set, which this template populates, has been nominated for deletion. Interested editors may comment at the deletion discussion. DH85868993 ( talk) 10:20, 21 August 2015 (UTC)
Template:Commons category#Location currently says:
... this template should be placed at the top of the ==External links== section, or at the top of the last section on the page, if no external links section exists.
However given that:
... box-type templates such as
{{ Commons}}
... have to be put at the beginning of the last section of the article (which is not necessarily the "External links" section) ...
Wouldn't it be simpler to just remove the reference to "external links" from Template:Commons category#Location? E.g.:
... this template should be placed at the top of the last section on the page.
Likewise for
Template:Commons#Location (and possibly other similar?)
Mitch Ames (
talk)
03:00, 1 August 2015 (UTC)
Hello! Regarding this edit, I do find that reasonable because it prevents issues when articles become renamed, which doesn't happen that often, though. However, other editors seem to disagree on that (pinging Thumperward), but we even have a bot ( AvicBot) that goes through Category:Commons category template with no category set and sets the category names. Should we discuss the whole thing? — Dsimic ( talk | contribs) 05:14, 18 September 2015 (UTC)
I've had multiple long and pointless discussions with Dsimic in the past about his deeply idiosyncratic approach to explicit rather than implicit coding (he completely rejects WP:NOTBROKEN for instance) and am not prepared to hash that back out here. Anyway, the CfD for the associated category was inconclusive. That strongly suggests that there should not, at this time, be any sort of move to mandate that which was not previously mandated, especially when WikiData (or out-of-band systems in general) are the best solution in the long run. I'll be changing the documentation back shortly, as it's obviously distasteful to enact changes like this by fair accompli. Chris Cunningham (user:thumperward) ( talk) 09:31, 18 September 2015 (UTC)
I've put code on the /sandbox that will use the category defined in Wikidata if no parameter is given. The exact logic needs to be defined. It will check in this order:
Any comments? — Martin ( MSGJ · talk) 11:27, 17 September 2015 (UTC)
Someone removed this template here citing lack of mobile visibility as a reason. Is the mobile invisibility intentional? If not, please sort it out for this template that is used on 500.000+ pages, or clearly deprecate it. Is there any (more general?) discussion about this issue? In the mean while I'll restore it to the page where it was removed. Clearly any issues are not to be resolved by one-by-one removals of the template. -- Francis Schonken ( talk) 08:31, 13 October 2015 (UTC)
sistersitebox
class: .content .sistersitebox, .content .tmbox, .content .ambox, .content #coordinates, .content .navbox, .content .vertical-navbox, .content .topicon, .content .metadata {
display: none !important;
}
(outdent)As one can see from the edit diff, I did not remove the template. I converted the box form of it to the inline form of it to allow mobile visibility. The point is that transwiki links are vital to Wikimedia projects and should be visible on both mobile mode and desktop mode throughout Wikimedia projects. As far as I know Wiktionary and Wikipedia are the only projects were box forms of transwiki templates are used as an alternative to inline text forms of transwiki templates. -- Omnipaedista ( talk) 11:57, 13 October 2015 (UTC)
This section is to discuss the workflow of transferring data to Wikidata and resolving conflicts. — Martin ( MSGJ · talk) 15:31, 22 September 2015 (UTC)
I don't think we need these tracking categories now. If P373 is defined and no parameter is passed then it will use P373and ignore the PAGENAME. — Martin ( MSGJ · talk) 15:53, 22 September 2015 (UTC)
Many categories that use this template have too much white space. For example: Category:Education in Missouri. Can this e fixed? Ottawahitech ( talk) 01:11, 5 December 2015 (UTC)please ping me
Please note that I opened an RfC on possible usage of Wikidata in representing Commons categories, as linked above.-- Ymblanter ( talk) 11:46, 10 January 2016 (UTC)
I propose to track uses of this template that don't have an explicit Commons category set. The purpose is to prevent page moves from changing a valid use to an invalid use, by filling in the parameter 1. Code is in the
sandbox. You can try it in the newly created
testcases page.
Rich
Farmbrough,
01:47, 7 May 2012 (UTC).(Using some automation)
{{
Commons category}}
or {{
Commons category-inline}}
. Please give an example where one is shown; or where one was shown in the past but has subsequently been fixed. --
Redrose64 (
talk)
19:47, 10 March 2016 (UTC)
{{
Commons category}}
or {{
Commons category-inline}}
link strings (and all variations), or if not found, the name of the page, then cross reference to a list of wikimedia Commons page names to eliminate all the entries that have non-redirected wikimedia pages, which would then leave just the problematic links that need to be fixed? Is there a reason this wouldn't work? A separate listing could then be made of just those pointing to redirects, so they too can be fixed. By relying on the text in the tag rather than letting the tag generate it automatically, it greatly increases the likelihood of a typo, which unless every page is then rechecked, will point to the non-page again.
- NiD.29 (
talk)
22:47, 10 March 2016 (UTC)
This template isn't displaying properly in my browser over the last day, but it doesn't appear to be the fault of the template... It shows the text small and without the icon when viewed with the rest of the article, but if I preview the section on its own while editing, it's fine.
czar
23:00, 20 July 2016 (UTC)
Please provide input at Wikipedia:Categories_for_discussion/Log/2016_December_21#Category:Commons_category_with_page_title_same_as_on_Wikidata. -- Izno ( talk) 16:37, 13 January 2017 (UTC)
The Commons "pages" are, to put it mildly, redundant, but they are now what the "Commons media" templates link to by default. This often makes it hard to find good media related to a subject, because these pages are more often than not underpopulated and badly maintained. So I think it would be better to make the default link the category rather than pages. Pages can be linked to manually, once someone has actually populated them with a range of representative images, not before. Any thoughts? I see there have been discussions about disabling pages entirely, but I think that is too extreme, but I do agree they are mainly useless. FunkMonk ( talk) 17:29, 31 July 2017 (UTC)
It seems that due to the limited display width of this template, and the length of the default text shown, it is very common for the subject (comprising of two or three short words) to be broken up over several lines. Here is a (simplified) example from Thomas Blatt:
While this is inevitable to some extent, I think we should try and at least make this render better for the most common case. The easiest solution would be match rendering of Template:Uses Wikidata, which effectively avoids the issue by always putting the subject on its own line. However, I can understand if perhaps want to keep the rendering the unchanged for shorter subject names given they do fit on the same line, such as the following example:
We also don't want to enable any non-wrapping/no-break mode because longer titles should eventually be broken up over several lines as needed.
Ideas to solve this:
Krinkle ( talk) 02:59, 9 October 2017 (UTC)
unmodified | ![]() Wikimedia Commons has media related to
Matches of the UEFA European Championship. |
{{nowrap|2nd parameter}} | ![]() Wikimedia Commons has media related to
Matches of the UEFA European Championship. |
between words | ![]() Wikimedia Commons has media related to
Matches of the UEFA European Championship. |
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 |
It would be nice if this template supported an optional title parameter, for cases where the commonscat has an unfortunate name. For example, Generic Mapping Tools would really benefit from a link to the commons category commons:Category:GFDL-GMT. But using this template one is stuck with text explicity referring to the rather ungainly GFDL-GMT. Would it be possible to add a parameter to allow us to override the display name of the link in circumstances like these (perhaps using markup like {{commonscat|GFDL-GMT|Generic Mapping Tools}})? -- Finlay McWalter | Talk 12:42, 5 May 2006 (UTC)
{{Commonscat|GFDL-GMT}}
, but this changes the visible text as well. Is that what you wanted? If not, I suggest you add {{
editprotected}} to this talk page, along with the exact change you want made to the template page, i.e. the code as well as the result. That'll make it easier and hopefully quicker as well.
SeventyThree(
Talk)
05:47, 13 May 2006 (UTC)Please add:
[[es:Plantilla:Commonscat]] -- elwikipedista 16:22, 20 August 2006 (UTC)
Please, also add the following: [[ca:Template:Commonscat]] [[cs:Template:Commonscat]] [[eo:Template:Commonscat]] [[id:Template:Commonscat]] [[io:Template:Commonscat]] [[is:Template:Commonscat]] [[lt:Template:Commonscat]] [[lv:Template:Commonscat]] [[ms:Template:Commonscat]] [[oc:Template:Commonscat]] [[pl:Template:Commonscat]] [[ro:Template:Commonscat]] [[simple:Template:Commonscat]] [[sl:Template:Commonscat]] [[su:Template:Commonscat]] [[tr:Şablon:CommonsKat]]
Please add interwiki link for Serbian language Wikipedia. The link is:
[[sr:Шаблон:Commonscat]]
Thank you. -- Branislav Jovanovic 16:10, 30 August 2006 (UTC)
Thank you again. -- Branislav Jovanovic 06:20, 10 October 2006 (UTC)
Please, correct sl: to
sl:Predloga:Kategorija v Zbirki. Thanks. --
Eleassar
my talk
15:13, 18 January 2007 (UTC)
In the course of adding another image to
Fremont Bridge (Portland), I discovered a peculiar side effect of {{
Commonscat}}. I intended the image appear midway down the left side (as in the present article version), but putting [[Image:Fremont bridge pedal 1230.jpeg | thumb | left]]
in the middle of the article mysteriously showed the thumb at the bottom left.
After several confused attempts, I surrendered and placed it at the top left as that seemed the only other place allowed. Another article did it correctly somehow, so that led to determining {{ Commonscat}} "drags" all images below it (in the wikitext) to the bottom of the article. Is this intentional? If so, perhaps the template page could mention the recommended placement of the template reference. — EncMstr 05:25, 10 September 2006 (UTC)
de:Vorlage:Commons2 has been deleted -- 84.137.17.88 12:20, 4 October 2006 (UTC)
See title. Simply south 21:26, 8 November 2006 (UTC)
The size of the images is just a bit different, you don't even see it if you don't see the templates next to eachother. But for the perfectionists among us... maybe the size could be made the same. —The preceding unsigned comment was added by Bart v M ( talk • contribs) 15:33, 5 December 2006 (UTC).
Yes, this template is slightly narrower width than the other Wikimedia templates. Could someone please fix. -- Pmsyyz 01:53, 3 January 2007 (UTC)
<div class="infobox sisterproject">[[Image:Commons-logo.svg|left|50px]] <div style="margin-left: 60px;">[[Wikimedia Commons]] has media related to: <div style="margin-left: 10px;"> '''''[[Commons:Category:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]'''''</div> </div> </div>
{{ editprotected}} Please update the interwikis with a copy/paste of the following (easier than only listing the changes):
<!-- interwiki --> [[af:Sjabloon:CommonsKategorie]] [[als:Vorlage:Commonscat]] [[az:Şablon:CommonsKat]] [[bg:Шаблон:Commonscat]] [[ca:Plantilla:Commonscat]] [[cs:Šablona:Commonscat]] [[da:Skabelon:Commonscat]] [[eo:Ŝablono:Commonscat]] [[eu:Txantiloi:Commonskat]] [[fr:Modèle:CommonsCat]] [[ko:틀:Commonscat]] [[hr:Predložak:Commonscat]] [[io:Template:Commonscat]] [[id:Templat:Commonscat]] [[os:Шаблон:Commonscat]] [[is:Snið:Commonscat]] [[lv:Veidne:Commonscat]] [[lt:Šablonas:Commonscat]] [[hu:Sablon:Közvagyonkat]] [[mk:Шаблон:Ризница-врска]] [[ms:Templat:Commonscat]] [[nl:Sjabloon:Commonscatklein]] [[ja:Template:Commonscat]] [[oc:Modèl:Commonscat]] [[pl:Szablon:Commonscat]] [[pt:Predefinição:Commonscat]] [[ro:Format:Commonscat]] [[ru:Шаблон:Commonscat]] [[simple:Template:Commonscat]] [[sk:Šablóna:Commonscat]] [[sl:Predloga:Kategorija v Zbirki]] [[sr:Шаблон:Commonscat]] [[sh:Template:Commonscat]] [[su:Citakan:Commonscat]] [[fi:Malline:Commonscat]] [[sv:Mall:Commonscat-box]] [[th:แม่แบบ:Commonscat]] [[vi:Tiêu bản:Commonscat]] [[tr:Şablon:CommonsKat]] [[uk:Шаблон:Commonscat]] [[zh-yue:Template:同享類]] [[zh:Template:Commonscat]]
They were all checked and sorted. — Robin des Bois ♘ ➳ ✉ 02:42, 11 April 2007 (UTC)
{{ editprotected}}
Dear administrator, please add the following interwiki link:
Thank you in advance, Julian 11:21, 29 May 2007 (UTC)
{{ Editprotected}}Could we change the template to allow piped links? eg.
<div style="margin-left: 10px;"> '''''[[Commons:Category:{{{1|{{PAGENAME}}}}}|{{{1|{{PAGENAME}}}}}]]'''''</div>
to
<div style="margin-left: 10px;"> '''''[[Commons:Category:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}]]'''''</div>
Which follows the Template:Commons syntax. Already tested most situations here. Thanks, Monkeyblu e 07:54, 17 June 2007 (UTC)
Title is "commonscat". Should be renamed to "commons_cat" because at present it can be read as "common scat". William Ortiz ( talk) 08:23, 26 January 2008 (UTC)
I think this should be made into a call to {{ commons}} to avoid redundancy:
{{commons|:Category:{{{1|{{PAGENAME}}}}}|{{{2|{{{1|{{PAGENAME}}}}}}}}}}
which produces:
should work fine. Superm401 - Talk 11:56, 13 April 2008 (UTC)
move the <noinclude> right up to the same line as the }}}}}}}}}}. It's creating extra space when templates are stacked above or below it, or when 2 of these templates are stacked one on top of the other. 68.148.164.166 ( talk) 05:09, 2 July 2008 (UTC) 68.148.164.166 ( talk) 05:11, 2 July 2008 (UTC)
This says 'Commons has media related to'..., but what about cases where it is not about media, e.g. commons:Category:Users in Belgium, which is merely a category for users there? Richard001 ( talk) 10:36, 14 July 2008 (UTC)
{{ editprotected}} Can we wikilink Wikimedia Commons? {{ wikisource-author}} links to Wikisource. Skomorokh 15:44, 15 July 2008 (UTC)
{{
editprotected}}
The commons logo should link to the image; we already have a link to the main page in the template. Please add: link=commons:Special:Search/{{PAGENAME}}|Commons
to the Commons logo. Thanks--
penubag (
talk)
20:45, 6 December 2008 (UTC)
{{ editprotected}}
Hi, I think the wording of these two templates should be changed to show that the first relates to a gallery and the second to a category. "Wikimedia Commons has a gallery of images related to Ivan the Terrible" and "Wikimedia Commons has a category of images related to Ivan the Terrible" would help to differentiate. Currently they appear identical in an article. Thanks Rotational ( talk) 06:43, 13 January 2009 (UTC)
{{
edit protected}}
template.
Stifle (
talk)
14:59, 16 January 2009 (UTC)I can't see that anyone would object to clarifying what is obviously an unintended bit of confusion....... Surely it would fall in the category "uncontroversial" in the sense that it is used in the lead paragraph "if the proposal is uncontroversial" Rotational ( talk) 22:17, 18 January 2009 (UTC)
If there is no practical difference between a gallery and a category, then why maintain the illusion of a difference? Rather simplify and have only one, otherwise the system becomes even more muddled. Rotational ( talk) 21:21, 19 January 2009 (UTC)
I don't know if something was changed recently, but this template is displaying incorrectly in the polycarbonate article. The box is extending across the whole screen. Wizard191 ( talk) 19:13, 6 February 2009 (UTC)
{{ editprotected}}
Please add |position={{{position|}}}
after {{commons
, so this template can be used on the left side too. Thanks. —
Ms2ger (
talk)
18:16, 14 February 2009 (UTC)
I noticed the template was moved from "Commons cat" to "Commons category" the other day. Have I missed a discussion somewhere, because it seems a large step to take with no consensus? I see it rather pointless, when this template is used on so many pages, to move it, when most people will know what Commons cat is anyway. Arriva436 talk/ contribs 15:57, 17 July 2009 (UTC)
OK, thanks very much! All fair points, particularly the standardisation issue. Thanks for the reply. May I suggest next time you do something like this though you leave a quick note on the talk page first, just to avoid any confusion? Arriva436 talk/ contribs 20:56, 25 July 2009 (UTC)
Is it possible to change size of the box to line up with Infobox. Infobox is, I think, 250px wide. Also is it possible to add
<br>
, inside "Wikimedia Commons has media related to:" after to:, to have the "Category" line below -- WlaKom ( talk) 23:32, 7 August 2009 (UTC)
Please see
Inner_German_border#External links and consider correcting the unclosed bold in the template, thanks.
Fifelfoo (
talk)
08:39, 26 October 2009 (UTC)
The syntax in all these templates should appear the same:
Fix 174.3.110.108 ( talk) 05:35, 7 March 2010 (UTC)
Hi! I wish to inform you that I asked here the approval for a bot able to add, in few very obivious cases and after appropriate checks on Wikimedia Commons, the templates {{ commons}} and {{ commons category}}. For details or questions please check Wikipedia:Bots/Requests for approval/FrescoBot 6. -- Basilicofresco ( msg) 10:39, 20 August 2010 (UTC)
I noted that here a user removed {{ Commons cat}} due the concurring presence of {{ Sister project links}}. In my opinion it should not affect or discurage the use of {{ Commons category}} or {{ Commons}} because {{ Sister project links}} simply "provides links to the 'Search' page on the various Wikimedia sister projects". That means that it does not grant that any related content actually exist, it is just a (blind) guess. {{ Commons}} and {{ Commons cat}} instead state that Wikimedia Commons actually has media related to the subject and provide a link to it. This is a precious information. What do you think about it? -- Basilicofresco ( msg) 18:47, 15 November 2010 (UTC)
21-Nov-2010: I have added subheaders above as "Topics from 2006" (etc.) to emphasize the dates of topics in the talk-page. Older topics might still apply, but using the year headers helps to focus on more current issues as well. The topic-year boundaries were located by searching from bottom for the prior year#. - Wikid77 ( talk) 19:46, 21 November 2010 (UTC)
21-Nov-2010: Bug fix: This Template:Commons category needs to restore use of the standard keyword "align=left" known universally across the entire Earth due to the word "align" being a long-term keyword in HTML and World Wide Web usage. Apparently, when Commonscat (with align=left) was re-re-re-redesigned in February 2009, someone favored the word "position" to replace "align=left". Now, there's the danger someone else might want "side=left" as yet another redesign, unless forced to meet standard keywords, such as "align=left" (and "align=right" etc.). Fortunately, both keywords ("align" & "position") can be allowed inside the template, without incurring a resource drain for template usage. Simply check for either keyword inside the template, as with:
The use of "align" as the outer keyword allows it to override the value of "position=right" just in case someone, new to Wikipedia, would of course assume to insert "align=left" while unaware of what-the-heck the parameter "position=right" does. When deprecating older keywords, it is advisable to give priority to new keywords, in the event that older keywords might be remnants buried in areas not seen, yet allow the new, obvious keywords to take effect without knowing the twisted past of unusual former keywords. Hence, the tactic has 2 steps: (1) to plan to use standard HTML keywords, and (2) empower new keywords to override any remnants of deprecated keywords.
The reason "align=left" is such an obvious standard, for a keyword, is because "align" has appeared in HTML markup language and World Wide Web usage for many, many years. Hence, "align" has become an international word for computer users specifying the alignment on a webpage. We know, from historical documents, such as issues of magazine " Die Gartenlaube", how people in other nations have readily adopted new technology words, for over 140 years. So, expect "align=left" to be easily understood world-wide, in usage with webpages on sister projects. - Wikid77 ( talk) 19:46, 21 November 2010 (UTC)
I propose a change in the wording from the current Wikimedia Commons has media related to
to the following: Wikimedia Commons may have media related to.
With the additions of thousands of pictures daily to Wikipedia Commons an editor could dutifully check for a related picture on Commons and not find any and therefore not add the template. A minute/day/month later someone could upload a picture to Commons that is related to the article, but have no idea that it would make a contribution to this particular article. If this simple word change was integrated then an editor could in good faith add the template to any article that he/she has a reasonable expectation of future media being made available on Commons. Then any future editor looking at the article could then with one click do a check to see if a picture is available.
I work with Communities (neighborhoods, boroughs, townships, cities, counties, states, countries) all have a reasonable expectation of pictures being added in the future. I am sure there are 100's (if not more) other topics in the same situation. Offhand I can think of these applications - films, food, roads, all transportation types, any article that a US government photo may be taken that is related, as they are in the public domain, animals. I could go on but I hope I have made my point.
--
RifeIdeas
Talk
18:32, 30 January 2011 (UTC)
Please see: Wikipedia_talk:Wikimedia_sister_projects#There.27s_gotta_be_a_better_way.-- Doug.( talk • contribs) 12:14, 22 August 2011 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please delete Jigme Singye Wangchuck on http://en.wikipedia.org/wiki/Category:Rice_University_alumni as he is not a Rice Alumnus. A correction has been made to his main Wikepedia entry stating that he has been confused with his cousin, who was a Rice alumnus. RiceResearch 16:22, 23 December 2011 (UTC)Jean Packard, Research Analyst at Rice University
{{
commons category}}
template). An article's categories are usually listed in the last section of the article (see
Help:Category), so all you needed to do was edit the article to remove that line,
like this. --
Redrose64 (
talk)
18:13, 23 December 2011 (UTC)Wikipedia:Templates_for_discussion/Log/2012_March_16#Link_templates_for_other_Wikimedia_projects. ASCIIn2Bme ( talk) 14:49, 16 March 2012 (UTC)
Maybe this made it wrong? Newone ( talk) 16:52, 31 July 2012 (UTC)
I reverted the doc which claimed "use colon to put this template all by itself". Simply you can stash it in the last section, regardless of the presence of the "external links" section, as written in WP:SIS#Where to place links. Or, you can use {{ commons-inline}} like:
-- Ahora ( talk) 07:41, 1 January 2013 (UTC)
Why is the category rendered in italics? (I think this occurs in {{ Commons}}.) {{ Commons-inline}}, IMO correctly, doesn't do that. -- Michael Bednarek ( talk) 10:23, 19 March 2013 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I'd like to add a snippet of code that would check for errors in the data stored on Wikidata. This won't change the page text in anyway, besides adding a tracking category. This would have the benefit of correcting errors that are present on Wikidata as well as errors that may exist here on the English Wikipedia. Wikidata data was imported from multiple wikis, so by identifying these errors, we can potentially correct them on multiple wikis extremely easily.
{{#if: {{#property:P373}} | {{#ifeq: {{#property:P373}} | {{#if:x| {{{1| {{PAGENAME}} }}} }} | | [[Category:Articles where the Commons category differs from Wikidata]] }}
I haven't created this category yet, so if the accepting admin could create it and add {{
hiddencat}}
to it.
Legoktm (
talk)
09:58, 24 April 2013 (UTC)
<!-- Some tracking categories to see if we're ready to switch to Wikidata --> {{#switch:{{NAMESPACE}}||{{ns:14}}=<!-- Only articles and categories. --> {{#if:{{#property:P373}} | {{#if:{{{1|}}} | {{#ifeq:{{#property:P373}}|{{{1|}}} | [[Category:Commons category with local link same as on Wikidata]] <!-- We want to end up here --> | [[Category:Commons category with local link different than on Wikidata]] <!-- Figure out the best link --> }} | {{#ifeq:{{#property:P373}}|{{PAGENAME}} | [[Category:Commons category with page title same as on Wikidata]] <!-- Ending up here is just fine --> | [[Category:Commons category with page title different than on Wikidata]] <!-- Figure out the best link here too --> }} }} | [[Category:Commons category without a link on Wikidata]] <!-- These we still need to import --> }} }}
I think it may be a good idea to extract this code to some generic template as similar stuff might need to be done in a number of other templates. -- DixonD ( talk) 19:41, 25 April 2013 (UTC)
Category:Ben & Jerry's matches with "Ben & Jerry's" so most titles with ampersands and apostrophes are listed as different than on Wikidata as false positives. -- Vriullop ( talk) 10:13, 30 April 2013 (UTC)
Why is the category being added every time someone uses Visual Editor (e.g. [1]) and is it really necessary? DrKiernan ( talk) 14:31, 24 July 2013 (UTC)
I think the colon should go. In prose writing, a colon separating (in this case) "related to" and the object is not accepted. Drmies ( talk) 21:02, 23 January 2012 (UTC)
{{
Commons}}
though.
Rich
Farmbrough,
14:31, 7 May 2012 (UTC).(Using some automation)![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Please, update from sandbox. Parameter is encoded as a pagename via Lua avoiding false possitives in Category:Commons category with local link different than on Wikidata. See Wikipedia:Lua requests/Archive 3#Pagename and three special characters. Vriullop ( talk) 08:51, 28 September 2013 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
If you add {{commonscat}} with no additional parameters, then the link goes to [[Commons:Category:{{PAGENAME}}]]. The link should go to [[Commons:Category:{{#property:P373}}]] instead. The error is here:
|Category:{{#if:x| {{{1| {{PAGENAME}} }}} }}<!-- -->|{{{2|{{{1|{{PAGENAME}}}}}}}}<!--
These lines should probably be
|Category:{{#if:x| {{{1| {{#property:P373| {{PAGENAME}} }} }}} }}<!-- -->|{{{2|{{{1|{{#property:P373|{{PAGENAME}}}}}}}}}}<!--
or similar instead.
Example: The article Free Art License has {{ commonscat}} without additional parameters. d:Q152332 tells that the Commons category is Commons:Category:FAL, but the template links to Commons:Category:Free Art License instead. -- Stefan2 ( talk) 19:43, 6 October 2013 (UTC)
{{
edit protected}}
template. --
Redrose64 (
talk)
21:07, 6 October 2013 (UTC)
{{
commons category}}
is placed into one of the five subcats of ‹The
template
Category link is being
considered for merging.›
Category:Commons category Wikidata tracking categories; those without the parameter are also placed into ‹The
template
Category link is being
considered for merging.›
Category:Commons category template with no category set. The aim is to depopulate the latter and certain subcats of the former - possibly as many as four of the five, the exception being ‹The
template
Category link is being
considered for merging.›
Category:Commons category with local link same as on Wikidata. --
Redrose64 (
talk)
21:56, 6 October 2013 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
In nearly all articles I've worked on, the template is placed in the "references" section (usually the last section on the page in articles without an "external links" section).
As soon as references are displayed in columns, though, the template placement becomes a problem, as it is then in one of the phohibited placements that shows up as an additional column by itself. And in articles with a multitude of references, columns display better.
It works and looks better in the second-to-last section, always the "See also" section. Here it not only displays perfectly and fills up some white space in the process, but it's also right on topic as a "see also" item. See
South African Class 6E1, Series 10 for a trial run example.
Would there be any
WP:MOS objections to making this standard practice?
André Kritzinger (
talk)
11:28, 19 November 2013 (UTC)
Almost the first thing on the Template page is a flag (bar? label? banner?) that says
(I think the link is an internal wikilink ([[...]]
), but I'm using an external link ([...]
) here, with the URL as it comes out in the rendered page, namely
)
It yields the wikiversion of 404, "This page does not currently exist." -- Thnidu ( talk) 05:24, 18 May 2014 (UTC)
{{PAGENAME}}
. Since {{PAGENAME}}
at
Template:Commons category is Commons category, it constructs the link accordingly. Part of this is done in {{
commons}}
, which uses the internal link syntax, so you get [[commons:Category:{{PAGENAME}}]]
→
commons:Category:Commons category. But if used without parameters on an article like
Paris, you get
commons:Category:Paris --
Redrose64 (
talk)
11:24, 18 May 2014 (UTC)
Hello, would it possible to adjust formatting of the template, so names the introductory text will be displayed as follows
as also recently processed on the similar template such as Sister project links, please? As the moment in most cases the names result in appearing in two separate lines with first names of authors being displayed at the end of one line, while their surnames at the beginning of the following, for a change ( see an example). MiewEN ( talk) 10:17, 7 November 2014 (UTC)
FYI, ‹The template Category link is being considered for merging.› Category:Commons category template with no category set, which this template populates, has been nominated for deletion. Interested editors may comment at the deletion discussion. DH85868993 ( talk) 10:20, 21 August 2015 (UTC)
Template:Commons category#Location currently says:
... this template should be placed at the top of the ==External links== section, or at the top of the last section on the page, if no external links section exists.
However given that:
... box-type templates such as
{{ Commons}}
... have to be put at the beginning of the last section of the article (which is not necessarily the "External links" section) ...
Wouldn't it be simpler to just remove the reference to "external links" from Template:Commons category#Location? E.g.:
... this template should be placed at the top of the last section on the page.
Likewise for
Template:Commons#Location (and possibly other similar?)
Mitch Ames (
talk)
03:00, 1 August 2015 (UTC)
Hello! Regarding this edit, I do find that reasonable because it prevents issues when articles become renamed, which doesn't happen that often, though. However, other editors seem to disagree on that (pinging Thumperward), but we even have a bot ( AvicBot) that goes through Category:Commons category template with no category set and sets the category names. Should we discuss the whole thing? — Dsimic ( talk | contribs) 05:14, 18 September 2015 (UTC)
I've had multiple long and pointless discussions with Dsimic in the past about his deeply idiosyncratic approach to explicit rather than implicit coding (he completely rejects WP:NOTBROKEN for instance) and am not prepared to hash that back out here. Anyway, the CfD for the associated category was inconclusive. That strongly suggests that there should not, at this time, be any sort of move to mandate that which was not previously mandated, especially when WikiData (or out-of-band systems in general) are the best solution in the long run. I'll be changing the documentation back shortly, as it's obviously distasteful to enact changes like this by fair accompli. Chris Cunningham (user:thumperward) ( talk) 09:31, 18 September 2015 (UTC)
I've put code on the /sandbox that will use the category defined in Wikidata if no parameter is given. The exact logic needs to be defined. It will check in this order:
Any comments? — Martin ( MSGJ · talk) 11:27, 17 September 2015 (UTC)
Someone removed this template here citing lack of mobile visibility as a reason. Is the mobile invisibility intentional? If not, please sort it out for this template that is used on 500.000+ pages, or clearly deprecate it. Is there any (more general?) discussion about this issue? In the mean while I'll restore it to the page where it was removed. Clearly any issues are not to be resolved by one-by-one removals of the template. -- Francis Schonken ( talk) 08:31, 13 October 2015 (UTC)
sistersitebox
class: .content .sistersitebox, .content .tmbox, .content .ambox, .content #coordinates, .content .navbox, .content .vertical-navbox, .content .topicon, .content .metadata {
display: none !important;
}
(outdent)As one can see from the edit diff, I did not remove the template. I converted the box form of it to the inline form of it to allow mobile visibility. The point is that transwiki links are vital to Wikimedia projects and should be visible on both mobile mode and desktop mode throughout Wikimedia projects. As far as I know Wiktionary and Wikipedia are the only projects were box forms of transwiki templates are used as an alternative to inline text forms of transwiki templates. -- Omnipaedista ( talk) 11:57, 13 October 2015 (UTC)
This section is to discuss the workflow of transferring data to Wikidata and resolving conflicts. — Martin ( MSGJ · talk) 15:31, 22 September 2015 (UTC)
I don't think we need these tracking categories now. If P373 is defined and no parameter is passed then it will use P373and ignore the PAGENAME. — Martin ( MSGJ · talk) 15:53, 22 September 2015 (UTC)
Many categories that use this template have too much white space. For example: Category:Education in Missouri. Can this e fixed? Ottawahitech ( talk) 01:11, 5 December 2015 (UTC)please ping me
Please note that I opened an RfC on possible usage of Wikidata in representing Commons categories, as linked above.-- Ymblanter ( talk) 11:46, 10 January 2016 (UTC)
I propose to track uses of this template that don't have an explicit Commons category set. The purpose is to prevent page moves from changing a valid use to an invalid use, by filling in the parameter 1. Code is in the
sandbox. You can try it in the newly created
testcases page.
Rich
Farmbrough,
01:47, 7 May 2012 (UTC).(Using some automation)
{{
Commons category}}
or {{
Commons category-inline}}
. Please give an example where one is shown; or where one was shown in the past but has subsequently been fixed. --
Redrose64 (
talk)
19:47, 10 March 2016 (UTC)
{{
Commons category}}
or {{
Commons category-inline}}
link strings (and all variations), or if not found, the name of the page, then cross reference to a list of wikimedia Commons page names to eliminate all the entries that have non-redirected wikimedia pages, which would then leave just the problematic links that need to be fixed? Is there a reason this wouldn't work? A separate listing could then be made of just those pointing to redirects, so they too can be fixed. By relying on the text in the tag rather than letting the tag generate it automatically, it greatly increases the likelihood of a typo, which unless every page is then rechecked, will point to the non-page again.
- NiD.29 (
talk)
22:47, 10 March 2016 (UTC)
This template isn't displaying properly in my browser over the last day, but it doesn't appear to be the fault of the template... It shows the text small and without the icon when viewed with the rest of the article, but if I preview the section on its own while editing, it's fine.
czar
23:00, 20 July 2016 (UTC)
Please provide input at Wikipedia:Categories_for_discussion/Log/2016_December_21#Category:Commons_category_with_page_title_same_as_on_Wikidata. -- Izno ( talk) 16:37, 13 January 2017 (UTC)
The Commons "pages" are, to put it mildly, redundant, but they are now what the "Commons media" templates link to by default. This often makes it hard to find good media related to a subject, because these pages are more often than not underpopulated and badly maintained. So I think it would be better to make the default link the category rather than pages. Pages can be linked to manually, once someone has actually populated them with a range of representative images, not before. Any thoughts? I see there have been discussions about disabling pages entirely, but I think that is too extreme, but I do agree they are mainly useless. FunkMonk ( talk) 17:29, 31 July 2017 (UTC)
It seems that due to the limited display width of this template, and the length of the default text shown, it is very common for the subject (comprising of two or three short words) to be broken up over several lines. Here is a (simplified) example from Thomas Blatt:
While this is inevitable to some extent, I think we should try and at least make this render better for the most common case. The easiest solution would be match rendering of Template:Uses Wikidata, which effectively avoids the issue by always putting the subject on its own line. However, I can understand if perhaps want to keep the rendering the unchanged for shorter subject names given they do fit on the same line, such as the following example:
We also don't want to enable any non-wrapping/no-break mode because longer titles should eventually be broken up over several lines as needed.
Ideas to solve this:
Krinkle ( talk) 02:59, 9 October 2017 (UTC)
unmodified | ![]() Wikimedia Commons has media related to
Matches of the UEFA European Championship. |
{{nowrap|2nd parameter}} | ![]() Wikimedia Commons has media related to
Matches of the UEFA European Championship. |
between words | ![]() Wikimedia Commons has media related to
Matches of the UEFA European Championship. |