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


Brion Vibber <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]




--- Comment #1 from Brion Vibber <[email protected]>  2009-01-21 22:43:55 UTC 
---
It looks like it should work; I can pull a search:

http://de.wikipedia.org/w/api.php?action=opensearch&format=jsonfm&search=0

I see some funky JS errors in firebug when trying to pull the '0' like:

box.getNotificationWithValue is not a function
http://de.wikipedia.org/skins-1.5/common/mwsuggest.js?195xx
Line 125

os_decodeValue("0,5%-Hürde")mwsugges....js?195xx (line 125)
os_createResultTable(Object searchform=searchform searchbox=searchInput, ["0",
"0 v. Chr.", "0'00''", 7 more... 0=0 1=0 v. Chr. 2=0'00'' 3=0,5%-Hürde
4=0,5-%-Hürde])mwsugges....js?195xx (line 368)
os_updateResults(Object searchform=searchform searchbox=searchInput, "0",
"["0",["0","0 v.
Chr.","0'00''","0,5%-H\u00fcrde","0,5-%-H\u00fcrde","0-0","0-1-Gesetz","0-8-15","0-km-Stein","0.
Dynastie"]]",
"http://de.wikipedia.org/w/api.php?action=opensearch&search=0&namespace=0|4|11")mwsugges....js?195xx
(line 344)
os_updateIfRelevant(Object searchform=searchform searchbox=searchInput, "0",
"["0",["0","0 v.
Chr.","0'00''","0,5%-H\u00fcrde","0,5-%-H\u00fcrde","0-0","0-1-Gesetz","0-8-15","0-km-Stein","0.
Dynastie"]]",
"http://de.wikipedia.org/w/api.php?action=opensearch&search=0&namespace=0|4|11")mwsugges....js?195xx
(line 401)
onreadystatechange()()mwsugges....js?195xx (line 428)
[Break on this error] return decodeURIComponent(value);

It's a little hard to follow, but I think the suggestion table generator is
trying to URL-decode the results, which don't appear to be URL-encoded. When it
hits the % sign in "0,5-%-Hürde" the URL decoding fails? And then firebug also
spits out a totally unrelated error about a null or something. o_O


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to