[00:00:00] (03CR) 10Mooeypoo: [C: 032] Update VE core submodule to master (546dbc9) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196723 (owner: 10Trevor Parscal) [00:02:19] (03Merged) 10jenkins-bot: Update VE core submodule to master (546dbc9) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196723 (owner: 10Trevor Parscal) [00:05:55] (03CR) 10Jforrester: [C: 04-1] "When we insert nodes our practice is to insert after the selection, rather than replace it." [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196366 (https://phabricator.wikimedia.org/T71727) (owner: 10Bartosz Dziewoński) [00:07:42] (03CR) 10Jforrester: [C: 032] Redesign the citation widget in the citoid inspector [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/195802 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [00:09:30] (03CR) 10jenkins-bot: [V: 04-1] Redesign the citation widget in the citoid inspector [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/195802 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [00:09:47] (03PS3) 10Mooeypoo: Redesign the citation widget in the citoid inspector [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/195802 (https://phabricator.wikimedia.org/T62768) [00:10:24] (03CR) 10jenkins-bot: [V: 04-1] Redesign the citation widget in the citoid inspector [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/195802 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [00:14:05] (03PS8) 10Mooeypoo: Add general citations dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196645 (https://phabricator.wikimedia.org/T62768) [00:15:20] (03CR) 10Jforrester: [C: 032] Add a link to the reference dialog in Citoid inspector [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/196644 (owner: 10Mooeypoo) [00:15:37] (03CR) 10Jforrester: [C: 032] Add general citations dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196645 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [00:16:12] (03CR) 10jenkins-bot: [V: 04-1] Add general citations dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196645 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [00:20:45] (03PS9) 10Jforrester: Add general citations dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196645 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [00:22:00] (03CR) 10Jforrester: [C: 032] Add general citations dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196645 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [00:24:18] (03Merged) 10jenkins-bot: Add general citations dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196645 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [00:29:39] (03PS4) 10Mooeypoo: Redesign the citation widget in the citoid inspector [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/195802 (https://phabricator.wikimedia.org/T62768) [00:30:24] (03CR) 10Jforrester: [C: 032] Add a link to the reference dialog in Citoid inspector [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/196644 (owner: 10Mooeypoo) [00:30:43] (03Merged) 10jenkins-bot: Add a link to the reference dialog in Citoid inspector [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/196644 (owner: 10Mooeypoo) [00:31:23] 10OOjs, 5Patch-For-Review: Static methods can't know which class they belong to or which class they're called with - https://phabricator.wikimedia.org/T89721#1123982 (10Krinkle) I agree. Let's alias `Class.static` to `Class` and change the implementation to do copy. When we decide Wikimedia-wide to go ES5+ onl... [00:32:11] (03CR) 10Jforrester: [C: 032] Redesign the citation widget in the citoid inspector [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/195802 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [00:32:19] (03PS9) 10Esanders: Make loading progress bar determinate [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196583 (https://phabricator.wikimedia.org/T90622) [00:32:28] (03Merged) 10jenkins-bot: Redesign the citation widget in the citoid inspector [extensions/Citoid] - 10https://gerrit.wikimedia.org/r/195802 (https://phabricator.wikimedia.org/T62768) (owner: 10Mooeypoo) [00:45:06] (03PS1) 10Mooeypoo: Restore the abortability of the inspector promise [extensions/Citoid] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197260 [00:45:45] (03CR) 10Jforrester: [C: 031] "Desiring sanity check. :-)" [extensions/Citoid] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197260 (owner: 10Mooeypoo) [00:47:43] Krinkle, please review https://gerrit.wikimedia.org/r/#/c/194991/ I need usability but also method double-check.. this should organize a few things and make it easier to fix bugs and handle api requests. [00:59:35] mooeypoo: https://gerrit.wikimedia.org/r/#/c/197253/1/src/elements/DraggableGroupElement.js [00:59:54] (03CR) 10Jforrester: [C: 032] TitledElement: Clarify description [oojs/ui] - 10https://gerrit.wikimedia.org/r/197248 (owner: 10Kmenger) [01:01:02] (03PS2) 10Jforrester: [PULL THROUGH] Update alien tests [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197057 (owner: 10Esanders) [01:01:17] (03PS2) 10Jforrester: [BREAKING CHANGE] Remove domElements attribute from aliens [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197047 (owner: 10Esanders) [01:02:19] (03CR) 10Jforrester: [C: 04-1] "Needs rebase." [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/175208 (owner: 10Esanders) [01:02:36] (03Merged) 10jenkins-bot: TitledElement: Clarify description [oojs/ui] - 10https://gerrit.wikimedia.org/r/197248 (owner: 10Kmenger) [01:04:37] (03PS12) 10Krinkle: Reorganize api calls and add sourceHandler and error message [extensions/TemplateData] - 10https://gerrit.wikimedia.org/r/194991 (https://phabricator.wikimedia.org/T91730) (owner: 10Mooeypoo) [01:04:44] (03CR) 10Mooeypoo: [C: 04-1] "Tiny addition." (031 comment) [oojs/ui] - 10https://gerrit.wikimedia.org/r/197253 (owner: 10Kmenger) [01:08:42] (03CR) 10Krinkle: DraggableGroupElement: Clarify description and mark private methods (031 comment) [oojs/ui] - 10https://gerrit.wikimedia.org/r/197253 (owner: 10Kmenger) [01:09:01] Krinkle: Focus on https://gerrit.wikimedia.org/r/194991 :-P [01:09:11] I am [01:15:49] (03Abandoned) 10Physikerwelt: Export the MathCache table [extensions/Math] - 10https://gerrit.wikimedia.org/r/174727 (owner: 10Physikerwelt) [01:22:04] (03PS1) 10Physikerwelt: Revert "Export the MathCache table" [extensions/Math] (develop) - 10https://gerrit.wikimedia.org/r/197265 [01:22:33] (03CR) 10Physikerwelt: [C: 032] Revert "Export the MathCache table" [extensions/Math] (develop) - 10https://gerrit.wikimedia.org/r/197265 (owner: 10Physikerwelt) [01:24:21] I really need to talk to Roan about the special character stuff :/ [01:24:36] (03Merged) 10jenkins-bot: Revert "Export the MathCache table" [extensions/Math] (develop) - 10https://gerrit.wikimedia.org/r/197265 (owner: 10Physikerwelt) [01:29:55] (03PS1) 10Physikerwelt: Export the MathCache table [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197266 [01:32:00] (03CR) 10Physikerwelt: [C: 032] Export the MathCache table [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197266 (owner: 10Physikerwelt) [01:33:18] (03Merged) 10jenkins-bot: Export the MathCache table [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197266 (owner: 10Physikerwelt) [01:38:57] (03CR) 10Alex Monk: "Have put this on evening swat because I won't necessarily be around for the morning one. wmf21 goes to group1 before then though, so feel " [extensions/VisualEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/196514 (owner: 10Alex Monk) [01:41:38] http://blog.yodersolutions.com/why-i-recommend-emberjs-over-angularjs/ reminded me of how I did the QUnit 2.0 API. Introduced in 1.16. not 2.0. So https://qunitjs.com/upgrade-guide-2.x/ applies today, even though 2.0 hasn't even been released yet [01:43:50] (03PS1) 10Physikerwelt: Fix reference to hash2md5 [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197267 [01:44:33] (03CR) 10Krinkle: "Couple minor issues. Testing UI now..." (0315 comments) [extensions/TemplateData] - 10https://gerrit.wikimedia.org/r/194991 (https://phabricator.wikimedia.org/T91730) (owner: 10Mooeypoo) [03:09:28] (03PS2) 10Physikerwelt: Fix highlighting [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197243 [03:09:51] (03CR) 10Physikerwelt: [C: 032] Fix reference to hash2md5 [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197267 (owner: 10Physikerwelt) [03:12:05] (03CR) 10jenkins-bot: [V: 04-1] Fix reference to hash2md5 [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197267 (owner: 10Physikerwelt) [03:14:44] (03PS3) 10Physikerwelt: Fix highlighting [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197243 [03:16:08] (03CR) 10Physikerwelt: [C: 032] Fix highlighting [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197243 (owner: 10Physikerwelt) [03:17:19] (03Merged) 10jenkins-bot: Fix highlighting [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197243 (owner: 10Physikerwelt) [03:35:28] 10VisualEditor, 10MediaWiki-extensions-Graph, 10Parsoid, 10Possible-Tech-Projects, and 3 others: Graph editing in VisualEditor - https://phabricator.wikimedia.org/T89287#1124142 (10NiharikaKohli) [05:20:38] 10VisualEditor, 10Parsoid: ApiVisualEditor parsefragment behaves unexpectedly when context page flow-board content model - https://phabricator.wikimedia.org/T92934#1124215 (10Mattflaschen) 3NEW [05:21:02] 10VisualEditor, 10Parsoid: ApiVisualEditor parsefragment behaves unexpectedly when context page flow-board content model - https://phabricator.wikimedia.org/T92934#1124222 (10Mattflaschen) [05:21:53] 10VisualEditor, 10Parsoid: ApiVisualEditor parsefragment behaves unexpectedly when context page flow-board content model - https://phabricator.wikimedia.org/T92934#1124215 (10Mattflaschen) [05:23:31] 10VisualEditor, 10Parsoid: ApiVisualEditor parsefragment behaves unexpectedly when context page has flow-board content model - https://phabricator.wikimedia.org/T92934#1124226 (10Mattflaschen) [05:30:59] 10VisualEditor, 10Parsoid: ApiVisualEditor parsefragment behaves unexpectedly when context page has flow-board content model - https://phabricator.wikimedia.org/T92934#1124227 (10Mattflaschen) Part of (probably the root cause, so retitling the bug) is either in Flow or core (or an interaction of the two). Com... [05:31:46] (03CR) 10Prtksxna: "Can we change a button's icon on hover from the theme’s JS file?" [oojs/ui] - 10https://gerrit.wikimedia.org/r/196210 (https://phabricator.wikimedia.org/T88622) (owner: 10Prtksxna) [05:37:15] 10VisualEditor, 10Flow, 10MediaWiki-Parser, 10Parsoid: API:Parse wrongly outputs the Flow board when the board is only being used as a context title - https://phabricator.wikimedia.org/T92934#1124229 (10Mattflaschen) [05:37:32] 10VisualEditor, 10Flow, 10MediaWiki-Parser, 10Parsoid: API:Parse wrongly outputs the Flow board when the board is only being used as a context title - https://phabricator.wikimedia.org/T92934#1124215 (10Mattflaschen) a:3Mattflaschen [05:40:15] 10VisualEditor, 10Flow, 10MediaWiki-Parser, 10Parsoid: API:Parse wrongly outputs the Flow board when the board is only being used as a context title - https://phabricator.wikimedia.org/T92934#1124234 (10Mattflaschen) [05:40:43] 10VisualEditor, 10Flow, 10MediaWiki-Parser, 10Parsoid: API:Parse wrongly outputs the Flow board when the board is only being used as a context title - https://phabricator.wikimedia.org/T92934#1124235 (10Mattflaschen) p:5Triage>3High [05:47:11] 10VisualEditor, 6Collaboration-Team, 10Flow: Change detection for VE in Flow - https://phabricator.wikimedia.org/T90761#1124236 (10Mattflaschen) This affects the mention inspector, but only if you don't type anything other than the mention, which is not very common. [08:21:52] hmm, parsoid down for betalabs or something ? i was opening a page in VE and i'm in an alert loop now. [08:22:01] Error loading data from server: nopage: The page parameter must be set. Would you like to retry? [09:05:58] (03CR) 10Mobrovac: [C: 04-1] "@mvolz re: testing, I must be missing something, but I don't understand what you mean :P Ping me when you come online so we can discuss it" (033 comments) [services/citoid] - 10https://gerrit.wikimedia.org/r/197080 (owner: 10Mvolz) [09:13:11] 10MediaWiki-Page-editing, 7JavaScript, 5Patch-For-Review: LivePreview should not replace title message with displaytitle value in firstHeading - https://phabricator.wikimedia.org/T85784#1124418 (10TheDJ) Isn't it better to solve this similar to T88117 ? [09:24:26] (03PS4) 10Mobrovac: Report metrics using StatsD [services/citoid] - 10https://gerrit.wikimedia.org/r/197126 (https://phabricator.wikimedia.org/T87496) (owner: 10Ori.livneh) [09:39:52] 10MediaWiki-Page-editing, 10MediaWiki-extensions-Scribunto, 7JavaScript: "Script error" is not clickable when using MediaWiki's live-preview feature. - https://phabricator.wikimedia.org/T75618#1124506 (10TheDJ) [09:42:26] (03CR) 10Mvolz: [C: 031] Restore the abortability of the inspector promise [extensions/Citoid] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197260 (owner: 10Mooeypoo) [09:44:06] (03CR) 10Mvolz: "Whoops! In retrospect I should have added Mooeypoo as a reviewer on the last change. :)" [extensions/Citoid] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197260 (owner: 10Mooeypoo) [09:45:24] 10MediaWiki-Page-editing, 7JavaScript: Live preview should process JSConfigVars - https://phabricator.wikimedia.org/T92944#1124510 (10TheDJ) 3NEW [09:45:41] 10MediaWiki-Page-editing, 7JavaScript: Live preview should process JSConfigVars - https://phabricator.wikimedia.org/T92944#1124517 (10TheDJ) [09:47:20] 10MediaWiki-Page-editing, 7JavaScript: Live preview should process JSConfigVars - https://phabricator.wikimedia.org/T92944#1124510 (10TheDJ) [09:47:21] 10MediaWiki-Page-editing, 10MediaWiki-extensions-Scribunto, 7JavaScript: "Script error" is not clickable when using MediaWiki's live-preview feature. - https://phabricator.wikimedia.org/T75618#1124520 (10TheDJ) [09:52:13] (03Restored) 10Hashar: Jenkins job validation (DO NOT SUBMIT) [unicodejs] - 10https://gerrit.wikimedia.org/r/153401 (owner: 10Hashar) [09:52:18] (03PS2) 10Hashar: Jenkins job validation (DO NOT SUBMIT) [unicodejs] - 10https://gerrit.wikimedia.org/r/153401 [09:53:00] (03Abandoned) 10Hashar: Jenkins job validation (DO NOT SUBMIT) [unicodejs] - 10https://gerrit.wikimedia.org/r/153401 (owner: 10Hashar) [10:00:48] 10MediaWiki-ResourceLoader, 10Continuous-Integration, 10MediaWiki-Vagrant, 10Wikidata, and 3 others: qunit test broken without explicitly setting $wgResourceLoaderMaxQueryLength - https://phabricator.wikimedia.org/T90453#1124578 (10Tobi_WMDE_SW) For Wikidata this has been resolved so far by https://gerrit.... [10:04:33] 10VisualEditor, 10Wikimedia-Site-requests: Enable VE in ns 102 (WikiProject) on plwiki - https://phabricator.wikimedia.org/T92698#1124597 (10Aklapper) p:5Triage>3Normal [10:11:48] 10MediaWiki-ResourceLoader, 10VisualEditor: Devise a means of testing local code on production wikis - https://phabricator.wikimedia.org/T87384#1124613 (10Aklapper) @ori: ping? [10:13:23] 10MediaWiki-ResourceLoader, 7Technical-Debt: ResourceLoader: Redesign how debug mode operates - https://phabricator.wikimedia.org/T85805#1124623 (10Aklapper) [10:14:00] 10MediaWiki-ResourceLoader: On complex installations with many custom JS resources, some Javascript files fail to load - https://phabricator.wikimedia.org/T48928#1124630 (10Aklapper) 5Open>3stalled [10:32:45] 10OOjs-UI, 10OOjs-UI-0.9.1, 10UI-Standardization, 7Design, 5WMF-deploy-2015-03-18_(1.25wmf22): Use a new focus indicator on text fields - https://phabricator.wikimedia.org/T73150#1124687 (10Aklapper) [10:35:17] 10MediaWiki-ResourceLoader: special pages inconsistently load mediawiki.special's JS or CSS - https://phabricator.wikimedia.org/T49134#1124696 (10Aklapper) p:5Normal>3Low ``` ./includes/specials/SpecialStatistics.php: $this->getOutput()->addModuleStyles( 'mediawiki.special' ); ./includes/specials/SpecialPre... [10:36:11] 10MediaWiki-ResourceLoader, 10Librarization: CSSMin library calls global function wfExpandUrl() - https://phabricator.wikimedia.org/T88914#1124699 (10Aklapper) p:5Triage>3Normal [10:36:31] 10MediaWiki-ResourceLoader: Don't throw errors for user scripts using ES6 features - https://phabricator.wikimedia.org/T75714#1124702 (10Aklapper) p:5Triage>3Lowest [10:38:51] 10MediaWiki-ResourceLoader, 7I18n: CSS bugs on Wikipedia with RTL languages (bottom .guider ruleset missing) - https://phabricator.wikimedia.org/T46839#1124707 (10Aklapper) p:5Normal>3Low [10:39:13] 10MediaWiki-ResourceLoader: For raw script loading, use document.write() to get a callback for the previous document.write() - https://phabricator.wikimedia.org/T92466#1124715 (10Aklapper) p:5Triage>3Normal [11:17:34] okay, how do I use OOjs-UI standalone? [11:17:50] bower install wikimedia/oojs-ui doesn't give me a file that I can include [11:19:29] 10MediaWiki-ResourceLoader, 7JavaScript: CSS modules should be considered "ready" when they are applied to a page - https://phabricator.wikimedia.org/T92747#1124817 (10Aklapper) p:5Triage>3Normal [12:09:13] 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#1124906 (10Aklapper) p:5High>3Normal [12:11:54] 10VisualEditor: Re-arranged (drag-drop) Categories become "detached item" after clicking 'Cancel' button - https://phabricator.wikimedia.org/T92861#1124925 (10Aklapper) [12:59:20] 10MediaWiki-ResourceLoader, 7Performance: Optimize the order of styles and scripts - https://phabricator.wikimedia.org/T92764#1125034 (10Aklapper) p:5Triage>3Lowest [13:48:41] MatmaRex: Krenair i am investigating https://phabricator.wikimedia.org/T92949 (no javascript on test.wikidata) [13:48:48] i am sure there was no issue yesterday [13:49:10] i see there were citoid related things deployed and wonder if it's somehow related? [13:49:11] 10VisualEditor, 10VisualEditor-EditingTools: Visual Editor special character at ln: - https://phabricator.wikimedia.org/T92959#1125186 (10Aklapper) Thanks for taking the time to report this! Please provide exact steps to reproduce the problem, click by click. [13:49:14] or what? [13:51:37] i don't think citoid is on test.wikidata, so somewhat confused [14:06:01] (03PS43) 10Paladox: Re add svg images [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/181786 (https://phabricator.wikimedia.org/T37342) [14:06:09] (03PS11) 10Paladox: Add svg to LESS file [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/195529 (https://phabricator.wikimedia.org/T37342) [14:06:59] (03CR) 10Paladox: "@Raimond Spekking please review." [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/181786 (https://phabricator.wikimedia.org/T37342) (owner: 10Paladox) [14:07:34] (03CR) 10Paladox: "@Raimond Spekking please review." [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/195529 (https://phabricator.wikimedia.org/T37342) (owner: 10Paladox) [14:08:48] (03CR) 10Raimond Spekking: "@Paladox: I have removed myself as reviewer again... When I have no time or knowledge to review please respect this and don't add me as re" [extensions/WikiEditor] - 10https://gerrit.wikimedia.org/r/181786 (https://phabricator.wikimedia.org/T37342) (owner: 10Paladox) [14:09:33] (03PS14) 10Paladox: Add collapsiblenav back [skins/Vector] - 10https://gerrit.wikimedia.org/r/190717 (https://phabricator.wikimedia.org/T69954) [14:16:07] (03CR) 10Esanders: "Ping." [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/193370 (owner: 10Esanders) [14:23:22] * James_F waves. [14:23:56] morning James_F [14:24:04] werdna: Are you well? [14:24:15] I am indeed. [14:24:20] Excellent. [14:46:01] (03PS4) 10Esanders: Create AlignableContextItem to quickly adjust AlignableNodes [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/193370 [14:49:26] edsanders: I still think it needs a different icon for the general concept of alignment compared to the left-alignment button (and in RTL especially). [14:49:50] edsanders: And it feels a bit too chunky a control right now. [14:50:42] I've never seen such an icon [14:50:50] most apps just use of of the alignments [14:51:08] e.g. Inkscape uses v-center [14:54:39] Font tags are stripped from content I paste, which is fine [14:54:46] but so are their contents [14:55:02] is there a way to keep the contents and just dump the tags? [14:55:08] where would I look? [14:55:12] edsanders: Should we use the centre icon, then? [14:55:18] hexmode: Hmm. edsanders question. :-) [14:55:42] hexmode, that shouldn't happen [14:55:58] where are you copying from? [14:56:33] edsanders: from MS Word to IE. When I copy from Word Online to IE, there are no font tags [14:56:54] edsanders: the wiki I'm testing on is here: http://testwiki.nichework.com/ [14:57:23] James_F: thats the super-cheap VM... and it seems to be working out nicely. [14:57:55] hexmode, can you paste some on the right here: http://edg2s.github.io/content-editable-sandbox/ [14:58:01] then send me the HTML from the left [14:58:10] sure [15:00:57] hexmode: Nice. [15:02:12] edsanders: http://edg2s.github.io/content-editable-sandbox/ [15:02:14] oops [15:03:23] edsanders: https://gist.github.com/hexmode/11659160eece6ad86d61 [15:04:19] I've instrumented VE on testwiki to log what it has before it hits sanitation. [15:04:39] When it has tags, the content is missing on IE. [15:04:55] hexmode, have you got Chrome and/or Firefox [15:04:58] after sanitation, that is. [15:05:01] sure [15:05:07] i.e. is it just IE it is broken in? [15:06:07] edsanders: it works in Chrome, but I really need IE. If you don't have time for IE, just point me in the right place and I'll dig around [15:06:20] which IE version? [15:06:28] right now, I'm guessing I need to dig into what is happening with sanitaton [15:06:32] ie11 [15:06:53] (03PS2) 10Kmenger: DraggableGroupElement: Clarify description and mark private methods [oojs/ui] - 10https://gerrit.wikimedia.org/r/197253 [15:06:55] in ve.ce.Surface.js #beforePaste #afterPaste [15:07:34] by the time you reach #afterPaste $pasteTarget should contain your HTML [15:07:40] in then get's sanitized from there [15:08:20] (03CR) 10Chad: [C: 032] Don't try to access x-parsoid-performance on restbase cache hits [extensions/VisualEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/196514 (owner: 10Alex Monk) [15:08:22] #beforePaste looks at the context of where you are pasting to and replicates it in the $pasteTarget before the paste happens [15:09:49] I'd put a breakpoint in afterPaste, check $pasteTarget has something sensible in it, then step through [15:10:13] ok, I'm going to go look at where it is blatting out the logs. I assume from the parsoid attributes that I'm seeing that it has already been munged a bit. (of course) [15:10:23] makes sense. [15:10:39] I'll let you know what I see. [15:15:31] (03Merged) 10jenkins-bot: Don't try to access x-parsoid-performance on restbase cache hits [extensions/VisualEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/196514 (owner: 10Alex Monk) [15:17:37] RoanKattouw: https://gerrit.wikimedia.org/r/#/c/197260/ is the wmf21-specific fix of mooey|away's that I mentioned. [15:18:09] RoanKattouw: And if https://gerrit.wikimedia.org/r/#/c/194991/ isn't merged by Krinkle|detached by noon we'll have to just merge it without his comments. [15:18:49] (03CR) 10Catrope: [C: 032] Restore the abortability of the inspector promise [extensions/Citoid] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197260 (owner: 10Mooeypoo) [15:19:24] (03Merged) 10jenkins-bot: Restore the abortability of the inspector promise [extensions/Citoid] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197260 (owner: 10Mooeypoo) [15:20:29] Hi, I have been working on this bug : https://phabricator.wikimedia.org/T52281 [15:21:58] My initial plan after a discussion with TrevorP|Away was that I will check if the Transclusion dialog box is empty after every change in the window. [15:22:32] and overtime it is empty I could display a message. [15:22:52] Now initially i thought that I would insert a template placeholder whenever it was empty. [15:22:59] but that does not seem to be a good idea [15:23:10] as it interferes with other functionalities. [15:23:43] For instance, If I insert another template placeholder or content, it appears after the message template. [15:24:42] One idea would be to create a special kind of template for the message (it could have a flag or something which could warn other methods to not consider this template while changing the Ui) [15:25:01] but that seems like a cumbersome way. [15:25:09] Is there anything else anyone can suggest? [15:25:23] RoanKattouw , James_F ? [15:25:46] Yeah inserting a placeholder is weird [15:25:51] Because then it's not really empty any more [15:26:10] I guess you could insert a placeholder, have your "is it empty" check ignore the placeholder, and then when a "real" thing is added, remove the placeholder [15:29:26] edsanders: it looks like I was wrong. The paste I sent was from MS Word into Chrome, not MS Word into IE. Here is the one from MS Word to IE: https://gist.github.com/hexmode/be871905529e3d2f9f17 [15:31:04] (03PS2) 10Esanders: Demo typos [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196962 [15:31:30] (03PS3) 10Jforrester: demo: Fix typos [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196962 (owner: 10Esanders) [15:31:35] (03CR) 10Jforrester: [C: 032] demo: Fix typos [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196962 (owner: 10Esanders) [15:31:46] (03CR) 10Esanders: "Added deliberate spelling mistake to replace ones fixed." [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196962 (owner: 10Esanders) [15:32:55] RoanKattouw, I have a bunch of commits for you [15:33:07] and a question about originalDomElements [15:33:47] because it stores all children, including text nodes, we end up storing every annotation as unique [15:34:21] FooBar -> {type:bold, ODE: 'Foo'},{type:bold, ODE: 'Bar'} [15:34:23] (03Merged) 10jenkins-bot: demo: Fix typos [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/196962 (owner: 10Esanders) [15:37:08] 10VisualEditor, 10VisualEditor-Performance, 10Parsoid, 7Blocked-on-Parsoid, and 2 others: Add original dimensions information from the API to data-mw - https://phabricator.wikimedia.org/T64881#1125463 (10cscott) Restating subbu's (b) slightly, for more accuracy: Mediaviewer already adds it (to PHP parser o... [15:37:14] RoanKattouw : Yes, that seems like a way to go about it [15:39:09] edsanders: Whoa whoops [15:39:12] edsanders: Good point [15:39:32] Yeah I saw you were removing domElements from aliens, I started doing that when I first worked on this but then gave up because it was too complicated [15:40:32] wasn't too bad - just a ton of test cases [15:40:35] *but* [15:40:46] if the fix for original dom elements is to remove text nodes [15:41:00] then that commit needs to be abandoned [15:41:14] or we have two modes for ODE [15:42:21] or we leave the text nodes and strip them when doing toHash [15:45:01] 10VisualEditor, 10VisualEditor-ContentEditable: VE in IE is stripping the contents of tags from pasted text - https://phabricator.wikimedia.org/T92969#1125483 (10MarkAHershberger) 3NEW [15:50:11] hello, i am working on this bug https://phabricator.wikimedia.org/T92868, as edsanders explained yesterday that in VisualEditor-MediaWiki we have MWAlienExtensionNode, which is a MediaWiki extension we don't have custom support for (e.g. graph) [15:50:41] hi [15:50:58] edsanders:hello [15:51:23] RoanKattouw_away, how about instead of el.outerHTML in getHashObject, el.cloneNode().outerHTML? [15:51:55] RoanKattouw, annotations should only be one level deep right? [15:51:58] 10MediaWiki-ResourceLoader: Bug: jquery.jStorage saved data lost on logout - https://phabricator.wikimedia.org/T92937#1125512 (10Cumbril) [15:52:01] edsanders: cloneNode(false).outerHTML sounds good to me [15:52:07] as u explained yesterday i am sorry but i have one silly question to ask what is the ve.ceMWAlienExtensionNode.js [15:52:23] Yeah I'm pretty sure you can't have deep annotations [15:52:37] RoanKattouw, what about XL :) [15:52:55] rits: If you put stuff like blah in a wiki page, you'll get an inspector that lets you edit it [15:53:17] MWAlienExtensionNode is the node that represents that tag [15:53:24] rits: But it's not a very smart inspector, because it doesn't know anything about the tag, it just goes "oh this is a tag" and it lets you edit the graph tag [15:53:30] every node as a model (DM) and view (CE) [15:53:56] So yeah MWAlienExtensionNode is the node that represents the tag and MWAlienExtensionInspector is the inspector you see [15:54:04] * RoanKattouw lets edsanders talk [15:54:28] yes i tried it edsanders with this tag but when i edit this through the ve the graph just goes off doesnt shows anything on the screen [15:54:33] RoanKattouw, so yeah, would be handled as one annotation? [15:54:45] No I'm pretty sure that's two annotations [15:55:12] RoanKattouw, maybe at the moment, but should it be? [15:55:54] Yeah it should possibly be { type: 'textStyle/big', attributes: { depth: 2 } } or something [15:56:05] But there are existing barriers to deep annotations [15:56:19] You'd be adding a new one, but as it is having be one annotation would be difficult I think [15:56:28] as for example i tried this graph https://www.mediawiki.org/wiki/Extension:Graph and put it in my wiki page through the edit source , its visible then but not when i tried it with ve [15:57:07] edsanders:oh sorry now i understood your point [15:57:14] rits, the problem is the graph is initialized with javascript [15:57:44] the alien extension editor takes your extensions tag name, attributes and context and builds a wikitext snippet using an XML doc builder [15:57:59] e.g. baz [15:58:10] then sends that string to parsoid to convert to an HTML rendering [15:58:17] okay [15:58:18] then drops that into the CE node (view) [15:58:43] but in the case of graph, you'll probably needs to then trigger some JS after every update, to re-initialize the graph [15:58:58] the updating is handle by ve.ce.GeneratedContentNode [16:00:21] see ve.ce.MWExtensionNode.prototype.generateContents [16:00:27] that builds the XML and sends it to Parsoid [16:01:40] you can then hook into 'afterRender' [16:02:03] edsanders:sorry battery went off [16:02:17] !logs [16:02:51] http://bots.wmflabs.org/~wm-bot/logs/%23mediawiki-visualeditor/20150317.txt [16:03:14] http://bots.wmflabs.org/~wm-bot/logs/%23mediawiki-visualeditor/20150317.txt [16:03:19] Hey. [16:05:16] rits, still online? [16:05:53] edsanders:yes i am sorry connection problem [16:06:04] rits, the problem is the graph is initialized with javascript [16:06:04] the alien extension editor takes your extensions tag name, attributes and context and builds a wikitext snippet using an XML doc builder [16:06:05] e.g. baz [16:06:05] then sends that string to parsoid to convert to an HTML rendering [16:06:05] okay [16:06:06] then drops that into the CE node (view) [16:06:08] but in the case of graph, you'll probably needs to then trigger some JS after every update, to re-initialize the graph [16:06:11] the updating is handle by ve.ce.GeneratedContentNode [16:06:13] * James_F is now known as James_F|Away [16:06:15] * Keegan|Away is now known as Keegan [16:06:19] see ve.ce.MWExtensionNode.prototype.generateContents [16:06:21] that builds the XML and sends it to Parsoid [16:06:23] you can then hook into 'afterRender' [16:06:38] The problem here is that converts to
in HTML [16:07:03] where the graphID maps to some JS rendered further down the page [16:07:17] okay [16:07:22] fortunately the JS is the JSON from the attribute [16:07:42] o_O [16:07:46] which we store as data-mw [16:07:58] okey then the JSON blob has the data which has to be rendered then [16:08:06] okay [16:08:21] yes [16:09:21] (03CR) 10Catrope: "Why do you say it fires 2 load.php requests? I thought it was supposed to be only one? Or is there some weird grouping thing going on?" [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196584 (https://phabricator.wikimedia.org/T90372) (owner: 10Catrope) [16:09:24] see lines 52/53 after 've.ce.MWExtensionNode.prototype.generateContents' [16:09:33] it's just model.getAttribute('mw').body.extsrc [16:10:17] do a JSON.parse on that (with a try/catch of course), and you have the data you need [16:10:29] edsanders:okay [16:11:28] James_F: how do I specify the minimum mediawiki version needed by the Collection extension (in order to ensure OOjs UI is available)? [16:11:29] so in afterRender: data = JSON.parse( model.getattr(mw).body.extsrc ); MyGraphLibrary.renderGraph( this.$element, data ); (or whatever the command is) [16:11:46] cscott: wfUseMW('1.25wmf17'); [16:12:22] ooh we're redoing the collection UI cscott? [16:12:34] Krenair: He's OOjs UI-ified it. [16:12:37] Krenair: I've been slowly converting bits over to OOjs UI [16:12:40] nice [16:12:59] that extension could do with conversions for... a lot of things :( [16:13:00] Excellent [16:13:12] It still uses action=ajax [16:13:21] Krenair: mostly I want to get a proper progress bar. :) but i haven't quite gotten that far yet, I keep getting sidetracked into adding missing features to OOjs [16:13:23] RoanKattouw : how can I access various parts in ve.dm.MWTransclusionModel? It must have the text box, title, delete button, etc. stored as parts. How does that happen? i was thinking I could just delete the irrelevant parts and keep the title (which I am assuming is the text right above the textbox) [16:13:29] edsanders:okay i am just finding the file,just a second [16:13:44] what's the new hotness to replace action=ajax? [16:14:10] "new" - the API. [16:14:17] Krenair: This is why cscott built us Infusion and a progress bar and others. [16:14:35] That Roan worked on. [16:14:36] Then every time I check if the box is empty, I can ignore the transclusion which has only one part, let's say. [16:14:42] In like 2007 or earlier. [16:14:47] Krenair: We need to find other things that cscott wants to OOjs UI-ify to get us more goodies. ;-) [16:14:55] Krenair: I was using that extension recently. It's pretty not very nice. [16:15:04] :) [16:15:09] Krenair: I was trying to programmatically create books [16:15:17] I just gave up and wrote them myself [16:15:27] as in, I just generated the wikitext [16:15:37] James_F: blame the OOjs UI propaganda at wikimania. really this was supposed to just be a by-the-end-of-wikimania hack. but i'm terrible at scope estimation. [16:15:40] it was easier than trying to hack the extension [16:15:45] cscott: :-D [16:15:46] the action=ajax part of collection is.. yuck [16:15:52] rits, FYI all this code should eventually go in the Graph extensions. Have a look at the Math/wikihiero as examples [16:15:59] werdna: you should look at mw-ocg-bundler perhaps. [16:16:01] Unfortunately many people who do try to use it end up at info-en@ [16:16:10] ankita-ks: You should look at the existing MWTemplatePlaceholderModel [16:16:47] cscott: what's that? [16:16:50] ankita-ks: I should warn you that although I know the basics of the MWTransclusionModel stuff, TrevorP|Away is the expert [16:17:30] RoanKattouw : appreciate whatever help I can get. :) [16:17:33] edsanders:okay i am looking at it , thank you :) [16:18:18] ankita-ks: So MWTemplatePlaceholderModel is the thing you get when you click "Add template" but haven't told it which template to add yet [16:18:33] yes. [16:18:39] It displays as an italic "Add template" entry in the outline menu, and its page has a text box to let you choose a template [16:18:47] yes [16:18:56] werdna: you can run the book stuff locally, maybe start at https://www.npmjs.com/package/mw-ocg-service [16:19:00] So in DM that's MWTemplatePlaceholderModel, and in UI it's probably various MWTemplatePlaceholder* things [16:19:12] Ah yes, ve.ui.MWTemplatePlaceholderPage [16:19:16] yes [16:19:24] And there's also ve.ui.MWParameterPlaceholderPage apparently [16:19:37] So I'd recommend you use those (especially TemplatePlaceholderPage) as examples [16:19:45] Because what they do is similar to what you're trying to do [16:19:58] okay..looking into it. [16:21:20] 10VisualEditor, 10VisualEditor-ContentEditable: VE in IE is stripping the contents of tags from pasted text - https://phabricator.wikimedia.org/T92969#1125619 (10Esanders) Are any exceptions thrown? [16:21:30] edsanders:sorry , ah my eyes went into the wrong file for finding it yes now i understood as u explained the data is coming through this mwData = this.getModel().getAttribute( 'mw' ) [16:21:45] cscott: what's the difference between OCG and mwlib? [16:21:48] do they do the same thing? [16:21:57] rits, yes in the inspector [16:22:16] they do more or less the same thing. OCG is built on parsoid. mwlib is its own idiosyncratic parser. [16:22:51] rits, I don't think you need to base off AlienExtensionInspector though [16:22:56] OCG is maintained (by me, when I have time). mwlib is unmaintained. [16:23:08] Parsoid is, of course, heavily maintained. [16:23:13] because sending JSON to parsoid will always just give you
which is just a waste of time [16:23:17] you already have the JSON [16:23:59] edsanders: yes right there is no sense of doing it though [16:25:03] I seem to recall installing OCG was a .... fun experience [16:25:10] you can base your inspector off ve.ui.MWExtensionInspector, just like MWGallery does [16:25:10] Hi RoanKattouw. [16:26:11] edsanders: sorry unclear about it,how to do that [16:26:52] just look a MWGalleryInspector [16:26:54] Hey Krenair [16:27:03] your inspector is nothing special, just a textarea [16:27:21] by extending the class you can override the title/icon and css classes [16:27:30] so you can make it bigger / use fixed width font [16:27:35] edsanders:okay [16:27:37] RoanKattouw, I was wondering how to deal with dependencies for the special character data module [16:27:44] but your dm/ce nodes can just base off LeafNode [16:27:54] and how the data is provides should be stored client-side [16:28:55] edsanders:okay [16:28:59] edsanders: Ugh, so really rits should be able to extend MWExtensionNode, but that uses GCN :( [16:29:27] MWExtensionNode has other handy features that make writing nodes corresponding to extension s easier though [16:30:03] So I'm thinking rits should use that anyway, even though GCN gets mixed in [16:30:29] RoanKattouw, true, toDataElements and toDomElements [16:30:36] edsanders [16:30:38] Oh grah the CE node has more GCN stuff [16:30:56] This is a mess, ideally those two parts (toData/Dom and GCN) would be decoupled [16:31:10] RoanKattouw,edsanders: sorry what is GCN [16:31:19] generatedContentNode [16:31:53] any node who's view is a function of the model that we want to cache [16:32:03] e.g. a template [16:32:33] model: {{infobox |name=foo}} -> view: ...foo...
[16:32:43] we store that HTML keyed against a hash of the model [16:32:49] edsanders: oh okay got it :) [16:33:24] so you change name to 'bar' then back again we just look up the HTML from the cache, instead of having to get Parsoid to re-render the template again (because VE doesn't know how to render templates) [16:33:38] in this case you don't need it though [16:33:49] because you can do the rendering yourself without help from Parsoid [16:34:15] however you do need the DM part of MWExtensionNode [16:34:53] edsanders:alright [16:35:06] that converts the parsoid HTML representation of your tag to and from VE data (e.g ) [16:35:37] but the stuff in CE which does an ajax request to Parsoid to work out what the HTML looks like, you can bypass all that in your subclass [16:35:43] because the HTML is always just one div [16:36:14] 10VisualEditor, 10VisualEditor-ContentEditable: VE in IE is stripping the contents of tags from pasted text - https://phabricator.wikimedia.org/T92969#1125646 (10MarkAHershberger) I was seeing some exceptions during some of this, but none of these particular tests resulted in exceptions. Let me see wha... [16:37:06] edsanders: okay for the ajax part as for the realtime rendering it can be then just done through subclasses right? [16:37:49] yes [16:38:03] so the thing that GCN does is listen to the 'update' event from the model [16:38:19] edsanders:okay [16:38:21] which happens anytime the model changes (i.e. someone has made a change to the JSON blob in the inspector) [16:38:26] Any ideas RoanKattouw? [16:38:53] this.model.connect( this, { update: 'onGeneratedContentNodeUpdate' } ); (in ve.ce.GeneratedContentNode) [16:39:17] onGeneratedContentNodeUpdate simple calls "this.update();" [16:39:21] okay [16:39:36] (03PS2) 10Physikerwelt: Fix reference to hash2md5 [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197267 [16:40:12] if you look at ve.ce.GeneratedContentNode.prototype.update [16:40:18] MatmaRex: do you remember when you fixed the CSS for ButtonInputWidget.php ? That's the version of mediawiki I need to depend on for the Collection extension. [16:40:20] edsanders:okay getting the point now [16:40:40] you'll see that's where it is looking up to see if it has HTML from the cache (getStore() is the cache) [16:40:48] you don't need any of that code [16:41:07] so I'd recommend in your CE subclass completely overriding #update [16:41:37] oh, except it's a mixin [16:41:40] ugh [16:42:30] edsanders:oh then how should it be done [16:42:42] well mixins can't be overriden [16:42:56] edsanders:yes [16:42:57] oh wait - is that true [16:43:05] RoanKattouw, ? [16:43:55] What? [16:44:06] What do you mean exactly by "mixins can't be overridden"? [16:44:14] You can and we do override mixin functions [16:44:17] well the method #update [16:44:18] Happens all the time [16:44:28] ok [16:44:31] I mean using .super to call the original implementation doesn't work of course [16:44:34] You have to use the class name [16:44:39] But other than that it works fine [16:44:46] yeah - we don't care about the original [16:44:51] Oh OK [16:44:56] Even better then [16:45:01] Krenair: Ideas on what? [16:45:03] rits, so just make an #update method on your ce node [16:45:13] RoanKattouw, I was wondering how to deal with dependencies for the special character data module [16:45:19] RoanKattouw, and how the data is provides should be stored client-side [16:45:24] edsanders:okay [16:45:30] which repaints the graph onto this.$element, using the JSON blob extracted from the model [16:46:04] Krenair: Hmm [16:46:18] edsanders: okay got it :) [16:46:23] I guess we need a static method somewhere? [16:46:32] like in ve.init.platform or something? [16:46:50] Yeah probably [16:46:52] which can be depended on by the module [16:47:01] We need some sort of singleton-y place for it [16:47:48] I tried putting it in MWSpecialCharacterDialog (new class in the commit) yesterday but that wasn't going to work due to dependencies [16:48:04] Oh because then it loads too early and can't add it there? [16:48:14] edsanders,RoanKattouw:okay i got the points , working on it , thank you so much :) [16:50:16] Krenair: Yeah I guess you could create a ve.init.specialChars module that does something like ve.init.specialChars = { ... }; and have the inspector depend on it [16:50:37] RoanKattouw, you'd need the dialog module to depend on the data module [16:50:38] Or depending on how extensible it has to be, maybe make it a small class that allows you to add more data [16:50:43] Yes, you would [16:50:48] but the data module would depend on the dialog module to set the data [16:51:02] (with the way I was trying to do it yesterday, so we need another place) [16:51:07] Well, no [16:51:22] If the data module just does ve.init.specialChars = {}; or whatever, or implements ve.init.specialChars.get() or something [16:51:26] then the dialog can just call that [16:51:31] (with the way I was trying to do it yesterday, so we need another place) [16:51:35] Rather than expecting the data module to call it [16:51:49] 10VisualEditor, 10VisualEditor-ContentEditable: VE in IE is stripping the contents of tags from pasted text - https://phabricator.wikimedia.org/T92969#1125691 (10MarkAHershberger) Got an exception: https://gist.github.com/hexmode/c6d716220edda4ca6d44 [16:52:03] You could have the dialog know about the data module (depending on it and calling into it) but the data module not knowing anything about the dialog [16:52:13] Or am I missing a reason why that doesn't work? [16:52:15] yeah, that's what I'll do [16:53:57] I think it should call a function, we have Xml::encodeJsCall to escape it [16:54:49] I mean I could just set that... but would prefer to generate as little JS dynamically on the server as possible [16:55:07] from my own code [16:56:21] (03PS1) 10Esanders: Simplify annotation hashes [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197353 [16:57:41] cscott: long ago. i can dig up the commit if you want, but can't you just depend on current version? it's a pre-alpha either way [16:57:47] hmph [16:58:02] selected template node, pressed right key [16:58:08] Uncaught Error: Offset could not be translated to a DOM element and offset: 4 [16:58:30] (03CR) 10jenkins-bot: [V: 04-1] Simplify annotation hashes [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197353 (owner: 10Esanders) [17:02:22] 10MediaWiki-ResourceLoader, 6Mobile-Web, 10MobileFrontend-Feature-requests: ResourceLoaderImage module css rules should be more configurable - https://phabricator.wikimedia.org/T78215#1125720 (10matmarex) [17:05:57] (03PS2) 10Esanders: Simplify annotation hashes [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197353 [17:07:29] (03PS3) 10Kmenger: DraggableGroupElement: Clarify description and mark private methods [oojs/ui] - 10https://gerrit.wikimedia.org/r/197253 [17:08:36] edsanders, see error above [17:09:09] 10VisualEditor, 10VisualEditor-ContentEditable: VE in IE is stripping the contents of tags from pasted text - https://phabricator.wikimedia.org/T92969#1125734 (10MarkAHershberger) Reset lib/ve to remove any modificatons that I had and got this: https://gist.github.com/hexmode/65bac9b1093d164a5d39 [17:09:13] cursoring is David [17:15:47] 10VisualEditor, 10Flow, 10MediaWiki-Parser, 10Parsoid: API:Parse wrongly outputs the Flow board when the board is only being used as a context title - https://phabricator.wikimedia.org/T92934#1125767 (10Mattflaschen) >>! In T92934#1124227, @Mattflaschen wrote: > Part of (probably the root cause, so retitli... [17:16:27] edsanders, think I was running an old version or something [17:16:28] never mind [17:16:59] whoops, something else is broken now >_> [17:17:29] to do with citation nodes [17:18:09] (03PS1) 10Alex Monk: WIP - Load all of WikiEditor's special characters [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197357 (https://phabricator.wikimedia.org/T91618) [17:19:20] (03CR) 10jenkins-bot: [V: 04-1] WIP - Load all of WikiEditor's special characters [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197357 (https://phabricator.wikimedia.org/T91618) (owner: 10Alex Monk) [17:20:45] 10MediaWiki-Page-editing, 7JavaScript, 5Patch-For-Review: LivePreview should not replace title message with displaytitle value in firstHeading - https://phabricator.wikimedia.org/T85784#1125779 (10Fomafix) >>! In T85784#1124418, @TheDJ wrote: > Isn't it better to solve this similar to T88117 ? When https://... [17:20:47] 10MediaWiki-ResourceLoader, 10Librarization: CSSMin library calls global function wfExpandUrl() - https://phabricator.wikimedia.org/T88914#1125780 (10Krinkle) Note that we use two types of expansion when handling stylesheets: * Remapping: Path references in stylesheets, unlike in JavaScript, are relative to w... [17:22:20] (03CR) 10Alex Monk: [C: 04-1] WIP - Load all of WikiEditor's special characters (035 comments) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197357 (https://phabricator.wikimedia.org/T91618) (owner: 10Alex Monk) [17:23:04] 10MediaWiki-ResourceLoader: Don't throw errors for user scripts using ES6 features - https://phabricator.wikimedia.org/T75714#1125786 (10Krinkle) I don't oppose allowing ES6 syntax in user scripts. > While for the site wide MediaWiki:Common.js etc. this is a good feature (to make sure nobody accidentally puts i... [17:27:06] (03CR) 10Alex Monk: WIP - Load all of WikiEditor's special characters (033 comments) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197357 (https://phabricator.wikimedia.org/T91618) (owner: 10Alex Monk) [17:27:45] RoanKattouw, https://gerrit.wikimedia.org/r/#/c/197357/1/modules/ve-mw/ui/dialogs/ve.ui.MWSpecialCharacterDialog.js [17:28:13] am also wondering where the .json file should go [17:28:20] currently it's modules/ve-mw/specialcharacters.json [17:28:53] 10VisualEditor, 10Flow, 10Parsoid: API:Parse wrongly outputs the Flow board when the board is only being used as a context title - https://phabricator.wikimedia.org/T92934#1125797 (10Mattflaschen) a:5Mattflaschen>3None [17:29:39] 10VisualEditor, 10Flow, 10Parsoid: ApiVisualEditor parsefragment behaves unexpectedly when context page has flow-board content model - https://phabricator.wikimedia.org/T92934#1125801 (10Mattflaschen) [17:29:57] 10VisualEditor, 10VisualEditor-ContentEditable: VE in IE is stripping the contents of tags from pasted text - https://phabricator.wikimedia.org/T92969#1125804 (10MarkAHershberger) IE points to this line for the exception: ve.dm.LinearData.static.getType = function ( item ) { return this.isCloseEleme... [17:31:15] (03CR) 10Alex Monk: WIP - Load all of WikiEditor's special characters (031 comment) [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197357 (https://phabricator.wikimedia.org/T91618) (owner: 10Alex Monk) [17:31:54] Krenair: Wow that's some extensive inline commenting on your own change [17:32:02] :p [17:35:52] ori: aude is complaining your mw1017 testing broken testwikidata, see https://gerrit.wikimedia.org/r/#/c/196989/ [17:36:13] yeah we were moaning in -core earlier [17:36:25] I was surprised to find it on mw1017 but not tin [17:36:32] and y'know, not actually approved on master [17:36:50] Yeah Ori has been using mw1017 as his personal testing box sometimes [17:36:53] But apparently Wikidata uses it to [17:36:55] o [17:37:03] So maybe osmium is a better box to use [17:38:45] testwikidata and testwiki use it I think. [17:39:10] next scap will overwrite changes [17:39:59] 10VisualEditor, 10VisualEditor-ContentEditable: VE in IE is stripping the contents of tags from pasted text - https://phabricator.wikimedia.org/T92969#1125928 (10MarkAHershberger) Interesting. It doesn't give the exception the first time when I try to paste. But after the first paste (where nothing is... [17:44:45] 10VisualEditor, 10VisualEditor-ContentEditable: VE in IE is stripping the contents of tags from pasted text - https://phabricator.wikimedia.org/T92969#1125947 (10MarkAHershberger) If I paste when initially visiting the page (when the point is at the start of the page) then the exception is thrown then.... [17:47:50] 10OOjs-UI, 10VisualEditor, 10VisualEditor-EditingTools, 7Regression: Template dialog has footer line crossing through button - https://phabricator.wikimedia.org/T92986#1125952 (10Krinkle) 3NEW [17:53:58] 10VisualEditor, 10VisualEditor-ContentEditable: VE in IE is stripping the contents of tags from pasted text - https://phabricator.wikimedia.org/T92969#1125980 (10MarkAHershberger) Pasting a single character or a word won't cause the exception. Highlighting the end of the line + the carriage return, co... [17:57:10] RoanKattouw: Ha, of coursr [17:57:17] RoanKattouw: mwq is run from startup [17:57:29] The patch isn't applied on bits so it ain't being run! [17:57:39] ori: ^ [17:58:04] RoanKattouw: Hm.. no wait. bits delegates to application servers by rewriting urls, right? [17:59:07] Ah, right. test.wikipedia does, but test.wikidata does not [17:59:09] OK. Their fault [18:07:59] Krenair: Re "do we really need to do all this", what if you put a skeleton for the ve.init.platform stuff in VE core, so the core SpecialCharacterDialog can call that (and get no or basic data back), and then all VE-MW needs to do is supplement the platform thing? [18:08:50] Krenair: Also you don't need the tool in any case, because MWSpecialCharacterDialog could have the same name as SpecialCharacterDialog [18:08:55] I think we do that with link stuff too [18:09:06] But maybe you don't even need MWSpecialCharacterDialog at all [18:10:13] edsanders: Could you document ve.ui.ToolbarDialogTool.static.activeWindow ? [18:10:17] It has no doc comment and it wasn't very clear to me what it did [18:10:39] RoanKattouw, it can have the same name? [18:10:41] RoanKattouw: thanks [18:10:46] Krenair: I think so [18:10:49] (03PS1) 10MarkAHershberger: Address an exception seen in IE when copy-pasting line endings [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197375 (https://phabricator.wikimedia.org/T92969) [18:10:54] We use name overloading for 'link' in a few places [18:11:03] Not sure if window factories also support that [18:11:29] (03PS2) 10Catrope: Address an exception seen in IE when copy-pasting line endings [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197375 (https://phabricator.wikimedia.org/T92969) (owner: 10MarkAHershberger) [18:11:35] * aude was worried js would break on wikidata, but no worry now [18:11:58] which one would take priority if you set the same name, RoanKattouw? [18:12:13] RoanKattouw: ty for the spell check ;) [18:13:08] (03PS3) 10MarkAHershberger: Address an exception seen in IE when copy-pasting line endings [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197375 (https://phabricator.wikimedia.org/T92969) [18:14:05] 10MediaWiki-ResourceLoader: Bug: jquery.jStorage saved data lost on logout - https://phabricator.wikimedia.org/T92937#1126014 (10Aklapper) p:5Triage>3Low [18:15:20] mooeypoo: Is there supposed to be auto-suggesting of parameters when on a /doc page? [18:18:29] Krinkle: i think you forgot to add your .jshintrc to your delinting commit [18:18:34] I did not [18:18:53] I moved it to verify it was failing first [18:18:57] Krinkle: oh, never mind, i see you made a series of commits. [18:19:01] :) [18:19:30] (03PS3) 10Esanders: Simplify annotation hashes [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197353 [18:20:05] Krinkle: thanks for your commits. the Collection extension badly needs a maintainer. [18:22:48] Krinkle, what do you mean? [18:23:00] Krinkle, you mean import? [18:23:05] mooeypoo: nevermind, what UIs are changed in this commit? I see the new bad-syntax dialog. Anything else? [18:23:30] Krinkle, that's the main thing, but there *should* be import on a /doc file if the parent has the template code [18:23:32] is that not happening? [18:23:35] (Yeah, I meant the importing based on scanning the template source code. It seems it only does that on the main page, not the subpage) [18:23:47] that's not right [18:23:49] Well, maybe it's there but I don't see a UI for it [18:23:51] it should do it from the doc page [18:24:03] Krinkle, it should have the option. I'm checking now too [18:24:05] when editing the main page it starts with "Add 4 suggested parameters including user, data, 1, 2" [18:24:28] Krinkle, that should also show if you edit the templatedata in the /doc page [18:24:32] on the sub page it already has 2 parameters from the source code, but I don't see a suggestion anywhere. When creating a syntax error so that it starts fresh, it just shows an empty dialog [18:24:57] Krinkle, that's not right. I'm going to look into that, it should suggest params [18:25:03] mooeypoo: OK [18:25:11] mooeypoo: meanwhile, what interfaces are new or changes in this commit? [18:25:20] Krinkle, just the message window [18:25:23] OK :) [18:25:28] (03CR) 10Krinkle: "UI:" [extensions/TemplateData] - 10https://gerrit.wikimedia.org/r/194991 (https://phabricator.wikimedia.org/T91730) (owner: 10Mooeypoo) [18:25:37] (03PS1) 10Esanders: Fix ve.ui.ToolbarDialogTool documentation [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197378 [18:25:44] That concludes my code / ui review. [18:25:51] Krinkle, the idea was the message window with the UI, but also sort and organize things in the data-end of things (with the sourceHandler) to make the suggestions/import unified [18:25:59] Yeah [18:26:01] which, if it doesn't work for /doc pages, means there's an issue [18:26:07] thanks! [18:39:06] 10MediaWiki-ResourceLoader: Bug: jquery.jStorage saved data lost on logout - https://phabricator.wikimedia.org/T92937#1126038 (10Cumbril) Just did some tests and now the data is not lost on https://test2.wikipedia.org/ server after logging out and back in. In the live https://en.wikipedia.org/ server the data is... [18:49:03] [11:11] Krenair which one would take priority if you set the same name, RoanKattouw? [18:49:08] Krenair: Last-registered one [18:49:12] That is if we don't throw an exception [18:49:15] I forget what does which [18:49:41] * hexmode searches for the bug about section editing not being implemented for VE [18:49:46] users... [18:50:19] Oh that one [18:50:26] I was looking at it earlier [18:50:34] T50429 [18:50:46] Yeah [18:50:48] That will eventually happen [18:51:00] Like in the next 3-6 months hopefully [18:51:15] I'm quoting you! [18:51:43] As long as you include "hopefully" and "eventually" :D [18:51:59] :) I am... [18:52:57] I'm just one person focusing on their IE issues. This is not an IE issue. (And you solved most of the IE issues anyway ;) ) [18:53:00] 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#1126058 (10Catrope) [18:53:53] 10VisualEditor, 10VisualEditor-EditingTools: VisualEditor: Advanced transclusion editor for complex templates eats parameters - https://phabricator.wikimedia.org/T64415#1126062 (10Etonkovidova) Tested it in test2. - By rearranging templates via moving them in Transclusion box, I was not able to separate tem... [18:54:10] 10VisualEditor, 10VisualEditor-EditingTools: VisualEditor: Advanced transclusion editor for complex templates eats parameters - https://phabricator.wikimedia.org/T64415#1126063 (10Etonkovidova) p:5Triage>3Low [18:54:20] 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 (10Catrope) [18:54:21] 10VisualEditor, 10VisualEditor-Performance, 5Patch-For-Review, 3VisualEditor 2014/15 Q3 blockers: Retrieve page HTML directly from RESTbase - https://phabricator.wikimedia.org/T90374#1126066 (10Catrope) [18:54:36] visual editor on mediawiki appears to be broken - e.g. inserts
s in random places inside headers... Is it a known issue? [18:54:38] 10VisualEditor, 10VisualEditor-Performance, 5Patch-For-Review, 3VisualEditor 2014/15 Q3 blockers: Retrieve page HTML directly from RESTbase - https://phabricator.wikimedia.org/T90374#1057157 (10Catrope) [18:54:39] 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 (10Catrope) [18:55:01] SMalyshev: Do you have link to a diff showing the problem? [18:55:50] RoanKattouw: https://www.mediawiki.org/w/index.php?title=Wikibase/Indexing/status&diff=1449731&oldid=1403177 [18:56:08] hah no that is not a known issue [18:56:12] Did that happen multiple times? [18:56:15] Or just that once? [18:56:34] RoanKattouw: so far once. I can try to do the same and see if it happens again :) [18:57:14] can anyone remind me of the url to the new ooui documentation/example ? [18:58:06] RoanKattouw: now different thing happened: https://www.mediawiki.org/w/index.php?title=Wikibase/Indexing/status&diff=1449801&oldid=1449748 [18:58:33] you see tag section end moved inside the header? weird... maybe something to do with selection? [18:58:35] Oh God there are
tags on that page :S [18:58:49] yeah I have no idea what they're doing... [19:00:13] 10VisualEditor, 10VisualEditor-EditingTools: VisualEditor: Pressing delete on an indented list item does not unindent it rather merges it with the previous item in a numbered list - https://phabricator.wikimedia.org/T65051#1126079 (10Etonkovidova) p:5Triage>3Normal [19:03:12] (03PS1) 10Alex Monk: Fix action.abort.mechanism value in ViewPageTarget#onUnload [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197391 (https://phabricator.wikimedia.org/T92869) [19:05:45] milimetric, should we put that in wmf21? [19:21:13] (03CR) 10Catrope: [C: 032] Fix action.abort.mechanism value in ViewPageTarget#onUnload [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197391 (https://phabricator.wikimedia.org/T92869) (owner: 10Alex Monk) [19:21:22] (03PS1) 10Jforrester: Fix action.abort.mechanism value in ViewPageTarget#onUnload [extensions/VisualEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197393 (https://phabricator.wikimedia.org/T92869) [19:22:21] (03CR) 10Krinkle: [C: 032] "Confirmed locally. Without this patch, navigating away after making a change results in:" [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197391 (https://phabricator.wikimedia.org/T92869) (owner: 10Alex Monk) [19:23:28] (03Merged) 10jenkins-bot: Fix action.abort.mechanism value in ViewPageTarget#onUnload [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197391 (https://phabricator.wikimedia.org/T92869) (owner: 10Alex Monk) [19:23:40] 10VisualEditor, 3VisualEditor 2014/15 Q3 blockers: Move oldid/timestamp inference from API module to client-side JS - https://phabricator.wikimedia.org/T92993#1126137 (10Catrope) 3NEW [19:24:02] 10VisualEditor, 10VisualEditor-Performance, 5Patch-For-Review, 3VisualEditor 2014/15 Q3 blockers: Retrieve page HTML directly from RESTbase - https://phabricator.wikimedia.org/T90374#1126144 (10Catrope) [19:24:03] 10VisualEditor, 3VisualEditor 2014/15 Q3 blockers: Move oldid/timestamp inference from API module to client-side JS - https://phabricator.wikimedia.org/T92993#1126145 (10Catrope) [19:24:09] 10VisualEditor, 3VisualEditor 2014/15 Q3 blockers: Move oldid/timestamp inference from API module to client-side JS - https://phabricator.wikimedia.org/T92993#1126137 (10Catrope) [19:24:48] 10VisualEditor, 3VisualEditor 2014/15 Q3 blockers: Move oldid/timestamp inference from API module to client-side JS - https://phabricator.wikimedia.org/T92993#1126149 (10Jdforrester-WMF) p:5Triage>3High [19:24:50] Hmm. [19:25:00] Krenair: Does ^^^ look like fun to you? ;-) [19:28:55] James_F, hm [19:29:01] :-) [19:29:09] I'll take that as a 'no'? [19:29:33] Krenair: sure, the sooner it goes in the fewer events I have to backfill / babysit [19:29:59] (03CR) 10Jforrester: [C: 032] Fix action.abort.mechanism value in ViewPageTarget#onUnload [extensions/VisualEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197393 (https://phabricator.wikimedia.org/T92869) (owner: 10Jforrester) [19:30:20] James_F, Number.parseInt( ve.init.target.doc.head.querySelector( '[rel="dc:replaces"]' ).getAttribute( 'resource' ).replace( 'mwr:revision/', '' ) ) [19:30:59] Krenair: 202313 [19:31:20] wait, I think that's wrong >_> [19:31:59] (03Merged) 10jenkins-bot: Fix action.abort.mechanism value in ViewPageTarget#onUnload [extensions/VisualEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197393 (https://phabricator.wikimedia.org/T92869) (owner: 10Jforrester) [19:32:36] James_F, looking at ve.init.target.doc.head.children that's the only obvious thing about revision numbers [19:32:44] but I'm pretty sure it refers to the previous revision [19:32:56] rather than the current oen [19:32:59] one* [19:34:32] edsanders: we'll start in a few mins, trevor, roan and moriel are still eating lunch [19:34:59] James_F, and time? [19:35:07] I don't think these things are already in the parsoid head [19:36:26] Krenair: the current revision is referenced in about="http://en.wikipedia.org/wiki/Special:Redirect/revision/651634886" [19:36:34] on the html element [19:39:49] (03PS2) 10Physikerwelt: Fix problems with the Search interface [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197316 [19:39:52] (03CR) 10jenkins-bot: [V: 04-1] Fix problems with the Search interface [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197316 (owner: 10Physikerwelt) [19:41:38] (03PS3) 10Physikerwelt: Fix problems with the Search interface [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197316 [19:41:41] (03CR) 10jenkins-bot: [V: 04-1] Fix problems with the Search interface [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197316 (owner: 10Physikerwelt) [19:42:07] (03PS13) 10Mooeypoo: Reorganize api calls and add sourceHandler and error message [extensions/TemplateData] - 10https://gerrit.wikimedia.org/r/194991 (https://phabricator.wikimedia.org/T91730) [19:42:50] (03CR) 10jenkins-bot: [V: 04-1] Reorganize api calls and add sourceHandler and error message [extensions/TemplateData] - 10https://gerrit.wikimedia.org/r/194991 (https://phabricator.wikimedia.org/T91730) (owner: 10Mooeypoo) [19:45:00] 10OOjs-UI, 10VisualEditor, 10VisualEditor-EditingTools, 7Regression: [Regression pre-wmf22 ]Template dialog has footer line crossing through button - https://phabricator.wikimedia.org/T92986#1126221 (10Ryasmeen) p:5Triage>3High [19:47:20] (03CR) 10Physikerwelt: [C: 032 V: 032] Fix problems with the Search interface [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197316 (owner: 10Physikerwelt) [19:51:20] 10VisualEditor: Visual Editor default configuration - https://phabricator.wikimedia.org/T90854#1126227 (10Syleas) You have to configure 2 wiki on the same server. In order to have only one folder with mediawiki code, I create symbolic link in the folder. The issue I have is even if i configure the correct parso... [19:56:18] 10VisualEditor: [Regression pre-wmf22] No gap between Button labels and icons in Media Settings>Advanced dialogs - https://phabricator.wikimedia.org/T93002#1126251 (10Ryasmeen) 3NEW [19:56:38] 10VisualEditor: [Regression pre-wmf22] No gap between Button labels and icons in Media Settings>Advanced Settings dialog - https://phabricator.wikimedia.org/T93002#1126259 (10Ryasmeen) [19:59:47] 10VisualEditor, 10VisualEditor-EditingTools, 10VisualEditor-Performance, 7Performance, 3VisualEditor 2014/15 Q3 blockers: On VisualEditor load, async pre-load all the TemplateData for the page to make editing templates speedier - https://phabricator.wikimedia.org/T66772#1126273 (10Krinkle) a:5Krinkle>... [20:00:34] 10VisualEditor, 10VisualEditor-EditingTools, 10VisualEditor-Performance, 7Performance, 3VisualEditor 2014/15 Q3 blockers: On VisualEditor load, async pre-load all the TemplateData for the page to make editing templates speedier - https://phabricator.wikimedia.org/T66772#682539 (10Krinkle) Unassigning for... [20:02:25] (03PS1) 10Jforrester: Load RL modules in one load.php request, rather than in two stages [extensions/VisualEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197402 (https://phabricator.wikimedia.org/T53569) [20:02:35] 10VisualEditor: When the invalid format if URL is used inside link inspector the "Open" button looks disabled but it is clickable and clicking on it opens another tab trying loading the page with invalid URL - https://phabricator.wikimedia.org/T93003#1126290 (10Ryasmeen) 3NEW [20:02:57] 10VisualEditor: When the invalid format of URL is used inside link inspector the "Open" button looks disabled but it is clickable and clicking on it opens another tab trying loading the page with invalid URL - https://phabricator.wikimedia.org/T93003#1126297 (10Ryasmeen) [20:05:42] 10VisualEditor: When the invalid format of URL is used inside link inspector the "Open" button looks disabled but it is clickable and clicking on it opens another tab trying loading the page with invalid URL - https://phabricator.wikimedia.org/T93003#1126305 (10Ryasmeen) [20:06:32] gwicke, thanks [20:06:35] James_F, gwicke Number.parseInt( ve.init.target.doc.children[0].getAttribute( 'about' ).match( /revision\/([0-9]{0,})$/ )[1] ); [20:07:51] Krenair: That seems to work for me. [20:08:12] don't really like having to parse the url like that [20:09:36] (03PS14) 10Mooeypoo: Reorganize api calls and add sourceHandler and error message [extensions/TemplateData] - 10https://gerrit.wikimedia.org/r/194991 (https://phabricator.wikimedia.org/T91730) [20:09:49] It's not great. [20:10:04] 10VisualEditor: Clicking on disabled "Open" button opens the same page in another tab where there is nothing in the textbox of link inspector - https://phabricator.wikimedia.org/T93004#1126337 (10Ryasmeen) 3NEW [20:10:14] why is this high priority, and a blocker? [20:10:27] Krinkle, I fixed the issues (+ the import issue) if it works for you, can you re-review? [20:10:43] oh this blocks restbase? [20:10:53] Krenair: Yeah. [20:11:05] Krenair: And we want this to be done for wmf23 at the latest. :-( [20:11:58] I wonder what problems RoanKattouw_away things we'd run into with this [20:12:02] it's marked as 8 points [20:15:45] It blocks using RESTbase directly [20:16:33] Because as I said there is already a very slight chance of a race condition in ApiVisualEditor.php but this makes it /likely/ there will be a race condition [20:16:40] ok [20:16:54] So we need the basetimestamp [20:16:59] and whether the revision is current or not [20:17:02] Yeah I don't think the revision timestamp is in the right now [20:17:09] Yes, for the old edit notice hting [20:17:22] Although that we could circumvent by having the API return the newest revid I guess [20:18:53] gwicke, ^ [20:19:02] just need basetimestamp [20:19:31] unless we want to parse the revision ID out on the server side and look up the timestamp :/ [20:21:12] That would incur another round-trip to the server though :S [20:22:02] 10VisualEditor: Lookup is returning invalid url in Autofill Citation dialog - https://phabricator.wikimedia.org/T93005#1126396 (10Ryasmeen) 3NEW [20:28:15] (03PS1) 10Physikerwelt: Fix problems with basex search support [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197405 [20:28:52] Krenair, RoanKattouw: can you help me understand the problem? do you want to make sure to get the very latest version, even if it's newer than the revision the user started from? [20:29:05] gwicke: So, right now [20:29:19] we need the timestamp of the revision for edit conflict detection [20:29:21] iirc [20:29:51] If you request the latest version, we first have ApiVisualEditor.php look in the DB what the revid and timestamp are, and then sending a request to Parsoid, which means there's a possible race [20:30:03] (which I guess we could close by explicitly requesting a specific revid) [20:30:22] Soon, we will be hitting RESTbase directly from the client, which makes this race much more likely [20:30:39] which race are you worried about? [20:30:48] And we can't first ask the server what the latest revid is and then ask RESTbase for that ID, because that defeats the purpose of parallelization [20:30:53] an edit happening after you lock down the oldid? [20:30:53] gwicke: A new revision appearing in between [20:30:57] Yeah [20:31:01] 10VisualEditor: Lookup is returning invalid url in Autofill Citation dialog - https://phabricator.wikimedia.org/T93005#1126427 (10Mooeypoo) This is expected behavior. When the user fills something in the 'lookup' field, the service expects a certain format. If the service doesn't recognize the format (say, the s... [20:31:58] we do offer a way to retrieve the latest revision, but we don't currently re-check with the api for each request [20:32:08] so it might be a couple of seconds behind [20:32:13] basically if you want parsoid html to be editable without having to make a separate api request for more data, you need to provide the basetimestamp [20:32:50] VE has it's own API so we just provide the basetimestamp ourselves right now, but we want to get it from parsoid instead [20:32:54] I'm pretty sure we do store the timestamp [20:33:13] So yeah [20:33:24] this is the last-modified timestamp as provided in the revision? [20:33:36] The RESTbase response needs to contain the revid (which it already does by semi-accident) and the timestamp associated with that revision [20:33:41] Yeah it's rev_timestamp [20:33:45] corresponding to that rev_id [20:34:04] Because the edit API is stupid and has a timestamp-based rather than revid-based conflict detection interface :( [20:34:17] yeah, that's annoying [20:34:30] Oh, crap [20:34:32] It's worse [20:34:36] We need the latest-edit timestamp of the page [20:34:55] So if we're doing an oldid request for old page content, we still need the timestamp of the last edit [20:34:57] sigh [20:35:28] Because the edit API is stupid and has a timestamp-based rather than revid-based conflict detection interface :( [20:35:31] OTOH... in that case I guess we can just get it from the MW API in parallel [20:35:37] I wonder who did that. [20:35:39] :) [20:35:39] yeah, I was just going to say [20:35:50] But in the non-oldid case, we do need them to correspond [20:35:51] if you ask both the mw api & restbase for the same revision you should be okay [20:36:01] If we believe we're editing the latest version, then we need basetimestamp to be that version's timestamp [20:36:08] Yeah [20:36:16] But we can only do that in the oldid !== undefined case [20:36:20] https://www.mediawiki.org/wiki/Special:Code/MediaWiki/31514 :D [20:36:44] RoanKattouw: is there a situation where the client doesn't know the oldid? [20:37:13] gwicke: Yes, if you're editing the latest version [20:37:24] To be fair that just passes it to the existing code that used timestamps [20:37:30] We do have wgCurRevId or whatever, but that is quite likely to be out of date [20:37:52] If the user opens a view page, spends 10 minutes reading the article, then clicks edit, we want to edit the latest version, not the version they read [20:37:55] RoanKattouw: isn't there some global JS variable that indicates the current view's revision? [20:38:00] (unless they were explicitly on an ?oldid=xyz view) [20:38:21] Which is why we explicitly disregard the JS variable with the latest revid [20:38:22] wgCurRevisionId [20:38:25] yeah [20:39:07] when do you need the timestamp [20:39:08] ? [20:39:26] could you get the content first & then figure out the timestamp from the revision on save? [20:39:48] Hmm yeah we could probably do that [20:40:07] So we should, [20:40:23] 1) extract the revid from the RESTbase response (which we can already do) [20:40:45] 10VisualEditor, 10Flow, 10Parsoid: ApiVisualEditor parsefragment behaves unexpectedly when context page has flow-board content model - https://phabricator.wikimedia.org/T92934#1126459 (10Mattflaschen) a:3Mattflaschen [20:40:55] 2) in parallel with the RESTbase request, ask the API for info about the latest revision; this'll tell us whether we need to show you the "this is an old version" edit notice [20:41:24] And oh wait there is no (3) because that's also basetimestamp in all cases [20:41:42] Or ... no [20:41:43] I'd prefer to avoid the API request just to get a timestamp :( [20:42:02] aren't you getting some other page metadata from the api already? [20:42:06] 3) if it was an old version but we didn't expect it to be one, we ... ugh [20:42:11] 10VisualEditor, 3VisualEditor 2014/15 Q3 blockers: Adding a template to an article on it.wp causes VE to freeze - https://phabricator.wikimedia.org/T90757#1126479 (10Mooeypoo) I can't reproduce this. Tested on - Win 8.1 Firefox 35 - Win 8.1 Opera 28 - Win7 Firefox 35 - Win7 Opera 27 - Ubuntu 14 Chrome 41.0.22... [20:42:13] Oh right [20:42:21] I'm being an idiot and gwicke is smart [20:42:33] We already have the ApiVisualEditor.php request, it can just be in there as part of the notices metadata [20:42:51] ah... I was only looking at getHTML :) [20:42:59] Right :) [20:43:10] So, the editingold notice is actually trivial to do client-side [20:43:25] the case where RB is out of date would be worth highlighting somehow, perhaps by logging it [20:43:35] (03PS1) 10Mattflaschen: Ensure wikitext is treated as such in PST [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197412 (https://phabricator.wikimedia.org/T92934) [20:43:49] gwicke: It'll just trip the conflict handling, same as if the edit happened while you were editing [20:44:18] From the user's perspective it's no different, but in code we have to be careful [20:44:31] So [20:44:33] RoanKattouw: we could also offer a way to ask for RB to try really hard to get you the latest revision by asking the API before returning content [20:45:00] but in the common case it would be faster to just request it & then retry from VE if it's not the latest revision [20:45:07] Meh that's not worth it IMO [20:45:15] How out-of-date is RB really gonna be? [20:45:33] OnEdit updates are in a high-prio queue [20:45:33] So what I think we should do is this: [20:45:48] so low-single-digit seconds delay + parse time [20:46:03] for oldid requests, we request a specific revid from RB, and we request metadata for that same specific revid from the API, and the API also returns the basetimestamp, nothing can go wrong there [20:46:23] unless the job queue loses a job or RB has some issue while processing the update [20:46:49] for non-oldid (we think we have the latest version) requests, we get the latest revid along with its metadata from the API, and RB gives us a response that also encodes a revid. In the weird case where those revids don't match, we have to do another API request [20:47:11] So in that case we essentially just do optimistic parallelization [20:47:14] *nod* [20:47:41] We request the two in parallel expecting they'll be the same, and if we get differing results, we stick with what RB gave us and redo the API request [20:47:59] you could also ask RB for the newer revision [20:48:08] The only thing we need to deal with there is if the revid RB returned is not the latest, basetimestamp needs to be /its/ timestamp rather than the actual latest timestamp [20:48:17] (03CR) 10Hashar: "Apparently caused by some error on Gerrit side. The Zuul merger code has:" [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197405 (owner: 10Physikerwelt) [20:48:24] gwicke: But if that revision is not yet in storage, it'll be generated on-demand, right? [20:48:27] Which will be slow [20:48:34] yes, it might be slow [20:48:37] Does RB consolidate Parsoid requests in that case? [20:49:17] Varnish consolidates external requests, but not internal update requests as those don't pass through varnish [20:49:33] OK so that's vulnerable to a stampede [20:49:36] and RB doesn't currently have native consolidation [20:49:43] And for large pages, already very slow [20:50:09] it's vulnerable to two parses in parallel, assuming varnish consolidation works [20:50:27] one from the internal update request, the other from all external requests [20:51:13] the trade-off here is speed vs. probability of edit conflict in the case of starting the edit with a known-old revision [20:51:37] Right [20:51:49] Well Ori said earlier that for a Parsoid cache miss, loading Obama takes like a minute [20:51:50] (03CR) 10Physikerwelt: "recheck" [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197405 (owner: 10Physikerwelt) [20:52:01] We're able to load Obama in 7-8 seconds with a cache hit [20:52:21] parsing obama takes ~10 seconds on my laptop [20:52:22] 10VisualEditor, 10VisualEditor-ContentEditable, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): Deleting from an empty paragraph to the end of an inline node throws an exception - https://phabricator.wikimedia.org/T72375#1126508 (10Mooeypoo) [20:52:23] 10VisualEditor, 10VisualEditor-DataModel, 3VisualEditor 2014/15 Q3 blockers: VisualEditor: Deleting from a paragraph-terminating node to a paragraph-terminating node (?) is throwing "Unbalanced set of replace operations found" - https://phabricator.wikimedia.org/T74579#1126507 (10Mooeypoo) [20:52:23] So I'm strongly leaning towards using slightly stale content rather than aggressively trying to get up-to-date content [20:52:26] a bit longer on prod hardware [20:52:32] OK, well still [20:52:40] plus network transfer etc [20:52:40] That still makes the load 2-3x slower [20:52:48] Well network transfer is constant [20:52:49] 10VisualEditor: Link inspector wont open after clicking placing cursor on another link while the link inspector is open, cannot inspect any other existing link for that session - https://phabricator.wikimedia.org/T93011#1126510 (10Ryasmeen) 3NEW [20:52:57] Cached or not, you have to transfer the same amount of data [20:53:02] 10VisualEditor: Link inspector wont open after clicking placing cursor on another link while the link inspector is open, cannot inspect any other existing link for that session - https://phabricator.wikimedia.org/T93011#1126517 (10Ryasmeen) p:5Triage>3High [20:53:08] yeah [20:53:23] but, the probability of out-of-date content is pretty low with restbase [20:53:23] 10VisualEditor: Link inspector wont open after placing cursor on another link while the link inspector is open, cannot inspect any other existing link for that session - https://phabricator.wikimedia.org/T93011#1126522 (10Ryasmeen) [20:53:24] 10VisualEditor: Link inspector wont open after placing cursor on another link while the link inspector is open, cannot inspect any other existing link for that session - https://phabricator.wikimedia.org/T93011#1126521 (10Catrope) Is there an error in the console? [20:53:32] much lower than with Varnishes alone [20:53:40] Sure [20:54:02] and most pages aren't actually as large as Obama [20:54:09] 10VisualEditor: Link inspector wont open after placing cursor on another link while the link inspector is open, cannot inspect any other existing link for that session - https://phabricator.wikimedia.org/T93011#1126510 (10Ryasmeen) nope , I dont see any error [20:54:46] Well still though [20:54:52] Even if we push RB hard for the latest version [20:54:53] RoanKattouw: we also have some ideas on how to minimize the probability of miss on edit-after-save [20:54:57] There's still the potential for a race condition [20:55:08] by starting the parse from restbase even before saving the article [20:55:12] gwicke: Do we write Parsoid HTML directly into RB? [20:55:20] (when saving via VE) [20:55:32] 10VisualEditor, 3VisualEditor 2014/15 Q3 blockers: Adding a template to an article on it.wp causes VE to freeze - https://phabricator.wikimedia.org/T90757#1126528 (10Elitre) 5Open>3Invalid a:3Elitre Can't reproduce anymore. Will shout if this happens again. [20:55:34] no, we still parse from scratch [20:55:41] OK [20:55:45] but right now we only start doing so after the save went through [20:55:54] (03CR) 10Physikerwelt: "recheck" [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197405 (owner: 10Physikerwelt) [20:56:04] Well anyway [20:56:14] There is a race condition that we do have to address [20:56:22] a future 'save HTML' end point could start parsing right away, while attempting a save to the PHP API in parallel [20:56:22] The API and RB can return information about different revisions [20:56:50] *nod* [20:57:24] another variation could be to require a RB response at least as recent as wgCurRevisionId [20:57:50] Hmm that would be good [20:58:01] I mean we do want to go forward from wgCurRevisionId if possible, but never back [20:58:04] That shouldn't happen [20:58:17] So yes, we should be able to say "give us revision N or newer" [20:58:39] yeah [20:58:44] RoanKattouw: https://gerrit.wikimedia.org/r/#/c/197402/ [20:59:35] James_F, your input needed? https://phabricator.wikimedia.org/T93005 [20:59:39] RoanKattouw: as a first approximation you could do the second request to RB if the oldid doesn't check out [20:59:43] (03CR) 10Catrope: [C: 032] Load RL modules in one load.php request, rather than in two stages [extensions/VisualEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197402 (https://phabricator.wikimedia.org/T53569) (owner: 10Jforrester) [20:59:59] until we have native support for such a conditional request in RB [21:00:14] gwicke: Yeah that makes sense. If the oldids from RB and the API differ, we rerequest based on the newer one [21:00:53] So if the API gave us something newer than RB did, we repeat the RB request, and if the API gave us something older, we repeat the API request [21:01:19] 10VisualEditor, 10VisualEditor-Performance: Current status and retrospective of VisualEditor performance - https://phabricator.wikimedia.org/T93012#1126533 (10ori) 3NEW a:3ori [21:01:48] RoanKattouw: *nod*, makes sense [21:01:58] (03Merged) 10jenkins-bot: Load RL modules in one load.php request, rather than in two stages [extensions/VisualEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197402 (https://phabricator.wikimedia.org/T53569) (owner: 10Jforrester) [21:02:21] (03PS1) 10Jforrester: Send Parsoid API request immediately when user clicks edit [extensions/VisualEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197414 (https://phabricator.wikimedia.org/T90372) [21:02:34] (03CR) 10Catrope: [C: 032] Send Parsoid API request immediately when user clicks edit [extensions/VisualEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197414 (https://phabricator.wikimedia.org/T90372) (owner: 10Jforrester) [21:02:42] 10VisualEditor, 10Citoid: Lookup is returning invalid url in Autofill Citation dialog - https://phabricator.wikimedia.org/T93005#1126548 (10Jdforrester-WMF) [21:03:01] Krenair: OK, so three screenfuls of discussion later :P (sorry about that) do you feel like it's clear what you need to do, or do you want me to summarize? [21:03:33] RoanKattouw: https://gerrit.wikimedia.org/r/#/c/196366/ [21:03:36] I wasn't watching the rest of that conversation [21:03:58] what needs to be done? [21:04:03] OK so [21:04:45] (03Merged) 10jenkins-bot: Send Parsoid API request immediately when user clicks edit [extensions/VisualEditor] (wmf/1.25wmf21) - 10https://gerrit.wikimedia.org/r/197414 (https://phabricator.wikimedia.org/T90372) (owner: 10Jforrester) [21:04:56] This is going to be a bit strange pre-RB split I guess [21:05:26] So I'm wondering if we should write this logic in PHP and then move it to JS immediately after, or just skip the former and do both at the same time [21:05:46] I think doing them both at the same time will probably be better [21:05:57] RoanKattouw: Then https://gerrit.wikimedia.org/r/#/c/197412/ then https://gerrit.wikimedia.org/r/#/c/197073/ [21:06:03] edsanders: Could you look at https://gerrit.wikimedia.org/r/#/c/197135/1/src/ui/dialogs/ve.ui.SpecialCharacterDialog.js please? [21:06:26] Krenair: So one thing you can do easily is break out where the editingold notice is added [21:06:57] We only need that for oldid requests [21:07:08] ...except if the oldid == the latest revid, grr [21:08:49] Krenair: So, if you add fields to the API result for the latest revision's ID and timestamp [21:09:06] Krenair: Then you can move the editingold notice logic to the client [21:09:28] RoanKattouw: slight longshot, but any chance you could review ? It has +1s from Trevor and Brion [21:10:31] right [21:12:05] Krenair: You could then also, with a bit more effort, move the basetimestamp determination to the client: basetimestamp = latest revid's timestamp EXCEPT if we are editing a revision that we thought was the latest one (i.e. non-oldid request) but turns out not to be, in that case it's that rev's timestamp; you'll need to extract the revid from the Parsoid and compare with the latest revid [21:12:10] RoanKattouw: https://gerrit.wikimedia.org/r/#/c/194338/ [21:12:11] (03CR) 10Physikerwelt: [C: 032 V: 032] Fix problems with basex search support [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197405 (owner: 10Physikerwelt) [21:12:15] (03CR) 10jenkins-bot: [V: 04-1] Fix problems with basex search support [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197405 (owner: 10Physikerwelt) [21:14:30] 10VisualEditor: Link inspector does not close while placing the cursor on the same line (for empty line) and also it shifts the cursor to the left after typing the first character on CE while the inspector is open - https://phabricator.wikimedia.org/T93013#1126573 (10Ryasmeen) 3NEW [21:16:38] RoanKattouw: https://gerrit.wikimedia.org/r/197415 [21:26:36] 10VisualEditor: Link inspector wont open after placing cursor on another link while the link inspector is open, cannot inspect any other existing link for that session - https://phabricator.wikimedia.org/T93011#1126619 (10Mooeypoo) a:3TrevorParscal [21:28:55] 10VisualEditor: Selecting an inspector while another inspector is open shows both inspector buttons as 'clicked' - https://phabricator.wikimedia.org/T93016#1126625 (10Mooeypoo) 3NEW [21:29:16] 10VisualEditor: Selecting an inspector while another inspector is open shows both inspector buttons as 'clicked' - https://phabricator.wikimedia.org/T93016#1126632 (10Mooeypoo) a:3TrevorParscal [21:44:10] RoanKattouw: Note that the style/script re-order is imho still considered experimental and whether it improves or worsens performance in browsers anno 2015 is still uncertain. [21:44:26] I reached out on our behalf with Ori to Paul Irish [21:44:29] Still pending response [21:44:48] (03PS9) 10Physikerwelt: New hook MathFormulaPostRender (replaces MathFormulaRendered) [extensions/Math] - 10https://gerrit.wikimedia.org/r/189348 [21:44:52] I guess it's fine to let it go to master, beta and group0 to better see how it goes, but beware it's pending further investigation. [21:45:04] Krinkle: yeah, that was my thinking [21:45:07] And also how it interacts with caching, I'm not 100% it doesn't cause regressions. [21:45:18] like the startup module mismatch is something I hadn't foreseen. [21:45:34] Krinkle: but that's very specific to mw1017 [21:45:48] ori: Yeah, but other stuff might similarly rely on it [21:46:28] ? [21:46:34] And existing usage of makeLoaderConditionalScript() should also be evaluated. [21:46:40] https://github.com/search?q=makeLoaderConditionalScript+@wikimedia&type=Code&utf8=%E2%9C%93 [21:47:12] Looks like it's minimal but worth a look [21:47:53] makeLoaderConditionalScript hasn't changed, btw [21:48:10] ori: Yeah, but it's meaning has. [21:48:34] ori: If used in the , it won't work since other stuff like mw.config will be missing. [21:48:36] it still outputs if (window.mw), which will continue to be true for everything except the inline scripts above the startup module [21:48:52] Yeah [21:49:38] ori: Hehe, we could define .push = Function#bind(Function#call) [21:49:41] :P [21:49:45] And kill performance btw [21:50:00] 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#1126670 (10Krenair) >>! In T89923#1122157, @Etonkovidova wrote:... [21:50:57] Krinkle: I think the next step is to remove blocking JavaScript from . If you look at the current crop of top modules, it is hard to justify that the functionality they provide warrants the impact they have [21:51:07] and to make the startup module a lot smaller [21:53:05] Yeah we need to reduce the top queue [21:53:22] Or split out the parts that really need to be in the top into separate modules [21:54:20] Krinkle: There's a startup module mismatch for 5 mins after deploy as well, because new pages adding to _mwq will be served with an old startup module that doesn't consume _mwq [21:54:35] It may need a "touch startup.js" after deploy to work at all [21:54:53] We could have avoided this problem by deploying the startup module change separately, but it's only 5 minutes [21:55:21] I can submit that change separately and cherry-pick it [21:56:24] That would wokr [21:56:48] (03CR) 10Catrope: [C: 032] Ensure wikitext is treated as such in PST [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197412 (https://phabricator.wikimedia.org/T92934) (owner: 10Mattflaschen) [21:57:11] is therea way to get a specific annotation from an annotationSet by its *class* rather than symbolic name ...? [21:57:54] mooeypoo: See getAnnotationsByName [21:57:58] Oh, crap [21:58:03] Ahm, well there's a filter method... [21:58:14] hm [21:58:17] Look at the /implementation/ of getAnnotationsByName and you'll see how [21:58:21] okay, is there a way to get the name from the class [21:58:33] .static.name [21:58:38] hm [21:58:56] Or if you want to include subclasses, you could do .filter( function ( annotation ) { return annotation instanceof ve.dm.WhateverAnnotation; } ); [21:58:57] (03Merged) 10jenkins-bot: Ensure wikitext is treated as such in PST [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197412 (https://phabricator.wikimedia.org/T92934) (owner: 10Mattflaschen) [21:59:13] ori: I agree. Most of our top queue things don't need to be before the content. Except for certain style modules. [21:59:27] ori: Howeever a lot of our top queue things do need to run before the page is rendered. [21:59:40] To avoid a flash [22:00:00] Which is currently done by loading in the top and enqueing for dom-ready [22:00:12] which fires synchronously before the end of with jQueryready() [22:00:27] Krinkle: we could hide the body until the the end of [22:00:53] opacity transition [22:00:54] :D [22:01:18] (03CR) 10Cscott: [C: 031] "Looks okay, but since you are now passing the full parser context, extensions using the hook could break whenever the parser context API c" [extensions/Math] - 10https://gerrit.wikimedia.org/r/189348 (owner: 10Physikerwelt) [22:01:44] from top queue: .client-js body { opacity: 0; transition: opacity 1s ease; } and a setTimeout/on-ready race to addClass content-show [22:01:58] ori: Yeah, that way images can start loading [22:01:59] interesting [22:02:01] yep [22:02:08] And let's also re-evaluate our top queue stuff [22:02:11] and see what we can move [22:02:18] ori: btw, I created mw.hook for this purpose as well [22:02:31] to allow things to run sooner [22:02:36] we have to be bolder about mediawiki.legacy.*, IMO [22:02:40] ori: Also remember the async-top queue experimentation we did last year [22:02:44] that coudl be interesting to revive [22:02:53] RoanKattouw: ^ [22:02:59] What're we left on with that [22:03:14] Oh ahm [22:03:15] errr. not async top queue [22:03:17] What was that again? [22:03:21] I mean async bottom queue starting from the top [22:03:26] Oh that [22:03:33] MatmaRex: do you have any time to add something to your geshi RL work from last year? [22:03:36] That got reverted because it supposedly caused intermittent issues [22:03:45] RoanKattouw: disabled, not reverted. But yeah [22:03:47] It's still there [22:03:51] though no idea in what shape [22:03:51] ori: yes, tomorrow [22:04:11] cool, I'll file a task. [22:04:21] Krinkle: Could you review https://gerrit.wikimedia.org/r/#/c/197073/ ? [22:04:24] thanks, assign to me if it needs me, please [22:05:16] (03CR) 10Catrope: [C: 031] "Looks good to me, but you should address James's comment." [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196366 (https://phabricator.wikimedia.org/T71727) (owner: 10Bartosz Dziewoński) [22:07:12] RoanKattouw: setTimeout(, 1800) [22:07:12] seconds [22:07:58] 10VisualEditor: Re-arranged (drag-drop) Categories become "detached item" after clicking 'Cancel' button - https://phabricator.wikimedia.org/T92861#1126694 (10Krenair) Actually on step 4, no categories are displayed. [22:08:58] Is etonkovidova around? [22:11:02] Krenair: She's WFH [22:11:16] But apparently not IRC :( [22:11:35] (03CR) 10Hashar: "recheck" [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197405 (owner: 10Physikerwelt) [22:12:39] MatmaRex: Do you want me to fix 196366? [22:12:45] MatmaRex: (Or are you already doing?) [22:13:07] James_F: you can now, or i will in an hour [22:13:11] (03CR) 10Physikerwelt: "@Cscott Yes, but that's good. Maybe someone figures out how to write a clever equation numbering extension. This should be unrelated to th" [extensions/Math] - 10https://gerrit.wikimedia.org/r/189348 (owner: 10Physikerwelt) [22:13:11] I'll do. [22:15:46] 10VisualEditor: Re-arranged (drag-drop) Categories become "detached item" after clicking 'Cancel' button - https://phabricator.wikimedia.org/T92861#1126714 (10Krenair) And on beta I seem to get different categories back at random. [22:16:07] (03CR) 10Hashar: "@Physikerwelt The Zuul repo was corrupted. I have dished it so that Zuul can reclone it from Gerrit. Works as intended now." [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197405 (owner: 10Physikerwelt) [22:20:29] (03PS3) 10Jforrester: Insert a new references list immediately, rather than showing a dialog [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/196366 (https://phabricator.wikimedia.org/T71727) (owner: 10Bartosz Dziewoński) [22:21:24] RoanKattouw: +2 https://gerrit.wikimedia.org/r/196366 please. :-) [22:21:35] (03PS1) 10Mooeypoo: Expand annotation beyond a word if it exists [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197425 (https://phabricator.wikimedia.org/T86399) [22:21:46] RoanKattouw, I could use your opinion on this ^^ [22:23:26] (03PS2) 10Mooeypoo: Expand annotation beyond a word if it exists [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197425 (https://phabricator.wikimedia.org/T86399) [22:23:53] (03CR) 10Catrope: [C: 04-1] "I once saw this when pasting in very complex content in Chrome, and couldn't reproduce it. But I did find out that this happens because fi" [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197375 (https://phabricator.wikimedia.org/T92969) (owner: 10MarkAHershberger) [22:24:10] 10VisualEditor, 10VisualEditor-ContentEditable, 5Patch-For-Review: VE in IE is stripping the contents of tags from pasted text - https://phabricator.wikimedia.org/T92969#1126731 (10Catrope) a:3Esanders [22:24:30] 10VisualEditor, 10Flow, 10Parsoid, 5WMF-deploy-2015-03-18_(1.25wmf22): ApiVisualEditor parsefragment behaves unexpectedly when context page has flow-board content model - https://phabricator.wikimedia.org/T92934#1126733 (10Jdforrester-WMF) 5Open>3Resolved [22:24:38] (03PS1) 10Trevor Parscal: Don't try to remove stuff we never added [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197426 (https://phabricator.wikimedia.org/T93011) [22:25:32] 10VisualEditor, 10VisualEditor-EditingTools, 5Patch-For-Review, 5WMF-deploy-2015-03-18_(1.25wmf22): Link inspector won't open after placing cursor on another link while the link inspector is open, cannot inspect any other existing link for that session - https://phabricator.wikimedia.org/T93011#1126739 (10J... [22:25:38] 10VisualEditor: Selecting an inspector while another inspector is open shows both inspector buttons as 'clicked' - https://phabricator.wikimedia.org/T93016#1126741 (10TrevorParscal) p:5Triage>3High [22:25:39] RoanKattouw, have any thoughts on how I would pass information from the target constructor to a widget (not necessarily directly)? [22:25:47] (03CR) 10Jforrester: [C: 031] Don't try to remove stuff we never added [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197426 (https://phabricator.wikimedia.org/T93011) (owner: 10Trevor Parscal) [22:25:53] 10VisualEditor, 3VisualEditor 2014/15 Q3 blockers: Selecting an inspector while another inspector is open shows both inspector buttons as 'clicked' - https://phabricator.wikimedia.org/T93016#1126625 (10TrevorParscal) [22:26:02] Right now we can have multiple targets on the page with different values here (it's a list of posters to the topic). [22:31:29] (03PS2) 10Catrope: Don't try to remove stuff we never added [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197426 (https://phabricator.wikimedia.org/T93011) (owner: 10Trevor Parscal) [22:33:01] Oh, is it just this.target? [22:36:43] (03CR) 10Jforrester: [C: 032] New hook MathFormulaPostRender (replaces MathFormulaRendered) [extensions/Math] - 10https://gerrit.wikimedia.org/r/189348 (owner: 10Physikerwelt) [22:37:56] (03Merged) 10jenkins-bot: New hook MathFormulaPostRender (replaces MathFormulaRendered) [extensions/Math] - 10https://gerrit.wikimedia.org/r/189348 (owner: 10Physikerwelt) [22:47:02] (03PS1) 10Physikerwelt: Update to new hook [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197429 [22:47:16] (03CR) 10jenkins-bot: [V: 04-1] Update to new hook [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197429 (owner: 10Physikerwelt) [22:47:26] (03PS2) 10Physikerwelt: Update to new hook [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197429 [22:47:36] (03CR) 10jenkins-bot: [V: 04-1] Update to new hook [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197429 (owner: 10Physikerwelt) [22:48:16] (03PS3) 10Mooeypoo: Expand annotation beyond a word if it exists [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197425 (https://phabricator.wikimedia.org/T86399) [22:49:29] RoanKattouw: https://gerrit.wikimedia.org/r/#/c/197426/ and https://gerrit.wikimedia.org/r/197425 ktnxba]i. [22:49:51] [22:49:55] :-P [22:50:51] (03PS3) 10Catrope: Don't try to remove stuff we never added [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197426 (https://phabricator.wikimedia.org/T93011) (owner: 10Trevor Parscal) [22:51:37] (03CR) 10Catrope: [C: 032] Don't try to remove stuff we never added [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197426 (https://phabricator.wikimedia.org/T93011) (owner: 10Trevor Parscal) [22:52:28] (03PS1) 10Trevor Parscal: Auto-close inspectors [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197432 (https://phabricator.wikimedia.org/T93016) [22:52:40] 10VisualEditor, 10VisualEditor-EditingTools, 10VisualEditor-MediaWiki-Links, 5Patch-For-Review, 3VisualEditor 2014/15 Q3 blockers: Wordbreak detection is faulty for selection starting just up-page of a link annotation - https://phabricator.wikimedia.org/T86399#1126799 (10Mooeypoo) a:5dchan>3Mooeypoo [22:53:30] 10VisualEditor, 10VisualEditor-EditingTools, 5Patch-For-Review, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): Link inspector won't open after placing cursor on another link while the link inspector is open, cannot inspect any other... - https://phabricator.wikimedia.org/T93011#1126801 [22:54:08] 10VisualEditor, 10VisualEditor-EditingTools, 5Patch-For-Review, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): Link inspector won't open after placing cursor on another link while the link inspector is open, cannot inspect any other... - https://phabricator.wikimedia.org/T93011#1126510 [22:54:17] (03PS1) 10Cmcmahon: [BrowserTest] update Cite test for new UI [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197433 [22:55:09] (03CR) 10Catrope: [C: 032] Auto-close inspectors [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197432 (https://phabricator.wikimedia.org/T93016) (owner: 10Trevor Parscal) [22:55:34] (03CR) 10Ryasmeen: [C: 032] [BrowserTest] update Cite test for new UI [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197433 (owner: 10Cmcmahon) [22:56:07] 10VisualEditor, 10VisualEditor-EditingTools, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): Selecting an inspector while another inspector is open shows both inspector buttons as 'clicked' - https://phabricator.wikimedia.org/T93016#1126808 (10Jdforrester-WMF) 5Open>3Resolved [22:56:52] James_F, do we have a bug for selecting a citation node kind of... [22:56:56] ruining the whole page? [22:57:05] Krenair: ? No. [22:57:40] (03Merged) 10jenkins-bot: Don't try to remove stuff we never added [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197426 (https://phabricator.wikimedia.org/T93011) (owner: 10Trevor Parscal) [22:57:42] (03Merged) 10jenkins-bot: Auto-close inspectors [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197432 (https://phabricator.wikimedia.org/T93016) (owner: 10Trevor Parscal) [22:57:46] (03PS3) 10Physikerwelt: Update to new hook [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197429 [22:57:56] Krenair: Also, can you run the SWAT? It's got two things of Roan's in it as well as your (analytics) back-port. [22:58:18] Assuming you can check it [22:58:26] I've got a meeting. :-( [22:58:43] Checking == can you load and diff an edit with VE. If that works, everything works. Probably. [22:58:53] (03CR) 10Catrope: Expand annotation beyond a word if it exists (031 comment) [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197425 (https://phabricator.wikimedia.org/T86399) (owner: 10Mooeypoo) [22:59:08] I can check afterwards but not until 00:00 UTC. [22:59:09] (03CR) 10jenkins-bot: [V: 04-1] Update to new hook [extensions/MathSearch] - 10https://gerrit.wikimedia.org/r/197429 (owner: 10Physikerwelt) [22:59:12] (03PS4) 10Mooeypoo: Expand annotation beyond a word if it exists [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197425 (https://phabricator.wikimedia.org/T86399) [22:59:29] (03Merged) 10jenkins-bot: [BrowserTest] update Cite test for new UI [extensions/VisualEditor] - 10https://gerrit.wikimedia.org/r/197433 (owner: 10Cmcmahon) [22:59:59] RoanKattouw: https://gerrit.wikimedia.org/r/#/c/197425/3..4/src/ui/inspectors/ve.ui.AnnotationInspector.js [23:00:59] Turned out not to be that easy, this.target is not inherited [23:02:22] (03PS1) 10Trevor Parscal: Limit the height of context items [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197436 (https://phabricator.wikimedia.org/T91337) [23:02:40] (03PS2) 10Jforrester: Limit the height of context items [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197436 (https://phabricator.wikimedia.org/T91337) (owner: 10Trevor Parscal) [23:02:44] (03PS3) 10Catrope: Limit the height of context items [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197436 (https://phabricator.wikimedia.org/T91337) (owner: 10Trevor Parscal) [23:02:50] (03CR) 10Jforrester: [C: 032] Limit the height of context items [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197436 (https://phabricator.wikimedia.org/T91337) (owner: 10Trevor Parscal) [23:03:31] mooeypoo, or TrevorParscal, do you know how to get the target from an inspector? [23:03:55] superm401: What objects do have a reference to the target? The ui.Surface maybe? [23:03:55] 10VisualEditor, 10VisualEditor-EditingTools, 10VisualEditor-MediaWiki-References, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): Set a maxsize on the context menu display for references, as it can go pretty bad with nested nodes lik... - https://phabricator.wikimedia.org/T91337#1126831 [23:04:01] 10VisualEditor, 10VisualEditor-EditingTools, 10VisualEditor-MediaWiki-References, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): Set a maxsize on the context menu display for references, as it can go pretty bad with nested nodes lik... - https://phabricator.wikimedia.org/T91337#1080429 [23:04:33] (03PS5) 10Mooeypoo: Expand annotation beyond a word if it exists [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197425 (https://phabricator.wikimedia.org/T86399) [23:05:12] (03Merged) 10jenkins-bot: Limit the height of context items [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197436 (https://phabricator.wikimedia.org/T91337) (owner: 10Trevor Parscal) [23:05:20] 10VisualEditor, 10VisualEditor-MediaWiki, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): [Regression pre-wmf22] Link icon is missing form the VE toolbar - https://phabricator.wikimedia.org/T92576#1126837 (10Jdforrester-WMF) [23:05:24] 10OOjs-UI, 10OOjs-UI-0.9.1, 10VisualEditor, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): Pop-up "You are not logged in." warning cannot be closed via the "X" on touch devices - https://phabricator.wikimedia.org/T91757#1126838 (10Jdforrester-WMF) [23:05:33] 10OOjs-UI, 10OOjs-UI-0.9.1, 10VisualEditor, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): Pop-up "You are not logged in." warning cannot be closed via the "X" on touch devices - https://phabricator.wikimedia.org/T91757#1095543 (10Jdforrester-WMF) [23:05:35] RoanKattouw, doesn't look like it. [23:05:39] 10VisualEditor, 10VisualEditor-MediaWiki, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): [Regression pre-wmf22] Link icon is missing form the VE toolbar - https://phabricator.wikimedia.org/T92576#1115129 (10Jdforrester-WMF) [23:05:56] 10OOjs-UI, 10OOjs-UI-0.9.1, 3VisualEditor 2014/15 Q3 blockers, 5WMF-deploy-2015-03-18_(1.25wmf22): OOjs UI: Make the toolbar narrower when the window is narrow (responsive layout) - https://phabricator.wikimedia.org/T52227#581319 (10Jdforrester-WMF) [23:06:00] (03CR) 10jenkins-bot: [V: 04-1] Expand annotation beyond a word if it exists [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197425 (https://phabricator.wikimedia.org/T86399) (owner: 10Mooeypoo) [23:06:09] superm401: something like this.getManager().getSurface() to get to ve.ui.Surface, but the target isn't known by the ve.ui.Surface - and I'm suspicious about what you are trying to do [23:06:26] :) [23:06:29] you likely need to rethink where you are putting code [23:06:37] ok, i dealt with the junk i had to do, can do real work now. [23:07:00] :) [23:07:23] TrevorParscal, I'm actually just trying to pass through some data in a clean way. Right now I'm passing it to the FlowVeTarget constructor, but I'm willing to rethink that. [23:07:36] TrevorParscal, basically, when you click a reply box, we spin up a FlowVeTarget. [23:07:51] And when you click a particular toolbar button, it opens an inspector, that initializes a widget. [23:08:01] That widget in turn does auto-complete, and that needs to use some topic-specific data. [23:08:07] Specifically, the list of posts in the topic. [23:08:14] (03PS6) 10Mooeypoo: Expand annotation beyond a word if it exists [VisualEditor/VisualEditor] - 10https://gerrit.wikimedia.org/r/197425 (https://phabricator.wikimedia.org/T86399) [23:08:24] you should look at how ve.ui.SurfaceWidget does stuff [23:08:29] you might not need a target [23:10:12] targets are really not needed by ve.ui.Surface, they are just some common code for firing up ve on a page, and you likely need to do everything WAY differently [23:10:19] brb, meeting [23:10:29] We're already not using the MW target. [23:10:42] We're inheriting from the standalone target. [23:34:36] TrevorParscal, https://gerrit.wikimedia.org/r/#/c/197073/ [23:51:00] (03PS1) 10Bartosz Dziewoński: demo: Add one more toolbars demo [oojs/ui] - 10https://gerrit.wikimedia.org/r/197441 [23:51:18] TrevorParscal: will that do, or do you want something more robust? ^ [23:53:56] 10VisualEditor, 10VisualEditor-ContentEditable, 5Patch-For-Review: VE in IE is stripping the contents of tags from pasted text - https://phabricator.wikimedia.org/T92969#1126953 (10Esanders) The cause here are the nested font tags. VE can't handle these and converts them the aliens, which the paste lo...