GonzaGertrude added a comment.
Hello @Piracalamina, I realized that my first implementation of Ghana's curriculum wasn't right so I have reimplemented it. I have updated the README with the steps I took. I have also added an html file called ghana.html, which display's Ghana's curriculum. Then, I added an href in index.html to link to ghana.html. However, Since the subjects.csv and query.csv contain hardcoded data about Uruguay, I decided to use this link in href "https://tools-static.wmflabs.org/ghana-national-curriculum/GhanaWikiCurricula/visualization/" . This way Ghana's data is preserved. Also, I added a query.py file which makes an API call to wikidata in order to retrieve Ghana's curriculum and then write the article names to query.csv and also the subjects to subjects.csv. I deployed the curricula to Toolforge. What can we automate? Dynamically fetch curriculum data from the API. for example when a user is viewing Uruguay's curricula and clicks on the link which goes to ghana.html, It would be cool If the API fucntion (query.py) "sensed" this and made a call to Wikidata. Should I open an issue about that? I will appreciated your feedback! TASK DETAIL https://phabricator.wikimedia.org/T347405 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Piracalamina, GonzaGertrude Cc: Urmilasc, 282001, Sannita, JoshuaBamson, Emmafman1, GonzaGertrude, CodeHadIt, ATEMK1NG, Jcxiang, Ndifon_Titiana, Aklapper, Saileshpat, Piracalamina, SPatnaik, Danny_Benjafield_WMDE, Maryann-Onyinye, SaleSaLh, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, Zblace, Raymond_Ndibe, ItamarWMDE, Karma2902, Sanyam.wikime, Akuckartz, Pavithraes, Arkadiy_Voronov, Nandana, Lahi, Himanshuc3, Gq86, contraexemplo, GoranSMilovanovic, Ivana_Isadora, QZanden, Xephyr826, Miriya52, merbst, LawExplorer, wassan.anmol117, _jensen, rosalieper, Scott_WUaS, Ixocactus, Wikidata-bugs, aude, He7d3r, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
