Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Categories metadata field for each image #51

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

RishikaBhatia17
Copy link
Contributor

Users can select the category to which the image belongs to from a given list of categories in the drop down before they upload the image to Wikimedia commons as shown below.
image

@tonythomas01
Copy link
Owner

Good stuff. However, if we are to follow the way we do it on Commons ? This might be an extended task, as we might want the following:

  1. Call https://commons.wikimedia.org/w/api.php?action=opensearch&format=json&formatversion=2&namespace=14&limit=10&search=Goog somehow, parase the result and populate a bubble input field. See example https://github.com/wikimedia/mediawiki-api-demos/blob/master/javascript/opensearch.js
  2. A user can select more than one category on https://commons.wikimedia.org/wiki/Special:UploadWizard, we should support that. Since this is getting big, I think we should also have a phabricator task for it.

@RishikaBhatia17
Copy link
Contributor Author

Thanks @tonythomas01 for the review. I will start working on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants