Wikimedia

Fix the "Query is malformed" error in the "EasyQuery" JavaScript gadget on wikidata.org

To reproduce the problem:

The code to fix is located in https://www.wikidata.org/wiki/MediaWiki:Gadget-EasyQuery.js

When you work on this task, you can test the code and your changes by copy-pasting the code into the console (in Inspect element) of [[ https://en.wikipedia.org/wiki/Web_development_tools#Web_developer_tools_support | your web browser's developer tools ]]. Once your code works as expected, [[ https://www.mediawiki.org/wiki/Phabricator/Help#Uploading_file_attachments | upload your new version as a file ]] into the [[ https://phabricator.wikimedia.org/T176565 | Phabricator task ]]. @Ladsgroup will review your code there.

Please see https://phabricator.wikimedia.org/T176565 for more information, and use that Phabricator task for asking any specific questions.

Task tags

  • gadget
  • javascript
  • sparql

Students who completed this task

Rafid Aslam

Task type

  • code Code
close

2017