[Bug 18910] Setting "{{#ask: ... |link=none}}" works, but "{{#ask: ... |link= none}}" does not.
https://bugzilla.wikimedia.org/show_bug.cgi?id=18910 --- Comment #3 from Markus Krötzsch 2009-07-12 13:23:02 UTC --- Yes, please file another request for general "parameter not understood" error reporting. The patch was trivial (let's see if pre-tags work here): === --- SMW_QueryPrinter.php(Revision 52785) +++ SMW_QueryPrinter.php(Revision 52786) @@ -213,7 +213,7 @@ $this->mSearchlabel = $params['searchlabel']; } if (array_key_exists('link', $params)) { - switch (strtolower($params['link'])) { + switch (strtolower(trim($params['link']))) { case 'head': case 'subject': $this->mLinkFirst = true; $this->mLinkOthers = false; -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 18910] Setting "{{#ask: ... |link=none}}" works, but "{{#ask: ... |link= none}}" does not.
https://bugzilla.wikimedia.org/show_bug.cgi?id=18910 --- Comment #2 from Dan Bolser 2009-07-11 20:13:58 UTC --- Can you show me the patch? I'd be interested in how this was fixed. Should I log the other stuff as separate feature requests? (I'm assuming that you have only fixed the white space issue.) Cheers, Dan. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
[Bug 18910] Setting "{{#ask: ... |link=none}}" works, but "{{#ask: ... |link= none}}" does not.
https://bugzilla.wikimedia.org/show_bug.cgi?id=18910 Markus Krötzsch changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #1 from Markus Krötzsch 2009-07-06 07:49:20 UTC --- Fixed in SVN. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You are on the CC list for the bug. ___ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l