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

       Web browser: ---
            Bug ID: 42810
           Summary: Provide an API to modify toolbar buttons
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikiEditor
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Right now, the docs
(http://www.mediawiki.org/wiki/Extension:WikiEditor/Toolbar_customization#Modifying_things)
say:

"We don't really have a nice API to modify things, unfortunately"

An API for this would make ProveIt (an extension i work on that does this)
cleaner and more reliable.  Right now, there seems to be a race condition where
sometimes it works, and sometimes it doesn't.

The workaround in the docs does not make clear whether to wrap the modification
bind in mw.loader.using( 'ext.wikiEditor.toolbar',.  I think not, because then
it might be too late when the modifier's (ProveIt's) code runs.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to