r75191 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r75190‎ | r75191 | r75192 >
Date:15:24, 22 October 2010
Author:yaron
Status:deferred
Tags:
Comment:
Added variables for use by new Javascript setup
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_Settings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_Settings.php
@@ -13,7 +13,8 @@
1414 # seen from the web. Change it if required ($wgScriptPath is the
1515 # path to the base directory of your wiki). No final slash.
1616 # #
17 -$sfgScriptPath = $wgScriptPath . '/extensions/SemanticForms';
 17+$sfgPartialPath = '/extensions/SemanticForms';
 18+$sfgScriptPath = $wgScriptPath . $sfgPartialPath;
1819 # #
1920
2021 # ##
@@ -111,3 +112,15 @@
112113 # ##
113114 $sfgFancyBoxIncluded = false;
114115
 116+# ##
 117+# Global variables for Javascript
 118+# ##
 119+$sfgAdderButtons = array();
 120+$sfgRemoverButtons = array();
 121+$sfgShowOnSelectCalls = array();
 122+$sfgJSValidationCalls = array();
 123+$sfgAutocompleteMappings = array();
 124+$sfgAutocompleteDataTypes = array();
 125+$sfgAutocompleteValues = array();
 126+$sfgComboBoxInputs = array();
 127+$sfgAutogrowInputs = array();

Status & tagging log