Topic on Help talk:Extension:FileImporter

MGA73 (talkcontribs)

The license migration is sometimes a problem. For example on vi.wikipedia and ja.wikipedia. If possible it would be nice if changes like this could be automated. On ja.Wikipedia the changes could look like this. If it makes things too complicated don't try. It can be fixed on Commons. But if it is an easy fix it would be nice.

Thiemo Kreuz (WMDE) (talkcontribs)

There is a feature that allows the replacement of template parameters. In this case chuyển đổi= can be changed to migration= automatically. A rule for this can be added to Extension:FileImporter/Data/vi.wikipedia#Transfer. But that's all we have at the moment.

In the discussions at phab:T199453 and phab:T214365 are alternatives discussed that make use of subst: templates on Commons.

MGA73 (talkcontribs)

Thank you. But changing to "migration=" is only half the solution because we need the part after the "=" to complete the migration.

Off topic: Did you notice what I did with YouTube CC-BY? Someone really wanted to have a review template so I made this and it works :-)

Stefan2 (talkcontribs)
MGA73 (talkcontribs)

User:Stefan2 Hmmmm. I missed those disclaimers. It is easy to fix the conversion. I wonder what those disclaimers are.

MGA73 (talkcontribs)

User:Stefan2 there is a text on c:Template:GFDL-ja saying something like that if file was uploaded before july 2009 then we should use GFDL. It is only GFDL-ja after that date. And only if there was no multi-license.

Stefan2 (talkcontribs)

ウィキペディア日本語版からコモンズへ移入されたファイルのうち、日本語版で2009年7月以前にアップロードされたGFDL単独ライセンスだったファイルには、必ず {{GFDL}} ではなく {{GFDL-ja}} のタグを付してください。

Meaning: If the file was uploaded to jawiki before (not after!) July 2009, then the Commons tag is c:Template:GFDL-ja, not c:Template:GFDL.

なお、日本語版でGFDL/CCマルチライセンスだったファイルには、GFDL-jaのライセンスタグは使用しないでください。

Also, don't use GFDL-ja for GFDL/CC multi-licensed files. I wonder if they are talking about files with ja:Template:Self. Note that {{self|GFDL|cc-by-sa-3.0}} inserts ja:Template:GFDL-no-disclaimers (not ja:Template:GFDL) on the file information page.

Liuxinyu970226 (talkcontribs)
MGA73 (talkcontribs)

I do not think its a new upload if we are talking about moving the file from xx.wiki to Commons. Anyway at least from ja.wiki there are probably no files that does not also have cc-by-sa-3.0 or have been license migrated.

MGA73 (talkcontribs)

User:Stefan2 perhaps we should discuss that on Commons. It is not a bug in FileImporter. Just a matter of changing the settings.

Stefan2 (talkcontribs)

It's a bug in FileImporter or some FileImporter settings (where are those defined?) as ja:Template:GFDL is converted to the wrong Commons template.

MGA73 (talkcontribs)
MGA73 (talkcontribs)

I think I solved it at vi.wiki. The script can translate the first part. And the templates on vi.wiki understand the English terms so I just changed all the file pages to English. Problem solved :-) On ja.wiki the solution can be either changing with my bot on ja.wiki or to remove the template during transfer and then let a bot on Commons fix migration.

MGA73 (talkcontribs)

The problem with GFDL vs GFDL-ja have been fixed on ja.wiki. I changed the license of about 35k files so from now on GFDL=GFDL and GFDL-ja=GFDL-ja. The license migration is also mostly fixed as I changed 99% of the files to use the same migration code as on Commons.

Reply to "License migration"