Go to file
Jan Paul Posma 9d6f6e3526 1. Re-introduces check if the browser supports the dialogs, which was removed for no apparent reason in r74276.
2. Makes the isEnabled function public, to allow other extensions to use the same configuration settings as WikiEditor.
2011-02-25 00:01:57 +00:00
modules 1. Re-introduces check if the browser supports the dialogs, which was removed for no apparent reason in r74276. 2011-02-25 00:01:57 +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 1. Re-introduces check if the browser supports the dialogs, which was removed for no apparent reason in r74276. 2011-02-25 00:01:57 +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;