HF RL Explorer

Bug / Feature Request: Upload existing file as new version

Bug / Feature Request: Upload existing file as new version: a task in LegoFlow-SWE (Harbor dataset). When processing media file edits where the file already exists on the wiki, the system fails to upload a new version of the file. Instead, the Wikibase API returns warnings like exists and…

The task

When processing media file edits where the file already exists on the wiki, the system fails to upload a new version of the file. Instead, the Wikibase API returns warnings like `exists` and `duplicateversions`, but the current upload logic does not handle them, leaving the original file unchanged.

Part of Lego-X/LegoFlow-SWE.