GSoC/GCI Archive
Google Code-in 2014 Wikimedia Foundation

Huggle: Generic cleanup of exceptions

completed by: Evan McIntire

mentors: Petr Bena

Huggle is a fast diff browser application intended for dealing with vandalism on Wikimedia projects, written in C++ (C++11 with Qt framework). More information: https://meta.wikimedia.org/wiki/Huggle and https://en.wikipedia.org/wiki/Wikipedia:Huggle.

Source code is available at https://github.com/huggle/huggle3-qt-lx and can be compiled on Linux, Windows and MacOS.

Some exceptions have hardcoded function names or use generic Huggle::Exception instead of NullPointerException class for cases where we throw them in case there is NULL (or nullptr) in a pointer. These should be fixed, either by changing the exception type, replacing the function name with new macro BOOST_FUNCTION_NAME or clarifying the exception text. See example: https://github.com/huggle/huggle3-qt-lx/commit/71d3ff93a5e5e0cd0e358d02d1f3da8d30007173

Students are required to read Wikimedia's general instructions at https://www.mediawiki.org/wiki/Google_Code-in_2014#Instructions_for_GCI_students first.