Wiki link directly creating a new page w/o asking for blank template

Hi.
We want to start a wiki rally. Therefor we would build a page with links to articles not yet existing but needed. You can see that this article is not existing because of the question mark at the end of the link. If someone has created this article the question mark is gone. No problem til here.

Now my problem. This link should directly go to the wysiwyg editor to write the article w/o answering popups before. I tried the following:

[[TEST>>Glossar.TEST||query="parent=Glossar.WebHome&title=TEST&template="]]

But the popup to choose the template is asked anyway. Maybe because no (blank) template isn’t specified in the query but that is exactly the query I found in the adress bar. Someone knows how to omit that popup?

Regards, Simpel

This works for me:

[[Create me>>Some.New.Page||queryString="template="]]

See https://www.xwiki.org/xwiki/bin/view/XWiki/XWikiSyntax?syntax=2.1&section=Links . Basically you need to use queryString not query.

Grrr, what a bad mistake.

Thanks for the quick answer. You omitted the “parent” query. What is this required for?

The parent query string parameter was used long time ago when we didn’t support nested pages and the only way to implement a large hierarchy was through a parent-child relationship that was set with this parameter. The hierarchy is now based on the page reference (the path you see in the URL) so this parameter is mostly unused.

1 Like