[02:04:17] CindyCicaleseWMF: https://www.mediawiki.org/w/index.php?diff=2865337&oldid=2864175&title=Gerrit%2FNew_repositories%2FRequests%2FEntries&type=revision [02:16:32] legoktm: Thank you so much! That's great!! [12:40:36] TimStarling: interesting find, re CoreParserTestSuite/DatabaseIntegrationTest. [12:40:43] the revert did not fix the test failure, thouogh [12:41:10] I'm going to see if i can replicate your findings, and see if it helps me to understand what'S going on. [12:42:22] I have another trick up my sleeve that I want to try to find this. Having a way to replicate the issue without running all the tests would certainly help [16:38:46] anomie: if you have time, please have a look at the Article patch https://gerrit.wikimedia.org/r/c/mediawiki/core/+/452708 [16:40:05] * anomie look [16:41:12] DanielK_WMDE: can https://phabricator.wikimedia.org/T201164 be marked as resolved? [16:41:36] CindyCicaleseWMF: yes, done! [16:42:01] DanielK_WMDE: thanks! [16:53:59] DanielK_WMDE: Can https://phabricator.wikimedia.org/T174044 be marked as resolved? That would be significant. It has one open subtask, but it isn't clear that it is a blocker. [17:07:28] CindyCicaleseWMF: the description says it covers the schema migration. that'S done-ish, though I'd like to see https://phabricator.wikimedia.org/T198561 happen before we say the mcd storage layer is deployed. Maybe even https://phabricator.wikimedia.org/T198308 [17:07:57] these tasks mean we actually *use* the mcr storage layer, in vanilla installs and the wmf cluster [17:08:20] right now, we have the code live, and the databases updated, but we are not yet using it. [17:08:30] if it'S not used, is it deployed? [17:09:24] Makes perfect sense. I will add those two tasks as subtasks of T174044 to make that clear. [17:09:25] T174044: Deploy MCR storage layer - https://phabricator.wikimedia.org/T174044 [17:09:39] CindyCicaleseWMF: maybe edit the description as well, to explain this [17:10:21] will do [17:12:32] done [17:14:41] CindyCicaleseWMF: thank you! [20:33:05] reedy, legoktm: https://gerrit.wikimedia.org/r/q/hashtag:merge-in-mw-1.33 for breaking-changes-for-mw-1.33 if you know of any more. [21:48:10] sanity check: if you move LocalSettings.php away and go to your wiki, does it work? or does it say "Error: Requested template, NoLocalSettings, is not callable" [21:49:42] it's not callable because it's invalid PHP, and I'm digging in to lightncandy to figure out why, but git blame says the relevant bits haven't been changed for years [21:49:59] seems like someone would have noticed [21:52:16] oh... [21:52:28] it fails on hhvm, works on php 7 [21:52:51] and I'm the first person ever to have a missing LocalSettings.php on an HHVM wiki [21:53:02] TimStarling: " LocalSettings.php not found. Please set up the wiki first." [21:53:13] have you got hhvm [21:53:22] nope [21:54:02] didn't read your comment re hhvm before i checked and replied [21:55:11] thanks anyway [21:55:34] I now have mw.localhost for HHVM and php7.localhost for PHP 7 [21:57:12] is lightncandy compiling it to something invalid? [21:57:35] or maybe it's not roundtripping through the templateparser cache properly? [21:58:29] yes it's compiling it to something invalid, no there is no cache involved [21:58:54] because $config->get( 'SecretKey' ) returns false [22:00:08] specifically, in the two inverted sections, {{^localSettingsExists}} and {{^installerStarted}}, it produces a ternary operator with no expression after the colon [22:00:36] effectively ($localSettingsExists ? 'something : ) [22:00:45] or rather ($localSettingsExists ? 'something' : ) [22:03:56] I've isolated it [22:04:38] lightncandy has horrible code. I don't understand why it's caching model is executable code in a string. Seems like it would be as simple and nearly as performant if it caches as a flat array of token ints and process those on call. [22:05:37] It even has a fairly decent idea of a parser. but it's never stored. [22:06:05] it's a bug in HHVM's double quote parser [22:06:47] https://paste.tstarling.com/p/hxxiMN.html [22:08:30] line 1944 of lightncandy.php hits it [22:08:50] https://3v4l.org/UUUvO [22:09:38] Doesn't seem to happen there, but maybe I missed part of it [22:09:41] only up to 3.22, I'm on 3.27 [22:09:59] Right [22:11:54] eh, whatever, I couldn't be bothered filing an upstream bug for those assholes [22:13:05] we're not going to upgrade to this version in production are we? [22:29:28] I suspect not. On 3.18 currently. [22:29:39] Might backport a few things as needed, though. [22:31:28] I now have coreonly.localhost, a plain install with no extensions for running core phpunit tests [22:32:24] TimStarling: Interesting. How do you share the source with the other mw. overlay fs or some such? [22:33:02] just a shared document root, similar to production [22:33:21] ah, right. conditional on loading the extension in settings. [22:33:35] but I have a separate apache virtual host for each one, so I can customise the image path [22:34:02] yes conditional loading, we should probably have more convenient support for that [22:34:28] TimStarling: btw, could you review or delegate https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/451011/ - we were waiting for Simetrical, but in his absence might need review from someone else instead. [22:35:33] I can work around it if needed, for the bug in RL/WikiModule. Just need to know :) [22:36:50] what about HTML comments [22:37:31] you know the script data escaped state in the HTML 5 spec [22:40:57] in the double-escaped state, only goes back to the (single) escaped state [22:42:28] so if you injected say