Re: Integration of LanguageTool with VisualEditor

2015-07-29 Thread Daniel Naber
On 2015-07-29 10:00, Ankita Kumari wrote: > That must be it then. Also, does it hold for languages other than > English? All languages that have variants (see https://languagetool.org/languages/) need a variant specified to activate spell checking. Regards Daniel --

Re: Integration of LanguageTool with VisualEditor

2015-07-29 Thread Ankita Kumari
That must be it then. Also, does it hold for languages other than English? On 29-Jul-2015 1:21 pm, "Daniel Naber" wrote: > On 2015-07-29 09:49, Ankita Kumari wrote: > > > Meanwhile, I know this question is very vague, but is there something > > that could disable only spelling errors. I did a rec

Re: Integration of LanguageTool with VisualEditor

2015-07-29 Thread Daniel Naber
On 2015-07-29 09:49, Ankita Kumari wrote: > Meanwhile, I know this question is very vague, but is there something > that could disable only spelling errors. I did a recheck just now and > *only* spelling errors are being overlooked. If you use language code "en" instead of "en-US", "en-GB" etc. y

Re: Integration of LanguageTool with VisualEditor

2015-07-29 Thread Ankita Kumari
Meanwhile, I know this question is very vague, but is there something that could disable only spelling errors. I did a recheck just now and *only* spelling errors are being overlooked. On Wed, Jul 29, 2015 at 1:09 PM, Ankita Kumari wrote: > Even I don't understand how it's different. > Yes, I wi

Re: Integration of LanguageTool with VisualEditor

2015-07-29 Thread Ankita Kumari
Even I don't understand how it's different. Yes, I will set it up somewhere. Let me get after I do that. :) On 29-Jul-2015 1:07 pm, "Daniel Naber" wrote: > On 2015-07-29 08:55, Ankita Kumari wrote: > > > I have been using chrome dev-tools. What specifically do I need to > > look for? > > The requ

Re: Integration of LanguageTool with VisualEditor

2015-07-29 Thread Daniel Naber
On 2015-07-29 08:55, Ankita Kumari wrote: > I have been using chrome dev-tools. What specifically do I need to > look for? The requests to the LT server and its responses. How are they different from what happens with a simple textarea (where it works)? > 3. Include this in your LocalSettings.p

Re: Integration of LanguageTool with VisualEditor

2015-07-29 Thread Ankita Kumari
Also, if required, this is how you install VisualEditor : https://www.mediawiki.org/wiki/Extension:VisualEditor After setting up everything, to test, go to the VisualEditor editing mode by clicking on 'Edit'. Go to Insert > LanguageTool to fire up LanguageTool UI. Click on the send button (icon :

Re: Integration of LanguageTool with VisualEditor

2015-07-28 Thread Ankita Kumari
I have been using chrome dev-tools. What specifically do I need to look for? Also, here is the extension, if you want to try it : https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/LanguageTool 1. Clone the repository: git clone https://gerrit.wikimedia.org/r/mediawiki/extension

Re: Integration of LanguageTool with VisualEditor

2015-07-28 Thread Daniel Naber
On 2015-07-28 20:56, Ankita Kumari wrote: > Yes, it is. But that's exactly the point. It works fine for this. But > does not work for VisualEditor. It only detects repetition error. Where can we test your VisualEditor integration? Have you tried debugging the HTTP requests using Firebug? Regard

Re: Integration of LanguageTool with VisualEditor

2015-07-28 Thread Ankita Kumari
Yes, it is. But that's exactly the point. It works fine for this. But does not work for VisualEditor. It only detects repetition error. On 29-Jul-2015 12:03 am, "Daniel Naber" wrote: > On 2015-07-28 19:59, Ankita Kumari wrote: > > > I am sorry for not making this clear earlier. > > You need to v

Re: Integration of LanguageTool with VisualEditor

2015-07-28 Thread Daniel Naber
On 2015-07-28 19:59, Ankita Kumari wrote: > I am sorry for not making this clear earlier. > You need to visit this page : > http://tools.wmflabs.org/languageproofing-ui/ [1] That page works for me, i.e. the error is detected and marked with a yellow background. But I don't see anything specific

Re: Integration of LanguageTool with VisualEditor

