[SMW-devel] Add pagename parameter to #formlink

2012-06-21 Thread Yury Katkov
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

Re: [SMW-devel] Add pagename parameter to #formlink

2012-06-21 Thread Yaron Koren
Hi Yury, If I understand the question, you can already do that - the parameter you're looking for is called "target". -Yaron On Thu, Jun 21, 2012 at 10:18 AM, Yury Katkov wrote: > Hi everyone! I discover to my surprise that #formlink parser function > doesn't have 'pagename' parameter. > Such a

Re: [SMW-devel] Add pagename parameter to #formlink

2012-06-21 Thread Stephan Gambke
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 wrote: > Hi eve

Re: [SMW-devel] Support "default" tag for "minor changes" & "watch" standart inputs [patch attached]

2012-06-21 Thread Yaron Koren
Hi, You can see the changes here: https://gerrit.wikimedia.org/r/#/c/12214/1/includes/SF_FormPrinter.php,unified https://gerrit.wikimedia.org/r/#/c/12214/1/includes/SF_FormUtils.php,unified -Yaron On Thu, Jun 21, 2012 at 12:19 AM, Vladimir Kostyukov < vladimir.kostu...@gmail.com> wrote: > Hi

Re: [SMW-devel] Add pagename parameter to #formlink

2012-06-21 Thread Yury Katkov
Thanks, that's cool! - Yury Katkov On Thu, Jun 21, 2012 at 6:34 PM, Stephan Gambke wrote: > 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_Fo

Re: [SMW-devel] Add pagename parameter to #formlink

2012-06-21 Thread Jack D. Pond
Talk about opening old wounds. . . Bug 22651 -Backward compatibility for formlink when using "target=" in query string I've been maintaining local branch patch for years. https://bugzilla.wikimedia.org/show_bug.cgi?id=22651 Jack D. Pond "I guess I could be called a ready, fire, aim kind of