Extension:UIFeedback

The UIFeedback extension allows Users to give feedback about the user interface. It implements two different methods:
 * a questionnaire with several questions about a found usablity-flaw
 * a JavaScript-based screenshot-renderer where a user can highlight and blackout areas

The Renderer is based on the html2canvas-library by Niklas von Hertzen.

Installation
git clone https://github.com/lbenedix/UIFeedback.git
 * download the extension (will be transfered to Gerrit soon)

require_once( "$IP/extensions/UIFeedback/UiFeedback.php" );
 * add the following line to 'LocalSettings.php':

$wgEnableUploads = true; // enable file upload $wgFileExtensions = array_merge($wgFileExtensions, array('png')); // add png to the list of allowed extensions $wgMimeDetectorCommand = "file -bi"; // have a look at: http://www.mediawiki.org/wiki/Manual:$wgMimeDetectorCommand $wgStrictFileExtensions = true; // http://www.mediawiki.org/wiki/Manual:$wgStrictFileExtensions $wgCheckFileExtensions = true; // http://www.mediawiki.org/wiki/Manual:$wgCheckFileExtensions
 * make sure you activated fileupload for the screenshots. Add the following lines to 'LocalSettings.php':

run `update.php` from maintenance-folder
 * create the table in your database

Configuration parameters
The feedback method is chosen randomly by the JavaScript code. If you want to set it to use the screenshot method only you have to set 'var use_html2canvas = true;' in resources/ext.uiFeedback.js. If you only want the questionnaire method to 'var use_html2canvas = false'