2015-07-28 Thread Ankita Kumari
I am sorry for not making this clear earlier. You need to visit this page : http://tools.wmflabs.org/languageproofing-ui/ This is where the server is hosted : http://tools.wmflabs.org/languageproofing/ You won't be able to see anything on the second link. But you can query that server. Regards, A

Re: Integration of LanguageTool with VisualEditor

2015-07-28 Thread Jan Schreiber
> Sorry, it's "Internal error". I get it every time I visit > http://tools.wmflabs.org/languageproofing/ Same here. Am 28.07.2015 16:05, schrieb Daniel Naber: > On 2015-07-28 15:10, Ankita Kumari wrote: > >> Hi, how did you get "Internal server error"? That would still be >> progress because so f

Re: Integration of LanguageTool with VisualEditor

2015-07-28 Thread Daniel Naber
On 2015-07-28 15:10, Ankita Kumari wrote: > Hi, how did you get "Internal server error"? That would still be > progress because so far I haven't gotten any error. Sorry, it's "Internal error". I get it every time I visit http://tools.wmflabs.org/languageproofing/ Regards Daniel

Re: Integration of LanguageTool with VisualEditor

2015-07-28 Thread Ankita Kumari
Hi, how did you get "Internal server error"? That would still be progress because so far I haven't gotten any error. Regards, Ankita On Tue, Jul 28, 2015 at 5:05 PM, Daniel Naber wrote: > On 2015-07-28 12:51, Ankita Kumari wrote: > > > I have the server hosted here : > > http://tools.wmflabs.or

Re: Integration of LanguageTool with VisualEditor

2015-07-28 Thread Daniel Naber
On 2015-07-28 12:51, Ankita Kumari wrote: > I have the server hosted here : > http://tools.wmflabs.org/languageproofing/ [1] I get "Internal sever error", this is something that cannot be debugged from outside. I suggest you ask the Tool Labs people about which log file the error might appear i

Integration of LanguageTool with VisualEditor

2015-07-28 Thread Ankita Kumari
Hello, I have been trying to integrate LanguageTool with VisualEditor. I am stuck with this error, it can not detect any other errors apart from Repetition Errors. I have the server hosted here : http://tools.wmflabs.org/languageproofing/ Here is a UI to test the server : http://tools.wmflabs.org/

Re: Regarding Integration of LanguageTool with VisualEditor

2015-06-06 Thread Ankita Kumari
Hi Daniel, It works now. For some reason the data was not getting sent properly and hence all the errors (Text parameter missing). I need to look into why that was happening. But finally the data was sent by an ajax call. and it works. :) Thanks! On Sun, Jun 7, 2015 at 2:56 AM, Ankita Kumari wrot

Re: Regarding Integration of LanguageTool with VisualEditor

2015-06-06 Thread Ankita Kumari
The server is up now. On 07-Jun-2015 2:55 am, "Ankita Kumari" wrote: > I increased the memory and tried but it did not solve the problem. Yes, > the server is down currently. Should be up soon. > On 07-Jun-2015 2:53 am, "Daniel Naber" > wrote: > >> On 2015-06-06 22:42, Ankita Kumari wrote: >> >>

Re: Regarding Integration of LanguageTool with VisualEditor

2015-06-06 Thread Ankita Kumari
I increased the memory and tried but it did not solve the problem. Yes, the server is down currently. Should be up soon. On 07-Jun-2015 2:53 am, "Daniel Naber" wrote: > On 2015-06-06 22:42, Ankita Kumari wrote: > > > Here is the access log for the same : > > https://gist.github.com/ankita-kumari/

Re: Regarding Integration of LanguageTool with VisualEditor

2015-06-06 Thread Daniel Naber
On 2015-06-06 22:42, Ankita Kumari wrote: > Here is the access log for the same : > https://gist.github.com/ankita-kumari/608f2fe0e05dd75dd59b [5] I think you should first try to fix this problem: "There is insufficient memory for the Java Runtime Environment to continue." It means Java isn

Regarding Integration of LanguageTool with VisualEditor

2015-06-06 Thread Ankita Kumari
Hi, Like I said earlier I have setup the LanguageTool server here : http://tools.wmflabs.org/languageproofing/ I have been trying to query it from VisualEditor unsuccessfully so far. The error that I get is : XMLHttpRequest cannot load http://tools.wmflabs.org/languageproofing/. No 'Access-Cont