Page MenuHomePhabricator

UploadWizard Flickr on Wikimedia Commons should use {{Flickr source}} and {{Flickr author}} templates
Open, NormalPublic

Description

The UploadWizard Flickr should format source and author output using templates {{Flickr source}} [1] and {{Flickr author}} [2] (just like the Flickr Upload Bot does).

(This notably gives a short and clear source, and hyperlinks the author).

For example file [3], output syntax should be:

|Source		= {{subst:Flickr source|url=http://flickr.com/photos/21057977@N03/6819570781|title=Cheesecake au caramel au beurre salé et spéculoos}}
|Author		= {{subst:Flickr author|nsid=21057977@N03|name=Jean-Frédéric|subst=subst:}}

[1] https://commons.wikimedia.org/wiki/Template:Flickr_source
[2] https://commons.wikimedia.org/wiki/Template:Flickr_author
[3] https://secure.flickr.com/photos/jeanfred/6819570781/

Details

Reference
bz43408

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 1:06 AM
bzimport added a project: UploadWizard.
bzimport set Reference to bz43408.
bzimport added a subscriber: Unknown Object (MLST).
JeanFred created this task.Dec 25 2012, 3:18 PM

Will submit a patch soon

https://gerrit.wikimedia.org/r/47837 (Gerrit Change Ic72f7b2c194562dd6e47d2e5728d7df3a6f4b5ce) | Code-Review: Reviewed:-1 Patch Set 1: Code-Review-1

I have to agree, having properly international template names is a good idea.

Siebrand is CC'd here, so he can maybe shed light on how to do this right. [by MarkTraceur]

I think {{Information}} template name is hardcoded into UploadWizard, isn’t it?

TheDJ added a comment.May 20 2013, 9:54 AM

Anyone got bright ideas on how to tackle the issue that these flickr templates are supposed to be subst: ? Because that doesn't really make sense from MediaWiki messages, which really is the preferred way in which I would see these messages handled.

I've just been made aware that {{flickr author}} is not used by the community and SHOULD not be used... sigh.

(In reply to comment #5)

I think this is an abuse of messages, templates are project specific and their handling shouldn't be done this way.

(In reply to comment #6)

I've just been made aware that {{flickr author}} is not used by the community
and SHOULD not be used... sigh.

Is that so? AFAIK {{flickr author}} is used by Bryan transfer tool, which is highly popular. (If so, we should mark it as deprecated)

(In reply to comment #7)

(In reply to comment #5)
I think this is an abuse of messages, templates are project specific and
their handling shouldn't be done this way.

Just like the {{information}} which is hardcoded into UploadWizard? ;-þ

Is there any way to format stuff with template-formatted without using templates? And how to leave some configuration on-wiki without relying on templates?

Correction, it seems we were thrown of course by the fact that the template has recently been changed to make use of an interwiki link instead of an external link, which caused a mismatch between test environment and community expectations.

It should be just fine after all.

Nischay: This issue has been assigned to you a while ago.
Could you please provide a status update and inform us whether you are still working (or still plan to work) on this issue?
Only in case you do not plan to work on this issue anymore, should the assignee be set back to default and the bug status changed from ASSIGNED to NEW/UNCONFIRMED? Thanks.

Nischay Nahata: I am resetting the assignee of this issue to default because there has been no signs of progress for the last months. Feel free to assign it to yourself again when you plan to work on this. Thanks for your understanding.

Jdforrester-WMF moved this task from Untriaged to Backlog on the Multimedia board.Sep 4 2015, 6:39 PM
Restricted Application added subscribers: Steinsplitter, Matanya. · View Herald TranscriptSep 4 2015, 6:39 PM
matmarex updated the task description. (Show Details)Sep 23 2015, 5:27 PM
matmarex set Security to None.
matmarex removed a subscriber: wikibugs-l-list.

Change 47837 had a related patch set uploaded (by Jforrester):
Add flickr templates to uploads from flickr.

https://gerrit.wikimedia.org/r/47837