[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2014-10-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #17 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 166990 had a related patch set uploaded by Prianka: ffs/JavaScriptFFS.php Replaced unnecessary use of str_replace https://gerrit.wikimedia.org/r/166990 -- You

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2014-10-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 Gerrit Notification Bot gerritad...@wikimedia.org changed: What|Removed |Added Status|NEW

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2014-10-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #18 from Gerrit Notification Bot gerritad...@wikimedia.org --- Change 167018 had a related patch set uploaded by Alishajain: JSON prouction using standard function https://gerrit.wikimedia.org/r/167018 -- You are receiving this

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2014-10-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #15 from Alisha Jain jain.alish...@gmail.com --- I want to know how can I use this file, where can I see output? -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2014-10-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #16 from Nemo federicol...@tiscali.it --- (In reply to Alisha Jain from comment #15) I want to know how can I use this file, where can I see output? I guess set up a Translate wiki wasn't clear enough, I added more explicit

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2014-10-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #12 from Nemo federicol...@tiscali.it --- From #mediawiki 2014-10-12 19.57 Nemo_bis The bug is about using standard functions to reduce mistakes in JSON production. PleaseStand linked a function in core which you'll probably need

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2014-10-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #13 from Alisha Jain jain.alish...@gmail.com --- (In reply to Nemo from comment #12) From #mediawiki 2014-10-12 19.57 Nemo_bis The bug is about using standard functions to reduce mistakes in JSON production. PleaseStand linked

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2014-10-13 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #14 from Nemo federicol...@tiscali.it --- (In reply to Alisha Jain from comment #13) It will be very helpful if you can give an example of the data being entered and the corresponding output. I'm not sure that's worth the effort

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2014-10-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #11 from Nemo federicol...@tiscali.it --- (In reply to Niklas Laxström from comment #0) Roan comments: Line 508-513 (concatenate separated strings) That's around line 100 of ffs/JavaScriptFFS.php now. this doesn't account for

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2014-03-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 Nemo federicol...@tiscali.it changed: What|Removed |Added CC||federicol...@tiscali.it

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2013-03-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #9 from Andre Klapper aklap...@wikimedia.org --- (In reply to comment #8) Krinkle, Niklas: See Gerrit change #50140. ...which is Combine JavaScript and JSON encoding logic -- You are receiving this mail because: You are the

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2013-03-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 PleaseStand pleasest...@live.com changed: What|Removed |Added CC||pleasest...@live.com

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2013-03-10 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 Nemo federicol...@tiscali.it changed: What|Removed |Added Assignee|niklas.laxst...@gmail.com

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2012-05-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #5 from Krinkle krinklem...@gmail.com 2012-05-15 09:07:21 UTC --- It depends. There are options for that in the latest PHP's native json_encode, namely JSON_UNESCAPED_UNICODE. But I'm not sure if the Services_JSON fallback has such

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2012-05-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #6 from Krinkle krinklem...@gmail.com 2012-05-15 09:10:45 UTC --- Looking at JavascriptFFS, I take it the primary use is not related to transferring data from the client to the server. i.e. it is not run on a normal request, is that

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2012-05-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #7 from Niklas Laxström niklas.laxst...@gmail.com 2012-05-15 10:42:44 UTC --- The primary purpose is storage of translations in version control system. Overt escaping is not needed and causes increase in file size, and makes it

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2012-05-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 Krinkle krinklem...@gmail.com changed: What|Removed |Added CC||krinklem...@gmail.com

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2012-05-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #2 from Niklas Laxström niklas.laxst...@gmail.com 2012-05-14 08:35:44 UTC --- (In reply to comment #1) In the backend FormatJson can be used, including an option to prettify whitespace. What option? I haven't seen any readily

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2012-05-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #3 from Krinkle krinklem...@gmail.com 2012-05-14 08:37:48 UTC --- (In reply to comment #2) (In reply to comment #1) In the backend FormatJson can be used, including an option to prettify whitespace. What option? I haven't

[Bug 31331] JavascriptFFS shouldn't be building JSON manually

2012-05-14 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31331 --- Comment #4 from Niklas Laxström niklas.laxst...@gmail.com 2012-05-14 10:35:07 UTC --- I tried that. It generates diffs like: -var I18n = { - on_leave_page: Вашыя зьмены могуць быць страчаныя, +var I18n = +{ + on_leave_page: