Hello. i 'am using mw 1.35.0-alpha. I use Minerva theme. No problem. However, the screen turns gray when you switch to mobile minerva theme. click it goes. whichever article I turn to becomes gray. The homepage is also gray faded. How can I fix this? Thank you.
This occurs when wgIsProbablyEditable=false and wgRestrictionEdit=['*'] .
src/mobile.init/editor.js is the code at fault.
mw.config.set( 'wgIsProbablyEditable', false ); mw.config.set( 'wgRestrictionEdit', [ '*' ] );
The issue appears to be this line of code:
This creates a drawer. Drawers should only be created upon an event e.g. clicking the edit icon.
The drawer should actually be created at this point:
- Visit https://wikitech.wikimedia.org/wiki/Analytics/AQS/Mediarequests_API?useformat=mobile in an incognito window and confirm the screen gets a gray overlay without the patch applied. Note: it was getting one on the 26th November.
- Wait until the fix has rolled out and visit the same URL confirming the green overlay no longer displays.