Last modified: 2013-03-15 16:42:35 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 T44810, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42810 - Provide an API to modify toolbar buttons
Provide an API to modify toolbar buttons
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikiEditor (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-07 01:44 UTC by Matthew Flaschen
Modified: 2013-03-15 16:42 UTC (History)
2 users (show)

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


Attachments

Description Matthew Flaschen 2012-12-07 01:44:11 UTC
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.

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


Navigation
Links