Go to file
Eranroz 8cf557addf Fix for bug 38827. Setting thumb as default format
This patch sets the "thumb" format as the default format for images added
using wikieditor toolbar, with or without dialogs enabled.

Change-Id: I707b02c63b7253bd29b960a58c0fc10e1d013fb4
2012-08-19 22:02:05 +03:00
modules Fix for bug 38827. Setting thumb as default format 2012-08-19 22:02:05 +03:00
tests/selenium Fix more comments 2011-10-14 21:30:16 +00: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
.jshintignore WikiEditor: Linting and conventions 2012-07-17 13:27:27 -07:00
.jshintrc WikiEditor: Linting and conventions 2012-07-17 13:27:27 -07:00
README Remove wikieditor-preview=1 example from README 2012-05-29 23:53:09 +02:00
WikiEditor.hooks.php (bug 24172) Adding dialog for file, (bug 24114) localize REDIRECT 2012-07-27 00:59:23 -07:00
WikiEditor.i18n.php Fix for bug 38827. Setting thumb as default format 2012-08-19 22:02:05 +03:00
WikiEditor.php Fix for bug 38827. Setting thumb as default format 2012-08-19 22:02:05 +03: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;