Go to file
Brion Vibber ab2c7e3ce6 Skip an old IE 8 bug workaround in WikiEditor on IE 11/Spartan
An early version of WikiEditor added a workaround for a reported
bug with IE 8 where textarea scroll and selection state was lost
when the contents were modified.

This doesn't seem to be needed on modern versions of IE such as 11
and above and the newer 'Edge' HTML engine mode in Windows 10.

Actually, I can't reproduce it in Windows 7 or XP with IE 8 either
from the original bugs, but just in case it's needed on some particular
version that we don't know about I've only added a check for modern
IEs, which is already in use on other old-IE workarounds in the
module.

Bug: T88875
Change-Id: I25b667a8d8378c417441adee5d97571c71a1c8c7
2015-02-19 21:01:21 +00:00
i18n Localisation updates from https://translatewiki.net. 2015-02-16 21:59:11 +01:00
modules Skip an old IE 8 bug workaround in WikiEditor on IE 11/Spartan 2015-02-19 21:01:21 +00:00
tests Add QUnit test for ext.wikiEditor.toolbar 2014-11-29 14:12:26 -06: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
.jshintrc Add QUnit test for ext.wikiEditor.toolbar 2014-11-29 14:12:26 -06:00
composer.json experimental composer.json 2013-01-29 16:55:07 +01:00
COPYING Add COPYING 2014-01-22 22:11:36 +00:00
README Remove ClickTracking calls 2013-03-27 13:41:05 -07:00
WikiEditor.hooks.php Merge "Remove previewDialog" 2014-12-05 13:03:26 +00:00
WikiEditor.i18n.php Update i18n shim 2014-04-22 13:53:47 +00:00
WikiEditor.php Add missing dependency to module 'jquery.mwExtension' 2015-01-15 19:41:30 +00: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.