tonythomas01 / gdrive-to-commons

Tool to upload pictures from Google Drive to Wikimedia Commons ⚠️ Moved to Wikimedia Gerrit, so this repo is read only.
https://gdrive-to-commons.toolforge.org/
Apache License 2.0
9 stars 10 forks source link

Added a total file upload counter. #29

Closed abbasidaniyal closed 4 years ago

abbasidaniyal commented 4 years ago

fixes #17 Need to verify with a working OAuth app credentials. My app registration process is in "proposed" status.

abbasidaniyal commented 4 years ago

Verified with the dev credentials. The counter object defaults to 0. If there is an existing count of images uploaded, this value can be set simply from the admin site.

image

abbasidaniyal commented 4 years ago

Any suggestions for the look of the counter are highly welcome. My designing skill aren't great, but I can implement given design!

abbasidaniyal commented 4 years ago

I have made the prescribed changes. If I left out anything, do let me know! @tonythomas01

abbasidaniyal commented 4 years ago

Thank you for merging it! :smile:

RishikaBhatia17 commented 4 years ago

Hi @abbasidaniyal I have found that the counter is not working as expected and is displaying the count as 5 all the time (even when we are not logged into Wikimedia commons) as shown below.

image

Thank you!

abbasidaniyal commented 4 years ago

@RishikaBhatia17 The counter display the total number of files uploaded using the tool by all users. Not a particular user. Since it merged recently, it's only display 5 files. For details, please read https://phabricator.wikimedia.org/T241464