mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-30 19:15:43 +00:00
c277e3eeb6
When quickly clicking on a tab (the same one or a different one) in the toolbar the new animation is started immediately even though previously triggered animations might still be running. This leads to potential issues as reported in T106993 bug report. Make sure to stop previous animation first before issuing a new one. Additionally 'resize' trigger is under racing conditions when expanding/collapsing tabs, and needs to be invoked explicitly on any size-change event (cannot rely on the fact that the last issued animation will trigger last). Bug: T106993 Change-Id: I874dd7cb9f2fe96e3a6493508cbae4de56f7a6c0 |
||
---|---|---|
i18n | ||
modules | ||
tests/qunit | ||
.gitignore | ||
.gitreview | ||
.jscsrc | ||
.jshintignore | ||
.jshintrc | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package.json | ||
phpcs.xml | ||
README | ||
WikiEditor.hooks.php | ||
WikiEditor.php |
# WikiEditor provides enhancements to the MediaWiki edit page # This extension requires MediaWiki 1.17+ because it makes use of ResourceLoader. # Example LocalSettings.php additions require_once( "$IP/extensions/WikiEditor/WikiEditor.php" ); # Before configuring this extension, see WikiEditor.php and become familiar with the initial state and structure of the # $wgWikiEditorFeatures configuration variable. Essentially it's an array of arrays, keyed by feature name, each # containing global and user keys with boolean values. "global" indicates that it should be turned on for everyone # always, while user indicates that users should be allowed to turn it on or off in their user preferences. # To enable a preference by default but still allow users to disable it in preferences, use something like... $wgDefaultUserOptions['usebetatoolbar'] = 1; $wgDefaultUserOptions['usebetatoolbar-cgd'] = 1; # Release 1.21 removes the $wgWikiEditorToolbarClickTracking config variable # and with it support for tracking clicks on WikiEditor features via the # ClickTracking extension.