Thanks Yaron

Perfect service as usual J.

 

During installation of the new version, I’ve found maybe some strange behavior of language functions.

I’m using “de-formal” language in my wiki.

In the language files “SD_LanguageDe_formal.php” and “SD_LanguageDe.php”, there are no alias for †SD_SP_HAS_DISPLAY_PARAMETERS (and also not for SD_SP_HAS_INPUT_TYPE, but I don’t know when this is used).

 

In my category page I added [[Has display parameters::? Stiftungstyp;? Aktiv in Region=Aktivitšt;? Jahresetat; format=table; mainlabel=Name| ]], but this was not working. Note, that I used English property name first.

Table format was not working until I declared an alias for SD_SP_HAS_DISPLAY_PARAMETERS in “SD_LanguageDe_formal.php” and used that property name in the category page. I don’t know, if this is normal.

 

Declarations I added in both German language files:

-          SD_SP_HAS_DISPLAY_PARAMETERS => 'Hat Anzeigeparameter',

-          SD_SP_HAS_INPUT_TYPE† => 'Hat Eingabetyp',

 

 

By the way, there is another important thing to note: whitespace in front of question mark ends up in suppressing that column!

Declarations like [[Has display parameters::? Property1;? Property2; ? Property3;? Property4; format=table| ]] would only display Property 1, 2 and 4 but not 3.

 

Daniel

 

Von: Yaron Koren [mailto:yaron57@gmail.com]
Gesendet: Mittwoch, 21.
Oktober 2009 20:39
An: Neill Mitchell
Cc: semediawiki-user@lists.sourceforge.net
Betreff: Re: [Semediawiki-user] [SD] Setting the display of drilldown results

 

Okay, the "mainlabel=" problem is now fixed on SVN, as far as I know. This fix is also in the new version of Semantic Drilldown I just released, 0.6.1; which also contains the previous fix to add support for SMW 1.5.

 

-Yaron

On Wed, Oct 21, 2009 at 10:53 AM, Yaron Koren <yaron57@gmail.com> wrote:

Daniel - indeed, "mainlabel=" doesn't work; I'm looking into it.

 

Neill - this is a very subtle problem; the issue is that, if you're trying to hide the value of this property, you need to end the call with "| ]]", not "|]]". If you do the latter, MediaWiki will helpfully fill in what it thinks is the "real" value for you. It stems from disambiguation linking on Wikipedia, where a link like "[[America (band)|]]" will get transformed, on a page save, into "[[America (band)|America]]".

 

-Yaron

 

On Tue, Oct 20, 2009 at 12:15 PM, Neill Mitchell <neill@nlkmitchell.com> wrote:

I'm getting weird behaviour with this functionality. I have the
following defined in my Category page:
[[Has display parameters::?Area;?Location;?Type;?Activity;?What We
Do;mainlabel=Area; format=table;headers=plain|]]

But after I save and re-edit the category page you see this:

[[Has display parameters::?Area;?Location;?Type;?Activity;?What We
Do;mainlabel=Area;
format=table;headers=plain|:?Area;?Location;?Type;?Activity;?What We
Do;mainlabel=Area; format=table;headers=plain]]

It has doubled up the parameters. If I then save it again the browse is
busted.

Any ideas?

Thanks!

Daniel Steiner wrote:
>
> Sorry, correction!
>
> Only parameter “mainlabel“ doesn’t work.
>
> Daniel
>

> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
>
http://p.sf.net/sfu/devconference
> ------------------------------------------------------------------------
>
> _______________________________________________
> Semediawiki-user mailing list
>
Semediawiki-user@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/semediawiki-user
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user