Page MenuHomePhabricator

[file importer] Adding the {{nowCommons}} template after transfer to old file
Closed, DuplicatePublic5 Estimated Story Points

Description

When a file has successfully been transfered to Commons, it should be visible in the wiki of origin.
Therefore we want to add the {{NowCommons}} template to it, and would need to remove the template that requests a move to Commons.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Magnus' commons Helpter tool currently solves this by providing a link which leads to the original file in edit mode with the template parameters inserted already:

Screenshot_20180205_140138.png (542×1 px, 101 KB)

This example shows how it would look if the file name on Commons was changed. If no change occured the source code would simply say {{NowCommons}}

Two quick mocks:

What we could show if we can link directly to the edit page of the original file like the Commons Helper does. We should think about if there's a way for us to provide a link back to Commons after inserting the template.

NowCommonsAuto.png (672×803 px, 255 KB)

Should the automatic insertion not be possible we would just provide the code to copy and insert manually. If the filename was changed the text that needs to be copied should be changed as well. This is not necessary in the first mock I think.

NowCommonsHand.png (671×804 px, 262 KB)

Lea_WMDE triaged this task as Medium priority.Feb 13 2018, 1:34 PM
Lea_WMDE updated the task description. (Show Details)

…one could also think about doing this more notification (so non-blocking) than modal style (depending on how essential this is)

Tobi_WMDE_SW set the point value for this task to 5.