Hi everyone,
Version 1.4 of Semantic Forms has been released. I thought there were enough
changes to justify flipping to a new digit... so, the changes and additions
in this version are:

- Two new parameters, "values from category=" and "values from concept="
have been added to field declarations within form definitions. These fulfill
a request that's been around since nearly the beginning of the extension:
the ability to have a dropdown (or radiobutton) composed of the names of
pages in a category, or of the values returned by a query. I'd long resisted
this idea, on the grounds that if values are just coming from a category or
query, the user should be able to enter their own values as well; but it's
true that a dropdown, as inflexible an input as it is, is also a lot easier
to use than an autocompletion entry; and the true ideal solution, a "combo
box" input, might be a ways off, for technical reasons.

- All the global functions from the
now-misnamed /includes/SF_GlobalFunctions.php were moved out into other
classes. This should speed up the loading time, since these functions now
won't get loaded on every page hit; and I think it's also better code
design. As part of this process, two new files were created -
/includes/SF_Utils.inc, and /includes/SF_LinkUtils.inc. Additionally, other
files, like /includes/SF_ParserFunctions.inc, were turned into true class
files, instead of just collections of functions.

- A new input type, 'year' was added, that lets the user enter the value for
a date property as just a year. This reflects a change in Semantic MediaWiki
1.4, where a year by itself is now a valid value for a date property.

- Newlines can now be used as the delimiter in the #arraymap and
#arraymaptemplate functions, simply by using "\n"; the thinking was that
this was safe to do since no one would want to use the literal "\n" in the
delimiter.

- The patch for templates with period names in them, which was added in
version 1.3.8, then removed, then added again in version 1.3.9 with a fix,
turned out to have a bug for field names that contain a space; this has now
been fixed.

- A small change was made to the setting of the "edit with form" tab, to
attempt to stop the problem it was causing where users going to the page
Special:SMWAdmin before SMW is first initialized get an error message. I
don't actually know yet whether it'll work or not, since it's very hard to
test.

- Autocompletion has been fixed for values that contain single quotes;
thanks to Serhiy Kutnii for the fix.

- A fix was made for a typo in the German translation of "Has alternate
form", thanks to Götz Bürkle.

- Language support was added for Japanese.

-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
-~----------~----~----~----~------~----~------~--~---

Reply via email to