summaryrefslogtreecommitdiff
path: root/extensions/WikiEditor/WikiEditor.php
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/WikiEditor/WikiEditor.php')
-rw-r--r--extensions/WikiEditor/WikiEditor.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/WikiEditor/WikiEditor.php b/extensions/WikiEditor/WikiEditor.php
index 0022c7b7..58454f00 100644
--- a/extensions/WikiEditor/WikiEditor.php
+++ b/extensions/WikiEditor/WikiEditor.php
@@ -46,6 +46,10 @@ $wgWikiEditorFeatures = array(
);
+// If set to true and the ClickTracking extension is installed, track clicks
+// on the toolbar buttons
+$wgWikiEditorToolbarClickTracking = false;
+
/* Setup */
$wgExtensionCredits['other'][] = array(
@@ -62,6 +66,7 @@ $wgHooks['EditPage::showEditForm:initial'][] = 'WikiEditorHooks::editPageShowEdi
$wgHooks['GetPreferences'][] = 'WikiEditorHooks::getPreferences';
$wgHooks['ResourceLoaderGetConfigVars'][] = 'WikiEditorHooks::resourceLoaderGetConfigVars';
$wgHooks['MakeGlobalVariablesScript'][] = 'WikiEditorHooks::makeGlobalVariablesScript';
+$wgHooks['EditPageBeforeEditToolbar'][] = 'WikiEditorHooks::EditPageBeforeEditToolbar';
$wikiEditorTpl = array(
'localBasePath' => dirname( __FILE__ ) . '/modules',
@@ -315,6 +320,7 @@ $wgResourceModules += array(
'wikieditor-toolbar-characters-page-persian',
'wikieditor-toolbar-characters-page-hebrew',
'wikieditor-toolbar-characters-page-bangla',
+ 'wikieditor-toolbar-characters-page-tamil',
'wikieditor-toolbar-characters-page-telugu',
'wikieditor-toolbar-characters-page-sinhala',
'wikieditor-toolbar-characters-page-gujarati',