[10:08:53] d3r1ck: I have updated the task description as discussed yesterday, Please have a look and publish or if anything is needed let me know Thanks https://phabricator.wikimedia.org/T201491, https://phabricator.wikimedia.org/T189330 [10:10:14] Links in GCI site https://codein.withgoogle.com/dashboard/tasks/5499678889082880/ [10:12:55] https://codein.withgoogle.com/dashboard/tasks/6089363537526784/ [15:47:47] hi [15:47:59] is it possible to list all templates used in a certain page? [15:49:46] biberao: click "edit" and scoll to the bottom. the templates are listed there, though the listing is collapsed by default [15:50:00] you can also click on "page info" in the navigation bar. [15:53:04] duesen_: doesnt show [15:53:11] and page info shows nothing ethe [15:58:52] biberao: then maybe no templates are indeed used? [15:59:15] maybe ya [15:59:16] haha [20:56:19] "Fun" bug. self::$db = \MediaWiki\MediaWikiServices::getInstance()->getDBLoadBalancerFactory()->getExternalLB($wgGlobalBlockingDatabase)->getConnection($dbtype); [20:56:20] https://i.imgur.com/A7tw4sQ.png [20:56:40] Calling getDBLoadBalancerFactory()->getExternalLB() returns the wrong database. [21:09:46] Trela: what MW version are you running? There were bugs relating to improper usage of selectDB() that were fixed a few weeks ago [21:10:33] legoktm: MW 1.31. Here is MW 1.29 for comparison where it gets the correct database: https://i.imgur.com/FUGwNiy.png [21:10:45] *1.31.1 [21:11:57] Trela: https://phabricator.wikimedia.org/T193565 I think, don't believe any of the patches were backported [21:13:22] I will look and back port as needed. This is a blocker for deploying 1.31 for us since we rely on a lot of a central database functionality. [21:14:29] https://gerrit.wikimedia.org/r/q/message:selectDb [21:31:03] legoktm: I just back ported the entire "includes/libs/rdbms/" folder to MW 1.31 and the issue still exists unfortunately. [21:31:16] uh [21:31:29] I'm not sure I'd recommend that, but do you have code that calls selectDB() ? [21:31:38] Nope. [21:31:41] self::$db = \MediaWiki\MediaWikiServices::getInstance()->getDBLoadBalancerFactory()->getExternalLB($wgGlobalBlockingDatabase)->getConnection($dbtype); [21:31:56] I am working on annotating the var_dump() output. [21:37:20] hi [21:37:37] if i wanted to sum the values of table rows what would be the best to do that [21:38:28] javascript? [22:19:34] biberao: that or lua [22:20:32] any good example?