Page MenuHomePhabricator

Correctly move files from Wikipedia to Commons (2013)
Closed, ResolvedPublic

Description

Survey: 2013

Original wish (German): https://de.wikipedia.org/wiki/Wikipedia:Umfragen/Technische_W%C3%BCnsche/Dateien
Update sites on-wiki:

Insights:

  • There are files that should stay on Wikipedia and not be moved to Commons, e.g. files under the fair use licence
  • Currently, the commonshelper tool is mainly used to move files to Commons
  • It is not about writing a bot to move many files quickly, but about writing a correct method for moving a single file

Plan:

  • Implement a Commons extension that moves files to Commons, keeping all data intact. This includes file revisions and text revisions as well as info about who moved the file. It also mentions the move in the version history. T146666
  • Link the new extension from Wikipedia file pages where appropriate T144480
  • Disable the link if moving is not encouraged T146751
  • all other open stories :)

Out of scope
For the wish, we will implement a hard coded mapping of well known matches of wikipedia and commons templates. Ideally, this should be configurable. Thoughts about how to do it are collected here: T143415

Related Objects

StatusSubtypeAssignedTask
ResolvedNone
ResolvedLea_WMDE
InvalidNone
ResolvedAddshore
ResolvedLea_WMDE
DeclinedNone
DuplicateNone
ResolvedNone
ResolvedAddshore
ResolvedAddshore
Resolvedthiemowmde
ResolvedAddshore
Resolvedthiemowmde
ResolvedAddshore
ResolvedAddshore
Resolvedawight
DeclinedNone
ResolvedAndrew-WMDE
ResolvedAndrew-WMDE
ResolvedAddshore
ResolvedWMDE-Fisch
ResolvedAndrew-WMDE
Resolvedthiemowmde
Resolvedthiemowmde
DuplicateNone
ResolvedAddshore
DeclinedAddshore
ResolvedAddshore
ResolvedAddshore
InvalidAddshore
InvalidNone
ResolvedAndrew-WMDE
ResolvedAddshore
ResolvedNone
DeclinedNone
DeclinedNone
ResolvedAddshore
ResolvedWMDE-Fisch
ResolvedWMDE-Fisch
ResolvedTobi_WMDE_SW
InvalidNone
ResolvedAndrew-WMDE
ResolvedAddshore
ResolvedAddshore
ResolvedAndrew-WMDE
ResolvedAndrew-WMDE
ResolvedNone
InvalidNone
ResolvedAddshore
DuplicateNone
InvalidNone
InvalidNone
ResolvedWMDE-Fisch
ResolvedNone
ResolvedWMDE-Fisch
Resolvedthiemowmde
ResolvedAndrew-WMDE
DeclinedNone
Resolvedthiemowmde
Resolvedthiemowmde
ResolvedWMDE-Fisch
ResolvedAndrew-WMDE
ResolvedAndrew-WMDE
ResolvedAndrew-WMDE
ResolvedAndrew-WMDE
Resolvedthiemowmde
Resolvedthiemowmde
ResolvedNone
OpenNone
ResolvedNone
InvalidNone
DuplicateNone
ResolvedAndrew-WMDE
DeclinedNone
ResolvedLea_WMDE
Resolvedthiemowmde
DuplicateNone
ResolvedAddshore
DuplicateNone
ResolvedAddshore
InvalidNone
DeclinedWMDE-Fisch
ResolvedAndrew-WMDE
ResolvedLea_WMDE
ResolvedGoranSMilovanovic
ResolvedAddshore
DeclinedNone
ResolvedNone
ResolvedAddshore
ResolvedReedy
DuplicateNone
ResolvedNone
ResolvedAnomie
ResolvedAndrew-WMDE
OpenNone
ResolvedReedy
ResolvedTobi_WMDE_SW
ResolvedWMDE-Fisch
ResolvedWMDE-Fisch
ResolvedNone
DuplicateNone
ResolvedWMDE-Fisch
ResolvedNone
ResolvedNone
DuplicateNone

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes
Lea_WMDE updated the task description. (Show Details)

It would be way cool to also allow moving files in the opposite direction, from Commons to a specific Wikipedia. For files which are uploaded to Commons, used in articles, but later discovered to be improperly licensed (but okay under US fair use, or okay under a specific country's law), or simply for reverting erroneous moves in the other direction.

It would be way cool to also allow moving files in the opposite direction, from Commons to a specific Wikipedia. For files which are uploaded to Commons, used in articles, but later discovered to be improperly licensed (but okay under US fair use, or okay under a specific country's law), or simply for reverting erroneous moves in the other direction.

Interesting. I doubt this use case will make it into the first deployed version, but in theory the extensions can work in both ways if deployed on both / all sites.

Lea_WMDE changed the status of subtask T160181: Display new location in source wiki from Stalled to Open.

It would be way cool to also allow moving files in the opposite direction, from Commons to a specific Wikipedia. For files which are uploaded to Commons, used in articles, but later discovered to be improperly licensed (but okay under US fair use, or okay under a specific country's law), or simply for reverting erroneous moves in the other direction.

+1 for matmarex idea. I recently discussed about another useful usecase with @Geagea - (non simple) logos - which sometimes doesn't fit to commons, but can be used with fair use license in Wikipedia.

As a matter a fact allow to move between wikis might be also good idea. If en.wiki uploaded a logo it might be usefull also as a logo to othe wikis.

My question is similar to the previous ones: Is it going to be possible to change the destination wiki or will it be Wikimedia Commons by default?

In T140462#4536396, @Wiki-1776 wrote:

My question is similar to the previous ones: Is it going to be possible to change the destination wiki or will it be Wikimedia Commons by default?

I think the scope of this task is only about one direction (to Commons). However, the opposite direction is also useful (though with different priority) and I moved it as a separate task T215381 which can be tracked separately

Hi all,
this project is about moving files from other Wikimedia projects to Commons. However, the code is designed in a way that it would allow moves from any wiki to any other wiki as well. For now, we are working on bringing FileImporter/FileExporter fully to production. Once that is done, anybody who feels like extending the extension for other directionalities, is appreciated :)