Extension:PronunciationRecording/GSoC 2013/Project Updates

June
In the beginning of the month I was going through the documentation of Mediawiki codebase and the i18n framework. The beginning of the coding period was marked by installing the TimedMediaHandler locally and understanding its working. This was followed by a minor patch submission for "Including audio transcodes in TimedMediaHandler" : and studying how to write a handler for the WAV file format. Understanding about ID3 tags, RIFF container, WAV file format took some time as it was something new for me. During the course of writing the WAV Handler, we found out that the existing ID3 files were outdated and so I submitted a patch for updating the existing ID3 files. Our plan was to only allow PCM WAV to be uploaded, so for that I wrote a verifyUpload in the WAV Handler. Matthew's ingenious idea of using "wfDebugDieBacktrace" proved to be very helpful in testing the commit and finally it was merged. In the last week of June I started to work in the direction of "Implementing the Audio Recorder".

Mentor's Comments

 * In early June (during the Community Bonding Period), Rahul did a good job getting up to speed on MediaWiki and TimedMediaHandler, and continued planning for and designing the pronunciation recording flow. During the coding period, he successfully updated TimedMediaHandler to add WAV support.  There were some additional changes required, including updating the ID3 files, and only allowing PCM.  All of this was successfully completed by the end of June.  I believe he gained a better understanding of MediaWiki extension development in the process. Superm401 - Talk 18:09, 1 July 2013 (UTC)

17th June - 23rd June(Week 1)

 * Submitted a patch to "Include audio transcodes in TimedMediahandler". https://gerrit.wikimedia.org/r/#/c/69023/
 * Updating User Page.
 * Installing MediaWiki Vagrant.
 * Frequent Screen Shares with Matthew Flaschen.
 * Understanding ID3 tags, RIFF containers, WAV file format.
 * Submitted a patch to update existing ID3 files. https://gerrit.wikimedia.org/r/#/c/69952/
 * Started to work on the WAV Handler. https://gerrit.wikimedia.org/r/#/c/69401/ (Completed 60%)
 * Learned to rebase and bit of git basics too.

24th June - 30th June(Week 2)

 * Completed the work on WAV Handler. https://gerrit.wikimedia.org/r/#/c/69401/ and https://gerrit.wikimedia.org/r/#/c/71129/
 * Attended the GSoC/OPW IRC AllHands on 26th June.
 * Michael posted the request to enable WAV uploads on Wikimedia Commons Village Pump http://commons.wikimedia.org/wiki/Commons:Village_pump/Archive/2013/07#Adding_.wav_support_to_Commons.
 * Started to work on "Implementing the Audio Recorder".

1st July - 7th July(Week 3)
http://commons.wikimedia.org/wiki/Commons:Village_pump/Archive/2013/07#Adding_.wav_support_to_Commons
 * Had our first team meeting with Quim Gil on 2nd July.
 * With the help of Matthew and QChris we got a repository for our extension.
 * Tested the code exhaustively so that it only allows PCM WAV to be uploaded.
 * Got some positive feedback on the issue raised at the Commons Village Pump
 * Worked on my rusty Javascript skills to comprehend the RecorderJS library written by Matt Diamond. Chris Wilson, Developer Advocate at Google helped me understand the code a lot.