https://bugzilla.wikimedia.org/show_bug.cgi?id=62925

            Bug ID: 62925
           Summary: wbparsevalue cannot process strings that contain a
                    pipe "|" caharcter
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: daniel.kinz...@wikimedia.de
                CC: wikidata-b...@lists.wikimedia.org
       Web browser: ---
   Mobile Platform: ---

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)

-- 
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

Reply via email to