Page MenuHomePhabricator

Check if user can upload file before telling them they can in MediaWiki:Filepage-nofile-link
Open, Needs TriagePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  1. Visit https://commons.wikimedia.org/wiki/File:BLABLAaaa.srt
  2. See "No file by this name exists, but you can upload it."
  3. Click the linked word ........................"upload" (it)
  4. Fill out the form...

What happens?:

See "Destination filename: (in red) ....srt
Files of this type cannot be uploaded."

What should have happened instead?:

OK, then don't tell the user "but you can upload it."

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Event Timeline

Aklapper renamed this task from Check if user can upload file before telling him he can to Check if user can upload file before telling them they can in MediaWiki:Filepage-nofile-link.Mar 31 2023, 6:20 AM
Aklapper removed a project: Commons.
Aklapper updated the task description. (Show Details)

@Jidanni: Hi, please don't tag tasks as Commons if they are not specific to Commons but just happened on that website. Thanks.

Okay, I should test on more than one site next time.

(By the way for the particular file, here is the right way to upload it:
https://commons.m.wikimedia.org/wiki/Commons:Timed_Text#Uploading .)