Go to file
Derk-Jan Hartman effd98be7e Preserve textarea state when building WikiEditor UI
When we are wrapping the textarea in the Editor UI, the focus state,
cursor position and the scrollposition might get lost. This is
especially annoying on slower machines, where users might have started
using the textarea before the WikiEditor UI was constructed.

Bug: 41911
Change-Id: Ie472c6c88d98f7ba89873a2db73463ef01bd995a
2014-04-16 08:40:19 +02:00
i18n Localisation updates from https://translatewiki.net. 2014-04-06 19:46:01 +00:00
modules Preserve textarea state when building WikiEditor UI 2014-04-16 08:40:19 +02:00
tests/selenium WikiEditor: Remove unmaintained highlight plugin 2014-04-03 17:12:07 +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
.jshintrc Kranitor: Make JSHint pass 2013-11-10 07:36:03 +00: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 WikiEditor: Remove unmaintained template editor modules 2014-04-03 17:11:10 +02:00
WikiEditor.i18n.php Migrate to JSON i18n 2014-03-29 17:14:05 +01:00
WikiEditor.php WikiEditor: Remove unmaintained beta iframe mode 2014-04-03 17:20:49 +02: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.