Page MenuHomePhabricator

Enable Wikicurricula for Ghana curriculum, Twi Wikipedia
Closed, ResolvedPublic

Description

Production site: https://tools-static.wmflabs.org/wikicurricula/visualization/
Ghana curiculum, English Wikipedia query: https://w.wiki/8nLx
Twi Wikipedia: https://tw.wikipedia.org
Ghana QID in Wikidata: Q117

  • Adapt script to work with the twi Wikipedia. This includes editing language_template_config.json to add twi parameters. We need help from editors of the Twi wikipedia to understand which are the template names. Suggestion: If we can't identify the templates just leave these parameters blank and let's have the visualization without counting the templates
  • Fetch data from Ghana's curriculum with reference to the twi wikipedia by running bot.py.
python3 bot.py tw 117

See the readme file for further instructions on how to run the script.

  • Create a new view with a plot that reads data from the new csv we've obtained
  • Add the link to this new view at the dropdown
    image.png (295×787 px, 125 KB)

Notice that this task will imply changins some name conventions.
For example, instead of ghana_results.txt we may have 117_tw.txt and 117_en.txt
instread of ghana.html we may have ghana_tw.html and ghana_en.html