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

--- Comment #35 from Krinkle <[email protected]> 2012-02-21 23:18:43 UTC ---
(In reply to comment #34)
> Note that I've updated the summary of this bug to remove the reference to
> gadgets, which is what I was talking about in Comment 32.
> 
> I think this will render much of what Krinkle has written at
> https://commons.wikimedia.org/wiki/Commons:Counter_Vandalism_Unit useless. 
> Testing now.

Actually most of that Commons page section on 'Buttons' is about
Vector/WikiEditor. Not about the classic toolbar. That section is and will stay
correct as it is, and works fine without race conditions or bugs like these.

The classic toolbar utilities (listed there under "monobook"), do indeed fail
right now for some people due to the race condition between the building of the
toolbar and the execution of the module that registers them. This can be fixed
if we implement bug 33952.

Bug 33952 proposes to make the classic toolbar more like the WikiEditor. By
offering a simple-to-use API with a addButton-function that will either add it
to a queue if the toolbar hasn't been build yet, or it will change the toolbar
that is already build and add an extra button.

Doing that isn't trivial, but not very complicated either. However note that if
we would create such an API for the classic toolbar, that will still require
existing code to be updated to use that API instead.

I think if we require user scripts to update, we might as do it right and let
them migrate to the WikiEditor API instead. That way the button will also show
up for users using Vector/WikiEditor. Right now the classic toolbar button
stuff is very in minority as those buttons only show up for users using
Monobook/classic-toolbar. And if we implement bug 33952, we'd only be restoring
it for monobook/classic-toolbar.

-- 
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