Go to file
Trevor Parscal 17a90bc74e Make toolbar group labels spans instead of divs
The mix of <div> and <a> tags, being floated left inside a floated left
group seems to cause a flow error in some browsers, which ends up
wrapping the last item in the group. The give-away to what was going on
was that this only happened for groups with labels.

While diagnosing it, I notice that the bug did not occur if the labels
were hidden (suggesting is has something to do with the label being
included in the flow of the group, not the build-out), and converting
them to spans fixed the problem.

Bug: 27698
Change-Id: I2a842a86ef77a8934095c04408b7fabbcfbb2476
2013-04-08 10:55:07 -07:00
modules Make toolbar group labels spans instead of divs 2013-04-08 10:55:07 -07:00
tests/selenium Remove unnecessary colon and redundant closing tags 2012-08-26 01:01:36 +02:00
.gitignore Adding .gitignore. 2012-05-08 20:01:10 +03:00
.gitreview Set defaultrebase=0 in .gitreview 2012-04-16 11:21:28 -07:00
.jshintignore WikiEditor: Linting and conventions 2012-07-17 13:27:27 -07:00
.jshintrc WikiEditor: Linting and conventions 2012-07-17 13:27:27 -07:00
composer.json experimental composer.json 2013-01-29 16:55:07 +01:00
README Remove ClickTracking calls 2013-03-27 13:41:05 -07:00
WikiEditor.hooks.php Remove ClickTracking calls 2013-03-27 13:41:05 -07:00
WikiEditor.i18n.php Localisation updates from http://translatewiki.net. 2013-04-07 20:59:38 +00:00
WikiEditor.php Remove ClickTracking calls 2013-03-27 13:41:05 -07:00

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