r78336 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r78335‎ | r78336 | r78337 >
Date:22:16, 13 December 2010
Author:yaron
Status:deferred
Tags:
Comment:
sfgAutocompleteMappings variable removed, autocompleteOnAllChars renamed to sfgAutocompleteOnAllChars
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormUtils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormUtils.php
@@ -11,16 +11,15 @@
1212 class SFFormUtils {
1313 static function setGlobalJSVariables( &$vars ) {
1414 global $sfgAdderButtons;
15 - global $sfgAutocompleteMappings, $sfgAutocompleteDataTypes, $sfgAutocompleteValues;
 15+ global $sfgAutocompleteDataTypes, $sfgAutocompleteValues;
1616 global $sfgAutocompleteOnAllChars;
1717 global $sfgShowOnSelect;
1818
1919 $vars['sfgRemoveText'] = wfMsg( 'sf_formedit_remove' );
2020 $vars['sfgAdderButtons'] = $sfgAdderButtons;
21 - $vars['autocompleteOnAllChars'] = $sfgAutocompleteOnAllChars;
 21+ $vars['sfgAutocompleteOnAllChars'] = $sfgAutocompleteOnAllChars;
2222 // variables that are associative arrays need to be cast as
2323 // objects, to work with MW 1.15 and earlier
24 - $vars['sfgAutocompleteMappings'] = (object)$sfgAutocompleteMappings;
2524 $vars['sfgAutocompleteValues'] = (object)$sfgAutocompleteValues;
2625 $vars['sfgAutocompleteDataTypes'] = (object)$sfgAutocompleteDataTypes;
2726 $vars['sfgShowOnSelect'] = (object)$sfgShowOnSelect;

Status & tagging log