Go to file
Trevor Parscal 089b73aa5d * Moved ResourceLoader modules into the ext.* space - this is the convention that should be followed in the future
* Moved test resource to the modules folder and registered it
* Fixed tests file to use $ not $j
* Cleaned up syntax in module definitions
2010-09-20 20:06:18 +00:00
modules * Moved ResourceLoader modules into the ext.* space - this is the convention that should be followed in the future 2010-09-20 20:06:18 +00:00
README Added some more practical example code. 2010-09-17 23:58:58 +00:00
WikiEditor.hooks.php * Moved ResourceLoader modules into the ext.* space - this is the convention that should be followed in the future 2010-09-20 20:06:18 +00:00
WikiEditor.i18n.php Localisation updates for core and extension messages from translatewiki.net (2010-09-20 19:55:00 UTC) 2010-09-20 20:03:28 +00:00
WikiEditor.php Removed dependency on global variable "wgWikiEditorIconVersion" 2010-09-16 22:40:24 +00:00

# Enhancements to the MediaWiki edit page
#
# This is a MediaWiki 1.17+ compatible version of the former UsabilityInitiative/WikiEditor extension. The key
# differences between these versions is in the usage of ResourceLoader.
# 
# To get this working on your wiki

require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );

# Before configuring this extension, see MediaWiki.php and become familiar with the initial state and structure of the
# $wgWikiEditorFeatures configuration variable. Essentially it's an array or 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;