Hi,

Thanks for the bug report, and the diagnosis, which was correct. I believe
the bug is now fixed in SVN, and as per before, it'll be in a new version to
be released soon. If you get the new code, you'll have to either resave the
category pages (making slight changes so that the resaves will actually
happen) or refresh the semantic data across the wiki.
-Yaron


On Mon, Dec 1, 2008 at 6:35 AM, Götz Bürkle <[EMAIL PROTECTED]> wrote:

>
> Hi guys,
>
> I'm playing around with Semantic MediaWiki and Semantic Forms for some
> days and encountered something today, which I think may be a bug.
>
> I use German as language for the whole wiki as I work on an intranet
> wiki for a German company. After installing Semantic Forms
> successfully I wondered, why I didn't get the "edit with form" tab on
> a page with a certain category. I added this category by using
> Semantic Forms "Add category" feature.
>
> I didn't think that different languages of properties would change
> anything, because in Semantic MediaWiki it doesn't seem to make any
> difference, but I tried the English property "Has default form" then
> anyway instead of the automatically inserted German "Hat
> Standardformular" and surprisingly it worked.
>
> I tried to figure out what causes this and found in SemanticForms/
> includes/SF_GlobalFunctions.php on lines 193 - 197 the following code:
>
> function sffInitProperties() {
>        SMWPropertyValue::registerProperty('_SF_DF', '__spf', 'Has default
> form', true);
>        SMWPropertyValue::registerProperty('_SF_AF', '__spf', 'Has alternate
> form', true);
>        return true;
> }
>
>
> I could fix this issue by chaning line 191 to:
> SMWPropertyValue::registerProperty('_SF_DF', '__spf', 'Hat
> Standardformular', true);
>
> But then, of course, the English property would not be working
> anymore.
>
>
> Now I wanted to ask whether this behaviour is on purpose or a bug. As
> Semantic MediaWiki itself manages to recognize standard properties in
> different languages it may be possible to improve Semantic Forms with
> only little effort to support that as well, but I'm not too familiar
> with Semantic MediaWiki or Semantic Forms to come up with the final
> solution myself without assistance.
>
> I would appreciate if someone would fix this or tell me how I could
> fix it.
>
>
> Kind regards,
> Götz Bürkle
>
> >
>

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