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/extensions/LanguageTool

2. Move to LanguageTool directory and get this patch :
cd LanguageTool
git review -d 226681

3. Include this in your LocalSettings.php :-
wfLoadExtension( 'LanguageTool' );

It is in a very rudimentary stage right now and I am trying to improve upon
it. But do let me know if you can figure out why the spelling mistakes and
grammatical errors do not get highlighted.



On Wed, Jul 29, 2015 at 12:47 AM, Daniel Naber <
daniel.na...@languagetool.org> wrote:

> 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?
>
> Regards
>   Daniel
>
>
>
> --
> ___
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>



-- 

Ankita Kumari
International Institute of Information Technology
Hyderabad


“Tis' better to live your own life imperfectly than to imitate someone
else's perfectly.”
--
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re: Re[2]: Fwd: Re[2]: Fwd: Re: pt_PT - spelling.txt

2015-07-28 Thread Daniel Naber
On 2015-07-28 21:44, Yakov Reztsov wrote:

> Step to reproduce:
> 1. Computer: Linux 32-bit, Java 7
> 2. LanguageTool-20150726-snapshot.zip
> 3. java -jar languagetool.jar
> 4. Language is already set to English or Russian.
> 5. User select language to Portuguese.
> 6. A window appears with an error.

I cannot reproduce this on Java 1.7.0_51 (64bit). But looking for the 
error message I found it could be caused by calling shutdown(). Can you 
see if commenting out "languageTool.shutdown();" in LanguageToolSupport 
fixes it?

Regards
  Daniel


--
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


Re[2]: Fwd: Re[2]: Fwd: Re: pt_PT - spelling.txt

2015-07-28 Thread Yakov Reztsov

Step to reproduce:
1. Computer: Linux 32-bit, Java 7
2. LanguageTool-20150726-snapshot.zip
3. java -jar languagetool.jar
4. Language is already set to English or Russian.
5. User select language to Portuguese.
6.  A window appears with an error.

I can not reproduce this error on Windows with 
LanguageTool-20150726-snapshot.zip.


>Вторник, 28 июля 2015, 0:09 +02:00 от Daniel Naber:
>
>On 2015-07-27 21:27, Marco A.G.Pinto wrote:
>
>>  There are some issues and, since I have no idea of how to fix it, I
>> decided to forward it to the mailing list.
>
>I've never seen that error before, we'll need instructions on how to 
>reproduce it in order to fix it.
>
>Regards
>  Daniel
>
>
>--
>___
>Languagetool-devel mailing list
>Languagetool-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/languagetool-devel


-- 

Yakov Reztsov
--
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


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?

Regards
  Daniel


--
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


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 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 to VisualEditor,
> isn't this just a TinyMCE textarea, like the one on languagetool.org?
>
> Regards
>   Daniel
>
>
>
> --
> ___
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
--
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


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 to VisualEditor, 
isn't this just a TinyMCE textarea, like the one on languagetool.org?

Regards
  Daniel


--
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


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

On 28-Jul-2015 8:26 pm, "Jan Schreiber" 
wrote:
>
> > 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 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
>
>
>
--
>
> ___
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>
--
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


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



signature.asc
Description: OpenPGP digital signature
--
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


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


--
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


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.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 in.
>
> Regards
>   Daniel
>
>
>
> --
> ___
> Languagetool-devel mailing list
> Languagetool-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/languagetool-devel
>



-- 

Ankita Kumari
International Institute of Information Technology
Hyderabad


“Tis' better to live your own life imperfectly than to imitate someone
else's perfectly.”
--
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


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

Regards
  Daniel


--
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel


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/languageproofing-ui/

While it works fine in the UI, I can not get it to detect the errors in the
VisualEditor editing area. I can see no errors in the server logs.
Where should I be looking?


-- 

Ankita Kumari
International Institute of Information Technology
Hyderabad


“Tis' better to live your own life imperfectly than to imitate someone
else's perfectly.”
--
___
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel