Addshore edited projects, added Librarization, Wikidata Tech Debt Exploration; removed Wikidata-Campsite. Addshore triaged this task as "Low" priority. Addshore added a comment.
The current state is that IdGenerator things occur in Wikibase, and then also in WikibaseSchema. The main differences between the 2 are that the WikibaseSchema code allows a table name to be passed in but Wikibase has one hardcoded. The Wikibase code has the option to use a separate db connection for getting the IDs. It still make sense for these to just live in a little self contained lib that can be used by both extensions and possibly in other places in the future. The library would benefit from the Wikimedia\Rdbms already existing as a separate composer library (which looks like it will be done as part of T158929 <https://phabricator.wikimedia.org/T158929>), but we can still make the library before then and just write that this is a library for use with mediawiki? This then causes other things for us to think about, as we could not declare compatability with the db lib, as it doesn't exist, which could cause future problems, however unlikely as the id generator things don't bind to the db classes in a complex way. Dependancy: - ILoadBalancer - getConnection - reuseConnection - IDatabase - startAtomic - selectRow - update - insert - endAtomic On the flip side, this isn't currently causing us any problems, so maybe we just don't do it now, keep and eye on it and maybe pick it up once mediawiki is actually split into some more useful libs. TASK DETAIL https://phabricator.wikimedia.org/T215405 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Addshore Cc: Addshore, Aklapper, Lucas_Werkmeister_WMDE, noarave, Tarrow, Michael, darthmon_wmde, pdehaye, Nandana, Lahi, Gq86, GoranSMilovanovic, Jayprakash12345, QZanden, YULdigitalpreservation, LawExplorer, Salgo60, _jensen, rosalieper, Agabi10, Izno, MGChecker, MisterSynergy, abian, Wikidata-bugs, aude, Dinoguy1000, fbstj, Lydia_Pintscher, Mbch331, Jay8g, bd808, Legoktm, Jonas
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
