Template talk:Assessments

From Wikimedia Commons, the free media repository
Jump to: navigation, search
alt= link=
Archives
Archive 1 Archive 2


arwiki [edit]

Is it possible to add support for Arabic Wikipedia? --Banzoo (talk) 02:25, 8 August 2012 (UTC)

Sure. Can you give me a sample nomination? -- とある白い猫 ちぃ? 17:03, 22 August 2012 (UTC)
I didnt understand your question. I wanted to include File:بيروت_القرن_١٩_أسود_أبيض.jpg which is featured on arabic wikipedia as with this nomination --Banzoo (talk) 20:02, 22 August 2012 (UTC)
Yes, that is exactly what I was looking for. I have added the code but because template is protected it will require an admin to make the last needed edit. :) -- とある白い猫 ちぃ? 18:55, 24 August 2012 (UTC)
Thanks--Banzoo (talk) 23:12, 25 August 2012 (UTC)
I think that this discussion is resolved and can be archived. If you disagree, don't hesitate to replace this template with your comment. Timothy Gu (talk) 20:53, 21 February 2013 (UTC)

Broken for set nominations [edit]

moved from COM:AN. Rd232 (talk) 14:45, 2 December 2012 (UTC)

{{Assessments |featured=1 |com-nom=Commons:Featured picture candidates/Set nomination: The Early Poems of Alfred, Lord Tennyson }}

gives an error when used on an actual file page, claiming the nomination doesn't exist.


{{Assessments |featured=1 |com-nom=Set nomination: The Early Poems of Alfred, Lord Tennyson }}

gives the same error.

The problem is, that should work, according to Template:Assessments/doc, since Commons:Featured picture candidates/Set nomination: The Early Poems of Alfred, Lord Tennyson does, in fact, exist.

The code in Template:Assessments is this:

{{#if:{{{featured|}}}|{{#ifexist:{{{{#switch:{{{featured|}}}|1=FPC/|2=FPCR/|3=FSC/}}|1={{#if:{{{com-nom|{{{renamed|}}}}}}|{{{com-nom|{{{renamed}}}}}}|{{PAGENAME}}}}}}| |{{FNO|1=<span style="color:red;">'''This file does not link to the relevant nomination page! Please refer to [[Template:Assessments/doc]]!'''</span><br/>[[Category:Assessment tagged pages that do not link to nomination]]}}}}}}

I'm ptetty sure that can NEVER work. The #ifexist shoves a FPC/ in front of the com-nom parameter, inside a transclusion. (not even a Commons:Featured picture candidates/)!

I don't see how this can EVER work. It's just a mess of broken code.

This basically means that set nominations can't be promoted properly. Adam Cuerden (talk) 07:51, 1 December 2012 (UTC)

It can work, its a matter of expanding the relevant template. Give me a little time and I'll fix it. -- とある白い猫 ちぃ? 20:48, 2 December 2012 (UTC)