toan added a comment.
I'm gonna put this back in todo as it will not be very likely finished by the end of today. I've uploaded some thoughts <https://gerrit.wikimedia.org/r/704930> on how we could re-use the already existing redirect resolution that happens when looking up terms from the termfallbackcache. In the WikibaseLanguageIndependentLuaBindings we are using two different redirect resolvers that only differ by what they return as far as I can tell. By re-using them we can do the redirect lookup for free and update the usage with that? Never got it to actually update the thing in the database so I'm probably lacking in the understanding on how these usages get updated once they already exists. This method of updating(currently not updating) was inspired by looking at https://gerrit.wikimedia.org/r/703873 but I'm not sure if this is the correct way to update all of these usages? To some extent I'd probably prefer notifying the client of redirects via some other method, like a job might be a valid alternative? TASK DETAIL https://phabricator.wikimedia.org/T280910 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: toan Cc: Agabi10, Lucas_Werkmeister_WMDE, hoo, Ladsgroup, Lydia_Pintscher, Manuel, Aklapper, Jakob_WMDE, Biggs657, Invadibot, Lalamarie69, maantietaja, Juan90264, Alter-paule, Beast1978, Un1tY, Akuckartz, Hook696, Iflorez, Kent7301, alaa_wmde, joker88john, CucyNoiD, Nandana, Gaboe420, Giuliamocci, Cpaulf30, Lahi, Gq86, Af420, Bsandipan, GoranSMilovanovic, QZanden, LawExplorer, Lewizho99, Maathavan, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Addshore, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org