Hi Yuri, I have not looked at the code, but from what I see in the documentation the 'target' parameter is what you are looking for. See http://www.mediawiki.org/wiki/Extension:Semantic_Forms/Linking_to_forms#Using_.23formlink
Cheers, Stephan On 21 June 2012 16:18, Yury Katkov <katkov.ju...@gmail.com> wrote: > Hi everyone! I discover to my surprise that #formlink parser function > doesn't have 'pagename' parameter. > Such a parameter is needed for at least three use-cases: > 1) using #formlink inside the template. The template can include a > code like that: > {{#formlink:pagename=blabla{{{1}}} }} > > 2) using Magic Words inside the #formlink. The example can be like the > following > {{#formlink:pagename=Report about {{PAGENAME}} on {{CURRENTDAY}} }} > > 3) Create new extensions a bit easier. I have created an extension > 'WikiVote Create Page' that allows to deal with MediaWiki redlinks and > non-existant pages. In this extensions the administrator can create a > page full of formlinks (so called Creation Dialog) and then redirect > every redlink to this page. I need to somehow pass the redlink name to > my Creation Dialog. > > Now I'm using #forminput with preloaded page name instead of > #formlink. It looks pretty ugly: a dozen of forminputs with the same > text inside the input. > > Yaron and other SF contributors what do you think about adding > 'pagename' parameter to #formlink? > ----- > Yury Katkov > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Semediawiki-devel mailing list > Semediawiki-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/semediawiki-devel ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel