Extension:Page Forms/Code structure

The following are the directories and files in the Semantic Forms extension:

/includes


 * SF_AutocompleteAPI.php - defines a class, SFAutocompleteAPI, that adds a new action, 'sfautocomplete', to the MediaWiki API, to enable remote setting of autocompletion values.
 * SF_CreatePageJob.php - defines a 'job' class used by the 'CreateClass' page
 * SF_FormClasses.php - defines two classes, SFForm and SFTemplateInForm, that represent the components of a user-defined form, and handle the creation of a form definition file.
 * SF_FormEditTab.php - a tab that shows up on data pages to let the user edit them with a form, if a default form for this page's category or namespace has been specified.
 * SF_FormField.php - defines a class, SFFormField, used in displaying user-created forms
 * SF_FormInputs.php - classes for Semantic Forms' various built-in form inputs.
 * SF_FormPrinter.php - defines a class, SFFormPrinter, that handles the display and running of a user-created form.
 * SF_FormUtils.php - utility functions for displaying a form.
 * SF_GlobalFunctions.php - sets hooks and defines constants used by the rest of the Semantic Forms code.
 * SF_LinkUtils.php - utility functions for linking to pages and forms.
 * SF_ParserFunctions.php - defines parser functions (currently four - 'forminput', 'formlink', 'arraymap' and 'arraymaptemplate')
 * SF_Settings.php - various settings for Semantic Forms.
 * SF_TemplateField.php - defines a class, SFTemplateField, used in both creating templates and displaying user-created forms.
 * SF_Utils.php - general utility functions.

/languages


 * SF_Aliases.php - aliases for special-page names for all languages
 * SF_Language.php - parent class for all language files
 * ...various other language files...
 * SF_Messages.php - display messages for all languages

/libs


 * jquery.fancybox-1.3.1.js - the Fancybox Javascript library
 * SemanticForms.js - Javascript utility helper functions

/skins


 * fancy_close.png - "x" image to close the upload window
 * jquery.fancybox-1.3.1.css - CSS file for the Fancybox library
 * loading.gif - "window loading" image
 * SemanticForms.css - main CSS file for Semantic Forms
 * SF_yui_autocompletion.css - CSS file for YUI auto-completion

/specials


 * SF_CreateCategory.php - defines the 'CreateCategory' special page
 * SF_CreateClass.php - defines the 'CreateClass' special page
 * SF_CreateForm.php - defines the 'CreateForm' special page
 * SF_CreateTemplate.php - defines the 'CreateTemplate' special page
 * SF_CreateProperty.php - defines the 'CreateProperty' special page
 * SF_Forms.php - defines the 'Forms' special page
 * SF_FormEdit.php - defines the 'FormEdit' special page
 * SF_FormStart.php - defines the 'FormStart' special page
 * SF_Templates.php - defines the 'Templates' special page
 * SF_UploadWindow.php - defines the 'UploadWindow' special page for MediaWiki versions before 1.16
 * SF_UploadWindow2.php - defines the 'UploadWindow' special page for MediaWiki versions 1.16 and higher