Last modified: 2013-10-18 22:01:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T53765, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51765 - VisualEditor: Bypass browser blacklist
VisualEditor: Bypass browser blacklist
Status: RESOLVED FIXED
Product: VisualEditor
Classification: Unclassified
Initialisation (Other open bugs)
unspecified
All All
: Normal enhancement
: VE-deploy-2013-07-25
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-21 01:40 UTC by John Mark Vandenberg
Modified: 2013-10-18 22:01 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2013-07-21 01:40:01 UTC
Could we have a way to bypass the browser blacklist. e.g.
1. a user preference to ignore the blacklist during initialisation, or
2. ?debug=true bypasses blacklist,
3. a test-wiki where the blacklist is empty/ignored, or
4. a simple way to re-run VE init from JS console

This will allow mere mortals to help identify bugs with unsupported browsers.

For option four, we can modify the blacklist, like so:

JS> delete mw.libs.ve.blacklist.opera;

But im not sure what to do after that.
Comment 1 John Mark Vandenberg 2013-07-21 02:13:54 UTC
For anyone wanting to bypass it on browser with a decent JS debugger, set a breakpoint on the line 'mw.libs.ve = init' in 

https://bits.wikimedia.org/static-1.22wmf10/extensions/VisualEditor/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.init.js

Then execute
JS> delete init.blacklist.opera

And resume running the VE scripts.

Im guessing this isnt possible on most mobile browsers, so one of option 1-3 or similar would be useful.
Comment 2 James Forrester 2013-08-26 15:54:19 UTC
You can already bypass the blacklist by using ?vewhitelist=1 - sorry, we should document this somewhere!
Comment 3 John Mark Vandenberg 2013-10-13 02:20:32 UTC
The code for this enhancement request had already been written before the bug rasied, but wasn't deployed at that time.
https://gerrit.wikimedia.org/r/#/c/74574/
Changing from INVALID to FIXED, but maybe it is a dup of another bug?

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links