Topic on Help talk:Extension:FileImporter

How to fix licenses in a self template?

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

Hi! It is easy to translate a template from local name to Commons name by adding it in the configuration page under translate. For example on sr.wikipedia it is simply to add this code to translate глсд to GFDL:

;глсд:GFDL

But if it is {{self|глсд|Cc-by-sa-3.0}} then FileImporter does not translate глсд to GFDL. Can that be done?

MGA73 (talkcontribs)
MGA73 (talkcontribs)
Thiemo Kreuz (WMDE) (talkcontribs)

FileImporter is able to translate template names, as well as the names of template parameters, but not the content of a parameter. The word "глсд" in your example is content and can't be automatically translated with this tool.

However, it might be possible to add this as a feature. I created phab:T267756 to keep track of this idea.

MGA73 (talkcontribs)

Thank you. Self template is a very used template so it would be great!

Reply to "How to fix licenses in a self template?"