Last modified: 2014-03-25 15:53:27 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 T64925, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62925 - wbparsevalue cannot process strings that contain a pipe "|" caharcter
wbparsevalue cannot process strings that contain a pipe "|" caharcter
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=0
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-21 14:38 UTC by Daniel Kinzler
Modified: 2014-03-25 15:53 UTC (History)
3 users (show)

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


Attachments

Description Daniel Kinzler 2014-03-21 14:38:26 UTC
wbparsevalue accepts multiple strings to parse in one request. These are passed as a pipe-separated list via the values parameter. This means that the strings themselves cannot contain a pipe.

To solve this, we could:

a) deprecate the values parameter, and introduce a value (singular) parameter, which wouldn't have said problem.

b) encode the values in json (using a different parameter name, or a compatibility switch)

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


Navigation
Links