[00:18:38] (03CR) 10Esanders: Demo typos (031 comment) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196962 (owner: 10Esanders) [00:19:08] (03CR) 10Jforrester: Demo typos (031 comment) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196962 (owner: 10Esanders) [00:45:49] (03PS1) 10Legoktm: Unset $wgVisualEditorResourceTemplate after usage, it's not a real global [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196975 [00:46:02] Krenair: ^ [00:46:59] James_F: since it wasn't installable in 1.24 via composer I think we can safely remove it [00:47:07] legoktm: WFM [00:47:22] * legoktm grumbles at https://gerrit.wikimedia.org/r/#/c/46531/ [00:47:27] (03CR) 10Jforrester: [C: 032] Use ResourceLoader::isModuleRegistered() [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196971 (owner: 10Legoktm) [00:47:56] (03PS1) 10Jforrester: Revert "experimental composer.json" [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196976 [00:48:01] (03CR) 10jenkins-bot: [V: 04-1] Revert "experimental composer.json" [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196976 (owner: 10Jforrester) [00:48:06] legoktm: Good luck. [00:48:08] that's a function? [00:48:11] James_F: I'm making a larger commit, there's more than that :P [00:48:23] legoktm: Re-use the Change ID and then you get to blame me. ;-) [00:48:25] Krenair: as of last night, yes [00:48:40] right, my copy of core wasn't *that* new :) [00:49:31] (03Merged) 10jenkins-bot: Use ResourceLoader::isModuleRegistered() [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196971 (owner: 10Legoktm) [00:50:08] (03CR) 10Alex Monk: [C: 032] Unset $wgVisualEditorResourceTemplate after usage, it's not a real global [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196975 (owner: 10Legoktm) [00:52:12] (03Merged) 10jenkins-bot: Unset $wgVisualEditorResourceTemplate after usage, it's not a real global [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196975 (owner: 10Legoktm) [01:00:14] global $$configuration; [01:00:15] wat [01:02:15] (03PS2) 10Legoktm: Revert making installable via composer (and add composer test entry point) [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196976 (owner: 10Jforrester) [01:03:05] James_F: ^ there :) [01:04:02] (03CR) 10Jforrester: [C: 032] Use ResourceLoader::isModuleRegistered() [extensions/TemplateData] - 10https://gerrit.wikimedia.org/r/196970 (owner: 10Legoktm) [01:04:34] (03Merged) 10jenkins-bot: Use ResourceLoader::isModuleRegistered() [extensions/TemplateData] - 10https://gerrit.wikimedia.org/r/196970 (owner: 10Legoktm) [01:05:09] (03CR) 10Jforrester: [C: 032] Revert making installable via composer (and add composer test entry point) [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196976 (owner: 10Jforrester) [01:05:15] (03Merged) 10jenkins-bot: Revert making installable via composer (and add composer test entry point) [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196976 (owner: 10Jforrester) [01:06:05] > Invalid form input [01:06:11] I submitted your form packagist.org! [01:06:26] lol [01:06:28] okay, it's gone now [01:07:35] is WikiEditor/tests/selenium even used anymore? [01:21:23] legoktm: Probably not. [01:31:07] legoktm: More on https://gerrit.wikimedia.org/r/#/q/bug:90943,n,z ? :-) [01:31:41] I should probably just write a script to do the rest. [01:31:48] * James_F nods. [01:31:53] 'd be nice. [03:56:30] 10VisualEditor, 10Wikimedia-Site-requests: Kill $wmgUseVisualEditorNamespace - https://phabricator.wikimedia.org/T92797#1120506 (10MZMcBride) 3NEW [03:57:28] 10VisualEditor, 10Wikimedia-Site-requests: Kill $wmgUseVisualEditorNamespace - https://phabricator.wikimedia.org/T92797#1120513 (10Krenair) Would have to get rid of those 122 mediawikiwiki pages (and their 7 talk pages), and 6 on testwiki... [04:00:10] 10VisualEditor, 10Wikimedia-Site-requests: Kill $wmgUseVisualEditorNamespace - https://phabricator.wikimedia.org/T92797#1120520 (10MZMcBride) >>! In T92797#1120513, @Krenair wrote: > Would have to get rid of those 122 mediawikiwiki pages (and their 7 talk pages), and 6 on testwiki... Probably not get rid of,... [04:01:09] 10VisualEditor, 10Wikimedia-Site-requests: Kill $wmgUseVisualEditorNamespace - https://phabricator.wikimedia.org/T92797#1120521 (10Krenair) "Project:VisualEditor_testing/$title"? [04:02:45] 10VisualEditor, 10Wikimedia-Site-requests: Kill $wmgUseVisualEditorNamespace - https://phabricator.wikimedia.org/T92797#1120522 (10MZMcBride) Works for me! [05:33:34] 10MediaWiki-ResourceLoader, 7JavaScript: mw.loader.store should not occupy all of localStorage - https://phabricator.wikimedia.org/T66721#1120658 (10MZMcBride) >>! In T66721#974945, @Mattflaschen wrote: > @Ori plans to look into IndexedDB (which has very different quota rules) as a solution. Is there a status... [07:15:15] hello, i was working on my localhost visualeditor was working fine, but from yesterday when i click on edit just the loading option comes for a second but nothing comes up on the screen(i.e toolbar),but the url changes to veaction=edit [07:15:44] what could be the possible issue as i have not changed anything in the code [07:21:52] (03CR) 10Legoktm: [C: 031] "Awesome" (031 comment) [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/196886 (https://phabricator.wikimedia.org/T92762) (owner: 10Physikerwelt) [07:22:56] MathSearch is an editing team project? o.O :D [07:26:49] Is VisualEditor broken in Beta labs ? [http://en.wikipedia.beta.wmflabs.org/wiki/References?veaction=edit] [07:28:29] Sometimes, it works and sometimes it breaks by giving following error in js console "TypeError: Cannot read property 'mw' of undefined" [07:44:01] vikasyaligar:hello i am facing the same problem, the js console is showing "VisualEditor failed to load: Error: Module ext.visualEditor.core has failed dependencies" [07:46:57] rits: Oh ! looking into phabricator if someone has filed a bug on this [07:48:36] vikasyaligar:ok [07:50:07] Hmm, on http://en.wikipedia.beta.wmflabs.org/w/index.php?title=References&veaction=edit&debug=true I only manage to get a "TypeError: mw.beta is undefined" [07:50:23] ...and that comes from PersonalCompactBar (which I disabled in my Beta settings, sigh sigh sigh) [07:59:33] i have this error TypeError: Expecting a function in instanceof check, but got undefined {stack: (...), message: "Expecting a function in instanceof check, but got undefined"},looking for the fix [08:23:31] rits: do you have a file name and a line number for that one? [08:29:21] (03PS3) 10Gerrit Patch Uploader: Highlight target references [extensions/Cite] - 10https://gerrit.wikimedia.org/r/196172 (https://phabricator.wikimedia.org/T10303) [08:29:24] (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) [08:30:22] (03CR) 10Schnark: Highlight target references (031 comment) [extensions/Cite] - 10https://gerrit.wikimedia.org/r/196172 (https://phabricator.wikimedia.org/T10303) (owner: 10Gerrit Patch Uploader) [08:33:49] (03CR) 10Thiemo Mättig (WMDE): [C: 031] Highlight target references [extensions/Cite] - 10https://gerrit.wikimedia.org/r/196172 (https://phabricator.wikimedia.org/T10303) (owner: 10Gerrit Patch Uploader) [08:36:20] andre__:sorry,just saw your message i just restarted the localhost and now its working fine,the error is not showing up now [08:36:37] heh, lucky :P [08:37:38] :) [09:05:58] 10VisualEditor, 10Flow, 3Collaboration-Team-Sprint-S-2015-03-25, 5Patch-For-Review, 3Roadmap: S5. Flow: Implement VE toolbar layout - https://phabricator.wikimedia.org/T90764#1120765 (10Pginer-WMF) @Mattflaschen Here is the user mention icon. {F95407} Let me know where I can check how it fits with the r... [10:53:41] (03PS2) 10Prtksxna: [wip] MediaWiki Theme: Add button definitions for -warning flag [oojs/ui] - 10https://gerrit.wikimedia.org/r/196211 (https://phabricator.wikimedia.org/T92026) [10:56:04] (03PS3) 10Prtksxna: MediaWiki Theme: Add button definitions for -warning flag [oojs/ui] - 10https://gerrit.wikimedia.org/r/196211 (https://phabricator.wikimedia.org/T92026) [10:59:24] (03CR) 10Bartosz Dziewoński: [C: 032] Insert link: trim whitespace from the external link [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196966 (https://phabricator.wikimedia.org/T25499) (owner: 10TheDJ) [10:59:30] (03Merged) 10jenkins-bot: Insert link: trim whitespace from the external link [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/196966 (https://phabricator.wikimedia.org/T25499) (owner: 10TheDJ) [11:00:46] 10WikiEditor: Link dialog should trim spaces from start and end of URL - https://phabricator.wikimedia.org/T25499#1121047 (10matmarex) 5Open>3Resolved a:3TheDJ [11:01:49] (03CR) 10Bartosz Dziewoński: [C: 032] Highlight target references [extensions/Cite] - 10https://gerrit.wikimedia.org/r/196172 (https://phabricator.wikimedia.org/T10303) (owner: 10Gerrit Patch Uploader) [11:02:09] (03Merged) 10jenkins-bot: Highlight target references [extensions/Cite] - 10https://gerrit.wikimedia.org/r/196172 (https://phabricator.wikimedia.org/T10303) (owner: 10Gerrit Patch Uploader) [11:02:30] 10Cite, 7user-notice: Highlight target references - https://phabricator.wikimedia.org/T10303#1121067 (10matmarex) 5Open>3Resolved [11:08:17] 10MediaWiki-Page-editing, 10MediaWiki-ContentHandler, 5MW-1.25-release, 7Regression: [Regression] section=new no longer works for user js/css pages - https://phabricator.wikimedia.org/T52962#1121076 (10He7d3r) [11:25:32] (03CR) 10Prtksxna: MediaWiki Theme: Add button definitions for -warning flag [oojs/ui] - 10https://gerrit.wikimedia.org/r/196211 (https://phabricator.wikimedia.org/T92026) (owner: 10Prtksxna) [11:25:53] 10MediaWiki-ResourceLoader: Load user javascript on Special:Preferences - https://phabricator.wikimedia.org/T50931#1121117 (10He7d3r) [11:25:54] 10MediaWiki-ResourceLoader, 7JavaScript: User modules not loaded on pages that disallow module origin "ORIGIN_CORE_INDIVIDUAL" - https://phabricator.wikimedia.org/T12005#1121119 (10He7d3r) [12:26:57] hello, how much longer until we think VisualEditor will be ready for stable mediawiki release? [12:42:15] 10MediaWiki-Page-editing, 7Design: "Cancel" should be a button; make "Changes" textbox have no shade; "Minor edit"/"Watch this page" checkboxes too round - https://phabricator.wikimedia.org/T92745#1121237 (10Aklapper) p:5Triage>3Lowest [12:48:57] (03PS5) 10Physikerwelt: Add extension.json [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/196886 (https://phabricator.wikimedia.org/T92762) [12:53:35] RoanKattouw_away, originalDomElements causes us to store every annotation separately in the IV store [13:17:26] (03CR) 10Physikerwelt: "I updated the documentation." [extensions/Math] - 10https://gerrit.wikimedia.org/r/189348 (owner: 10Physikerwelt) [13:41:30] 10OOjs, 10Continuous-Integration, 6Labs, 10Wikimedia-Labs-Infrastructure, and 2 others: Jenkins failing with "Error: GET https://saucelabs.com: Couldn't resolve host name." - https://phabricator.wikimedia.org/T92351#1121309 (10yuvipanda) a:3coren [13:42:41] 10OOjs, 10Continuous-Integration, 6Labs, 10Wikimedia-Labs-Infrastructure, and 2 others: Jenkins failing with "Error: GET https://saucelabs.com: Couldn't resolve host name." - https://phabricator.wikimedia.org/T92351#1121312 (10coren) p:5Unbreak!>3Normal The issue has been worked around on the CI side,... [13:43:33] 10OOjs, 10Continuous-Integration, 6Labs, 10Wikimedia-Labs-Infrastructure, and 2 others: dnsmasq returns SERVFAIL for (some?) names that do not exist instead of NXDOMAIN - https://phabricator.wikimedia.org/T92351#1121316 (10coren) [13:44:17] 10OOjs, 10Continuous-Integration, 6Labs, 10Wikimedia-Labs-Infrastructure, and 2 others: dnsmasq returns SERVFAIL for (some?) names that do not exist instead of NXDOMAIN - https://phabricator.wikimedia.org/T92351#1121318 (10yuvipanda) Interestingly, dig saucelabs.com on tools-trusty works fine. [13:44:36] 10OOjs, 10Continuous-Integration, 6Labs, 10Wikimedia-Labs-Infrastructure, and 2 others: dnsmasq returns SERVFAIL for (some?) names that do not exist instead of NXDOMAIN - https://phabricator.wikimedia.org/T92351#1121319 (10coren) @scfc The SOA records are there; though it's not immediately clear that they... [13:46:04] 10OOjs, 10Continuous-Integration, 6Labs, 10Wikimedia-Labs-Infrastructure, and 2 others: dnsmasq returns SERVFAIL for (some?) names that do not exist instead of NXDOMAIN - https://phabricator.wikimedia.org/T92351#1121324 (10coren) @yuvipanda: That's not so much "interesting" as "expected". Dig ignores the... [14:23:04] Hi! I am working on this bug : https://phabricator.wikimedia.org/T52281 [14:23:08] Morning! [14:23:23] ankita-ks: Nice. [14:23:52] So I have narrowed it down to this : "modules/ve-mw/ui/pages/ve.ui.MWTransclusionContentPage.js" [14:24:21] Evening James_F ! (time zones ftw :P) [14:24:29] :-) [14:25:39] So I there is this function onRemoveButtonClick . I assumed it was called every time I removed anything from the transclusion box [14:26:13] But when I log something to console from within that function, it doesn't appear on the console when I delete an element. [14:26:21] Am i doing something wrong? [14:26:31] Should I be looking elsewhere? [14:26:43] *there is this [14:30:22] ankita-ks: I'm not an expert on that, I'm afraid. [14:30:44] James_F : Is there anyone I can ask? [14:31:51] ankita-ks: Yes, but unfortunately the two I'd recommend aren't here right now. :-( TrevorP|Away probably won't be here for another three hours, and MatmaRex is also away. [14:32:11] Ah..okay..I shall wait then. [14:32:56] In the mean time is there somewhere I can get a rough over view of how the Transclusion Box works? Right now most of what i am doing relies on trial and error. :\ [14:33:00] James_F ^ [14:33:12] Ha. [14:33:23] The transclusion dialog is a complete mess, you're right. :-( [14:34:12] :( [14:34:35] How about VisualEditor in general? I want to see what the code flow is. [14:34:39] * James_F nods. [14:34:56] How far is VisualEditor from stable release? [14:35:01] or even Beta release [14:35:17] There's a few resources but I'm not sure if they're totally up-to-date. [14:35:29] Sheldon32423: What do you mean by "beta release"? [14:35:48] basically im looking for something usable? [14:36:01] okay..anything works. If it could give me even a basic idea, it'll work. [14:36:03] :) [14:36:03] Its not in the stable release arch which means id have to grab it from 1.25 nightly builds right? [14:36:26] I'd say that master of VisualEditor is pretty seriously usable now, but yes, that means using a MediaWiki master version rather than a formal release. [14:36:52] VisualEditor master currently depends on MediaWiki 1.25 alpha 22 – which gets released in two days' time. [14:37:24] I dont really want to upgrade a production installation to 1.25 [14:37:31] especially if things could change causing a problem [14:37:43] Yeah. [14:38:05] The REL1_24 branch has not had any issues reported against MediaWiki 1.24. [14:38:21] However that's missing a number of key features (like table editing) – it is 6 months old, after all. [14:38:31] yeah [14:38:43] its also not active for all name spaces either [14:39:03] The default configuration is to only be active for content namespaces. [14:39:21] You can change that, though I'd advise against making it active on talk pages (it's designed for content, not discussion). [14:39:23] I thought I tested a 1.24 and it wasnt [14:39:35] It wasn't working? [14:39:46] this was quite some time ago though [14:39:52] Hmm. That's not good. [14:40:09] its possible this was fixed already [14:40:19] It was probably at least 6 months ago [14:40:21] if not longer [14:40:36] ive been waiting for visual editor since its inception almost 2 years ago [14:43:26] 2? :-) We've been talking about it since 2003. [14:43:35] But yes, hope it works out for you. [14:44:42] ankita-ks: https://www.mediawiki.org/wiki/VisualEditor/Design/Software_overview and https://www.mediawiki.org/wiki/VisualEditor/Presentations and https://www.mediawiki.org/wiki/VisualEditor_gadgets are probably best. [14:45:17] ankita-ks: https://www.mediawiki.org/wiki/File:Wikimania_2013_-_VisualEditor_-_The_present_and_future_of_editing_our_wikis.webm is a bit old now, but covers everything in some detail. [14:45:59] ankita-ks: And https://commons.wikimedia.org/wiki/File:Extending_the_VisualEditor_-_Christian_Williams,_Inez_Korczynski_et_al.webm for specifically how the extension system used to work; it's changed since then, but that's a good start. [14:46:58] James_F : thank you! :) [14:49:37] (03PS1) 10Esanders: Set originalDomElements whenever a data element is created [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197046 [14:49:39] (03PS1) 10Esanders: Remove domElements attribute from aliens [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197047 [14:50:26] 10OOjs, 10Continuous-Integration, 6Labs, 10Wikimedia-Labs-Infrastructure, and 2 others: dnsmasq returns SERVFAIL for (some?) names that do not exist instead of NXDOMAIN - https://phabricator.wikimedia.org/T92351#1121449 (10scfc) So what does `dig notexist.eqiad.wmflabs` return on the server where `dnsmasq`... [14:52:55] (03PS9) 10Jforrester: Add directionality classes to window manager [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196661 (owner: 10Mooeypoo) [14:53:11] edsanders: Feel like reviewing https://gerrit.wikimedia.org/r/#/c/196661/ and https://gerrit.wikimedia.org/r/#/c/196109/ ? [14:55:07] that looks liek getSystemPlatform returns different values now? [14:56:13] what does $.client.profile().platform equal on OSX? [14:56:19] edsanders: Aren't those the same? [14:56:29] I can't tell [14:56:38] We used to use $.client for this. [14:56:43] So I'd expect them to be the same. [14:56:44] Checking now. [14:56:58] the only place we use it is for platformKey = platform === 'mac' ? 'mac' : 'pc' [14:57:07] Yeah. [14:57:09] so as long as you get 'mac' then it's ok for our purposes [14:57:21] Do you get 'pc'? [14:57:41] (03CR) 10Physikerwelt: [C: 04-1] Add extension.json (031 comment) [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/196886 (https://phabricator.wikimedia.org/T92762) (owner: 10Physikerwelt) [14:58:01] (03PS6) 10Krinkle: Send Parsoid API request immediately when user clicks edit [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196584 (https://phabricator.wikimedia.org/T90372) (owner: 10Catrope) [14:58:07] linux, but anything that isn't mac becomes pc [14:58:10] And yes, $.client.profile().platform returns "mac". [14:58:12] windows will be 'win' or sthing [14:58:14] ok [14:58:16] Kk. [14:59:16] Hmm. It doesn't know about Blink, though. Maybe something to fix. [14:59:40] (03CR) 10Esanders: [C: 032] Implement ve.init.Platform static functions using $.client [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196109 (owner: 10Catrope) [15:00:28] edsanders: it's actually quite funny to special-case osx on intel pcs [15:01:23] what we really mean is keyboard layout detection, but unfortunately that's not exposed [15:01:29] * James_F nods. [15:01:38] We have a 'solaris' platform. [15:01:46] So theoretically we could support . [15:01:51] But no-one has a SPARCbox any more. [15:01:55] (OK, I do, but…) [15:02:30] keyboard layouts are tricky, as they are all software [15:02:37] * gwicke uses colemak [15:04:22] (03Merged) 10jenkins-bot: Implement ve.init.Platform static functions using $.client [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196109 (owner: 10Catrope) [15:09:52] (03CR) 10Esanders: [C: 04-1] Add directionality classes to window manager (032 comments) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196661 (owner: 10Mooeypoo) [15:18:32] hello, where could i find js files related to the cite toolbar option [15:21:13] (03CR) 10Krinkle: [C: 031] "Works great. See comment on PS3." [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196584 (https://phabricator.wikimedia.org/T90372) (owner: 10Catrope) [15:29:07] (03PS1) 10Esanders: Update alien tests [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197057 [15:31:54] (03CR) 10jenkins-bot: [V: 04-1] Update alien tests [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197057 (owner: 10Esanders) [15:37:02] rits: The cite menu is generated in ve.init.mw.Target.prototype.generateCitationFeatures. [15:37:55] rits: https://phabricator.wikimedia.org/diffusion/EVED/browse/master/modules/ve-mw/init/ve.init.mw.Target.js;9dd64e3f8462e9d3c764263a9021ed0b295accc0$778 [15:38:10] Who was it that had advice about hovering to open a PopupButtonWidget? [15:38:16] MatmaRex or someone else [15:38:37] marktraceur: Probably MatmaRex; he knows all. [15:38:45] (And isn't here.) [15:39:01] I saw that [15:39:49] James_F:ok thank you [15:40:12] 10VisualEditor, 10VisualEditor-CopyPaste, 10VisualEditor-MediaWiki-References: Copy/pasting deletes references, can't save - https://phabricator.wikimedia.org/T89146#1121597 (10Elitre) 5Open>3Invalid a:3Elitre Can't reproduce anymore. [15:42:19] 10VisualEditor, 10VisualEditor-MediaWiki: Loading progress bar not visible when using section edit links - https://phabricator.wikimedia.org/T92842#1121612 (10Esanders) 3NEW [15:42:32] (03PS4) 10Esanders: Make loading progress bar determinate [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) [15:42:51] (03CR) 10Esanders: "The progress bar not showing in the right place for section edit links is another issue (T92842)." [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) (owner: 10Esanders) [15:56:51] (03PS7) 10Jforrester: Send Parsoid API request immediately when user clicks edit [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196584 (https://phabricator.wikimedia.org/T90372) (owner: 10Catrope) [15:57:41] (03CR) 10Jforrester: Send Parsoid API request immediately when user clicks edit (031 comment) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196584 (https://phabricator.wikimedia.org/T90372) (owner: 10Catrope) [16:03:20] (03CR) 10Jforrester: [C: 032] Send Parsoid API request immediately when user clicks edit [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196584 (https://phabricator.wikimedia.org/T90372) (owner: 10Catrope) [16:08:40] 10VisualEditor, 10VisualEditor-MediaWiki, 10VisualEditor-Performance, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): Send Parsoid API request immediately when user clicks edit - https://phabricator.wikimedia.org/T90372#1121720 (10Jdforrester-WMF) 5Open>3Resolved [16:10:34] 10MediaWiki-Page-editing: When the editor is editing a section, MediaWiki loses the changes and the edit summary and forgets about the section - https://phabricator.wikimedia.org/T92761#1121724 (10Nnemo) >>! In T92761#1119696, @TheDJ wrote: > Do you open the login page as a NEW page in a separate window or not... [16:16:11] (03Merged) 10jenkins-bot: Send Parsoid API request immediately when user clicks edit [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196584 (https://phabricator.wikimedia.org/T90372) (owner: 10Catrope) [16:17:04] (03PS2) 10Jforrester: [WIP] Send requests to RESTbase directly when so configured [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196720 (https://phabricator.wikimedia.org/T90374) (owner: 10Catrope) [16:20:48] (03PS5) 10Esanders: Make loading progress bar determinate [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) [16:20:50] (03PS1) 10Esanders: Grey-out body as soon as edit is clicked [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197073 [16:20:54] (03CR) 10jenkins-bot: [V: 04-1] Make loading progress bar determinate [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) (owner: 10Esanders) [16:20:57] (03CR) 10jenkins-bot: [V: 04-1] Grey-out body as soon as edit is clicked [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197073 (owner: 10Esanders) [16:35:03] mvolz: Hmm. http://www.theguardian.com/media/2015/feb/18/peter-oborne-daily-telegraph-newspaper-unprecedented turns author into [["Archie","Bl"]] not [["Archie","Bland"]]. Known issue? [16:35:51] 10VisualEditor, 10VisualEditor-MediaWiki: Loading progress bar not visible when using section edit links - https://phabricator.wikimedia.org/T92842#1121799 (10matmarex) [16:35:52] 10VisualEditor, 10VisualEditor-MediaWiki: VisualEditor: No loading animation when editing a section deep down a page - https://phabricator.wikimedia.org/T52206#1121800 (10matmarex) [16:36:53] 10VisualEditor, 10VisualEditor-MediaWiki: No loading animation when editing a section deep down a page - https://phabricator.wikimedia.org/T52206#1121817 (10Jdforrester-WMF) a:3Esanders [16:38:54] (03PS1) 10Mvolz: [WIP] Prefer requestFromURL when DOI is in URL [services/citoid] - 10https://gerrit.wikimedia.org/r/197080 [16:39:12] James_F: nah, report it :) [16:39:14] 10MediaWiki-Page-editing, 7JavaScript: LivePreview doesn't allow interaction with page content outside of #wikiPreview (it is not passed to mw.hook) - https://phabricator.wikimedia.org/T71108#1121836 (10TheDJ) [16:39:19] mvolz: Kk. [16:39:36] could be zot, could be us, worth checking out [16:47:31] Hi James_F [16:47:39] Hey Krenair. :-) [16:47:47] is that wikieditor data going into the research database as expected now? [16:47:54] (03CR) 10Mvolz: "@mobrovac, I was going to includes tests with these using this change: https://gerrit.wikimedia.org/r/#/c/185837/" [services/citoid] - 10https://gerrit.wikimedia.org/r/197080 (owner: 10Mvolz) [16:48:02] Krenair: Think so. [16:48:36] Krenair: Lots of things going in, certainly. [16:48:46] ok [16:48:53] Krenair: It looks good to me, but I'm not sure I trust myself that it's "right". [16:49:16] It sounds like an improvement over the previous status :) [16:49:22] True. :-) [16:49:40] milimetric should be able check it properly [16:51:04] Yeah. [16:51:12] Krenair: Thanks again. [16:52:31] (03CR) 10Jforrester: [C: 032] Add ability to set request language [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/196581 (https://phabricator.wikimedia.org/T90603) (owner: 10Mvolz) [16:52:51] (03CR) 10Mooeypoo: Add directionality classes to window manager (032 comments) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196661 (owner: 10Mooeypoo) [16:53:14] (03PS10) 10Mooeypoo: Add directionality classes to window manager [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196661 [16:54:00] (03CR) 10Mooeypoo: "Yeah this is a bug in OO-ui; I spoke to Trevor about it, we should make sure the errors fit the windows in general." [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/195802 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [16:55:10] (03Merged) 10jenkins-bot: Add ability to set request language [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/196581 (https://phabricator.wikimedia.org/T90603) (owner: 10Mvolz) [17:10:48] Hi mooeypoo, mvolz. Would be awesome if you could find time to add some teeny tasks to https://phabricator.wikimedia.org/T89287 for students. And fill in the rest of the description stuff. Applications open today. [17:10:52] Thanks! [17:18:49] Niharika, mvolz okay, I'll read more about the Graph extension and see if mvolz and I can come up with small tasks. [17:19:08] mooeypoo: Thanks! [17:20:16] mooeypoo: Any vaguely related VE bugs will do too. Mainly for evaluating technical competency. [17:23:11] mooeypoo, James_F - hallo [17:23:16] Hey aharoni. [17:23:25] is there a way to get VE to add a new infobox template with line breaks after each parameter? [17:31:51] James_F: apparently, I reported a bug about this once already :) https://phabricator.wikimedia.org/T71682 [17:32:46] aharoni: It'd require adding something to TemplateData to say which format to use, and something in Parsoid to determine what to write. [17:32:57] aharoni: Messy and slow to roll out. [17:33:47] Real Editors (tm) complain about it... I don't know what priority this is. [17:34:11] If we fix this the next thing will be formatting. [17:34:37] {{Foo | bar}} vs {{ Foo | bar }} vs {{Foo|bar}} vs {{Foo| bar }} vs … [17:34:46] And of course: [17:34:47] {{Foo | [17:34:49] bar [17:34:50] }} [17:34:52] vs. [17:34:55] {{ Foo [17:34:56] | bar [17:34:58] }} [17:35:00] etc. [17:36:05] There's a bright side: [17:36:22] Real Editors (tm) use VE to add whole infoboxes from scratch. [17:36:41] aharoni, ask the "Real Editors" to all agree on a specific style? [17:37:29] "The style we already use! Computers must be smart enough to learn what we do! We must not match ourselves to the computers, computers must match themselves to us!" [17:37:55] Krenair: Across hundreds of wikis? Good luck. :-) [17:38:03] Indeed. [17:43:27] 10OOjs-UI, 7Design: OOJS UI: OOJS redefines font-family to sans-serif in windows and widgets - https://phabricator.wikimedia.org/T92858#1122108 (10Nirzar) 3NEW a:3Nirzar [17:45:43] 10VisualEditor: Re-arranged(drag-drop) Categories become "detached item" after clicking 'Cancel' button - https://phabricator.wikimedia.org/T92861#1122131 (10Etonkovidova) 3NEW [17:48:27] 10VisualEditor, 10VisualEditor-MediaWiki, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-04_(1.25wmf20): Categories become "detached item" after clicking 'Cancel' button - https://phabricator.wikimedia.org/T89923#1122157 (10Etonkovidova) Marking this issues as 'Closed' again. The bug about re-arr... [17:48:40] 10VisualEditor, 10VisualEditor-MediaWiki, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-04_(1.25wmf20): Categories become "detached item" after clicking 'Cancel' button - https://phabricator.wikimedia.org/T89923#1122158 (10Etonkovidova) 5Open>3Resolved [17:49:12] 10VisualEditor, 10VisualEditor-MediaWiki, 7Verified-in-Phase2, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-04_(1.25wmf20): Categories become "detached item" after clicking 'Cancel' button - https://phabricator.wikimedia.org/T89923#1048837 (10Etonkovidova) [17:50:03] I'm moderately excited about https://github.com/jscs-dev/node-jscs/issues/516 getting closer to resolution. [17:54:43] Krenair / James_F: I'm seeing 700 events in Edit_11448630 over the past 3 hours. [17:55:22] that's definitely less than all edit events, so are you guys sampling here? [17:55:39] it only runs on the group0 wikis right now, I think [17:55:47] gotcha, that makes sense [17:55:56] so mediawikiwiki, test*, zerowiki (private) [17:56:10] and I caught a bit of your other conversation on Friday, about whether or not to update the VE client code to use 11448630 [17:56:19] from my point of view, that would make things much more convenient [17:56:33] * James_F nods. [17:56:36] OK, let's do that. [17:56:37] but I have to union those tables anyway [17:56:38] James_F, do you have any ideas for small VE-related tasks (regardless of graphs) for GSoC students, so we can start them up on VE and have a small assessment of skill level? any low-hanging fruit we can set up? [17:56:45] other non-wikipedias tomorrow, wikipedias on wednesday as per 1.25wmf21 on https://www.mediawiki.org/wiki/MediaWiki_1.25/Roadmap [17:56:56] ok, cool, thx Krenair [17:56:56] mooeypoo: Nothing really comes to mind. :-( [17:57:22] hm. [17:58:01] James_F: so if you were going to wait to break out responseUnknown into TitleBlacklist, etc., then that's worth the wait too [17:59:18] (03PS1) 10Nirzar: Defining font stack for modal windows and widgets [oojs/ui] - 10https://gerrit.wikimedia.org/r/197097 [18:00:13] milimetric: Hmm. Krenair, what do you think? [18:00:57] I need to check what TitleBlacklist returns to VE [18:01:02] might be trivial [18:01:08] might not [18:02:41] Can some tell me what is parameter? For instance I have across the file : ve.ui.MWParameterPlaceholderPage . I can not figure out what this does. [18:03:09] template parameters, ankita-ks [18:04:24] (03PS2) 10Nirzar: Defining font stack for modal windows and widgets [oojs/ui] - 10https://gerrit.wikimedia.org/r/197097 (https://phabricator.wikimedia.org/T92858) [18:04:45] thank you Krenair ! :) [18:05:14] 10VisualEditor: Cannot switch to VE in beta - "Cannot read property 'mw' of undefined {stack: (...)" - https://phabricator.wikimedia.org/T92866#1122199 (10Etonkovidova) 3NEW [18:07:28] Niharika, I'm adding a task for GSoC with an explanation on how to start it. Is there a specific way to mark the task as GSoC and/or related to that original Graph project? [18:08:22] mooeypoo: Nope. Just adding it to the project as a blocker would be good. [18:08:36] 10VisualEditor: MWAlienNodes should have a minimum height and width and an icon - https://phabricator.wikimedia.org/T92868#1122223 (10Mooeypoo) 3NEW [18:08:45] Niharika, ^^ [18:08:47] I'm adding it now [18:09:16] uhm... how... do I add a blocker in phabricator [18:09:28] mooeypoo: Add the tech skills too, while you're at it. [18:09:42] 10VisualEditor: Tons of Edit events tof VE not validating - https://phabricator.wikimedia.org/T92869#1122230 (10Nuria) 3NEW [18:09:44] 10VisualEditor, 10MediaWiki-extensions-Graph, 10Parsoid, 10Possible-Tech-Projects, 6Services: Graph editing in VisualEditor - https://phabricator.wikimedia.org/T89287#1122237 (10Mooeypoo) [18:09:45] 10VisualEditor: MWAlienNodes should have a minimum height and width and an icon - https://phabricator.wikimedia.org/T92868#1122238 (10Mooeypoo) [18:10:15] 10VisualEditor, 10Analytics: Tons of Eventlogging Edit events For VE not validating - https://phabricator.wikimedia.org/T92869#1122239 (10Nuria) [18:10:41] Krenair: ^^^ doesn't look good. [18:11:09] we sure these are for VE, nuria? [18:11:39] Heya [18:11:46] hi [18:11:48] Krenair: url says "visualeditor", [18:12:01] ah yes :) [18:12:04] Krenair: look at url on ticket, let me repaste [18:12:13] nuria: That's PII you just pasted… [18:12:29] James_F: ahemmm ... PII? [18:12:36] nuria: The User Agent string? [18:12:50] Would anyone be able to tell me where I can add a new message to $wgVisualEditorTabMessages? If I simply add "beta" to 'editappendix' => it shows up at < beta > in the wiki [18:12:56] 10VisualEditor, 10MediaWiki-extensions-Graph, 10Parsoid, 10Possible-Tech-Projects, 6Services: Graph editing in VisualEditor - https://phabricator.wikimedia.org/T89287#1122252 (10NiharikaKohli) [18:13:00] as * [18:13:14] James_F: I think all flavours of UAs but let me update ticket with info [18:13:17] 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#1122256 (10GWicke) Further roll-out is starting now: 1) [ptwiki and ruwiki](https... [18:13:55] James_F, nuria: I've hidden the task [18:14:05] Krenair: sure [18:14:11] Wyko: The message is visualeditor-beta-appendix. [18:14:21] mooeypoo: I assume the skills would be JS and PHP(?) anything else? [18:14:55] James_F THanks for your reply, but I know nothing of messages at all. I can't seem to find where that message is defined anywhere [18:15:07] Is it in a config file somewhere? [18:16:07] Wyko: messages are usually stored in *.json files under a directory called i18n/ [18:16:09] just grep for the message key visualeditor-beta-appendix [18:16:10] Niharika there's a bug that just popped up that's pretty major, I'm dealing with it now, and then I'll go back to the GSoC task. In general, though, I'd say JavaScript mainly, and php secondary, if at all. [18:16:29] mooeypoo: Okay. That's all needed for now. :) [18:16:29] Thanks, I'll keep looking [18:16:48] mooeypoo, awful URL: [18:16:55] https://he.wikipedia.org/wiki/%D7%A9%D7%99%D7%97%D7%AA_%D7%9E%D7%A9%D7%AA%D7%9E%D7%A9:Nadavangel#.D7.AA.D7.91.D7.A0.D7.99.D7.AA:.D7.A4.D7.93.D7.A8.D7.A6.D7.99.D7.99.D7.AA_.D7.A1.D7.A4.D7.95.D7.A8.D7.98.2F.D7.A4.D7.A8.D7.9E.D7.98.D7.A8.D7.99.D7.9D [18:17:07] you may have a better idea there. [18:17:17] 10VisualEditor, 10MediaWiki-extensions-Graph, 10Parsoid, 10Possible-Tech-Projects, 6Services: Graph editing in VisualEditor - https://phabricator.wikimedia.org/T89287#1122275 (10NiharikaKohli) [18:17:40] btw, mooeypoo I just saw the new TemplateData editor [18:17:50] James_F: ticket updated with UA : https://phabricator.wikimedia.org/T92869 [18:17:52] didn't notice till now somehow [18:17:59] it's beautiful! [18:18:34] aharoni: :-) mooeypoo's great. [18:18:43] nuria: Thanks. [18:18:53] aharoni, yay! glad you like it ! :) [18:19:03] nuria: Looks roughly like normal editing pattern for UAs. [18:19:28] James_F: yes, it does, which means that it should be easier to repro issue [18:20:15] * James_F nods. [18:21:30] 10VisualEditor, 10VisualEditor-EditingTools: VisualEditor: Add non-breaking space to the "special character" dialog - https://phabricator.wikimedia.org/T70429#1122313 (10Elitre) A hopefully clearer rationale for this request, from User:Gnom: //Our typography rules call for a non-breaking space when discussing... [18:22:25] 10VisualEditor, 10Citoid: [Regression pre-wmf22] Cannot switch to VE in beta - "Cannot read property 'mw' of undefined {stack: (...)" by Citoid - https://phabricator.wikimedia.org/T92866#1122317 (10Jdforrester-WMF) p:5High>3Unbreak! a:3Mooeypoo [18:25:43] (03PS6) 10Esanders: Make loading progress bar determinate [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) [18:25:50] (03CR) 10jenkins-bot: [V: 04-1] Make loading progress bar determinate [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) (owner: 10Esanders) [18:29:16] (03CR) 10Cscott: Make loading progress bar determinate (031 comment) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) (owner: 10Esanders) [18:31:32] 10MediaWiki-ResourceLoader, 10MediaWiki-Vagrant, 5Patch-For-Review: ResourceLoader slow under MediaWiki-Vagrant with VirtualBox - https://phabricator.wikimedia.org/T78733#1122365 (10Jdlrobson) Any way forward with this? Any idea of timeline to fix this? Anything I, a frontend engineer can do to help move thi... [18:36:40] (03PS1) 10Kmenger: FlaggedElement: Add example and clarify description [oojs/ui] - 10https://gerrit.wikimedia.org/r/197106 [18:36:46] 10VisualEditor, 10Citoid: [Regression pre-wmf22] Cannot switch to VE in beta - "Cannot read property 'mw' of undefined {stack: (...)" by Citoid - https://phabricator.wikimedia.org/T92866#1122387 (10Etonkovidova) FF displays the following: "MediaWiki error logging: reported an error with id undefined" load.ph... [18:37:24] 10VisualEditor, 10Citoid: [Regression pre-wmf22] Cannot switch to VE in beta - "Cannot read property 'mw' of undefined {stack: (...)" by Citoid - https://phabricator.wikimedia.org/T92866#1122391 (10Etonkovidova) [18:37:49] 10VisualEditor, 10VisualEditor-MediaWiki, 5WMF-deploy-2015-03-11_(1.25wmf21): The transition while switching between Readmode and VE is now not smooth, new content is inserted before the old content is removed leading to a flicker - https://phabricator.wikimedia.org/T91442#1122393 (10Jdforrester-WMF) 5Open... [18:39:07] 10VisualEditor, 10VisualEditor-Performance, 5Patch-For-Review, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): Combine API requests required to load VE - https://phabricator.wikimedia.org/T78628#1122400 (10Jdforrester-WMF) 5Open>3Resolved [18:40:12] 10OOjs-UI, 10OOjs-UI-0.9.0, 7Verified-in-Phase0, 5WMF-deploy-2015-03-11_(1.25wmf21): Icon containers should always be the same size so we can use background-size: contain - https://phabricator.wikimedia.org/T85139#1122406 (10Etonkovidova) [18:40:25] 10VisualEditor, 10VisualEditor-EditingTools, 10VisualEditor-Tables, 5Patch-For-Review: Table cells can be removed by backspacing/deleting - https://phabricator.wikimedia.org/T92702#1122408 (10Jdforrester-WMF) p:5Triage>3Normal [18:40:46] 10VisualEditor, 10VisualEditor-MediaWiki, 10VisualEditor-Performance, 5Patch-For-Review: The loading bar should be more visible - https://phabricator.wikimedia.org/T92456#1122413 (10Jdforrester-WMF) p:5Triage>3Normal a:3Esanders [18:41:20] 10VisualEditor, 10VisualEditor-MediaWiki-Links, 10VisualEditor-MediaWiki-References, 5WMF-deploy-2015-03-18_(1.25wmf22): [Regression wmf20] Internal links, when clicked in a Reference context menu does nothing. - https://phabricator.wikimedia.org/T92427#1122420 (10Jdforrester-WMF) 5Open>3Resolved [18:45:24] James_F: did you know that there is someone interviewing for a PM position with the name "James Foster"? [18:45:57] ori: Oh dear. That's… confusing. :-) [18:50:24] we'll have to adopt a nickname [18:50:34] take the new james in as a foster [18:51:34] or perhaps James_F would like to take this opportunity to rename himself? Using a name somebody else gave you is just bowing to the matriarchy/patriarchy. [18:52:09] cscott: I was here first. ;-) [18:52:49] James_F: you sound like you're fostering some resentment [18:53:03] 10VisualEditor, 10Citoid: [Regression pre-wmf22] Cannot switch to VE in beta - "Cannot read property 'mw' of undefined {stack: (...)" by Citoid - https://phabricator.wikimedia.org/T92866#1122487 (10Mooeypoo) This is due to this fix: https://gerrit.wikimedia.org/r/#/c/193026/ Citoid tool is reading ve.init.mw.... [18:53:16] cscott: :-P [18:53:46] hello,what are alien nodes in the visualeditor, what is its functionality? [18:54:24] rits: it doesn't have anything to do with little green men (but it should) :) [18:54:58] i think they are for uneditable content, eg from extensions which visual editor does not recognize? Hopefully James_F will correct me if I'm remembering wrong. [18:56:29] hi. [18:56:33] rits, alien nodes are nodes that VisualEditor doesn't recognize. So, for example, they could be custom tags that some extension reads but VisualEditor doesn't know about. We wrap this up with a div and state they are "alien", allowing the user to edit their raw content or to move or delete them. [18:56:38] rits, does this make sense? [18:57:04] cscott, .... maybe we should replace the icon for alien nodes.... [18:57:56] mooeypoo: No non-monochrome icons. :-) [18:58:17] James_F: the greys are monochrome. [18:58:33] James_F, it could be a little grey-- yes. [18:58:46] mooeypoo:understood somewhat,but didn't understand that what type of content the visualeditor would not be able to recognize [18:59:02] rits, mediawiki has a lot of extensions and custom content. [18:59:22] rits, for instance, there's a tag for poems [18:59:28] :-P [18:59:37] i was thinking we'd just change the fonts to http://davidocchino.com/portfolio/typography/aurebesh.html [19:00:20] yeah, there's a longstanding gerrit patch to make part of core, but that's a separate (long) discussion. [19:01:06] howdy all [19:01:12] rits, there's a bunch more, like for example, right? VisualEditor can't automatically know what to do with everything it's given, we need to tell it what to do. The system can't know by itself that is a text that should be aligned while should be read from a json blob and displayed graphically. VE can'tknow this autoatically, each one of the extensions can (and probably should, if it wants VE to work with it) d [19:01:12] efine a behavior. [19:01:16] rits: looking under the 'Parser hooks' section of https://en.wikipedia.org/wiki/Special:Version will probably give you a good idea. [19:01:21] I have a CA drivers license [19:01:33] rits: VisualEditor knows about some of these, but not all. [19:02:00] I think James_F (the old one, not the new one) is responsible for making not an alien node, for example. [19:02:03] rits, so on VE's side, whenever we see a node it *doesn't* recognize, and the extension didn't give VE itself a way to recognize it, then VE defines it as an alien, so that we display "we have something here, we don't kow how to deal with it, beware" to the user. Does this make more sense? [19:02:07] there might be some spooky connection there. [19:02:08] cscott: No. [19:02:17] cscott: Oh, there's a new one? [19:02:28] well, if the interview goes well. :-P [19:02:45] James_F_old and James_F_new [19:03:13] * cscott will always think of James_F as having a doppelganger now. [19:03:18] rits, mooeypoo, so actually a pure AlienNode in ve core is something we don't have a handler for, such as an html5
tag. It is completely uneditable, but can be deleted or moved [19:03:31] cscott: All the praise for the bespoke editor for hieroglyphics is due unto edsanders. [19:03:45] mooeypoo:oh ok understood completely, thanks for describing so well :) [19:03:48] sort of an off-brand knock-off, with a few letters knocked out of the last name ("to reduce costs") [19:03:50] edsanders, right. There are alien nodes and alienExtension nodes [19:03:55] in VisualEditor-MediaWiki we have MWAlienExtensionNode, which is a MediaWiki extension we don't have custom support for (e.g. graph) [19:04:13] yes, thanks edsanders [19:04:16] but as all extensions are of the form content we let you edit these in a generic way [19:04:29] rits, ^^ [19:04:51] rits, if you're interested in working on the graph extension, for instance, that will be something that will help you start. [19:05:12] (ah, so edsanders is the one trying to obscure the connection between the aliens and the hieroglyphics. got it.) [19:05:14] whereas custom supoprt (e.g. the support for Math tags) allows us to show nice controls to set only available attributes [19:06:17] cscott, mwhiero support is pretty much the same as the alienextension editor, except there are not attributes, and we have custom icons and labels [19:07:11] mooeypoo:yes i am interested working for the graph extension , i have started looking into the bug https://phabricator.wikimedia.org/T92868 as described under the task [19:08:09] there are also alien selections, I think? [19:09:42] 10VisualEditor, 10Citoid: [Regression pre-wmf22] Cannot switch to VE in beta - "Cannot read property 'mw' of undefined {stack: (...)" by Citoid - https://phabricator.wikimedia.org/T92866#1122529 (10Mooeypoo) This should really be fixed in the core of the issue -- we should have some hook or event or method to... [19:11:25] rits, great, feel free to jump in here if you have any questions [19:12:10] cscott: Aliens and MWAliens are totally different things. [19:14:44] Hey guys, nuria told me about https://phabricator.wikimedia.org/T92869 but I couldn't see it 'cause it's restricted. It sounds like just a simple typo: https://github.com/wikimedia/mediawiki-extensions-VisualEditor/blob/master/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js#L1665 [19:15:04] that should be "navigate" instead of "navigation" according to the schema: https://meta.wikimedia.org/wiki/Schema:Edit [19:16:00] (03PS1) 10Kmenger: GroupElement: Clarify description [oojs/ui] - 10https://gerrit.wikimedia.org/r/197113 [19:16:04] (03PS1) 10Mobrovac: Update Citoid dependencies [services/citoid/deploy] - 10https://gerrit.wikimedia.org/r/197114 (https://phabricator.wikimedia.org/T92845) [19:16:17] mooeypoo:yes thank you so much :) [19:16:54] 10VisualEditor, 10Citoid: [Regression pre-wmf22] Cannot switch to VE in beta - "Cannot read property 'mw' of undefined {stack: (...)" by Citoid - https://phabricator.wikimedia.org/T92866#1122571 (10Mvolz) This has been a continuing issue- at least that's why we loaded it "with" VisualEditor.ext.reference befor... [19:18:21] (03CR) 10Mobrovac: [C: 032 V: 032] Update Citoid dependencies [services/citoid/deploy] - 10https://gerrit.wikimedia.org/r/197114 (https://phabricator.wikimedia.org/T92845) (owner: 10Mobrovac) [19:20:57] 10VisualEditor, 10VisualEditor-ContentEditable, 7Verified-in-Phase0: Position event not emitted after slug close - https://phabricator.wikimedia.org/T85014#1122594 (10Ryasmeen) [19:21:13] hi--I'm confused about a message I'm getting when I try to update my local build. I did a 'git checkout master' then 'git pull' and then I was told to enter a commit message to explain why the merge is necessary. This has never happened before. Can anyone tell me what I should do? [19:22:29] milimetric: from the bug report, "Krenair: Have stuck this in WMF-NDA because it contains a user agent, timestamp, page name/revision ID, etc." [19:22:57] will add you [19:23:22] done [19:23:39] milimetric: your diagnosis sounds right to me. [19:25:37] (03CR) 10Esanders: Make loading progress bar determinate (031 comment) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) (owner: 10Esanders) [19:25:41] (03PS7) 10Esanders: Make loading progress bar determinate [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) [19:25:46] (03CR) 10jenkins-bot: [V: 04-1] Make loading progress bar determinate [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) (owner: 10Esanders) [19:27:05] 10VisualEditor, 10VisualEditor-EditingTools, 7Design, 7Epic, and 4 others: Cite: Auto-filled references based on destination URL / ISBN / etc. - https://phabricator.wikimedia.org/T62768#1122633 (10Jdforrester-WMF) [19:27:06] 10VisualEditor, 10Citoid, 6operations, 3VisualEditor 2014/15 Q3 blockers: Improve citoid production service - https://phabricator.wikimedia.org/T90281#1122634 (10Jdforrester-WMF) [19:27:25] Hi, can someone tell me what are mixin classes? [19:27:39] thanks Krenair, it sounds like there were a lot of those events. [19:27:42] I am sorry [19:27:46] ankita-ks: https://www.mediawiki.org/wiki/OOjs/Inheritance [19:28:00] ankita-ks: no need to apologize! [19:28:01] James_F : thanks! :) [19:28:10] ankita-ks: Good questions to ask. :-) [19:28:15] oh no. i wanted to rephrase that. :P [19:29:19] (03PS8) 10Esanders: Make loading progress bar determinate [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) [19:29:21] (03PS2) 10Esanders: Grey-out body as soon as edit is clicked [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197073 [19:30:18] https://en.wikipedia.org/wiki/Mixin has some more general examples. It's a mechanism for multiple inheritance, so that a Button can also have a LabelElement and a TabIndexedElement and an IconElement, etc. [19:31:26] TrevorParscal: CR on appreciated! [19:31:29] technically a button *has* a label, but in oojs land, the button *is* a labelled element, and has all the methods that LabelElement does (or almost all of them). [19:31:40] ori: on it [19:31:43] James_F : so using mixin methods and functions can be selectively copied to another class? Or all of them are copied? [19:32:11] ankita-ks: for most purposes, you can just say "all of them are copied". [19:32:34] i think there are some minor exceptions having to do with the under-the-covers implementation of mixins, but nothing user-visible. [19:32:59] ankita-ks: are you interested in the JavaScript or the PHP implementation? [19:33:22] JavaScript [19:33:41] on the PHP side, the methods aren't copied, instead there is some magic that goes on under the covers when you call an "undefined method" on the PHP object, which redirects it to a method call on the appropriate mixin. [19:33:57] In JavaScript the methods are simply copied over at initialization time. [19:34:16] hmm..interesting. [19:34:20] but regardless, those are implementation details. from the user's perspective, the mixin methods just "exist" on the object. [19:34:32] one semi-magical way or another. :) [19:36:10] ah..okay..I was trying to figure out how the data-models once computed are rendered in the transclusion box. [19:37:20] Basically I am wondering how the dm and ce parts interact. Are there any relevant resources? [19:37:38] TrevorParscal: :) thanks! [19:37:38] ori: my only nitpick is, _mwq being a cryptic name [19:38:04] mw as a global was perhaps a mistake, but at least it's a pretty commonly used abbreviation for MediaWiki [19:38:05] TrevorParscal: what would you suggest? _mwInlineScriptQueue ? [19:38:17] that's already better [19:38:20] ankita-ks: we don't have nowhere near enough documentation on the internals, i'm afraid [19:38:33] the rule is this: the broader the scope of the variable, the clearer the name must be [19:38:39] ankita-ks: well, if you're interested in the actual implementation of mixins in JavaScript, the code is at https://github.com/wikimedia/oojs/blob/master/src/core.js#L92 [19:38:50] _mwq is the kind of variable one might expect to see within a closure [19:38:52] ankita-ks: for the higher-level stuff, other people here are probably better able to answer [19:39:03] not in the global scope, ephemeral or not [19:39:17] also, why the leading "_" ? [19:39:36] why not make mediawiki.js build upon mw should it already exist? [19:39:53] TrevorParscal: I meant it as a subtle nod to '_gaq', the Google Analytics event queue, which uses a similar approach. But that's a pretty obscure reference. [19:40:03] 10VisualEditor, 10Citoid: [Regression pre-wmf22] Cannot switch to VE in beta - "Cannot read property 'mw' of undefined {stack: (...)" by Citoid - https://phabricator.wikimedia.org/T92866#1122720 (10Mooeypoo) Yes, I've tried to make the new toolbar change conditional, but the error still pops up on the previous... [19:40:15] ori: _gaq _gaq _gaq [19:40:18] such that "window.mw = { inlineScriptQueue: [] };" and then later "window.mw = mw || {}"; [19:40:25] sorry, i was just clearing my throat. :) [19:40:34] cscott: ;) [19:41:12] well, Google makes mistakes every day [19:41:18] never forget that :) [19:41:30] ankita-ks: and, continuing my useless info (but for completeness) the PHP implementation of mixins is at https://github.com/wikimedia/oojs-ui/blob/master/php/Element.php#L97 [19:41:42] ankita-ks: MatmaRex wrote that, I believe. It contains some magic. [19:42:14] ori: anyway, I'm not like drawing a line in the sand, but that general best practice about naming things is something to think about [19:42:34] * ori nods [19:42:51] cscott: might be mine or TrevorParscal's [19:42:52] 10VisualEditor, 10Citoid: [Regression pre-wmf22] Cannot switch to VE in beta - "Cannot read property 'mw' of undefined {stack: (...)" by Citoid - https://phabricator.wikimedia.org/T92866#1122738 (10Mvolz) Boo :( [19:43:18] we'll say you're both magicians [19:43:23] thanks cscott , MatmaRex :) [19:43:48] I wrote that, fwiw [19:44:14] MatmaRex probably fixed it somewhere along the line though [19:44:32] lol [19:44:38] 10VisualEditor, 10Citoid: [Regression pre-wmf22] Cannot switch to VE in beta - "Cannot read property 'mw' of undefined {stack: (...)" by Citoid - https://phabricator.wikimedia.org/T92866#1122739 (10Mooeypoo) Also, Citoid's dependencies are ``` 'dependencies ' => array( 'ext.visualEditor.mwreference', 'j... [19:45:00] I had edited it at some point for the infusion code, but I think I later backed out my changes and did whatever-it-was some other way. [19:45:03] * cscott is fuzzy [19:45:26] anyway, I bet ankita-ks would ask TrevorParscal about transclusions. he probably knows more about that part than I do. [19:45:43] i'll go back into my low-level hacking hole and worry over small changes to parserTests.txt. [19:45:55] s/would ask/should ask/ [19:46:13] thanks cscott . Now I know who to bug. :) [19:47:32] James_F: So how does roll out on it and fr work in terms of mediawiki messages and adding template data? am I needed for that anywhere? [19:48:01] ankita-ks: transclusions aye? [19:48:10] mvolz: We need to write up instructions. [19:48:37] TrevorParscal: from above: "(03:36:11 PM) ankita-ks: ah..okay..I was trying to figure out how the data-models once computed are rendered in the transclusion box. Basically I am wondering how the dm and ce parts interact." [19:48:58] Yes, TrevorParscal [19:49:04] once you get above the Transaction level in VE I'm useless. :) [19:49:24] I am working on this task : https://phabricator.wikimedia.org/T52281 [19:49:43] ankita-ks: awesome [19:50:26] So I was thinking that whenever the transclusion box is being rendered, it must somehow obtain the information about all the templates and contents inside it. [19:51:04] to be clear, when you say "box" do you mean the same thing as when we often say "window" or "dialog"? [19:51:16] yes. I am sorry . [19:51:22] no worries, just wanted to be clear [19:52:10] so, yes, what goes on is we construct a ve.dm.TransclusionModel from the JSON data we got from Parsoid that was embedded in the Parsoid HTML we got from the server when we were initializing the editor [19:52:32] okay [19:52:53] that doesn't have all the information though, just template names, parameter names and values, and bits of raw wikitext that might be inbetween templates [19:53:04] okay [19:53:36] it's important to note that if one template opens a tag, any number of templates produce content, and final template closes that original tag - the whole thing is a "transclusion" [19:53:49] (03PS1) 10Physikerwelt: Reduce log output size [extensions/Math] - 10https://gerrit.wikimedia.org/r/197123 [19:54:10] and there may be any number of templates in series and sometimes even bits of raw wikitext between them [19:54:27] okay.. [19:55:15] ok, so once we construct the ve.dm.TransclusionModel (which contains 0 or more template and content parts in a sequence) we ask the TemplateData API for more information about the templates in the transclusion [19:55:17] {{echo|hello, {{echo|world}}{{!}}}} [19:55:39] this data is cached, so we only ask for things we don't already know [19:55:59] okay [19:56:17] the TemplateData API reads a JSON description that is optionally added by the template's author [19:56:28] many templates have this information now, which is awesome [19:56:54] * ragesoss is tingling with anticipation for cite-by-url. [19:58:15] sorry, battery went flat [19:58:31] np [19:59:01] so.. If there's no template data specified for a template, we fall back on just showing param names directly [19:59:44] alright [20:00:06] this particular task is talking about a situation where this.transclusionModel becomes empty [20:00:15] either initially or by the last item being removed [20:00:42] okay [20:01:15] also, what is a MWTransclusionNode ? [20:01:59] the former could be detected within onTransclusionReady, the latter within onReplacePart [20:02:56] ok, so crash course - VisualEditor has a linear model (a giant array containing every tag opening, tag closing and character of content) [20:03:06] from this we generate a tree structure [20:03:11] that's the model tree [20:03:26] ve.dm.*Node is a class all the nodes in this tree inherit from [20:03:26] alright [20:03:45] from that model tree, we also have a view tree [20:03:57] this is made of ve.ce.*Node objects [20:04:01] ce = content editable [20:04:05] dm = data model [20:04:30] the ve.dm.MWTransclusionNode is an object that represents a piece of data in the linear model [20:04:37] 10VisualEditor, 10VisualEditor-EditingTools, 7Design, 7Epic, and 4 others: Cite: Auto-filled references based on destination URL / ISBN / etc. - https://phabricator.wikimedia.org/T62768#1122855 (10Jdforrester-WMF) 5Open>3Resolved [20:05:08] the ve.ce.MWTranclusionNode is an object that provides a view/controller for a ve.dm.MWTransclusionNode [20:05:13] (03PS2) 10Physikerwelt: Reduce log output size [extensions/Math] - 10https://gerrit.wikimedia.org/r/197123 [20:05:21] [20:05:44] thank you very much! :) [20:05:47] no problem [20:05:52] that clears a lot of things [20:06:08] so, if you want to trigger a special UI for when the transclusion is empty [20:07:14] okay [20:07:21] edit ve.ui.MWTransclusionDialog.prototype.onTransclusionReady and ve.ui.MWTransclusionDialog.prototype.onReplacePart to detect when this.transclusionModel.getParts().length === 0 [20:07:33] and hide/show the UI as needed [20:07:37] 10VisualEditor, 10VisualEditor-Performance, 7Performance, 3VisualEditor 2014/15 Q3 blockers: Load the edit HTML without wrapping it in JSON via the API - https://phabricator.wikimedia.org/T87553#1122863 (10Jdforrester-WMF) [20:07:38] 10VisualEditor, 10VisualEditor-Performance, 5Patch-For-Review, 3VisualEditor 2014/15 Q3 blockers: Retrieve page HTML directly from RESTbase - https://phabricator.wikimedia.org/T90374#1122864 (10Jdforrester-WMF) [20:07:38] 10VisualEditor, 10VisualEditor-Performance, 7Performance, 3VisualEditor 2014/15 Q3 blockers: Load HTML in parallel with JSON metadata - https://phabricator.wikimedia.org/T90304#1122865 (10Jdforrester-WMF) [20:07:50] 10VisualEditor, 10VisualEditor-Performance, 7Performance, 3VisualEditor 2014/15 Q3 blockers: Load HTML in parallel with JSON metadata - https://phabricator.wikimedia.org/T90304#1055763 (10Jdforrester-WMF) [20:07:56] great! on it. [20:07:57] 10VisualEditor, 10VisualEditor-Performance, 7Performance, 3VisualEditor 2014/15 Q3 blockers: Load the edit HTML without wrapping it in JSON via the API - https://phabricator.wikimedia.org/T87553#994044 (10Jdforrester-WMF) [20:07:58] 10VisualEditor, 10VisualEditor-Performance, 7Performance, 3VisualEditor 2014/15 Q3 blockers: Load HTML in parallel with JSON metadata - https://phabricator.wikimedia.org/T90304#1055763 (10Jdforrester-WMF) [20:07:59] :) [20:08:04] you could, for instance detect this condition and insert a TemplatePlaceholder (as the code does in some way already) [20:08:09] 10VisualEditor, 10VisualEditor-Performance, 7Performance: Load HTML in parallel with JSON metadata - https://phabricator.wikimedia.org/T90304#1055763 (10Jdforrester-WMF) [20:08:11] and that's an easy win [20:08:21] 10VisualEditor, 10VisualEditor-Performance, 7Performance: Load HTML in parallel with JSON metadata - https://phabricator.wikimedia.org/T90304#1055763 (10Jdforrester-WMF) Per Roan, have merged this into {T87553}. [20:08:29] yes..that can be done [20:09:19] look at ve.ui.MWTemplateDialog.prototype.getSetupProcess [20:09:34] 10VisualEditor, 10VisualEditor-ContentEditable, 3VisualEditor 2014/15 Q3 blockers: VisualEditor: Up and down cursor keys don't let you cursor from a focusable node into a slug - https://phabricator.wikimedia.org/T64542#1122888 (10Jdforrester-WMF) [20:09:41] 10VisualEditor, 10VisualEditor-ContentEditable, 3VisualEditor 2014/15 Q3 blockers: Cursoring with arrows from outside a table into it and typing causes pawns - https://phabricator.wikimedia.org/T75691#1122891 (10Jdforrester-WMF) [20:10:03] see how it uses this.transclusionModel.addPart to add a new ve.dm.MWTemplatePlaceholderModel in the case where the transclusion would otherwise be empty [20:10:45] you really just need to do the same thing within onReplacePart to cover the case where the transclusion is being made empty [20:10:47] 10VisualEditor, 3VisualEditor 2014/15 Q3 blockers: [Regression pre-wmf15] New section is not getting added while trying to attempt add one for the first time in a page - https://phabricator.wikimedia.org/T86566#1122895 (10Jdforrester-WMF) 5Invalid>3Resolved [20:11:00] also, beware, addPart is async [20:11:15] and will eventually trigger onReplacePart [20:11:23] this should be fine, but just something to understand [20:11:32] good luck, let me know if you need more help [20:11:40] edsanders|away: https://phabricator.wikimedia.org/T89352 is the last 40-pointer that doesn't have any work done on it yet. Thoughts? [20:12:23] okay! Thanks again TrevorParscal :) [20:12:29] anytime [20:12:31] * ankita-ks takes all the knowledge in [20:12:37] glad to have you around [20:12:46] :) [20:12:53] I've got a worrisome problem report here: https://en.wikipedia.org/wiki/Wikipedia:VisualEditor/Feedback#.3Cspan_lang.3D.22FR.22.3E_repeatedly_and_other_things [20:13:08] [[MediaWiki:Badtitletext|,]] seems to be back. [20:14:31] (03PS1) 10Ori.livneh: Report metrics using StatsD [services/citoid] - 10https://gerrit.wikimedia.org/r/197126 [20:14:37] mvolz, James_F ^ [20:14:52] (03PS2) 10Ori.livneh: Report metrics using StatsD [services/citoid] - 10https://gerrit.wikimedia.org/r/197126 [20:17:45] (03PS1) 10Kmenger: IndicatorElement: Clarify description [oojs/ui] - 10https://gerrit.wikimedia.org/r/197128 [20:18:15] ori: That's remarkably simple and concise. [20:18:21] mooeypoo: how's the citation stuff going? [20:18:50] TrevorParscal: She's lunching right now. [20:19:02] no worries.. [20:21:25] (03CR) 10Ori.livneh: [C: 031] Grey-out body as soon as edit is clicked (031 comment) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197073 (owner: 10Esanders) [20:24:43] (03PS3) 10Physikerwelt: Reduce log output size [extensions/Math] - 10https://gerrit.wikimedia.org/r/197123 [20:27:46] is VE broken on beta? [20:28:17] yup [20:28:23] https://phabricator.wikimedia.org/T92866#1122199 [20:30:05] 10MediaWiki-ResourceLoader, 10MediaWiki-Vagrant, 5Patch-For-Review: ResourceLoader slow under MediaWiki-Vagrant with VirtualBox - https://phabricator.wikimedia.org/T78733#1122962 (10dduvall) @Jdlrobson can you provide the URL of the request that's taking so long? I fear we're all working off the same symptom... [20:30:41] (03PS4) 10Physikerwelt: Simplify logging [extensions/Math] - 10https://gerrit.wikimedia.org/r/197123 [20:35:02] eh [20:36:08] I will be done with this task in at most a couple of days: https://phabricator.wikimedia.org/T52281 . Is it possible that it could be assigned to me? [20:36:29] 10OOjs-UI, 7Technical-Debt: Create a generalised multi-select widget - https://phabricator.wikimedia.org/T91147#1122982 (10Jdforrester-WMF) [20:36:30] 10OOjs-UI: File upload widget - https://phabricator.wikimedia.org/T91146#1122981 (10Jdforrester-WMF) [20:36:30] 10OOjs-UI: OO.ui.DropdownWidget doesn't respond to typing like