==Description:-==
This is a GSoc/Outreachy project proposal for adding language proofing support in VisualEditor.
==Name and contact information==
**Name: ** Pratik Saxena
**Email:** pratikbsp@yahoo.com
**Timezone:** Kolkata, UTC+5:30
**Typical working hours:** 4 pm to 2 am (weekdays), 10 am to 8 pm (weekends)
**IRC Nick:** pratikbsp on Freenode ( Channels: #mediawiki, #mediawiki-visualeditor )
**Other contact details:** [[ http://www.mediawiki.org/wiki/User:Pratikbsp | pratikbsp on mediawiki ]]
**Possible mentors: ** Amir Aharoni (@Amire80), @eranroz
==About project :-==
This project aims to implement language proofreading in visualeditor by using an external language proofreading software LanguageTool. As an user enters text in visualeditor, it will be sent to languagetool server and based on response received from it ,user will be shown a message about errors they have made.Below attached prototype shows a rough idea about implementation of project.Check Text option will be available in the toolbar which can be turned off and on.A suggestion box will be added in the bottom of visualeditor in which response received from languagetool server wiil be shown.
{F106024}
==Approach:-==
**Task 1-**
Setting up environment and basic infrastructure
Adding support for languagetool server within mediawiki
**Task 2-**
Adding support within visualeditor to extract input text given by user
Querying extracted text to languagetool server
**Task 3-**
Processing XML response and showing it in the form of suggestion
Adding a button in visualeditor toolbar
==Project Schedule:-==
|Deadlines| Tasks to be completed|
|16/05/15-19/05/15| Setting up environment and basic infrastructure|
|20/05/15-05/06/15| Adding support for languagetool server in mediawiki|
|06/06/15-16/06/15| Adding support for extraction of input|
|17/06/15-28/06/15| Querying extracted text to languagetool server|
|29/06/15-30/06/15| Mid term evaluation|
|01/07/15-10/07/15| Processing xml response received from languagetool|
|11/07/15-20/07/15| Showing response received at bottom of visualeditor |
|16/08/15-05/08/15| Adding a button in visualeditor toolbar|
|06/08/15-12/08/15| Testing of code and checking for bugs|
|13/08/15-18/08/15| Fixing of bugs (if any)|
|22/08/15| Final report submission|
==About me :-==
I am Pratik, 21 year old, from Dhanbad ,India currently in 3rd year pursuing Mining engineering from Indian School of Mines,Dhanabd.I am a proud member of FOSS club in my college and have keen interest in open source projects.I love the idea of free and open knowledge for all and this is what drives me towards Wikimedia and its projects.It feels good through which everyone is benefited.
==Participation==
Being an active and interactive member of #mediawiki,#mediawiki-visualeditor irc channels I never hesitate to ask questions.I will be regularly in contact with mentors and try to achieve maximum in given period. Furthermore,I'll write weekly/monthly reports on MediaWiki itself to keep the community updated about the project.
==Microtask performed:-==
# Gerrit Changes:-[[ https://gerrit.wikimedia.org/r/#/c/198738/ | Delete row coloumn ]]:-Delete row/Delete column messages using plural
# Github:-[[ https://github.com/pratikbsp/languagetool/blob/29d3d952f7c8ca063b8201df551045ed3c471a63/languagetool-language-modules/en/src/main/resources/org/languagetool/rules/en/grammar.xml | Support for Hindi ]]:-Added support for Hindi in languagetool