[00:00:43] Krinkle: Any idea what's up with https://integration.wikimedia.org/ci/job/jsduck/395/consoleFull ? [00:00:50] Krinkle: (https://gerrit.wikimedia.org/r/#/c/196481/) [00:01:27] James_F: Needs submodules [00:01:32] legoktm broke that earlier [00:01:34] :D [00:01:35] Krinkle: Oh. [00:01:41] legoktm: Can you please not? :-) [00:01:53] After I reassured him it wouldn't break anything [00:01:54] Being unable to merge is a bit sucky. [00:02:16] Well then, can you please revert? [00:07:11] (03PS1) 10Jforrester: Update VE core submodule to master (792b450) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196490 [00:08:18] James_F: in 6 + 8 + 3 minutes it'll be live. [00:09:17] (03CR) 10jenkins-bot: [V: 04-1] Update VE core submodule to master (792b450) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196490 (owner: 10Jforrester) [00:17:43] Krinkle: That's… worryingly precise. [00:18:07] (03CR) 10Krinkle: "recheck" [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196490 (owner: 10Jforrester) [00:18:58] (03CR) 10Krinkle: "recheck" [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196481 (https://phabricator.wikimedia.org/T92427) (owner: 10Trevor Parscal) [00:24:41] James_F, Krinkle it's better than 42. [00:27:01] (03CR) 10Jforrester: [C: 031] Stringify and parse rendered references [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196481 (https://phabricator.wikimedia.org/T92427) (owner: 10Trevor Parscal) [00:36:21] 10VisualEditor, 10WikiEditor, 6Collaboration-Team, 10Flow, 7Design: Editing toolbar(s) for Flow (VE and/or wikitext toolbar) - https://phabricator.wikimedia.org/T78346#1115463 (10Mattflaschen) >>! In T78346#1115277, @DannyH wrote: > I added new screenshots from the prototype to T90764. > > I have a ques... [00:37:45] 10OOjs, 10Continuous-Integration, 6Labs, 10Wikimedia-Labs-Infrastructure, 6operations: Jenkins failing with "Error: GET https://saucelabs.com: Couldn't resolve host name." - https://phabricator.wikimedia.org/T92351#1115471 (10scfc) I don't think so because that was merged earlier. But on March 6th https... [00:46:26] editing complex tables with VE like it's nothing. we've come a long way ... [00:54:00] (03PS1) 10Alex Monk: Don't try to access x-parsoid-performance on restbase cache hits [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196503 [00:54:49] (03CR) 10Jforrester: [C: 032] Don't try to access x-parsoid-performance on restbase cache hits [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196503 (owner: 10Alex Monk) [00:55:05] Eloquence: :-) [00:55:10] Eloquence: More to come! [00:55:15] (03CR) 10GWicke: [C: 032] Don't try to access x-parsoid-performance on restbase cache hits [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196503 (owner: 10Alex Monk) [00:58:03] (03Merged) 10jenkins-bot: Don't try to access x-parsoid-performance on restbase cache hits [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196503 (owner: 10Alex Monk) [01:03:30] (03PS1) 10Legoktm: jenkins job validation, do not submit [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/196506 [01:08:48] (03Abandoned) 10Legoktm: jenkins job validation, do not submit [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/196506 (owner: 10Legoktm) [01:26:34] edsanders|away: Has italic-cyrl-ka.svg gone walkies or did it never exist? [01:27:05] Ooooh. [01:27:08] It was a fun toy. [01:29:16] (03CR) 10Jforrester: "recheck" [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/195802 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [01:30:26] Krinkle: Can I grab a quick +2 on https://gerrit.wikimedia.org/r/#/c/196490/ to unbreak the VE link icon for Beta Cluster? [01:33:05] James_F: Checking [01:33:21] 10VisualEditor, 10VisualEditor-Performance, 3VisualEditor 2014/15 Q3 blockers: Retrieve page HTML directly from RESTbase - https://phabricator.wikimedia.org/T90374#1115575 (10GWicke) [01:33:23] 10VisualEditor, 10MediaWiki-General-or-Unknown, 10RESTBase, 6Services, and 4 others: Parsoid performance: Use RESTBase from the MediaWiki Virtual Rest Service - https://phabricator.wikimedia.org/T89066#1115574 (10GWicke) [01:33:25] 10VisualEditor, 10VisualEditor-Performance, 10MediaWiki-General-or-Unknown, 10MediaWiki-Interface, and 8 others: Use Parsoid HTML for read-only views too - https://phabricator.wikimedia.org/T55784#1115572 (10GWicke) [01:33:26] 10VisualEditor, 10VisualEditor-Performance, 10Parsoid, 10RESTBase, 7Epic: Store & load data-mw separately - https://phabricator.wikimedia.org/T78676#1115576 (10GWicke) [01:33:39] Krinkle: Thanks. [01:34:56] (03PS1) 10Jforrester: [WIP] Move all our icons to OOjs UI's icon packs [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196511 [01:35:14] 10VisualEditor, 10MediaWiki-General-or-Unknown, 10RESTBase, 6Services, and 4 others: Parsoid performance: Use RESTBase from the MediaWiki Virtual Rest Service - https://phabricator.wikimedia.org/T89066#1026793 (10GWicke) VE is now using RESTBase on all phase0 wikis including https://www.mediawiki.org. Furt... [01:35:41] (03PS1) 10Jforrester: [WIP] Bring in remaining VisualEditor icons for Apex and MediaWiki themes [oojs/ui] - 10https://gerrit.wikimedia.org/r/196512 [01:36:25] (03PS1) 10Alex Monk: Don't try to access x-parsoid-performance on restbase cache hits [extensions/VisualEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/196514 [01:36:25] 10VisualEditor, 10MediaWiki-General-or-Unknown, 10RESTBase, 6Services, and 4 others: Parsoid performance: Use RESTBase from the MediaWiki Virtual Rest Service: phase0 done, others to follow - https://phabricator.wikimedia.org/T89066#1115581 (10GWicke) [01:36:27] (03CR) 10jenkins-bot: [V: 04-1] [WIP] Bring in remaining VisualEditor icons for Apex and MediaWiki themes [oojs/ui] - 10https://gerrit.wikimedia.org/r/196512 (owner: 10Jforrester) [01:37:30] (03CR) 10Krinkle: [C: 032] Update VE core submodule to master (792b450) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196490 (owner: 10Jforrester) [01:39:07] James_F http://imgur.com/NxAbGMX [01:39:19] Krenair: Fancy. :-) [01:39:38] that's using wikieditor's i18n messages for the different pages [01:39:41] Krenair: How do we i18n the names of the groups currently? Is it preserved in the JSON lookup? [01:39:42] I guess those should be in MW core too :/ [01:39:43] (03Merged) 10jenkins-bot: Update VE core submodule to master (792b450) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196490 (owner: 10Jforrester) [01:39:43] Aha, right. [01:39:52] Yeah. That'll be a fun transport. [01:45:23] James_F: https://doc.wikimedia.org/_krinkle/coverage/oojs/master/PhantomJS%201.9.8%20(Linux)/ [01:45:40] Krinkle: Nice. [01:46:13] Krinkle: Look to be some simple things to add test coverage for, too. [01:46:42] Unfortunately, there is no path to integration.wikimedia.org right now [01:46:46] oo.setProp called without an Object [01:46:49] where the coverage directory is [01:47:08] Different servers? [01:47:15] No, just different docroots [01:47:26] It's possible, but just requires more refactoring [01:47:29] Sure. [01:48:16] (03CR) 10GWicke: [C: 032] Add bash script for updating submodule [services/citoid/deploy] - 10https://gerrit.wikimedia.org/r/195911 (owner: 10Mvolz) [01:48:52] (03CR) 10GWicke: [C: 032] Remove the zotero translation server and translators [services/citoid/deploy] - 10https://gerrit.wikimedia.org/r/194548 (https://phabricator.wikimedia.org/T89872) (owner: 10Alexandros Kosiaris) [01:48:59] James_F: It doesn't merge coverage from Chrome/Firefox/Node.js though [01:49:14] So it'll never reach 100% of all branches [01:49:31] 10OOjs-UI: oojs ui `npm build` fails in Rasterizing SVG to PNG with "Warning: Bad argument - https://phabricator.wikimedia.org/T92479#1115587 (10Spage) >>! In T92479#1113001, @matmarex wrote: > If it doesn't help, also wipe the NPM cache with `npm cache clean`, then remove `node_modules` and do `npm install`.... [01:49:44] Short of mocking a lot, which is possible, but not worth it right now [01:49:48] Krinkle: Is that even something that'd be wise? [01:49:50] * James_F nods. [01:50:03] It is covered in tests. So it's not like we're not covering it. [01:50:05] Just not in the same report [01:50:45] 10OOjs-UI, 7Upstream: oojs ui `npm build` fails in Rasterizing SVG to PNG with "Warning: Bad argument - https://phabricator.wikimedia.org/T92479#1115588 (10Spage) [01:52:32] I mean, is it wise trying to show that code is test-covered in at least one of three environments? [01:52:56] If oo.clone is only tested in Firefox (say) that's a risk, not a bonus. [01:52:57] Etc. [01:53:12] Yeah [01:53:43] I guess we could decorate functions and even lines with comments explaining which environments they're for… [01:53:45] But ick. [01:53:56] but I mean, we are running tests in all three (Chrome, Firefox, Node.js) and some of the branches indicated as not coverage are in fact covered in those other runs and would result in build failure if that code regressed. But the publsihed report is only of the coverage of one of those runs. [01:54:06] Yeah. [01:54:44] (03PS2) 10Jforrester: [WIP] Bring in remaining VisualEditor icons for Apex and MediaWiki themes [oojs/ui] - 10https://gerrit.wikimedia.org/r/196512 [01:54:46] OK, anyway. Home time. [01:54:49] * James_F waves. [01:55:00] Krinkle: Please make the 09:00 tomorrow. [01:55:17] They should already be indicating browser-specific branches. jQuery more or less standardised on a format of // Support: \n // Explanation. [01:55:29] I did the same in MediaWiki core [01:55:30] (03CR) 10jenkins-bot: [V: 04-1] [WIP] Bring in remaining VisualEditor icons for Apex and MediaWiki themes [oojs/ui] - 10https://gerrit.wikimedia.org/r/196512 (owner: 10Jforrester) [01:55:40] James_F: Health check? [01:55:44] Yup. [01:56:02] (03CR) 10Jforrester: "Whee, now with added npm." [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/195802 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [01:56:56] 10VisualEditor, 10VisualEditor-Performance, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): Don't disable native object editing in IE and WebKit browsers - https://phabricator.wikimedia.org/T89928#1115596 (10Jdforrester-WMF) [01:58:52] 10OOjs, 10Continuous-Integration: Publish QUnit coverage on integration.wikimedia.org - https://phabricator.wikimedia.org/T87490#1115600 (10Krinkle) In oojs, oojs-ui and VisualEditor, test coverage can be generated locally by running `npm install && npm test` in their directory and opening the coverage directo... [02:10:34] 10OOjs, 10Continuous-Integration, 6Labs, 10Wikimedia-Labs-Infrastructure, 6operations: Jenkins failing with "Error: GET https://saucelabs.com: Couldn't resolve host name." - https://phabricator.wikimedia.org/T92351#1115608 (10coren) The only net effect the change can make is that //iff// the fqdn has exa... [02:25:19] James_F, I still think we need to fix the scrollbar disappearance issue with modal dialogs ... very visually apparent in a lot of contexts [02:25:26] triggers reflows etc. [02:25:44] Eloquence: Yeah, it's on Bartosz's/Ed's list to fix/ [02:25:49] nice [02:30:47] 10VisualEditor, 10VisualEditor-Performance, 10MediaWiki-General-or-Unknown, 10MediaWiki-Interface, and 8 others: Use Parsoid HTML for read-only views too - https://phabricator.wikimedia.org/T55784#1115631 (10GWicke) [02:41:14] 10VisualEditor, 10VisualEditor-Performance, 10Flow, 10Parsoid, and 5 others: Move data-parsoid and possibly data-mw out of the DOM, add uids - https://phabricator.wikimedia.org/T54936#1115641 (10GWicke) [02:41:16] 10VisualEditor, 10VisualEditor-MediaWiki, 10Flow, 10MediaWiki-General-or-Unknown, and 5 others: Use PHP Virtual REST Service to access Parsoid - https://phabricator.wikimedia.org/T1218#1115642 (10GWicke) [03:01:51] 10VisualEditor, 10VisualEditor-Performance, 10Parsoid, 10RESTBase, 7Epic: Store & load data-mw separately - https://phabricator.wikimedia.org/T78676#1115648 (10GWicke) [03:19:25] 10VisualEditor: Schema:Edit seems to incorrectly set users as anonymous. - https://phabricator.wikimedia.org/T92596#1115650 (10Milimetric) 3NEW a:3Krenair [04:15:08] (03CR) 10GWicke: [V: 032] Add bash script for updating submodule [services/citoid/deploy] - 10https://gerrit.wikimedia.org/r/195911 (owner: 10Mvolz) [04:15:29] (03CR) 10GWicke: [C: 032 V: 032] Update citoid submodule to master (2cd246b) [services/citoid/deploy] - 10https://gerrit.wikimedia.org/r/195912 (owner: 10Mvolz) [04:15:48] (03CR) 10GWicke: [V: 032] Remove the zotero translation server and translators [services/citoid/deploy] - 10https://gerrit.wikimedia.org/r/194548 (https://phabricator.wikimedia.org/T89872) (owner: 10Alexandros Kosiaris) [08:37:24] 10VisualEditor, 10VisualEditor-EditingTools, 10VisualEditor-Tables: Table with some template-generated rows appears with additional jumbled empty table cells - https://phabricator.wikimedia.org/T70306#1115952 (10Tbayer) Another example with [[en:Template:Singlechart]]: https://en.wikipedia.org/w/index.php?ti... [09:29:17] (03PS2) 10Gerrit Patch Uploader: Highlight target references [extensions/Cite] - 10https://gerrit.wikimedia.org/r/196172 (https://phabricator.wikimedia.org/T10303) [09:29:20] (03CR) 10Gerrit Patch Uploader: "This commit was uploaded using the Gerrit Patch Uploader [1]." [extensions/Cite] - 10https://gerrit.wikimedia.org/r/196172 (https://phabricator.wikimedia.org/T10303) (owner: 10Gerrit Patch Uploader) [09:33:12] (03CR) 10Bartosz Dziewoński: "Works for me. Can you file a bug, providing information about your browser?" [oojs/ui] - 10https://gerrit.wikimedia.org/r/188289 (owner: 10Jforrester) [09:44:44] (03CR) 10Schnark: "According to https://phabricator.wikimedia.org/T86782#1000248 there are plans to change the class="references" to class="mw-references". H" [extensions/Cite] - 10https://gerrit.wikimedia.org/r/196172 (https://phabricator.wikimedia.org/T10303) (owner: 10Gerrit Patch Uploader) [09:55:52] (03CR) 10Schnark: Highlight target references (031 comment) [extensions/Cite] - 10https://gerrit.wikimedia.org/r/196172 (https://phabricator.wikimedia.org/T10303) (owner: 10Gerrit Patch Uploader) [10:09:02] hello [10:10:34] i did some changes and after creating new branch it doesn't show any changes when i do git diff [10:15:31] hi [10:17:30] ff is recently full of problems [10:19:53] ff? [10:20:10] fast forward [10:35:54] (03CR) 10Thiemo Mättig (WMDE): [C: 031] "Restoring my +1." [extensions/Cite] - 10https://gerrit.wikimedia.org/r/196172 (https://phabricator.wikimedia.org/T10303) (owner: 10Gerrit Patch Uploader) [10:43:29] 10VisualEditor: Make the visual template editor drag-able & re-sizable to allow editing easy - https://phabricator.wikimedia.org/T92396#1116243 (1001tonythomas) [10:43:30] 10OOjs-UI: OOjs UI: Dialogs should be repositionable/draggable - https://phabricator.wikimedia.org/T51969#1116244 (1001tonythomas) [10:47:04] 10VisualEditor: Fix styling inconsistencies between context item and inspector - https://phabricator.wikimedia.org/T90896#1116253 (10Aklapper) I agree. These needs steps (or links to documentation) how to see the "inspector" and what "context item" refers to here [[ https://www.mediawiki.org/wiki/Phabricator/Pro... [11:02:09] Juandev: Firefox problems? Could you elaborate? [11:02:15] siddhism: Are you still fighting git? [11:02:28] yes [11:02:55] Same problem as an hour ago? [11:02:59] RoanKattouw: well, edit toolbar doesn not travel with you scrolling down [11:03:03] yes [11:03:19] Juandev: On which wiki? [11:03:24] git status doesn't list my changes too [11:03:35] That sounds like a bug that we caused yesterday and should have been fixed yesterday after I went to sleep [11:03:39] RoanKattouw: after saving FF still think you are in edit mode (everything is gray) and when you leave it warns you that there is unsaved window [11:03:44] RoanKattouw: cs.wv [11:03:48] siddhism: Could you pastebin the output of git status and of git log -5 --oneline ? [11:03:55] Juandev: Checking [11:04:06] RoanKattouw: ah, nice:-) it works properly in Google Chrome [11:04:21] Thanks Juandev , I was literally about to ask that question :) [11:05:12] and it kind of mismach the design of the page, but I dont know in which state, weather in edit mode or after saving [11:05:25] eg. category bar is placed into the middle of the page [11:05:29] Hmm, WFM https://cs.wikiversity.org/w/index.php?title=U%C5%BEivatel:Roan_Kattouw_%28WMF%29/Sandbox&action=history [11:05:35] Juandev: Can you reproduce these problems when logged out? [11:06:56] RoanKattouw: well, not. because when I am logged out I cannot use VE at all [11:07:30] Juandev: You can if you manually add ?veaction=edit to the URL [11:07:33] e.g. https://cs.wikiversity.org/wiki/U%C5%BEivatel:Roan_Kattouw_%28WMF%29/Sandbox?veaction=edit [11:07:39] oh key [11:09:24] it works properly [11:09:24] http://pastebin.com/HcXAf1av [11:09:42] Juandev: OK so I suspect this is a problem with a Gadget or user JS of some kind [11:09:58] Juandev: Could you log back in and reproduce it, but this time keep the console open and see what errors you get? [11:10:05] that would be easy, there are about 3 gadgets available [11:11:06] siddhism: Thanks. Could you also pastebin the output of git status and git branch ? [11:11:52] muh, now it works properly [11:12:44] What you described does fit the description of a bug we had [11:12:52] So you may have been running cached code from before we fixed it or something [11:13:11] Especially if you encountered this yesterday; we did a deploy around midnight CET last night [11:15:32] RoanKattouw:http://pastebin.com/2sLyuUt7 its the git status, i am siddhism [11:17:05] http://pastebin.com/8chkPjzv its the git branch output [11:18:28] RoanKattouw: great [11:18:33] thx [11:21:02] rits: OK so git diff --staged will show you the diff to MessagesEn.php (I think that was the file you meant to modify?), as well as a lot of maintenance/vendor stuff you probably didn't mean to do [11:21:25] rits: git diff --staged tells you what's going to happen when you run git commit, basically [11:21:58] If you're extra paranoid you can also run git commit -v and it'll tell you what it's going to commit in the editor where you write the commit message, and you can use 'git show' after committing to check what was just committed [11:22:34] In your situation, I'm guessing you probably didn't intend to add all the maintenance/vendor/monolog stuff; if you need to remove that from what will be committed, then run git reset maintenance/vendor/monolog [11:22:46] (If you did intend to commit that, then you're on the right track) [11:22:56] Then once git diff --staged matches what you want to do, run git commit and you should be all set [11:23:23] RoanKattouw: no i actually made the changes to a css file of visualeditor, MessagesEn.php change was a different, i didnt want to commit it [11:23:43] Oh OK I see [11:23:54] You appear to have been running git status etc in the MediaWiki core directory [11:23:59] VisualEditor is a separate repositoiry [11:24:01] *repository [11:24:11] all other changes are been tracked but that css files doesnt shows up, [11:24:15] So you need to cd extensions/VisualEditor or wherever it is, then run git diff / git status [11:24:59] oh ok i will try it, just a minute [11:25:13] * RoanKattouw is on babysitting duty + lunch, back in 20-30 mins [11:46:52] (03CR) 10Catrope: [C: 032] Stringify and parse rendered references [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196481 (https://phabricator.wikimedia.org/T92427) (owner: 10Trevor Parscal) [11:49:03] (03Merged) 10jenkins-bot: Stringify and parse rendered references [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196481 (https://phabricator.wikimedia.org/T92427) (owner: 10Trevor Parscal) [11:49:14] 10VisualEditor: "Cannot read property 'getSurface' of null" error when clicking in 'Insert paragraph' in Basic citation inspector - https://phabricator.wikimedia.org/T92572#1116354 (10Catrope) This looks like it's probably related to T92427 and T92583 and maybe fixed by https://gerrit.wikimedia.org/r/#/c/19648... [11:49:15] RoanKattouw:i did git diff and git status from the visualeditor repository its doesnt show the changes then also [11:49:30] rits: Does git diff --staged show them? [11:50:39] no it just displays the MessagesEn.php change [11:51:33] css file is not tracked anywhere, [11:51:56] rits: You need to cd into the VisualEditor directory [11:52:02] Then run git diff and friends [11:52:23] If that doesn't work try cd'ing to the directory where that CSS file is [11:52:45] yes i did i am in the VisualEditor directory, there also git diff --staged shows the changes to messagesEn.php only [11:53:17] wtf that shouldn't happen [11:53:28] You shouldn't be able to see MessagesEn.php changes from the VisualEditor directory :S [11:53:44] oh ok i will do it hopefully moving to the css file directory could solve the issue [11:55:46] RoanKattouw: see here is the output of git diff --staged http://pastebin.com/ptVP3eNX, i am also surprised how could it shows the MessagesEn.php changes [11:56:18] 10VisualEditor: "Cannot read property 'getSurface' of null" error when clicking in 'Insert paragraph' in Basic citation inspector - https://phabricator.wikimedia.org/T92572#1116375 (10Catrope) Yup, this is "fixed" now in that clicking the slug doesn't cause an error or do anything, but we probably shouldn't be... [11:58:18] 10VisualEditor: Nonfunctional slugs appear in reference context item - https://phabricator.wikimedia.org/T92572#1116379 (10Catrope) [11:59:28] 10VisualEditor, 10VisualEditor-ContentEditable, 7Technical-Debt, 3VisualEditor 2014/15 Q3 blockers: Audit and fix events bound to CE nodes but not unbound when destroy() is called - https://phabricator.wikimedia.org/T92583#1116382 (10Catrope) Hmm, maybe we could use the DM rendering rather than the CE rend... [12:00:33] RoanKattouw: moved to the css file directory the same output no change, and more surprisingly the MessagesEn.php change is displayed there also [12:01:17] (03PS1) 10Esanders: Compensate for loss of margin when opening modals [oojs/ui] - 10https://gerrit.wikimedia.org/r/196571 (https://phabricator.wikimedia.org/T89612) [12:01:24] 10OOjs-UI, 10VisualEditor, 10VisualEditor-MediaWiki: The OOUI hack to prevent scrolling while dialog is open causes pages to scroll when dialog opens - https://phabricator.wikimedia.org/T89612#1116393 (10Esanders) [12:03:09] rits: What is the CSS file directory exactly? [12:05:44] RoanKattouw: this is the path /var/www/html/core/extensions/VisualEditor/lib/ve/src/ui/styles/widgets [12:06:06] Weird, that should totally be working [12:06:07] Hmm [12:06:23] Does /var/www/html/core/extensions/VisualEditor/lib/ve/.git exist? Does /var/www/html/core/extensions/VisualEditor/.git exist? [12:09:48] no it is not there i just saw [12:10:55] oh i just remember that i downloaded the tarball as for the mediawiki alpha [12:11:01] aaaaah [12:11:02] Aha [12:11:10] OK, so git was never initialized for VE [12:11:16] I can help you solve that [12:11:25] rits: Did you change anything else except for that CSS file? [12:11:34] no only the css file [12:11:39] OK [12:11:55] Copy the CSS file to somewhere safe (i.e. somewhere outside of /var/www , maybe your home directory or something) [12:12:13] ok [12:13:42] Then once you've done that do: cd /var/www/html/core/extensions ; rm -rf VisualEditor ; git clone ssh://yourgerritusername@gerrit.wikimedia.org:29418/mediawiki/extensions/VisualEditor.git ; cd VisualEditor ; git submodule update --init [12:15:43] ok thank you sooooo much, i was so stuck here, thank you so much :) [12:44:51] (03PS13) 10Catrope: Load RL modules in one load.php request, rather than in two stages [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/193026 (https://phabricator.wikimedia.org/T53569) [13:02:59] RoanKattouw_away, insert/replace operations use annotation store indices, whereas annotate operations use the annotation objects themselves [13:30:53] (03CR) 10Esanders: [C: 04-1] "Error doesn't fit: http://i.imgur.com/q7KqbZc.png" [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/195802 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [13:35:16] edsanders: Hmm, right [13:35:28] edsanders: Seems worth fixing [13:37:49] (03PS3) 10Esanders: Use OOjs UI progress bar while VE is loading [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/175488 [13:37:55] 10VisualEditor: Cite context should update after changes made to the cite - https://phabricator.wikimedia.org/T92624#1116551 (10Florian) 3NEW [13:43:27] 10VisualEditor: Citation context should update after changes made to the citation - https://phabricator.wikimedia.org/T92624#1116563 (10Florian) [14:33:50] (03PS14) 10Catrope: Load RL modules in one load.php request, rather than in two stages [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/193026 (https://phabricator.wikimedia.org/T53569) [14:46:28] Morning, lovely people. [14:47:06] (03CR) 10Jforrester: "> Error doesn't fit: http://i.imgur.com/q7KqbZc.png" [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/195802 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [14:47:55] (03CR) 10Esanders: [C: 04-1] "still depends on styles - may be abandoned in favour of other progress bar commits." [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/175488 (owner: 10Esanders) [14:48:46] James_F: What do you want me to review most right now? [14:48:50] (03CR) 10Jforrester: "Add oojs-ui.styles to the initinit dependency and it should work?" [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/175488 (owner: 10Esanders) [14:48:52] "Load RL modules in one load.php request," ? [14:48:59] Krinkle: Yes. [14:49:02] Krinkle: Yes [14:49:11] Krinkle: Unless RoanKattouw wants your assistance in part II of that. [14:49:15] Ori reviewed it last night and I responded to that [14:49:19] No I think I'll be good for now [14:49:23] Kk. [14:49:34] In response to Ori's review, the plugin code is now much smaller [14:49:34] RoanKattouw: On what are you working? Need anything? [14:49:38] Functional programming FTW [14:49:38] Wanna make sure I"m not reviewing while you refactor it underneath me [14:49:43] No go for it [14:49:47] I'm working on part 2 [14:50:11] However I resisted the temptation to replace function ( callback ) { callback(); } with Function.prototype.call.bind( Function.prototype.call ); :P [14:50:37] edsanders: How'd you feel about a quick trip to Linz with me in mid-April? [14:50:50] RoanKattouw, do we average stats for how loading the various stages of loading take [14:51:10] edsanders: I don't think so, but I should probably talk to ori about doing that, it sounds like a good idea [14:51:40] James_F, what for? [14:51:47] RoanKattouw, what stats do we have? [14:51:59] I thought that's what mw.track did [14:52:18] edsanders: Talking to the substance.io/PLOS Tahi editor people. [14:52:23] (03PS1) 10Mvolz: Add ability to set request language [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/196581 (https://phabricator.wikimedia.org/T90603) [14:52:42] (03CR) 10jenkins-bot: [V: 04-1] Add ability to set request language [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/196581 (https://phabricator.wikimedia.org/T90603) (owner: 10Mvolz) [14:53:46] (03PS2) 10Mvolz: Add ability to set request language [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/196581 (https://phabricator.wikimedia.org/T90603) [14:53:57] (03PS3) 10Mvolz: Add ability to set request language [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/196581 (https://phabricator.wikimedia.org/T90603) [14:55:44] edsanders: So our ve.track() stuff does allow us to capture how long each loading phase takes in vbench [14:55:50] But we don't currently send that data to EventLogging [14:56:01] We do measure how long the entire loading process takes I believe [14:56:23] RoanKattouw: It seems a few modules are no longer referenced: ext.ve's mwreference.core, mwtransclusion.core, and language [14:56:30] I guess they're dependencies? [14:56:35] Or otherwise redundant? [14:56:59] The *.core ones are probably dependencies of things and not currently used, although they were probably used by mobile in the past [14:57:03] language sounds like a preference module [14:57:15] $wgVisualEditorPreferenceModules or whatever it's called ends up referencing modules indirectly [14:57:20] It used to be hard coded in the same array [14:58:25] Language is a plugin module. [14:58:31] It used to be a preference module. [14:59:24] mwref.core and mwtrans.core are dependencies. So they're redundant and will be auto-added by mw.loader to the queue. [14:59:40] ext.visualEditor.language doesn't seem to be included in any obvious manner however [15:00:19] Krinkle: ve.init.mw.Target constructor. [15:00:39] Oh, did it move there? [15:00:45] I must have rebased across thatw rong [15:00:57] That's where it is now, yes. [15:01:04] (In master.) [15:01:18] (03CR) 10Krinkle: [C: 04-1] "This removes ext.visualEditor.language, ext.visualEditor.mwreference.core, and ext.visualEditor.mwtransclusion.core from the module list. " [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/193026 (https://phabricator.wikimedia.org/T53569) (owner: 10Catrope) [15:01:30] (03PS15) 10Catrope: Load RL modules in one load.php request, rather than in two stages [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/193026 (https://phabricator.wikimedia.org/T53569) [15:02:29] Krinkle: PS15 adds .language, the mwfoo.core ones are still loaded because the mwfoo ones are listed and they depend on their .core modules [15:04:19] RoanKattouw: init.init and targetLoader only depend on ve.track, which does not depend on oojs or es5-shim in anyway [15:05:21] After the third promise callback they will be available inside initinit.js [15:05:28] But not in the second where it uses forEach, I think. [15:05:35] Ahm [15:05:40] ES5 is required for VE [15:05:53] yes [15:06:03] You should not be able to cause the code that interacts with TargetLoader to run at all if you're in a non-ES5 environment [15:07:07] Right. [15:07:16] It's inside initinit,js though, of which most does run before that check [15:08:10] Hmm although now I'm looking at it, this doesn't seem to be watertight [15:08:22] What prevents the onclick handlers from being bound if !init.isAvailable? [15:08:42] RoanKattouw: Hm.. I'm curious if we can move that code to TargetLoader perhaps and make it pull out the two bits from mw.libs.ve, instead of pushing [15:08:53] (plugins list and setupSectionLinks method) [15:09:08] Oh I see, $caVeEdit is removed [15:09:28] Yeah but even then targetLoader() would not resolve [15:09:34] So it's okay as it is [15:09:35] TargetLoader itself also contains a partial plugin list [15:09:53] The problem is that VPT init init is desktop-specific while TargetLoader is meant to be more generic [15:09:58] Mobile should also be able to use TargetLoader [15:09:58] RIght [15:10:03] OK [15:10:09] Although eventually we should come up with a more generic version of init init as well [15:10:25] Or move some of that code around, or whatever [15:10:40] RoanKattouw: And maybe modules should decide desktop vs. mobile status rather than a central init method? [15:11:17] Perhaps [15:11:38] Although I generally favor a loader deliberately loading a set of modules over each module knowing when it's supposed to be loaded [15:12:41] * James_F shrugs. [15:12:48] Why not make RL do it? [15:12:54] target = mobile -> load in mobile. [15:12:55] Done. [15:12:59] Krinkle: Am I missing something or do we insert and bind handlers to VE section edit links even in non-ES5? [15:12:59] (03CR) 10Krinkle: Load RL modules in one load.php request, rather than in two stages (031 comment) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/193026 (https://phabricator.wikimedia.org/T53569) (owner: 10Catrope) [15:14:04] James_F: The module registry is static and global across targets. Targets decide their visibility. They don't have their own registry. [15:14:15] Krinkle: I'm aware. [15:14:40] RoanKattouw: You're missing someting :) [15:14:43] Krinkle: I'm explicitly saying that targets picking which modules to load, gates on which modules RL lets them load, seems silly. [15:15:10] RoanKattouw: init.setupSkin(); runs on domready if userPrefEnabled which includes isAvailabe which includes support [15:15:54] @media screen { [15:15:54] div#bodyContent { [15:15:54] font-family: "Calibri", "Aboriginal Sans", "DejaVu Sans", "Arial Unicode MS", sans-serif !important; [15:15:56] font-size: 0.8em !important; [15:15:58] } [15:16:00] } [15:16:05] Well, that explains things. [15:16:09] https://nv.wikipedia.org/wiki/MediaWiki:Vector.css [15:16:46] RoanKattouw: Hm.. no userPrefEnabled does not include isAvailable, but shouldn't since we should set up the skin either way. How it is set up should depend on availability and support. [15:16:47] Hm [15:17:05] James_F: Of all things that's what stands out :P [15:17:16] The pony rainbow tabs [15:17:36] or scattered blue art background [15:17:46] Decoration is decoration. [15:17:56] The entire content being 20% larger than normal is what stands out. [15:18:03] HEhe, yeah [15:18:22] And VE still worked fine. [15:18:39] James_F: The editnotice is now so helpful though [15:18:54] "To save your changes click "bee lą́ ashłeeh" below" [15:19:04] >< [15:19:08] * James_F grins. [15:19:11] Yeah. [15:21:22] Krinkle: Sigh, the section edit links are hidden with CSS [15:21:38] But they're still in the DOM and they still have click handlers bound to them [15:21:56] Meanwhile the VE edit *tab* is actually removed by init init in that case [15:22:04] Consistency, we've heard of it :P [15:22:42] RoanKattouw: BTW, have you noticed that if you're browsing ?debug=true in master the VE edit tab never shows up/ [15:22:53] RoanKattouw: I assume it's some init init issue. [15:23:09] No I didn't notice that [15:23:21] http://en.wikipedia.beta.wmflabs.org/wiki/User:Jdforrester_(WMF)/Sandbox?debug=true [15:23:40] I just used your maxim of "debug is broken, don't use it". :-) [15:27:53] RoanKattouw: Clearly I shouldn't have said anything, sorry. [15:28:23] (03PS16) 10Catrope: Load RL modules in one load.php request, rather than in two stages [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/193026 (https://phabricator.wikimedia.org/T53569) [15:28:31] James_F: debug in beta is incredibly broken [15:28:44] I would be more inclined to believe you if you could reproduce that locally [15:28:56] RoanKattouw: I can reproduce in production. [15:29:00] :O [15:29:01] RoanKattouw: https://en.wikipedia.org/wiki/User:Jdforrester_(WMF)/Sandbox?debug=true [15:29:08] OK that probably means it's a real problem [15:29:12] I just used Beta so you didn't suspect it was a non-master issue. [15:29:18] However, it's debug. No-one cares. [15:29:27] Don't get distracted from value-adding activities. :-) [15:29:42] (03PS1) 10Esanders: Make loading progress bar determinate [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 [15:30:06] (03PS9) 10Mvolz: Add IDs for tests for Citoid extension [services/citoid] - 10https://gerrit.wikimedia.org/r/185837 (owner: 10Anishvisa) [15:30:22] edsanders: Wait, really? [15:30:23] Yeah I need to wrap up this thing first anyway [15:30:40] what? [15:31:05] edsanders: I believe that that's a 40-pointer. [15:31:28] bug? [15:31:59] https://phabricator.wikimedia.org/T90622 [15:32:01] I did start it a while ago [15:32:02] No, only 8. [15:32:24] "It's tagged as taking days. To be fair [15:32:27] RoanKattouw: Surely I can close https://phabricator.wikimedia.org/T86732 as done, right/ [15:32:31] * James_F nods. [15:32:32] I did start working on it a few hours ago." :P [15:32:39] RoanKattouw: :-) [15:32:41] Yeah probably [15:32:43] That's our edsanders. [15:32:53] 10VisualEditor, 10VisualEditor-Performance, 3VisualEditor 2014/15 Q3 blockers: Attempt to optimize / profile VisualEditor's existing load code flow to see what is actually slow? - https://phabricator.wikimedia.org/T86732#1116720 (10Jdforrester-WMF) 5Open>3Resolved [15:33:03] (03PS2) 10Esanders: Make loading progress bar determinate [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) [15:33:42] 10VisualEditor, 10VisualEditor-Initialisation, 10VisualEditor-MediaWiki, 10VisualEditor-Performance, and 2 others: Come up with a way of estimating load time and progress along that scale - https://phabricator.wikimedia.org/T90622#1116725 (10Jdforrester-WMF) 5stalled>3Open a:3Esanders [15:35:12] (03PS10) 10Mvolz: [WIP] Add IDs for tests for Citoid extension [services/citoid] - 10https://gerrit.wikimedia.org/r/185837 (owner: 10Anishvisa) [15:39:47] (03PS17) 10Catrope: Load RL modules in one load.php request, rather than in two stages [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/193026 (https://phabricator.wikimedia.org/T53569) [15:44:25] 10VisualEditor, 10MediaWiki-Categories: Sorting key once set for a specific category cannot be emptied and one has to delete the category. - https://phabricator.wikimedia.org/T92632#1116758 (10Swainr) 3NEW [15:52:15] (03PS1) 10Catrope: Send Parsoid API request immediately when user clicks edit [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196584 (https://phabricator.wikimedia.org/T90372) [15:52:23] (03PS18) 10Catrope: Load RL modules in one load.php request, rather than in two stages [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/193026 (https://phabricator.wikimedia.org/T53569) [15:52:30] (03PS2) 10Catrope: Send Parsoid API request immediately when user clicks edit [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196584 (https://phabricator.wikimedia.org/T90372) [15:52:58] good morning VE folks [15:53:20] so far things are looking good with VE using RESTBase on mediawiki.org [15:54:10] we could consider adding some smaller wikipedias soon [16:00:59] RoanKattouw, edsanders, Krenair, MatmaRex, ryasmeen: Meeting. :-) [16:01:20] yes. [16:01:50] i'm trying to figure out how to join it. [16:02:05] as the hangout looks empty? [16:02:11] James_F: [16:02:22] MatmaRex: Will invite you. [16:03:03] RoanKattouw: We lost you. [16:30:01] 10VisualEditor, 10MediaWiki-Categories: Sorting key once set for a specific category cannot be emptied and one has to delete the category. - https://phabricator.wikimedia.org/T92632#1116845 (10Swainr) screencast- https://www.youtube.com/watch?v=Ik3zM5eC0VA [16:47:06] 10VisualEditor, 10MediaWiki-General-or-Unknown, 10RESTBase, 6Services, and 4 others: Parsoid performance: Use RESTBase from the MediaWiki Virtual Rest Service on phase1/phase2 wikis - https://phabricator.wikimedia.org/T89066#1116873 (10Eloquence) [16:57:59] 10VisualEditor, 10Flow, 3Collaboration-Team-Sprint-S-2015-03-25, 3Roadmap: S5. Flow: Implement VE toolbar layout - https://phabricator.wikimedia.org/T90764#1116890 (10Mattflaschen) a:3Mattflaschen I'm going to do at least part of this as part of the mention patch. [17:08:39] 10OOjs-UI, 6Mobile-Web, 10UI-Standardization, 6WMF-Design, 7Design: Hover styles differ between MediaWiki UI buttons and OOjs UI buttons - https://phabricator.wikimedia.org/T92566#1116920 (10bmansurov) I vote for MediaWiki UI! [17:12:56] (03PS1) 10Kmenger: Window: Clarify description of setDimensions method [oojs/ui] - 10https://gerrit.wikimedia.org/r/196598 [17:22:08] (03PS1) 10Kmenger: Dialog: Fix links to static properties [oojs/ui] - 10https://gerrit.wikimedia.org/r/196600 [17:36:11] I'll probably be off IRC for the rest of the day as I'll be traveling, but I'll be reachable on Hangouts [17:36:19] Krinkle|detached: Review my TargetLoader changes :P [17:57:01] 10VisualEditor, 10MediaWiki-General-or-Unknown, 10RESTBase, 6Services, and 4 others: Parsoid performance: Use RESTBase from the MediaWiki Virtual Rest Service on group1/group2 wikis - https://phabricator.wikimedia.org/T89066#1117170 (10Krenair) [18:02:18] (03CR) 10Jforrester: [C: 032] Dialog: Fix links to static properties [oojs/ui] - 10https://gerrit.wikimedia.org/r/196600 (owner: 10Kmenger) [18:05:12] (03Merged) 10jenkins-bot: Dialog: Fix links to static properties [oojs/ui] - 10https://gerrit.wikimedia.org/r/196600 (owner: 10Kmenger) [18:10:52] (03CR) 10Jforrester: [C: 032] Window: Clarify description of setDimensions method [oojs/ui] - 10https://gerrit.wikimedia.org/r/196598 (owner: 10Kmenger) [18:13:19] (03Merged) 10jenkins-bot: Window: Clarify description of setDimensions method [oojs/ui] - 10https://gerrit.wikimedia.org/r/196598 (owner: 10Kmenger) [18:16:53] (03CR) 10Jforrester: [C: 04-1] "Wonderful stuff." [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) (owner: 10Esanders) [18:43:28] (03PS3) 10Esanders: Make loading progress bar determinate [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) [19:03:43] edsanders: so, you know how we've tried really hard to not have a reference to ve.ui.Surface within ve windows? [19:04:18] and thus you ended up spinning up your own overlay and window manager for the language select dialog? [19:04:28] TrevorParscal: My God are you FINALLY gonna give in on that? [19:04:32] I never thought I'd see the day [19:04:35] lol [19:04:37] ha ha [19:04:38] :-) [19:04:47] so, (clears throat) [19:04:52] RoanKattouw, you're welcome. [19:04:55] * mooeypoo bows [19:05:06] I am nothing but trouble. [19:05:08] we really need to be able to execute actions from within window code [19:05:29] and that obviously would need ve.ui.Surface access [19:05:43] or, at least some way of proxying executeAction [19:05:45] Sorry I couldn't be at the meeting today, the timing didn't work out [19:06:07] it looks like everything is awesome anyway and I agree with the stuff said on the etherpad [19:11:15] Krenair: Next time hopefully it'll be at a better timezone. [19:35:45] James_F, have added some comments of my own to the etherpad [19:41:14] Krenair: Nice, thank you. [19:52:01] Krinkle|detached: (When back) What do you need from me for https://gerrit.wikimedia.org/r/#/c/196466/ to be non-WIP? [20:06:18] (03CR) 10Nirzar: Fixing indicators for ButtonSelectWidget [oojs/ui] - 10https://gerrit.wikimedia.org/r/196423 (https://phabricator.wikimedia.org/T92553) (owner: 10Kaldari) [20:09:37] (03PS1) 10Catrope: Remove basetimestamp/starttimestamp from ApiVisualEditor [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196636 [20:26:15] I'm looking to do a little direction check before I go too deep and discover what I'm trying to do won't work. [20:26:50] Basically, I want to have an inspector that represents a simple one-param transclusion, but it should be fully editable with a distinct UI (basically auto-complete of username). [20:27:06] With special handling for which usernames are weighted and a distinct title. [20:27:33] Kind of similar to the special cite handling, but that still opens a dialog. We would prefer to it all the editing in the inspector, somewhat similar to link. [20:30:14] superm401: That's very feasible. It would work pretty much identically to citations, the fact that it'd be an inspector instead of a dialog is a detail [20:30:21] Inspectors and dialogs are very similar in code [20:30:32] RoanKattouw, okay, great. So I guess I just use a tool, with isCompatibleWith, implement a context item, etc.? [20:30:45] You got it [20:30:52] Thanks. :) [20:32:02] (03PS1) 10Mooeypoo: Add a link to the reference dialog in Citoid inspector [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/196644 [20:33:02] RoanKattouw, is group required in the tool definition, or can I just omit that and definite it explicitly in the target? [20:33:10] (03PS1) 10Mooeypoo: [wip] Add general citations dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196645 (https://phabricator.wikimedia.org/T62768) [20:33:48] The cite stuff is a bit weird because some of the classes are autogenerated in ve.init.mw.Target#generateCitationFeatures [20:34:32] Yeah, that was a little confusing, but I think now I'm understanding the broader picture better. [20:34:58] (03CR) 10jenkins-bot: [V: 04-1] [wip] Add general citations dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196645 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [20:35:29] uh [20:36:32] omg that was stupid of me. [20:36:47] it would help, perhaps, if I include, say, the new files I created. [20:37:21] (03PS2) 10Mooeypoo: [wip] Add general citations dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196645 (https://phabricator.wikimedia.org/T62768) [20:37:37] RoanKattouw, any idea what's going on in https://phabricator.wikimedia.org/T92596 ? [20:38:17] mooeypoo, I forget to do that half the time. :) [20:38:31] Krenair: Sorry, missed your message on hangouts due to bad wifi [20:38:56] Krenair: Maybe we misreport the revid for saves off by one? [20:39:08] Like, maybe it's not the revid that was saved but the revid it was based on? [20:39:15] superm401, :D [20:39:21] I remember the schema including a caveat about that, but I don't remember if it was that or the opposite [20:39:24] RoanKattouw, interesting [20:39:35] RoanKattouw, I'd look into it, but that would require some specific examples where it didn't match up [20:39:48] milimetric, ^ [20:39:53] (03PS3) 10Mooeypoo: [wip] Add general citations dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196645 (https://phabricator.wikimedia.org/T62768) [20:40:14] If the user_id usually (but not always) matches up with the next rev_id, that's probably what's going on [20:40:24] Also try to correlate timestamps [20:40:25] * milimetric reads [20:41:13] (03PS1) 10Catrope: Move parseWikitext from ApiVisualEditor.php to ApiVisualEditorEdit.php [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196650 [20:41:25] yeah, I looked into that but again, I won't have enough time to deep-dive until next week [20:41:43] RoanKattouw: the revid isn't the biggest problem, I think you're probably right about that [20:41:57] the biggest problem is user.id and user.class [20:42:00] those both seem wrong [20:42:20] oh there's a user.id, that's much more useful to debug based on than user.class [20:42:23] in that user.class = IP way more often than I'd expect [20:42:40] Is this all data that requires stats* access to see? [20:42:41] You say they seem wrong but you seem to be basing that in part on revid correlation [20:42:42] Krenair: heh, yeah, you'd think so, except user.id doesn't agree with user.class... [20:43:14] RoanKattouw: yeah, when I wrote the ticket I did, but after talking with Krenair that appears potentially explainable [20:43:16] If user.id doesn't agree with user.class without you having done any joins against the revision table, that's weird [20:43:17] by the same logic you used above [20:43:33] Is this for VE data or WT data? [20:43:41] RoanKattouw: yeah, agreed. Let me get you numbers where user.id == 0 and user.class == IP [20:43:46] there's no WT data yet, right? [20:43:55] there should be. [20:44:05] it was deployed? [20:44:13] I thought the 18th... [20:44:15] Hmm maybe not [20:44:26] wasn't it in wmf21? [20:44:27] milimetric: Are you telling me there are rows where user.class === 'IP' and user.id !== 0 ? [20:44:40] Because I'm reading the code and it's really just: [20:44:41] 'user.id': mw.user.getId(), [20:44:42] RoanKattouw: yeah, for sure, let me get some counts of how many [20:44:43] And a few lines later: [20:44:51] if ( mw.user.isAnon() ) { [20:44:51] no, I know :) [20:44:53] event['user.class'] = 'IP'; [20:44:54] } [20:44:54] I was equally confused [20:45:12] https://phabricator.wikimedia.org/rEWED74da530f2d8cf8e023dabbe45eb0f3f5a8b8bab5 is listed as being on wmf21 [20:45:16] so it should be deployed [20:45:20] to mediawiki.org and the test wikis [20:45:37] milimetric, is this data I can access as a deployer, or does it need stats* access? [20:45:59] Krenair: you need access to stat1003, yea [20:46:04] OK, time to get off the train [20:46:14] I'll be back on line with actually reliable internet access this time in ~15 [20:46:18] here I got numbers [20:46:26] mysql:research@analytics-store.eqiad.wmnet [staging]> select count(`event_user.class` = 'IP'), count(`event_user.id` = 0) from milimetric_edit; [20:46:26] +----------------------------------+----------------------------+ [20:46:26] | count(`event_user.class` = 'IP') | count(`event_user.id` = 0) | [20:46:26] +----------------------------------+----------------------------+ [20:46:26] | 6868089 | 8785227 | [20:46:26] +----------------------------------+----------------------------+ [20:46:26] 1 row in set (17.03 sec) [20:47:49] (03PS1) 10Trevor Parscal: Allow access to surface through window manager [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196655 [20:47:59] ok [20:48:02] well that's just completely broken [20:48:05] that should not happen at all [20:48:25] but I was wrong that user.class = IP where user.id != 0, there are no such cases [20:48:38] so it still makes a bit of sense [20:48:53] wait what? [20:49:10] we have 6868089 entries with class=IP but 8785227 where id=0 [20:49:28] but no where class=IP and id != 0? [20:49:31] none where* [20:49:36] wait wtf... hang on, maybe mysql is screwing me here, I just counted differently and it's giving me different numbers [20:49:45] what about nulls? [20:51:00] how far back does this data go? [20:51:13] user.class was added more recently than user.id [20:51:19] this sample table is 12-03 to 2-01 [20:51:27] december 3rd last year to feb 1st this year [20:51:39] hang on though, I might be wrong about those numbers [20:51:46] as in, mysql sucks %^&* :) [20:52:02] select count(*) from milimetric_edit where `event_user.id` = 0; gives 6868089 [20:53:49] Krenair / RoanKattouw_away: never mind that comparison, it seems user.id and user.class agree [20:53:55] my fault [20:54:50] but 78% of events still come from user.id = 0 and 58% of saveSuccess events likewise. So the main problem is still here [20:59:31] btw, Krenair: we have Wikitext data! But it looks a little strange, there are no events except abort and ready: [20:59:34] https://www.irccloud.com/pastebin/5D6374eV [21:00:04] wtf? [21:00:07] and also, btw, Krenair, user.id is never 0 in those few wikitext events we're seeing [21:00:34] so it's not recording the events from the server? [21:01:07] that sounds like a reasonable guess, yes [21:01:20] EventLogging::logEvent( 'Edit', 11448630, $data ) should be recording those shouldn't it? [21:01:41] I have 0 php experience man, sorry :( [21:01:51] ah but that's not 11319708 [21:02:04] ah! [21:02:09] are the client and server recording against two different revisions of the schema...? [21:02:32] I don't think there's a 11448630 revision? [21:02:42] at least there's no table created for it in EL [21:02:48] maybe the events are coming in invalid? [21:02:53] https://meta.wikimedia.org/?diff=11448630 [21:03:03] 11448630 yea :) [21:03:05] hm... [21:03:13] lemme look through the logs, one sec [21:04:02] I don't get to specify that in the JS though, it loads whatever WikimediaEvents has [21:04:29] which is 11319708 [21:04:42] so the JS and PHP are logging against different versions of the schema [21:04:57] here's the difference: https://meta.wikimedia.org/?oldid=11319708&diff=0 [21:05:18] right, so two things: [21:05:35] ideally those versions would be the same, I assume you guys have a change in for that and it's just not deployed? [21:05:55] secondly, those events going against 11448630 are not getting seen by the database, meaning they're probably failing validation [21:05:58] I'm taking a look at that now [21:06:35] gosh, eventlogging.log has been getting spammed a lot by silver [21:06:52] (03PS1) 10Kmenger: WindowManager: Clarify description and mark private methods [oojs/ui] - 10https://gerrit.wikimedia.org/r/196659 [21:06:54] we should probably fix that :/ [21:07:04] silver? [21:07:17] the server that runs labswiki (wikitech.wikimedia.org) [21:07:53] yeah, I'm not seeing 11448630 anywhere in the recent logs [21:08:09] milimetric, I don't have a patch to make WikimediaEvents change to using the new schema version, no [21:08:20] ori, hey [21:08:33] Krenair: that'd be ideal [21:08:43] however, for now, it doesn't look like your events are even ending up in the raw logs [21:08:57] (03CR) 10jenkins-bot: [V: 04-1] WindowManager: Clarify description and mark private methods [oojs/ui] - 10https://gerrit.wikimedia.org/r/196659 (owner: 10Kmenger) [21:09:54] right [21:10:12] so the server's entries against the newer schema revision have not been going in [21:10:30] ori might know why [21:11:16] Anyone know the purpose of the constructor names, e.g. VeLinkContextItem? [21:11:23] (03PS1) 10Mooeypoo: Add directionality classes to window manager [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196661 [21:11:31] Wondering whether we should do that in our VE integration. [21:16:57] Krenair: maybe we can table the puzzling anon discussion until we get data from WT. Because it might be easier to see what's going on when we compare to the simpler and more likely to be correct user.id recorded by your instrumentation [21:20:22] yeah [21:26:34] Krenair, James_F|Away: do you have a pointer to current VE load timings? [21:27:08] I think the EventLogging stuff holds that [21:28:31] most of the ve related data in graphite looks pretty dead [21:29:23] which data are you normally using to track progress? [21:29:42] http://gdash.wikimedia.org/dashboards/ve/ is dead too [21:30:00] /cc ori [21:32:18] MatmaRex, what does the 'embeddable' field of ContextItem mean? [21:33:32] superm401: no idea, let's find out [21:35:53] superm401: hmm. iso [21:35:54] so [21:37:39] superm401: it means that, if there is enough space, the context menu containing embeddable items only can be displayed within the area of the node it is for, rather than below it with the triangle anchor [21:39:07] MatmaRex, okay, so it's probably a moot point in this case, since I don't think the whole context item will ever fit here (the rendering will probably just be @Username). Thanks. [21:39:13] picture worth a thousand words: http://i.imgur.com/TkJVm0A.png (embedded) vs http://i.imgur.com/2gscxv7.png (embeddable, but not embedded, too little space) vs http://i.imgur.com/ntAhstt.png (not embeddable for some reason) [21:40:02] Cool, that's what I thought you meant. [21:45:22] (03PS1) 10Bartosz Dziewoński: ve.ui.Context: Fix typo: embedable → embeddable [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196698 [21:46:07] MatmaRex: Do you know what this tool is on the oojs ui demo http://i.imgur.com/b7VUudq.png [21:46:34] it doesn't seem to be in the toolbar setup nor the tool groups [21:47:04] Negative24: it is evil [21:47:06] no, really [21:47:15] explain [21:48:00] this is a ToolGroupTool, a tool with embeds a tool group inside. normally it's tool groups that have tools inside, and so ToolGroupTool is a travesty and is impossible to configure the way toolbar things are usually configured [21:49:05] So where is its code? [21:49:28] i take full responsibility for bringing this monster to life, but please do not make me talk about it. ;) see https://phabricator.wikimedia.org/T90815 and the patches there for some discussion [21:50:30] Negative24: where in the demo/toolbars.js code? [21:50:42] Yeah [21:50:44] just search for ToolGroupTool. it's this snippet: http://pastebin.com/jkazu3nh starting line 104 [21:51:25] Thanks [21:51:45] You have confused me even more than I already am [21:51:50] :) [21:53:10] ToolGroupTool is like the russian dolls, except you stuff the bigger doll inside the smaller [21:54:05] Why is that a thing? [21:56:22] You can see that in the ve standalone demo [21:59:14] mooeypoo: That's where I am [21:59:22] and the OOjs UI [22:00:16] Negative24, if you look at the Bold/Italics/A buttons [22:00:20] MatmaRex: Oh and another reason for my confusion is that I was referring to an old version of the demo (downloaded a week ago) [22:00:20] you'll see the group [22:00:57] Negative24, it's a sort of logical grouping, noting that these buttons and dropdown "belong together" [22:01:24] mooeypoo: So nothing in how it works? [22:01:36] Negative24, oh, you asked why it exists, I just answered that. [22:01:50] So pretty much I was looking at old code and the new demo and seeing no code to explain what I was seeing [22:01:53] as to how it works, MatmaRex can explain, who wrote the code..... (you're welcome, MatmaRex) [22:02:30] (03PS2) 10Kmenger: WindowManager: Clarify description and mark private methods [oojs/ui] - 10https://gerrit.wikimedia.org/r/196659 [22:03:49] mooeypoo: No. I was wondering whether it was just for logic's sake or that it actually changes something in how the toolbar works [22:03:50] kirstenMA, I had a question earlier I'm not sure if it's valid, but just in general -- I forgot how to do "plain" buttons (that don't look like buttons) and when I looked in the code documentation, I noticed that it's missing from the @cfg parameter. The 'framed=false' option? does that exist somewhere else or is that forgotten? [22:04:08] Negative24, it's more for logic's sake [22:04:54] mooeypoo--that's odd. It should be there. [22:05:11] let me look [22:05:13] https://doc.wikimedia.org/oojs-ui/master/#!/api/OO.ui.ButtonWidget [22:05:28] kirstenMA, am I missing it? O.o didn't see it in there or in the actual code comment [22:05:45] omg I did miss it [22:05:53] kirstenMA, sorry! sorry... I am apparently blind [22:05:54] Yeah it's right there [22:06:00] yeesh [22:06:02] I referred to that just the other day [22:06:03] [23:02] superm401 [2015-03-13 14:07:36] Anyone know the purpose of the constructor names, e.g. VeLinkContextItem? [22:06:23] lol. no worries. [22:06:25] Krenair: I found your server side events, they're invalid though, and they say "Unable to Decode". I'm trying to figure out what that means 'cause they decode fine for me in pyhton. [22:07:04] superm401: http://i.imgur.com/klee1eP.png [22:07:09] kirstenMA, I should also get used to reading the docs from the site rather the specific code itself; that will help in seeing inherited properties which I keep missing when I look directly at the code [22:07:12] sorry :) [22:07:31] I was just going to say that its on buttonelement, maybe that was why :) [22:07:40] that explained it, yeah [22:07:48] I didn't see it directly in buttonWidget page [22:07:51] config params aren't always totally transparent even there [22:07:55] RoanKattouw, thanks, I'll add it to our code. [22:08:00] They might come from a mixin (although maybe jsduck handles that?) [22:08:09] Or they might be passed along to a composed object [22:08:10] RoanKattouw: in case you didn't see before, mysql is crazy and those counts were wrong. user.id =0 and user.class = 'IP' always agree as far as I can tell [22:08:10] RoanKattouw, I think it should, no? [22:08:24] milimetric: Yeah I saw, good to know [22:08:29] mooeypoo: It should, yes, but does it? [22:08:44] I mean I expect it to, since Krinkle|detached wrote the support for this and he probably thought of this case [22:08:51] RoanKattouw, that is a deep question. [22:08:51] But I've never bothered to verify [22:09:00] * RoanKattouw checks something that mixes in IconElement [22:09:16] hmm... is it mixes, or mixins [22:09:18] mixinses. [22:09:20] ... [22:09:22] anyways. [22:09:28] I think they are--I mean if you look at the docs for button widget, there are configs for label, icon, etc [22:09:58] Yup, that works [22:10:01] yeah that's true [22:10:02] https://doc.wikimedia.org/oojs-ui/master/#!/api/OO.ui.IconWidget has label and icon [22:10:08] "defined by OO.ui.LabelElement" [22:10:12] I'm actually somewhat impressed by this :) [22:10:21] Shows I shouldn't doubt Krinkle|detached :D [22:10:36] milimetric, does that error come from EventLogging? [22:10:50] RoanKattouw, NEVER. Except when he's wrong, in which case, as we discussed, we all jump in victory until he proves us we're actually wrong. [22:10:59] yeah, EventLogging throws it when it sees your event and tries to decode it [22:11:00] ah: [22:11:00] extensions/EventLogging/server/bin/eventlogging-processor: logging.error('Unable to decode: %s (%s)', raw_event, e) [22:11:02] that happens if it fails to parse or validate the event [22:11:14] right [22:12:08] RoanKattouw, yeah, jsduck is really nice (even has nice search despite being 100% client-side) [22:12:10] Krenair: I'll send you an example privately [22:12:15] ok [22:14:19] mooeypoo: Oh BTW, speaking of learning and stuff [22:14:37] mooeypoo: Would you appreciate an explanation of what was going on with the fromDataBody stuff yesterday? [22:14:53] I was gonna offer that yesterday when it was still fresh in your brain, but you had an unbreak now bug to deal with and then left [22:15:19] RoanKattouw, yes! though I think I kinda get at least most of it. It made sense after I re-read the method and added the *original* html that we should see from Parsoid with the [22:15:58] Yeah that data is used for a bunch of different tests [22:16:12] RoanKattouw, the only big deal in that commit was that it was really confusing [22:16:18] it's really not very well documented [22:16:21] There's the DOM->model test where we assert that 'body' when converted ends up as 'html' [22:16:25] Yeah it should be much better documented [22:17:05] Then after that, we round-trip the result and assert it's 'body' again. This works for transclusions because we keep track of the original DOM elements, and MWTransclusion reuses those if it detects it's unmodified [22:17:09] RoanKattouw, let me see if I got this right-- oh [22:17:25] For the case where that is different, we have normalizedBody, but that's used very little (and frequently arguably a bug) [22:17:33] [23:09] hmm... is it mixes, or mixins [22:17:47] Then there's also the model->DOM test that takes data and asserts it gets body [22:17:47] yeah, so basically original html -> model, then model->CE representation, then model->CE clipboard (copy/pasting?) and then round-trip [22:17:53] mooeypoo: "a mixins b", or "a mixes in b", depending on your preferred flavor of english [22:18:05] But that doesn't have the originalDomElements context, so for cases like MWTransclusion that obviously doesn't work, so we have fromDataBody [22:18:24] or "a mixes b in", i guess. [22:18:32] english is a silly language. [22:18:32] Those are all my inventions [22:18:44] MatmaRex, yeah, I was being facetious, since it's a mixin, but RoanKattouw checked what mixes it. [22:19:04] And then Ed threw in clipboardData to top it off, which is data->DOM but with the forClipboard flag set to true (which causes different behavior in a few nodes, particularly MWTransclusion) [22:19:32] If you look at MWTransclusionNode, you'll see a converter.forClipboard check or something similar [22:19:53] We don't actually touch CE itself during that test, but it tests the same code path that the CE onCopy code uses [22:19:53] RoanKattouw, yeah, I saw that when I was looking to see what the hell to do with the conflicting html results [22:20:14] Right, if you grepped for data-ve-no-generated-content or whatever it's called, you'll have found that code [22:20:51] To be fair it was all organic growth :P [22:21:11] It started out just being data and body, and original DOM data was encoded in JSON and included in the test cases [22:21:23] Then I added normalizedBody to be able to represent things that didn't round-trip cleanly [22:21:29] yeah [22:21:36] it looked like it was added on for more options [22:21:36] Then we had that system for years [22:21:38] and it makes sense [22:21:44] we just need to document it better [22:21:50] what the options are, even [22:21:56] milimetric, okay.. [22:22:08] Then last month I changed the way original DOM data is tracked and we started needing fromDataBody, and at the same time Ed introduced the clipboard stuff [22:22:20] (So I had to rebase the fromDataBody change across the clipboardData change, go figure) [22:22:29] Yeah it's gotten out of control [22:22:42] I used to be able to kind of argue that it was mostly self-evident, and the ones that weren't were rare [22:22:44] But now it's crazy [22:24:04] milimetric, so what about the (%s) in the EL code? or is this coming from somewhere else? [22:25:02] hm... it should be coming from that line, Krenair, I'm looking in the processor logs [22:25:21] at first glance the event seems valid, but you know the schema better [22:25:29] is it missing something required or ? [22:30:01] RoanKattouw: got a moment? [22:31:54] That color blindness simulation on the living style guide is really cool [22:32:20] RoanKattouw, so, I am experimenting with selective staging in citations. [22:33:12] RoanKattouw: is ve.mwTarget.* the current client-side perf data for VE? [22:36:50] RoanKattouw, to my surprise, it's actually working fairly well -- except for a single issue which, I suspect, might show a bigger issue, but I am not sure. I thik it is due to me applying staging too early. So in order to figure that out, I have to understand -- the Cite web / Cite journal / etc (but *not* basic citations) are taken from the transclusion dialog? [22:37:22] RoanKattouw, but the transclusion dialog doesn't have a "apply" action. The "ReferenceDialog" does. [22:38:11] milimetric, the error doesn't match the format shown in the code :/ [22:38:36] Krenair: yeah, that's pretty weird - maybe the code's slightly out of date? I know some folks were working on the processor [22:38:52] but the timestamp on the error makes sense [22:38:59] I wouldn't be surprised if it failed at https://github.com/wikimedia/mediawiki-extensions-EventLogging/blob/master/server/bin/eventlogging-devserver#L122 [22:39:48] Krenair: that seems unlikely, as it's fetching other schemas fine [22:40:05] I asked nuria who's debugged a lot more of these than me, this is the first time I look at the logs [22:40:19] ok [22:40:30] I would ask ori but he doesn't seem to be around [22:42:02] milimetric, Krenair, I can take a look if you want. [22:42:24] Just realized the inspectors inherit from ProcessDialog. [22:43:06] superm401: thanks, yeah, I'll cc you on the email with two example events that are failing [22:43:17] which log was this out of by the way milimetric? [22:43:32] sudo tail -n1000 /var/log/upstart/eventlogging_processor-server-side-events.log | grep 11448630 [22:43:39] on vanadium [22:44:13] meh, seems restricted [22:46:34] Krenair: yeah, I had to wait like a month for access [22:47:09] but I pasted the lines just as they were in there, I didn't remove anything [22:47:44] did you double check for validity? [22:49:28] Looking now [22:49:49] 10VisualEditor, 6Community-Liaison, 10Wikimedia-Site-requests: Plan to re-enable VisualEditor by default for all logged-out and newly-created users of the English Wikipedia - https://phabricator.wikimedia.org/T90667#1118310 (10Whatamidoing-WMF) [22:52:10] milimetric, I don't know how to run the tool myself so can't really check that [22:52:29] milimetric, do you have any other working schemas with a dot in the key (e.g. "action.init.type")? Just speculation, since I don't see that much, so I don't recall if it works. [22:52:33] Krenair: I mean manually, like go through the schema and validate that you're sending what you think you're sending [22:52:54] superm401: yeah, this is just a new revision of an older schema that's being used by VE [22:53:00] though that is client side and this is server side [22:53:18] Sorry, didn't check the older version, just brain-validating the server side log against the current schema. [22:53:20] validation wise it should be the same, and json.loads loads this text fine [22:53:27] Yeah, it's definitely valid JSON. [22:56:30] milimetric, user.editCount is null. It is a required integer. [22:56:58] oh [22:57:33] yep [22:57:37] that's null for IPs [22:57:40] oops. [22:57:41] :) yeah, sorry we bothered you, thanks for the good eyes superm401 [22:57:45] thanks superm401 [22:57:59] No problem, I have experience with these matters from the E3/Growth days. :) [22:58:09] Where is this logged from on the server, out of curiosity? [22:58:30] Krenair: I'd look around for other stuff though, because no events are getting through at all, whether IP or not [22:58:33] Krenair, also, not sure if you know, for optional fields, you have to leave them out. Null will not pass validation. [22:58:50] So it has to be completely omitted. [22:58:56] like that ^ [22:59:12] At least Back In The Day [23:00:30] milimetric, do you know where the server-side logging is for this? [23:00:49] Edit page? Krenair would know [23:01:02] WikiEditor.hooks.php in the WikiEditor extension [23:01:57] I would submit a fix but I don't know how to set this up properly on my own machine [23:02:27] I guess I could test it in deployment-prep [23:02:45] Krenair, do you have MediaWiki-Vagrant? [23:02:49] no [23:03:26] Krenair, okay, well, if you install EventLogging and set $wgEventLoggingFile to an ordinary file, it will output the server-side events there. [23:03:41] yeah, done that [23:03:54] it's the part that takes the log file and validates it that's the issue [23:04:50] Krenair, okay, well, I've never actually run the full Python pipeline for server-side events. I would just fix it, check the new output of the file is valid JSON, then brain-validate that it fits the schema. [23:04:57] Run it locally I mean [23:07:53] It doesn't look like we have EventLogging infrastructure in deployment-prep anyway :( [23:10:09] (03PS1) 10Alex Monk: Default user.editCount to 0 in the Edit schema [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196709 [23:11:55] gotta go tenderize and fry some chicken, have a nice weekend and good luck with the schema stuff [23:12:25] (03CR) 10Legoktm: Default user.editCount to 0 in the Edit schema (031 comment) [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196709 (owner: 10Alex Monk) [23:12:29] * Krenair waves [23:13:15] (03PS2) 10Alex Monk: Default user.editCount to 0 in the Edit schema [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196709 [23:14:17] (03CR) 10Legoktm: [C: 032] Default user.editCount to 0 in the Edit schema [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196709 (owner: 10Alex Monk) [23:14:21] (03Merged) 10jenkins-bot: Default user.editCount to 0 in the Edit schema [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196709 (owner: 10Alex Monk) [23:14:59] legoktm, thanks! [23:15:31] mooeypoo: Sorry for the late response, family things going on [23:16:00] mooeypoo: What do you mean the transclusion dialog doesn't have an apply action? I thought it did? [23:16:25] mooeypoo: There's an 'apply' action right there in MWTemplateDialog [23:16:30] Which is the parent class of MWCitationDialog [23:16:51] milimetric, uh... there might be bigger issues. [23:17:01] np [23:17:13] 10VisualEditor: Transclusion handling - https://phabricator.wikimedia.org/T92695#1118340 (10despens) 3NEW [23:17:25] Krenair: on the bright side, the data we got so far isn't very useful anyway :) [23:17:32] so take your time and fix up the issues [23:17:44] like one of the properties being named wrongly [23:18:17] 10VisualEditor: Transclusion handling - https://phabricator.wikimedia.org/T92695#1118347 (10despens) [23:19:39] RoanKattouw, hang on, I'm experimenting with an idea I have, I'll let you know if that works or if I get stuck [23:20:12] (03PS1) 10Alex Monk: Fix name of editingSessionId [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196710 [23:24:15] Krenain, I could be wrong, but I thought Beta Labs did have its own EL infrastructure except that it used production schemas. [23:24:39] ^ Krenair [23:24:53] oh, does it? [23:24:53] hm [23:25:04] ^ nuria [23:25:38] (03CR) 10Catrope: [C: 032] Fix name of editingSessionId [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196710 (owner: 10Alex Monk) [23:25:42] (03Merged) 10jenkins-bot: Fix name of editingSessionId [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196710 (owner: 10Alex Monk) [23:26:05] I can't get the processor working locally :/ [23:26:08] (03PS2) 10Mooeypoo: Add directionality classes to window manager [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196661 [23:26:51] superm401, is `eventlogging-processor %j ../../../events.log out` supposed to work? [23:26:56] or am I messing up the params? [23:27:27] (03PS2) 10Catrope: Move parseWikitext from ApiVisualEditor.php to ApiVisualEditorEdit.php [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196650 [23:27:29] (03PS2) 10Catrope: Remove basetimestamp/starttimestamp from ApiVisualEditor [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196636 [23:27:33] Krenair, sorry, I don't think I ever tried that. [23:27:50] any idea RoanKattouw? [23:28:06] Krenair: Need to cherry-pick https://gerrit.wikimedia.org/r/#/c/196710/ ? [23:28:07] * RoanKattouw knows nothing about Python [23:28:19] James_F: Yeah that would be nice [23:28:27] James_F, probably. and the parent. [23:28:37] but I haven't verified it's working yet [23:29:16] MatmaRex: Tools that create inspectors are never embedded, intentionally. [23:30:18] (03PS2) 10Catrope: Allow access to surface through window manager [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196655 (owner: 10Trevor Parscal) [23:30:29] James_F, oh, so I should mark it false. Not that it would ever fit anyway. [23:30:32] (03PS1) 10Jforrester: Default user.editCount to 0 in the Edit schema [extensions/WikiEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/196715 [23:30:44] superm401: Yeah. [23:31:03] Krenair: Merge that? [23:31:09] * James_F is lazy and using gerrit to cherry-pick. [23:31:32] (03CR) 10Catrope: [C: 031] Allow access to surface through window manager (031 comment) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196655 (owner: 10Trevor Parscal) [23:31:54] (03PS1) 10Jforrester: Fix name of editingSessionId [extensions/WikiEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/196716 [23:31:57] (03PS3) 10Catrope: Add directionality classes to window manager [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196661 (owner: 10Mooeypoo) [23:34:03] (03CR) 10Catrope: Add directionality classes to window manager (031 comment) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196661 (owner: 10Mooeypoo) [23:35:17] (03CR) 10Mooeypoo: Add directionality classes to window manager (031 comment) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196661 (owner: 10Mooeypoo) [23:35:48] mooeypoo: "This exposed a bug", no shit :P [23:36:04] James_F: yeah. makes sense [23:36:18] (03PS1) 10Kmenger: MenuSelectWidget: Clarify description [oojs/ui] - 10https://gerrit.wikimedia.org/r/196719 [23:36:24] RoanKattouw, :D [23:36:37] RoanKattouw, it was actually not a factory, it was an object that contained a factory [23:36:44] Oh so a config object? [23:36:47] yep [23:36:52] Right yeah [23:37:01] Trevor's fixing it now [23:37:04] James_F: So, I'm about to head off for the weekend [23:37:07] (03CR) 10Jforrester: [C: 032] ve.ui.Context: Fix typo: embedable → embeddable [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196698 (owner: 10Bartosz Dziewoński) [23:37:09] And I'll be working from the plane on Monday [23:37:16] RoanKattouw: OK. What do you need? [23:37:25] In theory there will be wifi but my experience with that is that it breaks for hours at a time [23:37:37] Indeed. [23:37:41] So, I will be working on https://phabricator.wikimedia.org/T90374 [23:37:44] Have you pre-booked the WiFi for it to be cheaper? [23:37:53] No, EI doesn't offer that [23:38:12] (Instead they advertise the wifi as one price and then actually charge you a lower price, apparently) [23:38:39] Oh, OK. I thought you were working on https://phabricator.wikimedia.org/T49344 ? [23:38:53] I will work on that too [23:38:59] T90374 will hopefully not take an entire flight [23:39:08] Although I have to do some surgery around the API module [23:39:10] If anything, T49344 is more urgent. [23:39:28] T90374 kills a 100ms network overhead, which is nice. [23:39:32] I'll file a task for this in a minute, but we need to move a bunch of stuff that's currently done server-side to be done client-side based on the Parsoid response [23:39:39] OK, sounds good, I can work on that too [23:39:41] T49344 prevents a huge class of functional bugs. [23:39:53] In that case I'll put my WIP for T90374 in Gerrit and shelve it [23:39:56] And, you know, enabled section editing (eventually). [23:39:59] Cool. :-) [23:40:08] Do you need anything from anyone else? Code review, I imagine. :-) [23:40:40] RoanKattouw: BTW, T49344 is listed as blocked by https://phabricator.wikimedia.org/T76542 https://phabricator.wikimedia.org/T49025 and https://phabricator.wikimedia.org/T56299 [23:40:53] Yes, I need CR from Timo [23:41:03] OK, will chase him on that. [23:41:08] Anything else? [23:41:14] Should we cover your desk in foil? [23:41:17] https://gerrit.wikimedia.org/r/193026 and https://gerrit.wikimedia.org/r/196584 need CR from Timo, chase him hard [23:41:26] * James_F cracks the whip. [23:41:43] I submitted some API changes that need review from someone, ideally Krenair , but they're minor and not urgent now that we've deprioritized T90374 for now [23:41:49] Sure. [23:41:54] But let's merge them anyway. [23:42:01] Yeah [23:42:02] I think there's another issue with the WikiEditor thing [23:42:14] RoanKattouw: Nice work. [23:42:14] yep [23:42:15] (03PS1) 10Catrope: [WIP] Send requests to RESTbase directly when so configured [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196720 (https://phabricator.wikimedia.org/T90374) [23:42:16] Krenair: Yay. [23:42:25] wow, that was pretty stupid of me [23:43:06] Krenair: https://wikitech.wikimedia.org/wiki/EventLogging/Testing/BetaLabs#How_to_log_an_event_to_beta_labs_directly [23:43:10] James_F: https://phabricator.wikimedia.org/T76542 is not blocked by subdocuments, necessarily [23:43:15] (03Merged) 10jenkins-bot: ve.ui.Context: Fix typo: embedable → embeddable [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196698 (owner: 10Bartosz Dziewoński) [23:43:19] nuria was telling me that's how you log events in beta labs [23:43:24] Not does it block it [23:43:28] RoanKattouw: s/Blocked by/blocking it/? [23:43:28] Let me clean up some of these dependencies here [23:43:29] (03PS3) 10Trevor Parscal: Allow access to surface through window manager [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196655 [23:43:29] so maybe you can test there and make sure all's good [23:43:29] Right. [23:43:38] RoanKattouw: Or go sleep and worry about Phabricator later? :-) [23:44:10] 10VisualEditor, 10VisualEditor-DataModel, 10VisualEditor-Performance, 7Performance: Explore using SurfaceFragments to track meta items' positions - https://phabricator.wikimedia.org/T76542#1118387 (10Catrope) [23:44:11] 10VisualEditor, 7Technical-Debt: VisualEditor: Part of MetaList should be moved into Document - https://phabricator.wikimedia.org/T49025#1118388 (10Catrope) [23:44:12] 10VisualEditor, 7Technical-Debt: VisualEditor: Reunify data and metadata - https://phabricator.wikimedia.org/T56299#1118386 (10Catrope) [23:44:32] There, emptied the blocking tasks list, now I can work on it :P [23:44:54] James_F: Dare I attach story points to the subdocuments task? [23:45:01] RoanKattouw: Go for it. :-) [23:45:06] RoanKattouw: 40? [23:45:09] RoanKattouw: 160 [23:45:11] ? [23:45:13] What's the scheme we settled on? [23:45:29] 1 is hours, 8(?) is days, 40 is weeks, 160 is months? [23:45:29] RoanKattouw: 1 = hours, 8 = days, 40 = weeks, 160 = months. [23:45:31] Or something? [23:45:33] OK yeah [23:45:43] If you're going to set 160, feel free to wait until it's merged. :-P [23:45:51] haha [23:46:06] Right now I'd call it at 160, but I might be being pessimistic. [23:46:10] I think it's somewhere between 40 and 160 [23:46:12] We're already months of thinking into it, of course. [23:46:19] The current state of it was done in about a week and a half [23:46:38] Sure, but the current state was 10 days of RoanKattouw == 40 points anyway. :-) [23:47:04] Krenair: to look at events on beta labs (we should test there your code) you need sudo in this machine: deployment-eventlogging02.eqiad.wmflabs [23:47:08] hmm. when you place a cursor in a paragraph after a table in VE, pressing Backspace will remove table cells. [23:47:13] (03PS1) 10Trevor Parscal: Update VE core submodule to 430475511c9882e81126c1c5ce13deea439c8016 [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196723 [23:47:14] Anyway, I'll pick that back up on the flight [23:47:18] that is probably not the desired behavior. [23:47:20] Krenair: please get sudo and we can see that events validate according to schema [23:47:28] nuria, I can sudo in all the deployment instances, that's fine [23:47:35] 10VisualEditor, 10Wikimedia-Site-requests: Enable VE in ns 102 (WikiProject) on plwiki - https://phabricator.wikimedia.org/T92698#1118391 (10tarlocesilion) 3NEW [23:47:39] (03CR) 10jenkins-bot: [V: 04-1] Update VE core submodule to 430475511c9882e81126c1c5ce13deea439c8016 [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196723 (owner: 10Trevor Parscal) [23:47:40] have managed to hack around some of the eventlogging code to validate it locally [23:47:41] pressing Delete before table too, but in an even weirder way [23:47:47] One good thing that came out of it already is that https://gerrit.wikimedia.org/r/#/c/195901/ is a pretty faithful copy of something I'd already done in my subdocuments branch [23:49:17] (03PS1) 10Alex Monk: Don't try to log a boolean for page.revid [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196724 [23:49:21] MatmaRex, yeah, it should delete the whole table (probably not), or nothing IMHO. It shouldn't delete cells. [23:49:23] They validate now. [23:49:28] MatmaRex, question: [23:49:52] Are actions defined in inspectors (e.g. ve.ui.MWLinkNodeInspector.static.actions) equivalent to Action classes, or do I need to do both, or what? [23:50:11] yes, they are [23:50:26] Thanks [23:50:59] 10VisualEditor, 7Browser-Support-Apple-Safari, 7Mobile: The Visual Editor scrolls erratically when the user is typing or erasing on Safari iOS - https://phabricator.wikimedia.org/T88983#1118411 (10Etonkovidova) Confirmed(iPad mini; betalabs) - there are various problems with typing/deleting text on a page. D... [23:51:21] Krenair: then: https://wikitech.wikimedia.org/wiki/EventLogging/Testing/BetaLabs#How_to_check_if_events_are_valid [23:51:25] (03PS1) 10Kmenger: Widget: Clarify description [oojs/ui] - 10https://gerrit.wikimedia.org/r/196725 [23:51:36] superm401: to be clear, you mean ActionWidget classes, right? [23:51:46] MatmaRex, no. [23:52:06] okay, then they aren't. [23:52:11] I meant e.g. https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FVisualEditor.git/9dd64e3f8462e9d3c764263a9021ed0b295accc0/modules%2Fve-mw%2Fui%2Factions%2Fve.ui.MWLinkAction.js [23:52:17] you must mean ve.ui.Actions then [23:52:18] great, thanks nuria ! that's just what I needed [23:52:30] Now I'm wondering what ActionWidgets are, though. [23:53:20] MatmaRex, so basically, I'm trying to implement a toolbar button, and related inspector/context item (basically it all represents a single one-param transclusion, but I want it to be fully editable, while still keeping the inspector, similar to the custom cite dialogs). [23:53:22] So far I have: [23:53:41] MentionAction [23:54:03] (inherits ve.ui.Action) [23:54:08] MentionContextItem [23:54:10] MentionInspector [23:54:14] (03PS4) 10Mooeypoo: Add directionality classes to window manager [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196661 [23:54:19] and finally MentionInspectorTool [23:54:50] What does MentionAction do? [23:55:00] okay. i don't think you need an Action class. i'm a bit fuzzy on the details, but ve.ui.Action is something more like an action in the user interface [23:55:21] RoanKattouw, so far, boilerplate code. :) [23:55:26] I undesrstand why you have a context item and an inspector and an inspector tool, but why do you need an action? [23:55:31] I probably don't. [23:55:39] (03CR) 10jenkins-bot: [V: 04-1] Add directionality classes to window manager [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196661 (owner: 10Mooeypoo) [23:55:51] There's a LinkAction but that's because of a quirk [23:55:54] Conceptually, I just need the toolbar to open the inspector (e.g. if you have nothing highlighted, or plain text highlighted), and I want to be able to open the inspector from the context item. [23:56:01] Because we have two different inspectors for links and we choose one based on context [23:56:13] RoanKattouw, oh, then I probably shouldn't have used that as an example for part. [23:56:16] Yeah, you can use WindowAction for that and pass it parameters [23:56:34] Which is actually what MWLinkAction does, as well [23:56:42] See MWLinkAction.js line 53 [23:56:55] It's just an if-else to determine the name of the window that needs to be opened, then it invokes WindowAction [23:57:00] I see [23:57:25] A better example is the language inspector [23:57:38] Actually come to think of it a MUCH better example is the comment inspector [23:57:49] Because it inspects a node, which is much simpler than inspecting an annotaton [23:57:56] (God AnnotationInspector is complicated) [23:58:20] Okay, I'll take a look at that. [23:59:12] (03CR) 10Alex Monk: [C: 032] Remove basetimestamp/starttimestamp from ApiVisualEditor [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196636 (owner: 10Catrope) [23:59:22] RoanKattouw, oh so ve.ui.CommentInspector.static.actions is not at all related to ve.ui.Action, it's just the buttons, right?