Hi everyone, Version 1.5 of Semantic Forms has been released. This version has the following changes and additions:
- Most notably, there was a somewhat substantial refactoring of the code. Some parts of the code, especially relating to autocompletion, had gotten out of hand, so I tried to make things simpler and more readable. This is reflected in, among other things, the "SFFormTemplateField" class being renamed to just "SFFormField", and moved out of SF_FormClasses.inc and into its own file, SF_FormField.inc. There were a bunch of other changes that are harder to summarize. This shouldn't have any effect on functionality, although I have to admit there's a reasonable chance that it'll lead to some bugs... hopefully no major ones. - The parameter "property=" was added to field declarations in forms. This parameter lets you specify that the field is meant to correspond to a certain property, if, say, SF's parsing doesn't pick that up on its own. This might make the "autocomplete on property=" parameter obsolete; we'll see. - Use of "IFrame" was added to improve the appearance of autocompletion in Internet Explorer; thanks to Xiaoyi Zheng for the fix. - If an existing page is edited with a form, and it contains template fields that aren't referred to in the form definition, the form no longer erases them from the page; instead, it keeps them as-is. If there are people who prefer the old behavior, it might eventually make sense to add a parameter to control which one happens. - In wikis that use a non-English language that has its own values for "Has default form" and "Has alternate form", like German, the use of those specific English values stopped working around version 1.3.5; it works again now. - Calls to the Semantic MediaWiki method 'getXSDValue()', which has now been deprecated, were replaced with calls to other functions. - Support for versions of SMW before 1.2 was removed. - Language handling was added for Swiss German. -Yaron --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Semantic Forms" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/semantic-forms?hl=en -~----------~----~----~----~------~----~------~--~---
