Last modified: 2014-02-12 23:38:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T42916, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40916 - Needless URL-encoding of brackets, and parsing of URL values, in #forminput
Needless URL-encoding of brackets, and parsing of URL values, in #forminput
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-10 08:41 UTC by Andreas Plank
Modified: 2014-02-12 23:38 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Andreas Plank 2012-10-10 08:41:48 UTC
Hi,

I cannot preload form fields for multiple forms using the parameter "query string" in #forminput or #formlink. Using form: Company on http://scratchpad.referata.com the query string to preload a multiple form’s field is e.g. "query string=Activity[1][1]=2012/10/09". But defining it with #formlink or #forminput in this manner the resulting URL is cutted to "http://suburl-path-etc?Activity[1]=". More examples are given at http://scratchpad.referata.com/wiki/User_talk:Andreas_Plank#Test_formlink:_prefill_multiple_forms

The only solution that works is not to use #formlink or #forminput but set a standard Wiki link with URI encoded URL variables like  http://scratchpad.referata.com/wiki/Special:FormEdit/Company/Hai?Company%5BWebsite%5D=http://www.example.com&Activity%5B1%5D%5B1%5D=2012/10/09

Could this be solved?

Thanks a lot. 
Andreas Plank
Comment 1 Andreas Plank 2012-10-10 09:02:32 UTC
I correct it is only with #forminput when that bug occurs and the URL becomes cutted
Comment 2 Yaron Koren 2013-12-29 19:57:50 UTC
This is actually two different bugs in one, so maybe it should be two bug reports, but in any case I'm renaming it for clarity.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links