From: Dan B. <dan...@gm...> - 2010-06-25 19:45:30
|
Here you go: http://www.mediawiki.org/wiki/Extension:GetParam You should be able to set the parameter in the query string, pick it up in the form and then fire off an ask query using it's value (untested!). On 24 June 2010 23:46, Muscu, Ram <rm...@mi...> wrote: > Hi Dan, > > Could you please let me know if that extension is on the list at http://semantic-mediawiki.org/wiki/Help:SMW_extensions? > > If the extension you mentioned helps in passing variables, how about in being able to display the values outside "for template"? Any thoughts you can share? > > Appreciate your help! > > Thank you! > Ram > > > -----Original Message----- > From: Dan Bolser [mailto:dan...@gm...] > Sent: Thursday, June 24, 2010 3:44 PM > To: Muscu, Ram > Cc: sem...@li... > Subject: Re: [Semediawiki-user] How to display parent comment's title when replying to it > > There is an extension that lets you pass variables via CGI, however, I > can't remember the name just now. > > I think this could be used to do what you want. > > Dan. > > On 22 June 2010 20:49, Muscu, Ram <rm...@mi...> wrote: >> We are building a simple threaded commenting system with each comment having its own title. On the form page for replying to a comment, I would like to display the title of the parent comment. For this, I provide parent comment id to the form page through query string hoping that parent's title can be extracted using a query and then displayed. However, on the form page, I am not able to use/display the parent comment id outside the "for template" where the parent id can only be seen inside its form box. > >> >> So, alternatively, I think of passing parent comment's title through query string. But I am still afraid that the title will have to be displayed inside a form box. >> >> Another problem is getting parent comment's title displayed on the Edit page, which can be accessed through an Edit link made with Special:EditData. >> >> Being new to wiki/smw, I cannot think of any other better options. Can someone please share any better ideas? >> >> Thanks in advance! >> >> Ram >> >> ------------------------------------------------------------------------------ >> ThinkGeek and WIRED's GeekDad team up for the Ultimate >> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the >> lucky parental unit. See the prize list and enter to win: >> http://p.sf.net/sfu/thinkgeek-promo >> _______________________________________________ >> Semediawiki-user mailing list >> Sem...@li... >> https://lists.sourceforge.net/lists/listinfo/semediawiki-user >> > |