Topic on Help talk:Extension:FileImporter

Jump to navigation Jump to search

Move original file (instead of copy)

Rehman (talkcontribs)

The file exporter essentially "copies" the original history from localwiki to commons. Hence (even though the original page will eventually be deleted) it duplicates contribs. Can an option be made, where a file can be "moved" in it's entirety from localwiki to another (thus no contribs remains on localwiki)? Is it possible to enable that function at least to power users (i.e. admins on one or both projects)?

Thiemo Kreuz (WMDE) (talkcontribs)

Thanks a lot for the suggestion. It would certainly be nice to provide this as an option. Unfortunately, it is technically not possible. To explain this briefly: The source and target wikis run on two independent databases where page and revision IDs refer to different pages. It is technically necessary to create a new page on the target wiki.

Maybe phab:T196735 is an option for your use case?

Rehman (talkcontribs)

Thank you for your reply, Thiemo. T196735 speaks about deletion of the original file, thus there is still some "duplicate" edit created, before being deleted for most users (users with privileged access can permanently see the duplicate edits).

Maybe this could be posted as a suggestion somewhere?

Peteforsyth (talkcontribs)

It seems to me that this used to automatically add the "NowCommons" template, to tag the original file for deletion...but it is no longer doing that. Am I misremembering? It would be nice to have at least an option to automatically add that template. -Pete Forsyth (talk) 08:03, 6 December 2019 (UTC)

Tacsipacsi (talkcontribs)

@Peteforsyth: The option is still there, and I don’t remember it having been removed once it was added for the first time. It’s a checkbox, so it’s really just an option, but I think it defaults to checked, i.e. to add the {{NowCommons}} template.

Peteforsyth (talkcontribs)

Thanks, not sure why I missed it...I'll try the importer again soon to confirm on my end. Maybe I was blocking some relevant javascript or something. -~~~~

Reply to "Move original file (instead of copy)"