Re: [SMW-devel] {{#ask}}

2007-11-28 Thread Jim Wilson
Of course, I am THRILLED that this is coming down the pipe. Sergey, If you're planning to do something crazy, I suggest checking out DPL and RegExParserFunctions. Combining {{#ask}} with {{#dpl}} and {{#regex}} can produce some very neat combinations. Also, I'm interested to see what you come up

Re: [SMW-devel] {{#ask}}

2007-11-12 Thread Jim Wilson
Although I am in favor of {{#ask:}} at the earliest possible conveneince, after a cursory look through the code, I'm fairly certain this extension will fail to operate as expected. The first reason is that , which is an extension tag, will always return fully qualified HTML. The output of a parse

Re: [SMW-devel] Hiding some information

2007-10-25 Thread Jim Wilson
> I guess another total hack is to name all the private properties similarly > and therefore detectably - and then at render time, if the user is an > admin, print those, and if the user is not, don't. Assuming you had a way to programmatically determine whether the user has privs to see the info,

Re: [SMW-devel] Template params are not expanded within queries

2007-10-17 Thread Jim Wilson
What's funny about this (to me), is that I actually took the time to develop such a parser function, created a patch and submitted it to bugzilla[1]. Needless to say it was never incorporated because of a pending "rewrite" of some core functionality. So I created an extension to do this as well[2

Re: [SMW-devel] InlineQueryParserFunction

2007-05-23 Thread Jim Wilson
answer any questions. Thanks! -- Jim R. Wilson (jimbojw) On 5/22/07, Jim Wilson <[EMAIL PROTECTED]> wrote: Thanks cnit! I'm glad someone else would find this useful. I'll be happy to integrate my code into the SMW codebase and create a patch ... I would just like some assurance fro

Re: [SMW-devel] Reflexive results?

2007-05-23 Thread Jim Wilson
), >> > because "friend of" is, in real life, always a bi-directional >> > relationship. So let me substitute something that's more clearly >> > one-directional for this example: how about "has been to the house >> > of". >> >

Re: [SMW-devel] InlineQueryParserFunction

2007-05-22 Thread Jim Wilson
Thanks cnit! I'm glad someone else would find this useful. I'll be happy to integrate my code into the SMW codebase and create a patch ... I would just like some assurance from a core dev that my patch has a chance of being applied before I go through the work of making it. -- Jim On 5/22/07,

Re: [SMW-devel] InlineQueryParserFunction

2007-05-21 Thread Jim Wilson
ibility of integrating this functionality into the core. Thanks for taking the time to respond. -- Jim R. Wilson (jimbojw) On 5/18/07, Jim Wilson <[EMAIL PROTECTED]> wrote: Hi all, I'm currently working on an InlineQuery Parser Function called {{#ask}} So this: [[friend

[SMW-devel] InlineQueryParserFunction

2007-05-18 Thread Jim Wilson
Hi all, I'm currently working on an InlineQuery Parser Function called {{#ask}} So this: [[friend of::*]] Becomes this: {{#ask:format=ul|[[friend of::*]]}} I thought I was done, having basically written a wrapper around that simply uses the Parser Function interface instead of an extension ta

[SMW-devel] Reflexive results?

2007-05-17 Thread Jim Wilson
Hi SMW Devs, Quick question: is there a way to get a list of all articles that meet a reflexive criteria? For example, I've got a relation called "friend of", and I know how to do these types of queries: [[User:Whoever]][[friend of::*]] - This will return all articles that User:Whoever is a "fr

Re: [SMW-devel] Ask parser function?

2007-05-15 Thread Jim Wilson
Did anyone on the list receive this question? I thought it would be an easy 'yes' or 'no' - Thanks in advance. -- Jim On 5/14/07, Jim Wilson <[EMAIL PROTECTED]> wrote: Is there an equivalent to but as a parser function? Akin to {{#ask}}? Thanks in advance.

[SMW-devel] Ask parser function?

2007-05-14 Thread Jim Wilson
Is there an equivalent to but as a parser function? Akin to {{#ask}}? Thanks in advance. -- Jim R. Wilson (jimbojw) - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express a

Re: [SMW-devel] MF, to use your new, custom theme name and to point to the new locations for the theme files.

2007-05-07 Thread Jim Wilson
Probably a good idea to ban this account On 5/7/07, Nannie <[EMAIL PROTECTED]> wrote: The cream of the crop for 2007 - GET IN EARLY! DSDI IS SET TO ROCK YOUR PORTFOLIO! DSI Direct Sales, Inc. Symbol: DSDI Price: $0.05 There is a MASSIVE PROMOTION underway this weekend! This is hot, read the n