Go to file
2011-01-07 21:07:08 +00:00
modules WikiEditor: (bug 26621) References button was shown in all namespaces while it's only supposed to show in non-talk namespaces. Regression in r74114 2011-01-07 21:07:08 +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 Updated extensions for r77011: 2010-11-19 13:59:34 +00:00
WikiEditor.i18n.php Localisation updates for core and extension messages from translatewiki.net (2011-01-04 20:46:00 UTC) 2011-01-04 21:15:16 +00:00
WikiEditor.php Break WikiEditor's toolbar messages out into a separate module so LiquidThreads can load them without having to load all of ext.wikiEditor (doing the latter causes the toolbar to appear twice; previously LQT loaded just jquery.wikiEditor but that way it didn't get the messages). This might not be the cleanest fix, but it works. 2011-01-07 16:05:20 +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;