Well, try changing it to {{#urlencode:{{PAGENAME}}}}.

On Wed, Apr 15, 2009 at 1:03 PM, robertuva <[email protected]> wrote:

>
> I think I fixed the Parent Topic part by posting Parent+Topic, but it
> still acts up on the page name.
>
> On Apr 15, 12:50 pm, Yaron Koren <[email protected]> wrote:
> > Sorry, this should work:
> >
> > [
> http://mywiki.com/.../Special:AddPage/Topics?Topics%5BParentTopic%5D={{PAGENAME}}<http://mywiki.com/.../Special:AddPage/Topics?Topics%5BParentTopic%5D=%7B%7BPAGENAME%7D%7D>
> > add]
> >
> > -Yaron
> >
> > On Wed, Apr 15, 2009 at 12:41 PM, robertuva <[email protected]> wrote:
> >
> > > Yaron - the link above didn't work properly so I tried to post it as a
> > > full URL and encoded the URL.  I tried this, and it isn't working:
> >
> > > [{{#urlencode:http://www.mywiki.com/wiki/Special:AddPage/Topics?Topics
> > > [Parent Topic]={{PAGENAME}}}} Add]
> >
> > > It just posts on the page as text like the following:
> >
> > > [http%3A%2F%2Fwww.mywiki.com%2Fwiki%2FSpecial%3AAddPage%2FTopics
> > > %3FTopics%5BParent+Topic%5D%3Dpage+name+goes+here Add]
> >
> > > Bobby
> >
> > > On Apr 15, 11:34 am, Davide Piga <[email protected]> wrote:
> > > > > I've long thought a "tips and tricks" section of the documentation,
> > > > > covering all the extensions, would be very helpful. I talked at
> some
> > > > > point with Markus about adding such a thing to semantic-
> > > > > mediawiki.org, and making it editable by everyone, but it doesn't
> > > > > look like it's happening any time soon. I might just add it to
> > > > > smw.referata.com instead.
> >
> > > > That's a great idea! Talking about similar experiences, I really
> loved
> > > > this model:http://snippets.wikidot.com/
> > > > Hope this helps,
> >
> > > > Davide
> >
> > > > On Apr 15, 2009, at 9:47 AM, Yaron Koren wrote:
> >
> > > > > This should work:
> >
> > > > > [[Special:AddPage/Topics?Topics[Parent Topic]={{PAGENAME}}|add]]
> >
> > > > > By the way, I've long thought a "tips and tricks" section of the
> > > > > documentation, covering all the extensions, would be very helpful.
> I
> > > > > talked at some point with Markus about adding such a thing to
> > > > > semantic-mediawiki.org, and making it editable by everyone, but it
> > > > > doesn't look like it's happening any time soon. I might just add it
> > > > > to smw.referata.com instead.
> >
> > > > > -Yaron
> >
> > > > > On Wed, Apr 15, 2009 at 2:02 AM, Dan Bolser <[email protected]>
> > > > > wrote:
> >
> > > > > 2009/4/15 robertuva <[email protected]>:
> >
> > > > > > I am not sure if this is possible.  I am trying to create a link
> > > > > that
> > > > > > would go to the AddPage special page for the Topics form.  I want
> > > > > that
> > > > > > link to carry over a value to the second page of the form (after
> > > > > they
> > > > > > put the page name in and click enter).  The value I am trying to
> > > > > carry
> > > > > > is the page name of the page they clicked on the link from, and
> it
> > > > > > would preload in the Parent Topic field based on the Topics
> > > > > template.
> > > > > > Here is what I tried...I'm sure this isn't right...I got the
> > > > > forminput
> > > > > > form to work, but I just want a text link, not a form where they
> can
> > > > > > put in the title on that page.
> >
> > > > > > [[Special:AddPage/Topics/preload=Topics[Parent
> Topic]={{PAGENAME}}|
> > > > > > add]]
> >
> > > > > > Any thoughts?  Perhaps this isn't possible?
> >
> > > > > This is a section of the docs I always have difficulty
> understanding.
> > > > > It would be great (if you get it working) to create a series of
> > > > > examples on the different ways of linking to forms.
> >
> > > > > The above looks roughly right to me, but I've never got this
> feature
> > > > > to do what I want either.
> >
>

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