Last modified: 2014-05-13 23:25:39 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 T66681, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64681 - Don't try to load VisualEditor in namespaces where it isn't supported
Don't try to load VisualEditor in namespaces where it isn't supported
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-30 21:12 UTC by Ryan Kaldari
Modified: 2014-05-13 23:25 UTC (History)
5 users (show)

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


Attachments

Description Ryan Kaldari 2014-04-30 21:12:30 UTC
Right now, if you switch to alpha mode and click the edit button on a page like...
https://en.m.wikipedia.org/wiki/User_talk:Kaldari
...you get an error since VisualEditor is disabled for that namespace on en.wiki.

To fix this, we need to surface the config settings in wmgVisualEditorNamespaces on the client-side and use it in the editor loading process in editor.js.
Comment 1 Bingle 2014-04-30 21:15:16 UTC
Prioritization and scheduling of this bug is tracked on Trello card https://trello.com/c/cZTY61hQ
Comment 2 Ryan Kaldari 2014-04-30 21:27:26 UTC
Looks like the information is already available on the client-side:
mw.config.get( 'wgVisualEditorConfig' ).namespaces
Comment 3 Gerrit Notification Bot 2014-05-01 00:26:25 UTC
Change 130794 had a related patch set uploaded by Kaldari:
Make sure mobile VisualEditor is only loaded when appropriate

https://gerrit.wikimedia.org/r/130794
Comment 4 Gerrit Notification Bot 2014-05-01 22:57:33 UTC
Change 130794 merged by jenkins-bot:
Make sure mobile VisualEditor is only loaded when appropriate

https://gerrit.wikimedia.org/r/130794
Comment 5 Gerrit Notification Bot 2014-05-07 23:07:05 UTC
Change 132124 had a related patch set uploaded by Kaldari:
Only create editor switcher from wikitext editor if VE is usable

https://gerrit.wikimedia.org/r/132124
Comment 6 Gerrit Notification Bot 2014-05-07 23:59:31 UTC
Change 132124 merged by jenkins-bot:
Only create editor switcher from wikitext editor if VE is usable

https://gerrit.wikimedia.org/r/132124

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


Navigation
Links