DDMAL / DDMAL/UMIL

Adjust the requirement for uploading images directly to Wikidata

Open
#149 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Recently I have been studying the image upload function of UMIL, mainly trying to upload the user's image to wikidata directly through the pop-up window of UMIL. I learned how to use the "upload" API here: https://www.mediawiki.org/wiki/API:Upload

But I got the following error:

```
{'error':
{'code': 'permissiondenied',
'info': 'The action you have requested is limited to users in one of the groups: [[Wikipedia:Autoconfirmed users|Autoconfirmed users]], [[Wikipedia:Administrators|Administrators]], [[Wikipedia:User access levels#Confirmed|Confirmed users]].'
...
}
```

This error is related to my wikipedia user group. Specifically, only [**Autoconfirmed users**](https://www.wikidata.org/wiki/Wikidata:Autoconfirmed_users), [**Administrators**](https://www.wikidata.org/wiki/Wikidata:Administrators) and [**Confirmed users**](https://www.wikidata.org/wiki/Wikidata:Confirmed_users) can upload files. Currently, the user group of my account is [**User**](https://www.wikidata.org/wiki/Wikidata:Users), which doesn't have the right to call the upload API. Please look up complete user rights for different user group here: https://www.wikidata.org/wiki/Special:ListGroupRights, and user access here: https://www.wikidata.org/wiki/Wikidata:User_access_levels.

Among these user permissions, the easiest to obtain should be **Autoconfirmed users**. According to [**Autoconfirmed users**](https://www.wikidata.org/wiki/Wikidata:Autoconfirmed_users):
> Although the precise requirements for autoconfirmed status vary according to circumstances, most Wikidata user accounts that are more than four days old and have more than 50 edits are considered autoconfirmed.

So I made at least 50 edits (translations of some entries) with my own account to see if it would automatically become an Autoconfirmed user. However, my account has now become an "Implicit member of: Autoconfirmed users" but still has not become an Autoconfirmed user. It is more difficult to become a "Confirmed user" and "Administrator". To become an "Administrator", you need to apply and go through a vote. "Administrators" can authorize "Confirmed users".

Therefore, one of my concerns is that no matter we decide to apply for an "administrator" account or be an "auto-confirmed user", we should not allow our UMIL users to submit edits to Wikidata directly through UMIL. Because we need to be responsible for any edits submitted to Wikidata through DDMAL's account. Unless UMIL users submit edits to our UMIL server first, and then our DDMAL members review the content before submitting it to Wikidata.

Based on the above, do you have any comments and suggestions @fujinaga @dchiller @yinanazhou? My point of view is that if we decide that we must review the content uploaded by UMIL users, we can first develop a function that allows users to upload images to the UMIL server.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing UMIL's current image-upload flow and the MediaWiki Upload API documentation linked in the issue. Resolve whether uploads should go directly to Wikidata or through UMIL for review; done means the required workflow and implementation scope are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.