Topic on Help talk:Extension:FileImporter

field source

5
Summary by Thiemo Kreuz (WMDE)
ZioNicco (talkcontribs)

I apologize for the English from automatic translator .. I am transferring various images from it.wiki and I was wondering if there was the possibility of having the extension replace a value contained in one of the templates to be converted directly. Let me explain, in the Information template there is the "source" field one of the most recurring values ​​is "opera propria" which should be automatically converted to {{own}}, but I didn't understand how it can be done. Thanks

Jeff G. (talkcontribs)

On Commons, that would be "{{own}}".

ZioNicco (talkcontribs)

let me explain better should convert "opera propria" to {{own}}, then I saw that a few days a bot passes to fix it but if there was the possibility to change it immediately it is avoided and maybe it is understandable even by those who do not speak Italian

MGA73 (talkcontribs)

I think the easy solution would be to have a bot run on it.wiki and change "opera propria" (and other variants) to "Own work".

Thiemo Kreuz (WMDE) (talkcontribs)

The short answer is no, FileImporter currently can't convert values in a template. Only template names and parameter names are converted according to the "transfer" rules. However, it is possible to create a conversion template on Commons that is substituted and does the extra conversions you want. phab:T199453 might contain more information.

Reply to "field source"