Page MenuHomePhabricator

Restructure video2commons server-side upload requests
Closed, ResolvedPublic

Description

@zhuyifei1999 The tools.wmflabs.org is served in https:// only, so http:// is a redirect. Could you adjust the URLs?


Oh, by the way, if you tweak the output, as far as I'm concerned,, the dream output would be something like:

**URLs**

* https://tools.wmflabs.org/video2commons/static/ssu/Shree_420,_Hindi_film.webm

//Description files are available too: append `.txt` to the URLs.//

**Checksums**

| **File** | **MD5** |
| Shree_420,_Hindi_film.webm | 5bc858d4ca990881e99374ba9c776f97 |

This is clearly helpful to have a table to check MD5 and to be able to grab a list of the URLs. Lost in URLs, that's not legible.

To select a part of the command is annoying (I use an alias to invoke curl with the right parameters, not wget for example, to get files for example).

When you have a big list of files I need to use a tool to convert the output to ^wget (http://*.?\.webm).*$ to $1.txt then $1.

The note about .txt is useful if someone else handles the task, so they know where to find them. To avoid to waste space, no need for any duplicate URL or to any baroque syntaxe only usable in some tools like {.txt}.

With that we have all the essential information clear and ready to use by copy/paste to compose any command sequences we want.

Event Timeline

@Dereckson How about:

FileChecksum
Shree_420,_Hindi_film.webmmd5: 5bc858d4ca990881e99374ba9c776f97

Currently the implementation puts "md5: " and the checksum together to indicate that specific checksum is md5.

No, thanks, please compare with the output of the BSD and GNU md5 commands:

$ md5 README.STREAMS
MD5 (README.STREAMS) = aaaa29199593d04eb8b6dcc852ea5448
$ gmd5sum README.STREAMS
aaaa29199593d04eb8b6dcc852ea5448  README.STREAMS

The goal is to remove ANY visual clutter, to be able to focus on the content and facilitate visual scanning to be sure all is fine.

Alright the commit is live. The shell quotation is removed. Generating with the jobs that are visible, I get:

Please upload these file(s) to Wikimedia Commons:

**URLs**

* https://tools.wmflabs.org/video2commons/static/ssu/Drone_Aerial_Footage-_Downtown_Denver,_Colorado_Skyline_Supercut.webm
* https://tools.wmflabs.org/video2commons/static/ssu/Sven-Harry's_Artmuseum_aerial.webm
* https://tools.wmflabs.org/video2commons/static/ssu/Shree_420,_Hindi_film.webm
* https://tools.wmflabs.org/video2commons/static/ssu/НАШ_ПОЗЫВНОЙ_-_СОВЕСТЬ.webm

//Description files are available too: append `.txt` to the URLs.//

**Checksums**

| **File** | **MD5** |
| Drone_Aerial_Footage-_Downtown_Denver,_Colorado_Skyline_Supercut.webm | 3f51f018e67b745511e8353888f907d5 |
| Sven-Harry's_Artmuseum_aerial.webm | ac14de610b489a788fcbd2c4da0b6d9e |
| Shree_420,_Hindi_film.webm | 5bc858d4ca990881e99374ba9c776f97 |
| НАШ_ПОЗЫВНОЙ_-_СОВЕСТЬ.webm | 24458b0297e26192ba21f14d8020dc67 |

Thank you!

Please upload these file(s) to Wikimedia Commons:

URLs

Description files are available too: append .txt to the URLs.

Checksums

FileMD5
Drone_Aerial_Footage-_Downtown_Denver,_Colorado_Skyline_Supercut.webm3f51f018e67b745511e8353888f907d5
Sven-Harry's_Artmuseum_aerial.webmac14de610b489a788fcbd2c4da0b6d9e
Shree_420,_Hindi_film.webm5bc858d4ca990881e99374ba9c776f97
НАШ_ПОЗЫВНОЙ_-_СОВЕСТЬ.webm24458b0297e26192ba21f14d8020dc67

Thank you!