Skip to content

All jpg files were ignored during campaign file upload round one creation #234

Open
@geertivp

Description

@geertivp

The default file type for images on Wikimedia Commons is jpg.

When using the Montage file interface to create the first round of a campaign, all files in the campaign were ignored, because only jpeg is registered in module montage/rdb.py

DEFAULT_ALLOWED_FILETYPES = ['jpeg', 'png', 'gif', 'svg', 'tiff', 'xcf', 'webp']
Problem:
This is a blocking error, when using the file interface.

Solution:

  • 'jpg' must be explicitly added in the module rdb.py.

This problem did not occur when using a Category upload.

  • Example upload file:
img_name
17e-eeuws Statenjacht van Utrecht Museumschip Tordino Plassendale 26-07-2023 11-42-06.jpg
Amel, Kirche Sankt Huberrtus oeg31027 IMG 7647 2023-08-28 14.48.jpg
Amel-Iveldingen, de Sankt Barbara Kapelle oeg31007 IMG 7720 2023-08-29 10.48.jpg
...

More context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions