Page MenuHomePhabricator

Toaster message "You are running a user gadget or script that is unsupported on mobile." should link to instructions how to identify the problem
Closed, InvalidPublic

Description

Event Timeline

Aklapper changed the task status from Open to Stalled.Sep 19 2020, 8:46 AM

Hi @Jidanni, as requested before: Please read and follow https://www.mediawiki.org/wiki/How_to_report_a_bug and structure all of your tasks:

  • a clear and complete list of exact steps to reproduce the situation, step by step, so that nobody needs to guess or interpret how you performed each step,
  • what happens after performing these steps to reproduce,
  • what you expected to happen instead,
  • a full link to a web address where the issue can be seen.

Thanks.

I am sorry. I was reporting from the field on a tiny cellphone.

The user will see this

ee.jpg (587×333 px, 30 KB)

flash very briefly, when using https://commons.m.wikimedia.org/wiki/Special:UploadWizard .

" You are running a user gadget or script that is unsupported on mobile. Please review mw:ResourceLoader/Migration_guide "

@Jidanni: Okay. And why did you create a task in Phabricator about that? Again: See T263315#6476083.

Aklapper renamed this task from Comments upload page is saying resource loader messages to Commons upload page shows "You are running a user gadget or script that is unsupported on mobile.".Sep 20 2020, 8:39 AM

This seems to require going to https://commons.m.wikimedia.org/w/index.php?title=Special:MobileOptions and enabling "Advanced Mode".
In my understanding that toaster overlay message is shown due to the content of https://commons.wikimedia.org/wiki/User:Jidanni/common.js

(My question in the previous comment still stands.)

So it turns out: there is no way users will remember that they have turned on "Advanced Mode" or made a .js file, so the the brown warning message should mention those two places. Thanks.

Aklapper renamed this task from Commons upload page shows "You are running a user gadget or script that is unsupported on mobile." to Toaster message "You are running a user gadget or script that is unsupported on mobile." should link to instructions how to identify the problem.Sep 21 2020, 11:04 AM
Aklapper edited projects, added Advanced Mobile Contributions, Mobile; removed Commons.

Not sure which mobile-related code base is triggering this; tags might be wrong.

Thank you for hinting me to file proper bug reports.
Many of these are just emergency notes from the field.
Made on a tiny cell phone.
The idea is the public is reporting a fire on mountain A,
with the hope that people with better equipment will be able to better able to find the details,
much of which would not have been available to the bug reporter and would only be available to programmers.

@Jidanni: Okay, but as you are an experienced community member you also know which information is always required when reporting a fire (for example your location). And I'm asking you to always include that information as that would save both your and my time and one roundtrip of communication. Please always follow https://www.mediawiki.org/wiki/How_to_report_a_bug and always provide

  • a clear and complete list of exact steps to reproduce the situation, step by step, so that nobody needs to guess or interpret how you performed each step,
  • what happens after performing these steps to reproduce,
  • what you expected to happen instead,
  • a full link to a web address where the issue can be seen,
  • the web browser(s) and web browser version(s) that you tested.

In separate sections. Thanks.

Jdlrobson closed this task as Invalid.EditedOct 23 2020, 5:42 PM
Jdlrobson subscribed.

This is a script running on wiki https://commons.wikimedia.org/wiki/MediaWiki:Mobile.js
This has nothing to do with advanced mode.

It looks like you've fixed your gadget https://commons.wikimedia.org/w/index.php?title=User%3AJidanni%2Fcommon.js&type=revision&diff=466697888&oldid=351309798 FWIW use the mw.loader.load function instead of importScript to avoid this in future and that's the purpose of these annoying notifications :)