Lucas_Werkmeister_WMDE created this task. Lucas_Werkmeister_WMDE added projects: Wikidata, wdwb-tech.
TASK DESCRIPTION In T285917 <https://phabricator.wikimedia.org/T285917>, the formatting of comments in revision lists was batched in MediaWiki core, to reduce the amount of database queries. (Regular comments need to do database queries to check if `[[links]]` in comments are blue or red, if I understand correctly.) Wikibase likes to add labels to links to entities in comments (e.g. `[[Property:P735]]: [[Q463035]]` → given name (P735) <https://www.wikidata.org/wiki/Property:P735>: Douglas (Q463035) <https://www.wikidata.org/wiki/Q463035>), and it would be great to batch this work as well, getting all the labels (and descriptions) in one go. Currently, getting 500 history lines from Q42 <https://www.wikidata.org/w/index.php?title=Q42&offset=&limit=500&action=history> makes 2816 DatabaseMysqli::doQuery() calls <https://performance.wikimedia.org/xhgui/run/view?id=615c673501454de6819ffeb9>. See also T292203 <https://phabricator.wikimedia.org/T292203> for a semi-related task where (due to a bug) we try to format so many links that the request times out. TASK DETAIL https://phabricator.wikimedia.org/T292545 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Lucas_Werkmeister_WMDE Cc: Aklapper, tstarling, daniel, Pchelolo, Krinkle, Legoktm, DannyS712, Umherirrender, Lucas_Werkmeister_WMDE, Invadibot, maantietaja, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Addshore, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
