This is great stuff! Thanks guys!
The "values from property=" is very welcome :)
Re. jQuery was improved in Special:RunQuery. Does this fix the IE back
On 07/03/11 21:31, Yaron Koren wrote:
> Hi all,
> Version 2.1 of Semantic Forms has been released. As you can guess from the
> number, this is a fairly major new release. The many additions and changes
> in this version include:
> - The syntax for autocompletion was changed somewhat. Two new input types
> were added: "text with autocomplete" and "textarea with autocomplete". These
> are meant to replace the old "autocomplete" and "no autocomplete" as a way
> to signify whether or not the input should have autocompletion - the
> formerly standard "text" and "textarea" input types now indicate that no
> autocompletion should happen. In addition to that, the parameter names
> changed: instead of "autocomplete on...", it's "values from...", in the
> manner of the other input types like dropdown, etc.
> It should be noted that, where possible, handling was also kept for the old
> syntax, to try to minimize the impact of the changeover. But the old syntax
> is now officially deprecated, for what it's worth.
> This changeover is part of a larger effort to make the syntax more standard,
> and more input-type-based. Until now, the syntax was sort of haphazard, and
> unpredictable: for instance, adding "values=" to a "text" input turned it
> into a dropdown input. The system now works much more like SMW's #ask
> queries, where one parameter (there, the format, and here, the input type)
> dictates the allowed set of most of the other parameters.
> - Tied in with that, the page Special:CreateForm now lets you set all the
> parameters for each form field, with the group of parameters shown based on
> the input type selected, in the manner of SMW's Special:Ask page.
> - Also tied in with that, the parameters "values from property=" and "values
> from namespace=" were added to the enumeration inputs (dropdown,
> radiobutton, etc.); and the parameter "values=" was added to the
> autocomplete inputs. So now all the "values..." options are available across
> all the input types that support values; with the exception of "values from
> url=", which is available only for autocomplete inputs.
> - Also (somewhat) tied in with that, the "datetime with timezone" input type
> was deprecated, replaced by a new parameter, "include timezone", for the
> "datetime" input.
> - You can now have forms show up in a popup window, which is a nice way of
> keeping the focus on a central page - something people have been asking
> about for a long time. This is by done by just adding the parameter "|popup"
> into either #formlink or #forminput. Thanks to Stephan Gambke for this
> - As part of this change, two new files were added to SF: SF_popupform.js
> and SF_popupform.css.
> - Stephan has also been added as an official co-author of Semantic Forms, in
> recognition of his many contributions to SF, including the preview
> functionality, the registration system for other extensions' input-type
> - For the "combobox" input type, the "existing values only" parameter was
> added, which lets you set the combobox to only allow values that were
> pre-set, instead of typing in any value - essentially, it lets a combobox
> function as a dropdown. (By the way, if anyone can think of a parameter name
> for this that's shorter than "existing values only", but is still
> understandable, please let me know. :) )
> - Handling of "show on select" for the 'checkbox' and 'checkboxes' input
> types was fixed for Internet Explorer.
> - Parsing of the form definition was fixed to work with MediaWiki 1.18, and
> improved in general, with help from Tim Starling.
> - Validation of numbers was improved to allow for numbers in scientific
> notation, thanks to an anonymous commenter.
> - The loading of jQuery was improved in Special:RunQuery, again thanks to
> - Encoded ampersands within the "query string=" parameter in #forminput
> (they can be encoded as either "%26" or "&") are now passed on correctly
> to the form.
> - Handling was added for the new-ish MediaWiki
> setting $wgCapitalLinkOverrides, which was added in MW 1.16.
> including some fixes for greater compatibility with MediaWiki 1.18.
> As always, you can read more, and download the new version, here:
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> Semediawiki-user mailing list