Go to file
Fomafix 5c36a20623 Move hardcoded parsed thumbnail html from i18n to config
Also update the actual HTML with what the current parser outputs:
* width:104px -> width:102px (2px in addition to 100px image width)
* No more "title" attribute on the outer <a>.

And reduce duplication in the message:
* Re-use "thumbnail-more" message.
* Re-use "wikieditor-toolbar-help-content-file-caption" message.

Change-Id: I25f0763b2274ebdcf681c78af277a9be302350a1
2015-03-14 20:41:11 +01:00
i18n Move hardcoded parsed thumbnail html from i18n to config 2015-03-14 20:41:11 +01:00
modules Move hardcoded parsed thumbnail html from i18n to config 2015-03-14 20:41:11 +01:00
tests Style code 2015-03-14 15:49:04 +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
.jshintrc Add QUnit test for ext.wikiEditor.toolbar 2014-11-29 14:12:26 -06:00
composer.json experimental composer.json 2013-01-29 16:55:07 +01:00
COPYING Add COPYING 2014-01-22 22:11:36 +00:00
README Remove ClickTracking calls 2013-03-27 13:41:05 -07:00
WikiEditor.hooks.php Style code 2015-03-14 15:49:04 +00:00
WikiEditor.i18n.php Update i18n shim 2014-04-22 13:53:47 +00:00
WikiEditor.php Move hardcoded parsed thumbnail html from i18n to config 2015-03-14 20:41:11 +01: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;

# Release 1.21 removes the $wgWikiEditorToolbarClickTracking config variable
# and with it support for tracking clicks on WikiEditor features via the
# ClickTracking extension.