GonzaGertrude added a comment.
In T347405#9244185 <https://phabricator.wikimedia.org/T347405#9244185>, @Piracalamina wrote: > Hello, @GonzaGertrude > //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?// -> to answer this question, the problem that I see here is that the excecution of bot.py takes quite a long time. > > I think that the Wikidata query and the excecution of bot.py should be done automatically but scheduled (monthly or weekly or daily). This should give us 2 voci files, one for Uruguay and one for Ghana, which are periodically updated. > > Then, when the user clicks on the link, the visualization will switch between ghana's voci file and uruguay's voci file. > > What do you think? If it seems sensible, please go ahead and create the issue :D Hello @Piracalamina, I have worked on this issue. Here is my PR https://github.com/wikicurricula-uy/wikicurricula-boilerplate/pull/62 I will appreciate 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, Tetawiah, 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]
