Go to file
2011-02-24 01:45:55 +00:00
modules A bit of a reorganisation that fixes bug 27164. Basically the extensive configuration in the ext.wikieditor.* functions is moved to the jquery plugins, to be able to use these configurations in other extensions which don't have a #wpTextbox1. 2011-02-24 01:45:55 +00:00
tests/selenium Tests for Toolbar dialogs in the wikieditor. Migrated part of Calcey's tests from svn.wikimedia.org/svnroot/mediawiki/trunk/testing/selenium/UsabilityInitiative/WikiAutomationTC/testCases 2010-10-14 16:42:56 +00:00
README Fixed typo in README 2010-10-01 19:32:11 +00:00
WikiEditor.hooks.php WikiEditor: Make sure that the toolbar is enabled before loading dialogs. Should fix bug 27471 2011-02-17 22:44:29 +00:00
WikiEditor.i18n.php Localisation updates for core and extension messages from translatewiki.net (2011-02-22 21:13:00 UTC) 2011-02-22 21:52:34 +00:00
WikiEditor.php A bit of a reorganisation that fixes bug 27164. Basically the extensive configuration in the ext.wikieditor.* functions is moved to the jquery plugins, to be able to use these configurations in other extensions which don't have a #wpTextbox1. 2011-02-24 01:45:55 +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;
$wgDefaultUserOptions['wikieditor-preview'] = 1;