Page semi-protected
From Wikipedia, the free encyclopedia

Cannot upload from mobile

When I click on the non-free upload button, I am redirected back to this page and never offered the upload form. Same result on Chrome. Android Firefox and Android Chrome, Samsung Galaxy S22 5G. Pingnova ( talk) 01:32, 23 September 2023 (UTC) reply

Hmm, I'm experiencing the same thing. Presumably there is some recent change that is causing this. Anyone able to pinpoint? {{u| Sdkb}} talk 03:08, 23 September 2023 (UTC) reply
It seems like the Please explain what exact purpose this file will serve in the article. box was broken at some point. I don't see any recent edits to the js or css. The only recent edit is by Izno Jo-Jo Eumerus ( talk) 07:21, 23 September 2023 (UTC) reply
This was fixed for awhile but I'm having the same issue again. @ Matma Rex or @ Izno could this be from the recent change? Pingnova ( talk) 19:44, 1 November 2023 (UTC) reply
Seems extremely unlikely. If my change broke something, it would be problems with the actual upload, rather than the form not loading. As a wild guess, maybe this is the same problem as Wikipedia:Village pump (technical)#Editor stopped working? Matma Rex talk 22:24, 5 November 2023 (UTC) reply
I checked my settings per the link you shared, doesn't seem to be the issue. I switched from en.m. to desktop, just en., and I could use the form finally. It must be an issue with the mobile web version. Pingnova ( talk) 19:24, 7 November 2023 (UTC) reply
me too. i thought it was my problem. anyway then how people upload non free pics still now? Arismauve ( talk) 10:08, 8 April 2024 (UTC) reply
The solution that works for me is switching to the desktop version. The non-free upload form worked on "desktop version" from my smartphone browser. Click "upload a non-free file" at the URL /info/en/?search=Wikipedia:File_upload_wizard. Not en.m.wikipedia.org, just en.wikipedia.org. Pingnova ( talk) 23:48, 20 April 2024 (UTC) reply
this happened to me too, recently on 26 April 2024, when I clicked the "upload a non-free image" button, the button doesn't work, please fix this issue SleepingJoe ( talk) 03:22, 26 April 2024 (UTC) reply

What is the name of the page with the licensing templates used for this tool?

I believe this tool is transcluding some redirects to licensing templates instead of the direct title of the template, and I would like to see what may need to be changed. However, I'm not a "MediaWiki:" / ".js" sleuth, so I was wondering ... can someone point me with a link of the page which may contain a list of licensing templates this tool transcludes (via options) when uploading a file? Steel1943 ( talk) 21:31, 28 July 2024 (UTC) reply

Never mind ... found it. Edit request coming soon ... Steel1943 ( talk) 21:35, 28 July 2024 (UTC) reply

I recently discovered that the File Upload Wizard, specifically " MediaWiki:FileUploadWizard.js", is set up in a way where it is creating "File:" namespace pages that are unintentionally transcluding template-namespace redirects for some licensing templates, rather than transcluding the licensing template directly. Most of these issues are due to page moves, and ... From what I found, 11 lines in this page need to be updated to reflect current names.

The changes can be found as a draft in my namespace: User:Steel1943/FileUploadWizard.js, with this differences shown here. This can be literally copy/pasted over MediaWiki:FileUploadWizard.js to make the updates. Line by line, the changes are the following:

  • Line 290:
      ['PD-USGov-NOAA','US National Oceanic and Atmospheric Administration'],
      
      CHANGE TO:
      ['PD-USGov-DOC-NOAA','US National Oceanic and Atmospheric Administration'],
  • Line 293:
      ['PD-USGov-USGS','United States Geological Survey']
      
      CHANGE TO:
      ['PD-USGov-Interior-USGS','United States Geological Survey']
  • Line 299:
      ['PD-text','Item consists solely of a few individual words or letters'],
      
      CHANGE TO:
      ['PD-simple','Item consists solely of a few individual words or letters'],
  • Line 309:
      ['Non-free fair use in', 'something else (please describe in description field on top)']
      
      CHANGE TO:
      ['Non-free fair use', 'something else (please describe in description field on top)']
  • Line 323:
        ['Non-free game cover', 'Cover of a video/computer game'], 
        
        CHANGE TO:
        ['Non-free video game cover', 'Cover of a video/computer game'], 
  • Line 329:
        ['Non-free movie poster', 'Movie poster'], 
        
        CHANGE TO:
        ['Non-free film poster', 'Film poster'], 
  • Line 331:
        ['Non-free fair use in', 'something else (please describe in description field on top)']
        
        CHANGE TO:
        ['Non-free fair use', 'something else (please describe in description field on top)']
  • Line 338:
        ['Non-free game screenshot', 'Game screenshot'], 
        
        CHANGE TO:
        ['Non-free video game screenshot', 'Video game screenshot'], 
  • Line 350:
        ['Non-free fair use in', 'something else (please describe in description field on top)']
        
        CHANGE TO:
        ['Non-free fair use', 'something else (please describe in description field on top)']
  • Line 417:
        ['Non-free with NC', 'Permission granted, but only for educational and/or non-commercial purposes'],
        
        CHANGE TO:
        ['Non-free file with no commercial use license', 'Permission granted, but only for educational and/or non-commercial purposes'],
  • Line 418:
        ['Non-free with ND', 'Permission granted, but no derivative works allowed'],
        
        CHANGE TO:
        ['Non-free file with no derivative works license', 'Permission granted, but no derivative works allowed'],

Thanks! Steel1943 ( talk) 22:56, 28 July 2024 (UTC) reply

 Done Izno ( talk) 02:34, 29 July 2024 (UTC) reply