https://bugzilla.wikimedia.org/show_bug.cgi?id=34594

--- Comment #5 from [email protected] 2012-02-22 21:06:52 UTC ---
I don't know if this is related but, if I copy the code
----
if (mw.config.get('wgAction') === 'edit') {
    mw.loader.using('user.options', function () {
        alert('usebetatoolbar=' + mw.user.options.get('usebetatoolbar'));
    });
}
----
to my common.js[1] on ptwiki and then open a page in edit mode[2], I always get
"usebetatoolbar=1", no matter which of the 4 possibly combination of the
following options I choose:
1) Show edit toolbar (requires JavaScript)
2) Enable enhanced editing toolbar
Besides, on each case the toolbar is/is not displayed as follows:
<none>: no toolbar displayed
(1): Old toolbar is displayed
(2): Enhanced toolbar is displayed (bug 30795, but contradicting bug 19786)
(1)+(2): Enhanced toolbar is displayed

On the other hand, if I add "&debug=1" to the url[2], I always get
"usebetatoolbar=null" in all cases above (and the kind of toolbar displayed in
each case is as in the previous list).

I've tested this using Google Chrome 17.0.963.56.

[1] https://pt.wikipedia.org/?oldid=29029589
[2] https://pt.wikipedia.org/w/index.php?title=TestPage&action=edit

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to