[00:04:15] 3VisualEditor / 3Editing Tools: VisualEditor: [Regression wmf8] TypeError:this.documentView is null appearing after saving an edit and then reopening the VE again, also cannot switch to edit source mode after that in Firefox - 10https://bugzilla.wikimedia.org/66222#c3 (10ryasmeen) The "Switching to edit sour...
[00:11:46] 3VisualEditor / 3Editing Tools: VisualEditor: Cannot switch to edit source mode , shows the message "Some parts of the edit form did not reach the server; double-check that your edits are intact and try again." on top of the oage - 10https://bugzilla.wikimedia.org/66231 (10ryasmeen) 3NEW p:3Unprio s:3no...
[00:12:29] 3VisualEditor / 3Editing Tools: VisualEditor: Cannot switch to edit source mode , shows the message "Some parts of the edit form did not reach the server; double-check that your edits are intact and try again." on top of the page - 10https://bugzilla.wikimedia.org/66231 (10ryasmeen)
[00:12:46] 3VisualEditor / 3Editing Tools: VisualEditor: Cannot switch to edit source mode , shows the message "Some parts of the edit form did not reach the server; double-check that your edits are intact and try again." on top of the page - 10https://bugzilla.wikimedia.org/66231 (10ryasmeen) 5NEW>3ASSI a:3Roan K...
[00:13:44] 3MediaWiki extensions / 3TemplateData: TemplateData: TemplateData is not available to VisualEditor if the template is a redirect - 10https://bugzilla.wikimedia.org/50964#c14 (10James Forrester) 5RESO/?>3VERI Per report. ;-)
[00:14:14] 3VisualEditor / 3Editing Tools: VisualEditor: [Regression wmf8] Cannot switch to edit source mode , shows the message "Some parts of the edit form did not reach the server; double-check that your edits are intact and try again." on top of the page - 10https://bugzilla.wikimedia.org/66231 (10ryasmeen)
[00:16:30] 3VisualEditor / 3Editing Tools: VisualEditor: Centre floated image next to right floated image means image is shown partially offscreen, and shield is put in the wrong place - 10https://bugzilla.wikimedia.org/62850 (10James Forrester)
[00:16:30] 3VisualEditor / 3ContentEditable: VisualEditor: Some images not displayed in the correct place ? due to floating - 10https://bugzilla.wikimedia.org/66228 (10James Forrester) 5NEW>3ASSI p:5Unprio>3Normal
[00:17:59] 3VisualEditor / 3Editing Tools: VisualEditor: Fields are case sensitive in citation dialog, allowing duplicates of the same field - 10https://bugzilla.wikimedia.org/66207 (10James Forrester) 5UNCO>3ASSI p:5Unprio>3High
[00:21:44] 3VisualEditor / 3Editing Tools: VisualEditor: [Regression wmf8] Cannot switch to edit source mode , shows the message "Some parts of the edit form did not reach the server; double-check that your edits are intact and try again." on top of the page - 10https://bugzilla.wikimedia.org/66231#c1 (10ryasmeen) This...
[00:28:14] 3VisualEditor / 3Editing Tools: VisualEditor: Deleting the parameter of any template or the template itself, scrolls the focus up to the top of the transclusion dialog - 10https://bugzilla.wikimedia.org/62420 (10James Forrester) 5NEW>3ASSI p:5Unprio>3High s:5normal>3minor
[00:29:30] 3VisualEditor / 3Data Model: VisualEditor: tags appear when editing on the Hebrew Wiki - 10https://bugzilla.wikimedia.org/66210 (10James Forrester) 5NEW>3ASSI p:5Unprio>3High s:5normal>3major a:3Moriel Schottlender
[00:29:59] 3VisualEditor / 3Editing Tools: VisualEditor: [Regression wmf8] Cannot switch to edit source mode , shows the message "Some parts of the edit form did not reach the server; double-check that your edits are intact and try again." on top of the page - 10https://bugzilla.wikimedia.org/66231 (10James Forrester)...
[00:30:44] 3VisualEditor / 3Data Model: VisualEditor: Do not allow creation of empty lists inside tables (?!) - 10https://bugzilla.wikimedia.org/65970 (10James Forrester) 5NEW>3ASSI p:5Unprio>3Normal
[00:30:58] 3VisualEditor / 3Editing Tools: VisualEditor: adding a new link shows the target of the previously-added link for a few moments in the link inspector - 10https://bugzilla.wikimedia.org/66016 (10James Forrester) 5NEW>3ASSI p:5Unprio>3High
[00:32:31] 3VisualEditor / 3Editing Tools: VisualEditor: adding a new link shows the target of the previously-added link for a few moments in the link inspector - 10https://bugzilla.wikimedia.org/66016 (10James Forrester) a:3Trevor Parscal
[00:35:36] * Eloquence reads http://community.wikia.com/wiki/User_blog:Kirkburn/VisualEditor_-_the_past,_present_and_future
[00:37:10] Eloquence: Interesting.
[00:38:59] 3VisualEditor / 3Editing Tools: VisualEditor: hard breaks [Return/enter] are ignored when pages is saved by visual editor - 10https://bugzilla.wikimedia.org/65707#c5 (10James Forrester) Unfortunately MediaWiki has no representation of a blank paragraph, so they get destroyed when you save. We could theoreti...
[00:44:43] James_F, example - http://www.wowwiki.com/Pandaren?veaction=edit
[00:45:00] looks like their parsoid setup is kind of wonky, introduces dirty diffs
[00:47:57] Eloquence: Yeah, dirty diffs weren't much of a priority compared to roll-out AIUI.
[00:48:44] Eloquence: Though that does look familiar, sadly (dirtying on [s) – may be an old version?
[00:52:08] (03PS1) 10Divec: Handle collapsed range properly in pushRemoval [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137844
[00:52:49] Wikia running old code? never! :P
[00:54:13] Eloquence: Be nice. ;-)
[00:58:44] 3VisualEditor / 3Editing Tools: VisualEditor: Existing page shows up under New Page section inside Link Inspector in production - 10https://bugzilla.wikimedia.org/65927#c1 (10James Forrester) 5NEW>3RESO/DUP *** This bug has been marked as a duplicate of bug 51013 ***
[00:58:45] 3VisualEditor / 3Technical Debt: VisualEditor: OpenSearch results aren't perfect for checking for page existence - 10https://bugzilla.wikimedia.org/51013#c3 (10James Forrester) *** Bug 65927 has been marked as a duplicate of this bug. ***
[01:02:14] 3VisualEditor / 3Editing Tools: VisualEditor: [Regression wmf8] TypeError:this.documentView is null appearing after saving an edit and then reopening the VE again, also cannot switch to edit source mode after that in Firefox - 10https://bugzilla.wikimedia.org/66222#c4 (10Roan Kattouw) The error from comment...
[01:08:44] 3VisualEditor / 3Data Model: VisualEditor: Empty references created in wikitext editor should be allowed to edit in VE - 10https://bugzilla.wikimedia.org/62401 (10James Forrester) 5NEW>3ASSI p:5Unprio>3Low
[01:12:08] (03CR) 10Catrope: [C: 032] Handle collapsed range properly in pushRemoval [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137844 (owner: 10Divec)
[01:13:11] (03Merged) 10jenkins-bot: Handle collapsed range properly in pushRemoval [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137844 (owner: 10Divec)
[01:15:21] (03CR) 10Catrope: [C: 04-1] "Looks good, just needs commented-out code to be removed" (032 comments) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137524 (https://bugzilla.wikimedia.org/65916) (owner: 10Mooeypoo)
[01:15:36] (03PS3) 10Divec: POC DONTMERGE: Unicorn [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/125937
[01:15:38] (03PS8) 10Divec: Inflict a gruesome death on ve.ce.getOffset() and reincarnate it [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563 (owner: 10Catrope)
[01:16:11] (03CR) 10jenkins-bot: [V: 04-1] POC DONTMERGE: Unicorn [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/125937 (owner: 10Divec)
[01:18:45] (03CR) 10Divec: "This patch fixes two bugs that caused the error Ed identified above." [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/125937 (owner: 10Divec)
[01:19:19] (03CR) 10Catrope: [C: 032] Allow programmatic selection of options while disabled [oojs/ui] - 10https://gerrit.wikimedia.org/r/137729 (https://bugzilla.wikimedia.org/65916) (owner: 10Trevor Parscal)
[01:19:48] (03Merged) 10jenkins-bot: Allow programmatic selection of options while disabled [oojs/ui] - 10https://gerrit.wikimedia.org/r/137729 (https://bugzilla.wikimedia.org/65916) (owner: 10Trevor Parscal)
[01:21:06] (03PS4) 10Mooeypoo: Fixing issues in the alignment select in Media Edit dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137524 (https://bugzilla.wikimedia.org/65916)
[01:29:58] (03CR) 10Catrope: "This is fine, except for one problem: this commit makes it so that any time you change any reference for any reason, it gets deleted and r" [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/136599 (https://bugzilla.wikimedia.org/65689) (owner: 10Alex Monk)
[01:31:15] (03CR) 10Jforrester: [C: 032] "Per Roan." [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137524 (https://bugzilla.wikimedia.org/65916) (owner: 10Mooeypoo)
[01:31:45] 3VisualEditor / 3Editing Tools: VisualEditor: Media settings dialog shows two selected values of alignment if you unchecking then checking the wrap option - 10https://bugzilla.wikimedia.org/65916 (10James Forrester) 5PATC>3RESO/FIX
[01:32:04] (03CR) 10Catrope: [C: 032] Fixing issues in the alignment select in Media Edit dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137524 (https://bugzilla.wikimedia.org/65916) (owner: 10Mooeypoo)
[01:32:50] (03Merged) 10jenkins-bot: Fixing issues in the alignment select in Media Edit dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137524 (https://bugzilla.wikimedia.org/65916) (owner: 10Mooeypoo)
[01:39:44] (03PS9) 10Catrope: Inflict a gruesome death on ve.ce.getOffset() and reincarnate it [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563
[01:40:46] (03CR) 10jenkins-bot: [V: 04-1] Inflict a gruesome death on ve.ce.getOffset() and reincarnate it [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563 (owner: 10Catrope)
[01:42:03] rofl
[01:42:29] (03CR) 10Catrope: Inflict a gruesome death on ve.ce.getOffset() and reincarnate it (033 comments) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563 (owner: 10Catrope)
[01:42:39] mooeypoo: See also the branch name on that commit
[01:42:46] ("topic" in the gerrit UI)
[01:44:58] (03PS10) 10Catrope: Inflict a gruesome death on ve.ce.getOffset() and reincarnate it [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563
[01:45:17] (03CR) 10Catrope: "PS10: Fixes for PS9 to account for the fact that TextNodes don't have children" [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563 (owner: 10Catrope)
[01:46:26] RoanKattouw rofl!
[01:46:46] Wish I could do the same with some of the image wikitext... *cough* *cough*
[01:46:58] (03CR) 10Jforrester: [C: 04-1] Inflict a gruesome death on ve.ce.getOffset() and reincarnate it (031 comment) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563 (owner: 10Catrope)
[01:47:36] RoanKattouw, btw, do you know if anything changed recently with OOJS' directionality stuff? or VE's widget/context directionality? We have a huge regression with sub widgets' positioning in RTL
[01:48:06] (03PS11) 10Catrope: Inflict a gruesome death on ve.ce.getOffset() and reincarnate it [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563
[01:48:34] mooeypoo: You mean bug 65483?
[01:48:41] the categories one, yeah
[01:48:56] but i thought I also saw it in another place
[01:49:16] (03CR) 10jenkins-bot: [V: 04-1] Inflict a gruesome death on ve.ce.getOffset() and reincarnate it [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563 (owner: 10Catrope)
[01:50:33] Actually I was going to have you investigate that bug
[01:50:46] So you can do something non-image-related for that change :P
[01:51:00] (03PS1) 10Jforrester: Update OOjs UI to v0.1.0-pre (c9b9f8345d) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137852
[01:51:06] RoanKattouw: https://gerrit.wikimedia.org/r/137851
[01:51:36] RoanKattouw, aye, I am doing just that
[01:51:42] but it's weird that it came back
[01:51:49] Yeah it is
[01:51:51] mooeypoo: I blame Ed.
[01:51:52] I don't know how that happened
[01:52:02] mooeypoo: He's the one most recently mucking around in that area.
[01:52:26] (03CR) 10Catrope: [C: 032] Update OOjs UI to v0.1.0-pre (c9b9f8345d) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137852 (owner: 10Jforrester)
[01:52:37] yeah it happens to all OO.ui.LookupInputWidget inside dialogs
[01:52:55] I just tested the general settings, where you can point the page to another page
[01:53:00] same problem.
[01:53:01] hmm.
[01:54:25] (03PS12) 10Catrope: Inflict a gruesome death on ve.ce.getOffset() and reincarnate it [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563
[01:54:27] (03Merged) 10jenkins-bot: Update OOjs UI to v0.1.0-pre (c9b9f8345d) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137852 (owner: 10Jforrester)
[01:54:51] (03CR) 10Catrope: "PS12: Apparently TextNodes do have a .childNodes property, it's just always an empty list" [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563 (owner: 10Catrope)
[01:56:19] (03CR) 10Catrope: Inflict a gruesome death on ve.ce.getOffset() and reincarnate it (031 comment) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563 (owner: 10Catrope)
[01:57:08] (03CR) 10Jforrester: build: Update jscs and grunt-watch (033 comments) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/133481 (owner: 10Krinkle)
[01:57:37] (03CR) 10Jforrester: CONTRIBUTING: Refer to VisualEditor contribution guidelines (031 comment) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114677 (owner: 10Krinkle)
[02:08:27] RoanKattouw, this RTL error is another jQuery upgrade casualty
[02:08:34] Aha!
[02:08:36] How so?
[02:08:55] the dimensions of the parent() and the offset have different attributes than we planned for
[02:09:02] we're looking for dimensions.width which doesn't exist
[02:09:12] dimensions = $container.offset(); <-- this apparently doesn't give 'width' anymore
[02:09:16] wtf?!
[02:09:20] Oh
[02:09:22] Just .left ?
[02:09:27] so dimensions.right = this.$element.parent().position().left - dimensions.width - dimensions.left;
[02:09:30] results in NaN
[02:09:32] left/right
[02:10:07] I'll have to ask for the width specifically, but yeah, it seems to be a recent change in jquery
[02:10:08] Hah
[02:10:12] Speaking of
[02:10:22] Dear California DMV, where is my NANPX license plate
[02:10:32] RoanKattouw: :-P
[02:10:32] rofl
[02:10:44] Too bad there's no case sensitivity
[02:21:15] Oh dear, I'll have to call the DMV I think
[02:21:23] Because I have no email or record of this thing whatsoever
[02:21:29] Only a credit card statement
[02:21:37] (03PS4) 10Jforrester: POC DONTMERGE: Unicorn [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/125937 (owner: 10Divec)
[02:22:02] (03CR) 10Jforrester: "PS4 fixes a few jscs issues so the real V state can be seen." [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/125937 (owner: 10Divec)
[02:22:16] 3VisualEditor / 3MediaWiki integration: VisualEditor: vesection not removed on save - 10https://bugzilla.wikimedia.org/66237 (10Matthew Flaschen) 3NEW p:3Unprio s:3normal a:3None veaction is removed on save, but not vesection.
[02:22:46] (03CR) 10jenkins-bot: [V: 04-1] POC DONTMERGE: Unicorn [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/125937 (owner: 10Divec)
[02:26:07] (03PS5) 10Jforrester: POC DONTMERGE: Unicorn [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/125937 (owner: 10Divec)
[02:26:28] (03CR) 10Jforrester: "PS5 is a rebase." [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/125937 (owner: 10Divec)
[02:27:19] (03CR) 10jenkins-bot: [V: 04-1] POC DONTMERGE: Unicorn [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/125937 (owner: 10Divec)
[02:29:59] 3VisualEditor / 3MediaWiki integration: VisualEditor: vesection not removed on save - 10https://bugzilla.wikimedia.org/66237 (10James Forrester) 5NEW>3ASSI p:5Unprio>3High s:5normal>3trivia
[02:37:36] RoanKattouw, eh, this is a mess. $container.offset() now only supplies "top" and "left"
[02:38:21] mooeypoo: Even on RTL?
[02:38:24] yeah
[02:38:30] i'm in RTL now
[02:38:36] didn't test on LTR yet
[02:39:02] offset() and position() seem to only have left/right
[02:39:08] err top/left i mean
[02:39:18] Helpful.
[02:39:48] * James_F goes.
[03:35:03] (03CR) 10Krinkle: CONTRIBUTING: Refer to VisualEditor contribution guidelines (031 comment) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/114677 (owner: 10Krinkle)
[03:43:12] Krinkle, you around? do you know anything about a change to position() and offset() output in jQuery?
[03:43:59] I think it broke in the upgrade.. it seems to only offer top/left values now, and the code expects .width .. very baffling.
[04:16:29] mooeypoo: Nope
[04:16:47] mooeypoo: Looking at the old jQuery 1.8 source code, both offset() and position() only compute and return top/left
[04:16:53] afaik it never did right or width
[04:17:30] the few times I worked on code supporting RTL at this level (such as when I did the Toolbar tracker in mw.ViewPageTarget), we did right=outerWidth-left
[04:17:35] and things like that
[04:18:27] yeah, the current code seems to look for width
[04:18:36] which we used to have, i'm sure, since it worked before.
[04:18:48] something made it not-work. I thought maybe jquery upgrade, but this is weird.
[05:40:46] [13oojs.github.io] 15Krinkle pushed 1 new commit to 06master: 02https://github.com/oojs/oojs.github.io/commit/58f64b80df5b6fd16460766e19d9f1c1a5fb242d
[05:40:47] 13oojs.github.io/06master 1458f64b8 15Timo Tijhof: readme: Use HTTPS
[07:58:48] (03CR) 10Esanders: [C: 032] Use this.$() in LanguageResultWidget#highlightQuery [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137736 (https://bugzilla.wikimedia.org/65512) (owner: 10Catrope)
[07:59:53] (03Merged) 10jenkins-bot: Use this.$() in LanguageResultWidget#highlightQuery [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137736 (https://bugzilla.wikimedia.org/65512) (owner: 10Catrope)
[09:22:46] (03CR) 10Divec: [C: 032] Inflict a gruesome death on ve.ce.getOffset() and reincarnate it [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563 (owner: 10Catrope)
[09:23:57] (03Merged) 10jenkins-bot: Inflict a gruesome death on ve.ce.getOffset() and reincarnate it [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563 (owner: 10Catrope)
[09:57:29] 3VisualEditor / 3Editing Tools: VisualEditor: Language selector from Language inspector takes long time (~15 secs) to load - 10https://bugzilla.wikimedia.org/65512 (10Andre Klapper)
[11:52:15] (03PS6) 10Esanders: Grunt: Create a single file stand-alone distribution for demos etc. [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137367 (https://bugzilla.wikimedia.org/66117) (owner: 10Jforrester)
[11:52:17] (03PS1) 10Esanders: Use this.$ where available [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137913
[11:52:19] (03PS1) 10Esanders: [BREAKING CHANGE] Debug bar refactor [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137914
[11:53:21] (03CR) 10jenkins-bot: [V: 04-1] Grunt: Create a single file stand-alone distribution for demos etc. [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137367 (https://bugzilla.wikimedia.org/66117) (owner: 10Jforrester)
[11:53:23] (03CR) 10jenkins-bot: [V: 04-1] Use this.$ where available [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137913 (owner: 10Esanders)
[11:53:31] (03CR) 10jenkins-bot: [V: 04-1] [BREAKING CHANGE] Debug bar refactor [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137914 (owner: 10Esanders)
[12:24:08] so what's the relevance of release 1.23 as it relates to visualeditor compatability?
[12:24:10] good to go?
[12:58:50] (03PS2) 10Esanders: Use this.$ where available [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137913
[12:58:52] (03PS2) 10Esanders: [BREAKING CHANGE] Debug bar refactor [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137914
[12:58:54] (03PS7) 10Esanders: Grunt: Create a distribution files for the ve module [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137367 (https://bugzilla.wikimedia.org/66117) (owner: 10Jforrester)
[13:18:46] (03PS1) 10Esanders: Move save panel init to onReady [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168)
[13:20:34] (03CR) 10jenkins-bot: [V: 04-1] Move save panel init to onReady [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[13:27:11] (03CR) 10Esanders: "FIXME: Major fail: placing a cursor in an empty paragraph places the dm offset after the ]
" [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/121563 (owner: 10Catrope)
[13:48:30] (03PS1) 10Esanders: Calculate offset correctly in empty paragraphs [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137927
[13:49:34] (03CR) 10jenkins-bot: [V: 04-1] Calculate offset correctly in empty paragraphs [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137927 (owner: 10Esanders)
[13:55:05] edsanders: aloha
[13:55:21] what are the current installation instructions for parsoid + ve?
[13:55:34] I want to run everything on my own Fedora box and without vagrant.
[13:56:00] Last time I tried https://www.mediawiki.org/wiki/Parsoid/Setup it didn't quite work.
[13:56:29] I heard that now there's a "Parsoid extension" or something along these lines, but it's not quite clear from the installation instructions at https://www.mediawiki.org/wiki/Extension:VisualEditor .
[13:59:20] divec: ^
[14:44:32] aharoni, hi
[14:44:39] so Parsoid is now a service and an extension
[14:44:41] hi!
[14:44:52] the extension needs to be installed and pointed at the service
[14:45:02] which needs to be running (via nodejs)
[14:45:07] Aha. And how do I do that? I couldn't find a guide at mw.org.
[14:45:14] I think that I have the service running.
[14:45:45] it should be at http://localhost:8000/ if it is
[14:46:44] I configured it to run on port 9000 using parsoidConfig.serverPort = 9000; in localsettings.js
[14:46:50] I have something else on port 8000
[14:47:01] when I point the browser to localhost:9000 , it gives a sensible page:
[14:47:15] "Welcome to the Parsoid web service" etc.
[14:47:38] in LocalSettings.php I have:
[14:47:42] $wgVisualEditorParsoidURL = 'http://localhost:9000/';
[14:48:00] I also added require_once("$IP/extensions/Parsoid/Parsoid.php");
[14:48:06] do I need anything else?
[14:51:40] edsanders: ^
[14:54:06] aharoni, that seems about right
[14:54:23] it's been a while, let me check my settings
[14:55:00] I also have $wgVisualEditorParsoidPrefix = 'localhost';
[14:55:50] so what goes wrong when you try to edit?
[14:57:49] also check parsoidConfig.setInterwiki is the right path
[14:59:17] parsoidConfig.setInterwiki( 'localhost', 'http://localhost/w/api.php' );
[14:59:19] sounds correct
[14:59:46] when I press the Edit tab, nothing happens.
[14:59:48] nothing at all.
[15:00:00] no error messages, no lines in the Parsoid console. nothing.
[15:00:22] hi mooeypoo
[15:00:22] edsanders: ^
[15:00:25] hiya
[15:00:38] try to update the submodule
[15:00:44] git submodule update
[15:00:52] aharoni, what about in the network tab?
[15:01:54] actually the fact you have no errors suggests or activity suggests an error in ResourceLoader
[15:11:01] mooeypoo: update submodule
[15:11:23] edsanders: error in ResourceLoader?
[15:11:23] how can I debug that?
[15:11:30] I run the latest master core, if this means anything
[15:11:43] what browser are you using aharoni ?
[15:11:50] Firefox
[15:12:09] aharoni, $wgShowExceptionDetails = true;
[15:12:30] then look at data returned in the network tabs
[15:13:10] waaaaaaaaaaaaaaaat
[15:13:18] (it works)
[15:13:20] you can also look in firebug in the scripts tab and go over all the load.php?... scripts - sometimes one of them will have a commented-out error at the top, helpfully enough
[15:13:21] it's like that me
[15:13:42] It's like that meme: My code doesn't work, I have no idea why. My code works, I have no idea why.
[15:13:52] hah!
[15:13:59] heisenbug?
[15:14:18] maybe it works _because_ I opened the Network tab? :)
[15:15:07] Oh, there's also that thing at the bottom that I've never seen - "Dump on change", "Dump model", "Log range"...
[15:15:16] I was about to say schrodenbug -- all code both works and doesn't work at the same time; it's only our attempt to load that collapses the wave equation...
[15:15:22] I guess that it's some kinda of a debug mode, but I have no idea what have I done to enable it :)
[15:15:26] that means you're in debug mode
[15:15:33] either with ?debug=true
[15:15:50] yeah, I usually run with rl debug
[15:16:00] OK, so.
[15:16:02] if it's a debug problem it sounds like it might be caching issue?
[15:16:09] or $wgResourceLoaderDebug = true;
[15:16:30] I finally have what looks like a working VE on my laptop, after many weeks of not having it and only reporting bugs lazily :)
[15:16:55] Thanks for the help, mooeypoo and edsanders !
[15:16:57] sure thing aharoni
[15:32:34] edsanders: So the reason I wanted to make VE work is to test https://gerrit.wikimedia.org/r/#/c/137926/ .
[15:32:37] Which I am doing now.
[15:32:57] And the curious thing is that it seems to work correctly on Chrome, but not on Firefox,
[15:33:25] and I suspect that it's simply because something is cached to aggressively and Firefox still sees the master and not your code.
[15:33:52] Are you caching something extra-strongly in VE?
[15:35:11] no, if it doesn't work in a private window it probably doesn't work
[15:35:23] Firefox does have issues with trying to focus too early on first load
[15:35:28] (of a dialog)
[15:36:13] if you add a reference does the textarea take focus?
[15:36:59] aharoni, edsanders: with recent core the Parsoid *extension* is no longer needed unless you are running a caching setup similar to what we're doing at WMF
[15:37:18] gwicke: ah, thanks for the tip.
[15:37:39] the only reason it was added as a dependency for a short time was that it registered some parsoid-specific CSS with ResourceLoader
[15:37:52] that's now moved to core, so you don't have to worry about it any more
[15:37:59] I don't think that caching is important for my testing. I usually care only about the functionality and not about the performance.
[15:38:00] but you need very recent core
[15:40:29] gwicke: I git pull the core practically every day
[15:40:49] k, that's recent enough then
[15:40:50] ;)
[15:41:03] it went in ~2 weeks ago
[15:41:17] edsanders: On Chrome I can consistently reproduce the bug on master, and the fix on your patch.
[15:41:26] But what about Firefox?..
[15:42:06] [Just thinking out loud.]
[15:42:16] it possibly isn't fixed in Firefox, but that's a known issue
[15:42:28] does it work for the reference dialog (be sure to check only the first load)
[15:58:58] (03PS2) 10Esanders: Calculate offset correctly in inline slugs [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137927
[16:04:43] (03PS7) 10Alex Monk: MWReferenceDialog: Allow swapping of existing references for others [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/136599 (https://bugzilla.wikimedia.org/65689)
[16:05:27] edsanders: the reference dialog works well in master in Firefox, but not the save dialog
[16:08:03] (03CR) 10Amire80: "This seems to fix the bug in Chrome, but not in Firefox." [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[16:16:32] aharoni, interesting
[16:17:33] (03PS1) 10Amire80: Add more authors from `git shortlog -s -n` [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137951
[16:22:53] (03PS2) 10Esanders: Move save panel init to onReady [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168)
[16:23:21] aharoni, try that one, I think there's some race condition we can't time in FF but an extra defer seems to make it more reliable
[16:24:22] (03CR) 10jenkins-bot: [V: 04-1] Move save panel init to onReady [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[17:01:43] (03CR) 10Amire80: [C: 031] "Patch set 2 seems to fix it in both Firefox and Chrome. (I didn't review the code.)" [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[17:01:54] edsanders: PS2 fixes in both Firefox and chrome
[17:32:15] TrevorParscal: are we having a meeting now or is it later?
[17:34:11] mvolz: Now
[17:34:13] I tried to invite you to the hangout, will PM you the link
[17:47:36] kaldari: mediawiki.skinning.content.parsoid
[17:49:37] James_F, is https://gerrit.wikimedia.org/r/#/c/137926/2 the commit you mentioned in hangout?
[17:50:05] aharoni: Make sure there is NO trailing slash in $wgVisualEditorParsoidURL
[17:58:20] Krenair: Yes.
[17:59:59] (03PS3) 10Jforrester: Move save panel init to onReady [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:00:30] (03CR) 10Jforrester: "PS3 fixes trivial jshint error." [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:02:59] * mvolz is on IRC
[18:04:56] mvolz: hi
[18:05:03] sorry for the bad connection
[18:05:20] hey
[18:05:33] so... TransclusuonModel
[18:06:01] https://etherpad.wikimedia.org/p/TransclusionModelIntroduction
[18:06:07] Yup!
[18:06:41] open
[18:06:54] also open up ve.dm.MWTransclusionNode.js
[18:06:58] (what editor do you use?
[18:07:04] geany
[18:07:10] looking at it
[18:07:44] a transclusion is a set of one or more "parts"
[18:07:57] let's actually start with"node"
[18:08:07] ok...
[18:08:12] is this an html tree?
[18:08:19] and the nodes are tree bits?
[18:08:32] ok, so, high level version here...
[18:08:59] VisualEditor has a flat array of data which is called the linear model, it contains every character and start/end of each element
[18:09:04] it's like an HTML token stream
[18:09:11] with some differences, we can skip for now
[18:09:12] ok
[18:09:27] this array is great for processing changes, we call transactions
[18:09:37] but it sucks for building a DOM
[18:09:42] or traversing the document as a tree
[18:09:43] right
[18:10:06] so, we generate and keep in sync a node tree
[18:10:47] RoanKattouw: mediawiki.skinning.content.parsoid
[18:11:06] this is the tree representation of the flat model, the parts of the tree are "nodes" and everything can be rebuilt on demand from the actual linear model (the flat array) so the model tree is made up of nodes that really are just references to the linear model
[18:11:07] ok
[18:11:15] gwicke: https://bits.wikimedia.org/en.wikipedia.org/load.php?modules=mediawiki.skinning.content.parsoid&only=styles&debug=true
[18:11:23] Or without &debug=true if you like your CSS minified
[18:11:33] gotcha
[18:11:37] we then generate a separate view tree generated from on, and synchronized with, the model tree
[18:12:04] TrevorParscal: this is really awesome but the natives here are getting hungry
[18:12:10] would it be possible to pick this up later today?
[18:12:12] model tree nodes are easy to spot, because they are uniformly named and organized like this: ve.dm.*Node
[18:12:18] ok
[18:12:23] and the view tree is ve.ce.*Node
[18:12:37] mvolz: absolutely, let me know when you are back
[18:12:41] ok awesome
[18:12:44] I have 3 of my own, I understand
[18:14:30] (03CR) 10Catrope: [C: 04-1] "git shortlog on this repo is deceptive. The Parsoid code used to be in this repo, so a lot of the contributors you added here are really P" [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137951 (owner: 10Amire80)
[18:15:44] RoanKattouw: https://gerrit.wikimedia.org/r/#/c/137926/ and https://gerrit.wikimedia.org/r/#/c/137927/ :-)
[18:16:33] RoanKattouw, thx for the link
[18:16:36] (03CR) 10Alex Monk: Add more authors from `git shortlog -s -n` (031 comment) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137951 (owner: 10Amire80)
[18:18:45] (03CR) 10Catrope: [C: 04-1] Move save panel init to onReady (031 comment) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:23:52] RoanKattouw, we'll actually also need to include basic content styles
[18:24:02] not just the parsoid-specific ones
[18:24:43] got a patch that adds the style link, but need a better (more complete) RL url
[18:25:16] gwicke: Figure out which modules they are (in resources/Resources.php) and add them to the ?modules= parameter (pipe-separated)
[18:25:58] okay
[18:26:36] gwicke: It's almost certainly mediawiki.skinning.content or maybe mediawiki.skinning.interface you want
[18:26:57] gwicke: Probably ….content.
[18:28:01] currently have http://en.wikipedia.org/w/load.php?modules=mediawiki.skinning.elements|mediawiki.skinning.content|mediawiki.skinning.content.parsoid&only=styles&debug=true
[18:31:00] gwicke: Does that work reasonably?
[18:31:23] (03PS3) 10Catrope: Calculate offset correctly in inline slugs [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137927 (owner: 10Esanders)
[18:31:31] James_F, yes
[18:31:44] next step will be to pull common.css as well
[18:31:54] (03CR) 10Catrope: Calculate offset correctly in inline slugs (031 comment) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137927 (owner: 10Esanders)
[18:32:11] (03CR) 10Catrope: [C: 04-1] "Doesn't work, see comment on PS2 and test cases added in PS3" [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137927 (owner: 10Esanders)
[18:32:26] RoanKattouw, is common.css available through RL too?
[18:33:01] (03CR) 10jenkins-bot: [V: 04-1] Calculate offset correctly in inline slugs [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/137927 (owner: 10Esanders)
[18:33:13] gwicke: Do you mean MediaWiki:Common.css ?
[18:33:28] yes
[18:33:33] and perhaps Vector.css
[18:34:03] That's in the module called site
[18:34:06] I think both of them are
[18:34:23] You may have to pass &skin=vector for the latter to work
[18:34:26] (03CR) 10Jforrester: Move save panel init to onReady (031 comment) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:34:33] or it might default to that automatically
[18:34:43] (03PS4) 10Jforrester: Move save panel init to onReady [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:35:20] RoanKattouw, nice!
[18:35:25] that works
[18:35:52] (03PS5) 10Jforrester: Move save panel init to onReady [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:37:54] gwicke: Also RL allows you do specify foo.bar|foo.baz as foo.bar,baz
[18:38:02] (03PS6) 10Jforrester: Move save panel init to onReady [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:38:03] Unfortunately it doesn't work if 'baz' contains dots, as I found out today
[18:38:18] I see
[18:38:27] So you can do mediawiki.skinning.elements,content but not mediawiki.skinning.elements,content,content.parsoid
[18:38:36] for now url minimization doesn't matter much as this is just for debugging
[18:38:41] Yeah
[18:38:52] readability matters more
[18:39:09] (Relevant code is in ResourceLoader::makePackedModulesString() and ResourceLoaderContext::expandModuleNames())
[18:41:38] (03CR) 10Catrope: [C: 032] Move save panel init to onReady [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:42:13] (03PS1) 10Jforrester: Move save panel init to onReady [extensions/VisualEditor] (wmf/1.24wmf8) - 10https://gerrit.wikimedia.org/r/137971
[18:42:49] (03PS7) 10Jforrester: Move save panel init to getReadyProcess [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:43:00] (03Abandoned) 10Jforrester: Move save panel init to onReady [extensions/VisualEditor] (wmf/1.24wmf8) - 10https://gerrit.wikimedia.org/r/137971 (owner: 10Jforrester)
[18:43:13] (03CR) 10Jforrester: [C: 032] "Per Roan." [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:44:00] (03Restored) 10Jforrester: Move save panel init to onReady [extensions/VisualEditor] (wmf/1.24wmf8) - 10https://gerrit.wikimedia.org/r/137971 (owner: 10Jforrester)
[18:44:05] (03PS4) 10Jforrester: Move save panel init to getReadyProcess [extensions/VisualEditor] (wmf/1.24wmf8) - 10https://gerrit.wikimedia.org/r/137971 (https://bugzilla.wikimedia.org/66168)
[18:44:44] 3VisualEditor / 3ContentEditable: VisualEditor: [Regression wmf7] Cursor is no longer getting automatically placed in the edit summary field; document isn't unfocussed in Firefox - 10https://bugzilla.wikimedia.org/66168#c6 (10James Forrester) 5PATC>3RESO/FIX Thanks Ed!
[18:45:02] (03CR) 10jenkins-bot: [V: 04-1] Move save panel init to getReadyProcess [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:45:44] (03CR) 10jenkins-bot: [V: 04-1] Move save panel init to getReadyProcess [extensions/VisualEditor] (wmf/1.24wmf8) - 10https://gerrit.wikimedia.org/r/137971 (https://bugzilla.wikimedia.org/66168) (owner: 10Jforrester)
[18:47:00] (03PS8) 10Jforrester: Move save panel init to getReadyProcess [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:49:47] James_F, so the HTTP 400 error we get comes with an error: {"code":"request_too_long","info":"Prefix search request was longer longer than the maximum allowed length. (267 > 255)"}
[18:50:12] Aha!
[18:50:12] (with 'longer' twice)
[18:50:16] Krenair: Yeah.
[18:50:17] So this is a new search backend thing?
[18:50:21] Yes
[18:50:24] This is in CirrusSearch
[18:50:26] Aaaaah.
[18:50:32] Also, yes, longer longer FTW.
[18:50:50] Which explains why some wikis didn't get it
[18:50:57] RoanKattouw: https://gerrit.wikimedia.org/r/137926 +2 pls.
[18:51:33] (03PS9) 10Jforrester: Move save panel init to getReadyProcess [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:51:54] (03CR) 10Catrope: [C: 032] Move save panel init to getReadyProcess [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:52:29] 3VisualEditor / 3Editing Tools: VisualEditor: Link inspector should not send external link urls to the API for suggestions (because it won't be valuable) - 10https://bugzilla.wikimedia.org/66135#c5 (10Alex Monk) The HTTP 400 error we get comes with an error: {"code":"request_too_long","info":"Prefix search r...
[18:53:49] kaldari, I'm seeing the missing alignment on default thumbs now too
[18:53:49] (03Merged) 10jenkins-bot: Move save panel init to getReadyProcess [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/137926 (https://bugzilla.wikimedia.org/66168) (owner: 10Esanders)
[18:54:10] James_F, so I think we could cap searches at 255 characters
[18:54:23] And somehow filter out external links
[18:54:59] hmmm.. on ar.wikipedia I see lass="mediawiki rtl sitedir-rtl .."
[18:55:02] Krenair: I was thinking we shouldn't send invalid titles to the search API at all
[18:55:03] no mw-ltr
[18:55:10] gwicke: mw-content-rtl ?
[18:55:19] Not on / but on a somewhere
[18:55:21]
ah, on the div
[18:55:25] ya
[18:55:30] RoanKattouw, aren't some URLs valid titles though?
[18:55:38] will emulate that on our body
[18:55:45] gwicke: It has to be on that because your UI could be in an LTR language
[18:55:53] But yeah for Parsoid it should just be on the body
[18:56:03] Krenair: Yes they are. But strings of length >255 are not valid titles
[18:56:15] Oh, well yes
[18:56:30] (03PS1) 10Jforrester: Move save panel init to getReadyProcess [extensions/VisualEditor] (wmf/1.24wmf7) - 10https://gerrit.wikimedia.org/r/137978
[18:56:39] And if A is an invalid title, than A + (any string) will also be an invalid title
[18:56:53] So there is no point doing a prefix search on something that contains a banned character, for instance
[18:56:54] RoanKattouw, that's something the skin will have to deal with -- ESI or whatever will just inject the body content
[18:57:07] Krenair: Limit to 255 sounds like a start, yeah.
[18:57:16] Krenair: After all, that's mwTitle's limit anyway.
[18:57:32] Actually forget what I said about A and A+(any string) , that's not universally true
[18:57:37] Krenair: But also we shouldn't be sending external links to the API anyway. :-)
[18:57:38] A nice counterexample is A = 'Talk:'
[18:57:52] RoanKattouw: Or ":" as MSE.
[18:57:55] So yeah let's just filter out >255 and URLs
[18:58:05] James_F, I'm pretty sure URLs can be page titles...
[18:58:17]