Page MenuHomePhabricator

marcoil (Marc Ordinas i Llopis)
Disabled

Projects

User does not belong to any projects.

User Details

User Since
Oct 28 2014, 2:32 PM (516 w, 7 h)
Roles
Disabled
IRC Nick
marcoil
LDAP User
Marcoil
MediaWiki User
Unknown

Recent Activity

Aug 13 2015

marcoil created T108952: References with "equal" entities in their name aren't considered equal when numbering them.
Aug 13 2015, 3:11 PM · Parsoid, VisualEditor-MediaWiki-References, VisualEditor

Jul 16 2015

marcoil removed a watcher for Parsing-Team--ARCHIVED: marcoil.
Jul 16 2015, 3:07 PM

Jun 29 2015

marcoil added a comment to T51904: Support "substituting" templates in transclusion dialog.

I'm not sure the parsoid API from T73161 is quite what we were looking for. The idea had been to allow the user to mark a template to be substituted upon save, but with this we'd have to substitute an entire transclusion (immediately?)

Jun 29 2015, 6:53 AM · MW-1.40-notes (1.40.0-wmf.10; 2022-11-14), VisualEditor, VisualEditor-EditingTools

Jun 16 2015

TheDJ awarded T69540: Produce/preserve the metadata about additional ResourceLoader modules required by extension tags a Grey Medal token.
Jun 16 2015, 10:35 AM · Parsoid, WMF-deploy-2015-06-09_(1.26wmf9), Parsoid-Rendering

Jun 9 2015

marcoil removed a member for Service-Architecture: marcoil.
Jun 9 2015, 3:35 PM
marcoil removed a watcher for Service-Architecture: marcoil.
Jun 9 2015, 3:35 PM
marcoil removed a watcher for Parsoid: marcoil.
Jun 9 2015, 3:21 PM
marcoil placed T49136: Create tests for subpage support up for grabs.
Jun 9 2015, 2:09 PM · Parsoid-Tests, Parsoid
marcoil closed T56342: Add a performance stat for serialized DOM without data-parsoid to the rt_testing server as Declined.

The new performance counters integrated into Parsoid supersede this.

Jun 9 2015, 2:09 PM · Parsoid, Parsoid-Tests
marcoil placed T60025: Unify Parsoid testing with a single top-level test.js script up for grabs.
Jun 9 2015, 2:08 PM · Parsoid, Parsoid-Tests
marcoil placed T88291: Templates with template name coming from expansion don't get data-mw target assigned up for grabs.
Jun 9 2015, 2:08 PM · Parsoid
marcoil placed T57438: Test DOM fragment reuse in round-trip testing up for grabs.
Jun 9 2015, 2:07 PM · Parsoid, Parsoid-Tests
marcoil placed T57588: Improve html2html newline normalization up for grabs.
Jun 9 2015, 2:07 PM · Parsoid, Parsoid-Tests
marcoil placed T71870: Enable DOM editing of transclusion parameters up for grabs.
Jun 9 2015, 2:07 PM · Parsoid, Parsoid-DOM
marcoil placed T72096: Category links seem to be always localized on roundtripping up for grabs.
Jun 9 2015, 2:06 PM · Parsoid
marcoil placed T76962: Self-closing HTML tags shouldn't be accepted up for grabs.
Jun 9 2015, 2:06 PM · Parsoid
marcoil placed T85937: Parallelize template or template parameter expansion up for grabs.
Jun 9 2015, 2:04 PM · Parsoid
marcoil placed T86271: Existing categories that are preceded by new/modified content should be forced onto a new line up for grabs.
Jun 9 2015, 2:04 PM · Patch-For-Review, Parsoid-Serializer, Parsoid

Jun 2 2015

marcoil updated subscribers of T69540: Produce/preserve the metadata about additional ResourceLoader modules required by extension tags.

A little status update:

Jun 2 2015, 5:08 PM · Parsoid, WMF-deploy-2015-06-09_(1.26wmf9), Parsoid-Rendering

May 27 2015

marcoil added a comment to T100209: Copied reference is malformed - page cannot be saved or switched to source editing.

This also happened in the Catalan Wikipedia, there's a transcript of the error at https://ca.wikipedia.org/wiki/Topic:Shssmsofmcgkqhmv .

May 27 2015, 9:56 AM · VisualEditor-MediaWiki-References, VisualEditor-CopyPaste, VisualEditor

May 26 2015

marcoil closed T93824: HTML tags represented with escaped < and > chars aren't always nowikied properly as Resolved.

Deployed in https://www.mediawiki.org/wiki/Parsoid/Deployments#Monday.2C_May_18.2C_2015_around_1:10pm_PST:_Y_Deployed_8ed3e503

May 26 2015, 10:21 AM · Patch-For-Review, Parsoid-Serializer, Parsoid-Nowiki, Parsoid

May 21 2015

marcoil added a comment to T86782: Use CSS to style Parsoid's Cite extension output.

Note that there are usecases where we need to display the references in two languages in same wiki page. CX has to show source language content and target language content with two different references style. So if we load the style based on content language, we get style for only one language. How to solve this issue?

May 21 2015, 1:57 PM · MW-1.40-notes (1.40.0-wmf.23; 2023-02-13), User-notice-archive, Epic, WMF-deploy-2015-07-07_(1.26wmf13), WMF-deploy-2015-06-09_(1.26wmf9), Parsoid-Rendering, RESTBase, Collaboration-Team-Triage, StructuredDiscussions, Language-Team, Patch-For-Review, Cite, Parsoid

May 14 2015

marcoil added a comment to T98995: Extension and transclusion content is no longer being reused from cache for parse jobs from the job queue.

We could just concatenate the target and the arguments in wikitext, or even just serialize it back to wikitext at that point (which would take more time).

May 14 2015, 10:03 AM · Platform Team Legacy (Watching / External), Services (watching), Parsoid

May 13 2015

marcoil added a comment to T93824: HTML tags represented with escaped < and > chars aren't always nowikied properly.

Are we sure about the second case (&lt;a&gt;…)? Given that explicit <a> tags aren't allowed in wikitext, Parsoid already encodes it correctly:

echo '&lt;a rel="mw:ExtLink" href="http://www.google.com"&g t;Google&lt;/a&gt;' | node parse --html2html
…
<p data-parsoid='{"dsr":[0,59,0,0]}'>&lt;a rel="mw:ExtLink" href="http://www.google.com">Google&lt;/a></p>
May 13 2015, 3:55 PM · Patch-For-Review, Parsoid-Serializer, Parsoid-Nowiki, Parsoid
marcoil claimed T93824: HTML tags represented with escaped < and > chars aren't always nowikied properly.
May 13 2015, 3:16 PM · Patch-For-Review, Parsoid-Serializer, Parsoid-Nowiki, Parsoid

May 7 2015

marcoil added a comment to T94509: Space before colon in French is wrapped in mw:Placeholder wrapper.

What's the special type for it? mw:DisplaySpace?

May 7 2015, 3:08 PM · Parsoid-DOM, Parsoid

May 6 2015

marcoil claimed T96090: {{''}} is parsed as plain text, not a transclusion.
May 6 2015, 3:18 PM · Parsoid, VisualEditor 2014/15 Q4 blockers

May 1 2015

marcoil closed T70511: VisualEditor: Adding nowiki tags in unrelated edit as Resolved.

I'm unable to reproduce. I suppose this was fixed in the round of nowiki work last quarter. Please reopen if seen again.

May 1 2015, 10:05 AM · VisualEditor 2014/15 Q4 blockers, Parsoid-Nowiki, Parsoid, VisualEditor

Apr 30 2015

marcoil claimed T70511: VisualEditor: Adding nowiki tags in unrelated edit.

Investigating…

Apr 30 2015, 4:04 PM · VisualEditor 2014/15 Q4 blockers, Parsoid-Nowiki, Parsoid, VisualEditor
marcoil added a comment to T94509: Space before colon in French is wrapped in mw:Placeholder wrapper.

On IRC discussions, it was argued that mw:Entity wasn't the best typeof to use in this case. A fer other possibilities were discussed, including:

  • Create a new typeof like mw:DisplayHack, mw:SpaceBeforeColon, etc.
  • Add a new typeof to an exiting one, i.e. typeof="mw:Placeholder mw:DisplayHack".
  • Just have VE not treat this case as a mw:Placeholder and allow the user to delete them.
Apr 30 2015, 9:26 AM · Parsoid-DOM, Parsoid

Apr 29 2015

marcoil added a comment to T86782: Use CSS to style Parsoid's Cite extension output.

Preliminary patches are available in gerrit. They are all considered WIP, but pushing them to get early feedback on the general approach.

Apr 29 2015, 4:45 PM · MW-1.40-notes (1.40.0-wmf.23; 2023-02-13), User-notice-archive, Epic, WMF-deploy-2015-07-07_(1.26wmf13), WMF-deploy-2015-06-09_(1.26wmf9), Parsoid-Rendering, RESTBase, Collaboration-Team-Triage, StructuredDiscussions, Language-Team, Patch-For-Review, Cite, Parsoid

Apr 28 2015

marcoil added a comment to T97141: PDF export on el.wp returns content from random other Wikipedias and not from article itself.

Seems related to T97155.

Apr 28 2015, 1:50 PM · OCG-PDFRenderer

Apr 27 2015

marcoil added a comment to T86782: Use CSS to style Parsoid's Cite extension output.

For completeness, here's a screenshot with VE editing the new HTML and CSS, patched so that it copies the new HTML over:

cite_test_ve_new_css_patched.png (923×867 px, 62 KB)

As shown, the links are styled using CSS so that special groups are shown (like ɑ and β).

Apr 27 2015, 6:03 PM · MW-1.40-notes (1.40.0-wmf.23; 2023-02-13), User-notice-archive, Epic, WMF-deploy-2015-07-07_(1.26wmf13), WMF-deploy-2015-06-09_(1.26wmf9), Parsoid-Rendering, RESTBase, Collaboration-Team-Triage, StructuredDiscussions, Language-Team, Patch-For-Review, Cite, Parsoid

Apr 24 2015

marcoil added a comment to T86782: Use CSS to style Parsoid's Cite extension output.

A little update after the latest patch available at https://gerrit.wikimedia.org/r/#/c/170936/, which includes the new stuff done in master such as using data-mw.body.id, removing state from the Cite extension, etc.

Apr 24 2015, 4:09 PM · MW-1.40-notes (1.40.0-wmf.23; 2023-02-13), User-notice-archive, Epic, WMF-deploy-2015-07-07_(1.26wmf13), WMF-deploy-2015-06-09_(1.26wmf9), Parsoid-Rendering, RESTBase, Collaboration-Team-Triage, StructuredDiscussions, Language-Team, Patch-For-Review, Cite, Parsoid
marcoil closed T95794: Unnecessary nowiki in an indent-pre block as Resolved.

Deployed in https://www.mediawiki.org/wiki/Parsoid/Deployments#Wednesday.2C_April_22.2C_2015_around_1:05pm_PST:_Y_Deployed_3311936a.

Apr 24 2015, 10:13 AM · Patch-For-Review, Parsoid-Nowiki, Parsoid

Apr 21 2015

marcoil claimed T94509: Space before colon in French is wrapped in mw:Placeholder wrapper.
Apr 21 2015, 10:44 AM · Parsoid-DOM, Parsoid

Apr 20 2015

marcoil claimed T95794: Unnecessary nowiki in an indent-pre block.

It just needs to replace "\n" with "\n " and tokenize it.

Apr 20 2015, 10:04 AM · Patch-For-Review, Parsoid-Nowiki, Parsoid

Apr 17 2015

marcoil added a comment to T95794: Unnecessary nowiki in an indent-pre block.

After a little investigation: in wts.escapeWikitext.js, WEHP.hasWikitextTokens calls the tokenizer with the right SOL state, but the second line is tokenized to a listItem TagTk, which provokes it being surrounded with <nowiki>s. Maybe there should be a way for the tokenizer to act differently if the whole text is in pre?

Apr 17 2015, 3:56 PM · Patch-For-Review, Parsoid-Nowiki, Parsoid

Apr 8 2015

marcoil added a comment to T94509: Space before colon in French is wrapped in mw:Placeholder wrapper.

I just tried using normal whitespaces and (besides a few changing selser blacklist results) everything seems to work OK. There's even one test for T71950 that now passes.
Changing the mw:Placeholder to mw:Entity should also work, but it triggers a lot of false failing tests due to differences in whitespace, which we don't normalize out yet.

Apr 8 2015, 4:05 PM · Parsoid-DOM, Parsoid

Apr 2 2015

marcoil created T94862: Refactor parserTests.js.
Apr 2 2015, 5:20 PM · Technical-Debt, Parsoid-Tests, Parsoid
marcoil created T94861: Ignore <references /> tag added by Parsoid Cite extension in round-trip testing results.
Apr 2 2015, 5:19 PM · Parsoid, Parsoid-Tests
marcoil created T94859: Normalize wikitext before comparing in round-trip testing to improve error classification.
Apr 2 2015, 5:17 PM · Parsoid-Tests, Parsoid

Mar 31 2015

marcoil closed T63165: Parsoid's Cite extension sometimes produces different ids for the same <ref> source as Resolved.
Mar 31 2015, 9:55 AM · Patch-For-Review, Parsoid, Parsoid-Tests
marcoil closed T63165: Parsoid's Cite extension sometimes produces different ids for the same <ref> source, a subtask of T93715: [EPIC] Make Parsoid HTML output completely deterministic, as Resolved.
Mar 31 2015, 9:55 AM · Epic, RESTBase, Parsoid

Mar 27 2015

marcoil closed T93315: RT-testing: Update roundtrip-test.js to use the v2 API as Resolved.
Mar 27 2015, 5:01 PM · VisualEditor 2014/15 Q3 blockers, Patch-For-Review, Parsoid-Tests, Parsoid

Mar 26 2015

marcoil removed a project from T93715: [EPIC] Make Parsoid HTML output completely deterministic: Patch-For-Review.
Mar 26 2015, 11:28 AM · Epic, RESTBase, Parsoid

Mar 25 2015

marcoil placed T93715: [EPIC] Make Parsoid HTML output completely deterministic up for grabs.

Placing up for grabs as the Cite part is being dealt with at T63165.

Mar 25 2015, 6:05 PM · Epic, RESTBase, Parsoid
marcoil added a subtask for T93715: [EPIC] Make Parsoid HTML output completely deterministic: T63165: Parsoid's Cite extension sometimes produces different ids for the same <ref> source.
Mar 25 2015, 6:04 PM · Epic, RESTBase, Parsoid
marcoil added a parent task for T63165: Parsoid's Cite extension sometimes produces different ids for the same <ref> source: T93715: [EPIC] Make Parsoid HTML output completely deterministic.
Mar 25 2015, 6:04 PM · Patch-For-Review, Parsoid, Parsoid-Tests
marcoil renamed T63165: Parsoid's Cite extension sometimes produces different ids for the same <ref> source from RT-testing: spurious semantic diffs triggered by different ref id attributes in Cite to Parsoid's Cite extension sometimes produces different ids for the same <ref> source.
Mar 25 2015, 6:04 PM · Patch-For-Review, Parsoid, Parsoid-Tests
marcoil claimed T93715: [EPIC] Make Parsoid HTML output completely deterministic.

I'm investigating the Cite refs part of the issue. It seems that the changes are in the ids for the <reference> entries, which changes the reflinks and the data-mw.body.id fields.

Mar 25 2015, 3:35 PM · Epic, RESTBase, Parsoid

Mar 23 2015

marcoil added a comment to T74865: VisualEditor: References inside galleries being displayed separately, inside the gallery, instead of in the correct <references /> block at the end of the page.

Reproducible in Parsoid:

$ echo -e "<gallery>\nFile:foo.jpg|A <ref group="n">ref one</ref>\n</gallery>" | node parse

<ul class="gallery mw-gallery-traditional" typeof="mw:Extension/gallery" data-mw='{"name":"gallery","attrs":{},"body":{"extsrc":"\nFile:foo.jpg|A &lt;ref group=n>ref one&lt;/ref>\n"}}' data-parsoid='{"dsr":[0,62,2,2]}' about="#mwt3">
<li class="gallerybox" style="width: 155px">
<div style="width: 155px">
<div class="thumb" style="width: 150px;">
<div style="margin:35.5px auto;"><a href="/wiki/File:Foo.jpg" class="image"><img alt="" src="//upload.wikimedia.org/wikipedia/commons/thumb/0/06/Foo.jpg/120px-Foo.jpg" width="120" height="79" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/0/06/Foo.jpg/180px-Foo.jpg 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/0/06/Foo.jpg/240px-Foo.jpg 2x" data-file-width="300" data-file-height="197"/></a></div>
</div>
<div class="gallerytext">
<p>A <sup id="cite_ref-1" class="reference"><a href="#cite_note-1"><span>[</span>n 1<span>]</span></a></sup></p>
</div>
</div>
</li>
</ul><span about="#mwt3">
</span><p about="#mwt3"><br/>
<strong class="error mw-ext-cite-error">Cite error: There are <code>&lt;ref group=n></code> tags on this page, but the references will not show without a <code>{{reflist|group=n}}</code> template (see the <a href="/wiki/Help:Cite_errors/Cite_error_group_refs_without_references" title="Help:Cite errors/Cite error group refs without references">help page</a>).</strong>
<link rel="mw:PageProp/Category" href="./Category:Pages_with_missing_references_list#Main%20Page"/></p>
Mar 23 2015, 1:28 PM · MediaWiki-Gallery, Parsoid, VisualEditor-MediaWiki-References, VisualEditor, VisualEditor-EditingTools
marcoil merged task T93578: References with group inside gallery create errors in page into T74865: VisualEditor: References inside galleries being displayed separately, inside the gallery, instead of in the correct <references /> block at the end of the page.
Mar 23 2015, 1:27 PM · Parsoid
marcoil merged T93578: References with group inside gallery create errors in page into T74865: VisualEditor: References inside galleries being displayed separately, inside the gallery, instead of in the correct <references /> block at the end of the page.
Mar 23 2015, 1:27 PM · MediaWiki-Gallery, Parsoid, VisualEditor-MediaWiki-References, VisualEditor, VisualEditor-EditingTools
marcoil reopened T93580: Reference inside file caption isn't detected as "Open".

Sorry, wrong duplicate.

Mar 23 2015, 1:26 PM · Parsoid
marcoil added a project to T74865: VisualEditor: References inside galleries being displayed separately, inside the gallery, instead of in the correct <references /> block at the end of the page: Parsoid.
Mar 23 2015, 1:25 PM · MediaWiki-Gallery, Parsoid, VisualEditor-MediaWiki-References, VisualEditor, VisualEditor-EditingTools
marcoil updated subscribers of T74865: VisualEditor: References inside galleries being displayed separately, inside the gallery, instead of in the correct <references /> block at the end of the page.
Mar 23 2015, 1:24 PM · MediaWiki-Gallery, Parsoid, VisualEditor-MediaWiki-References, VisualEditor, VisualEditor-EditingTools
marcoil merged task T93580: Reference inside file caption isn't detected into T74865: VisualEditor: References inside galleries being displayed separately, inside the gallery, instead of in the correct <references /> block at the end of the page.
Mar 23 2015, 1:24 PM · Parsoid
marcoil closed T58916: Cite: Templated syntax for attribute values for <ref> and <references> should be parsed as plain text as Resolved.

This issue is unrelated to extension parameters being parsed as wikitext, which was the original issue here. I see two problems with that section in http://parsoid-lb.eqiad.wikimedia.org/enwiki/Klondike_Gold_Rush?oldid=651957368, though, so I've opened two new bugs for them:

  • T93580: The <ref> in the image's caption isn't detected.
  • T93578: The <ref group=n> inside the <gallery> produces an error from Cite.php.
Mar 23 2015, 12:13 PM · Patch-For-Review, Parsoid
marcoil created T93580: Reference inside file caption isn't detected.
Mar 23 2015, 12:12 PM · Parsoid
marcoil created T93578: References with group inside gallery create errors in page.
Mar 23 2015, 12:03 PM · Parsoid

Mar 20 2015

marcoil claimed T93315: RT-testing: Update roundtrip-test.js to use the v2 API.
Mar 20 2015, 10:34 AM · VisualEditor 2014/15 Q3 blockers, Patch-For-Review, Parsoid-Tests, Parsoid
marcoil closed T73708: mw:PageProp/redirect to a Category when there's no matching mw:WikiLink/Category should output [[:Category:Foo]] not [[Category:Foo]] as Resolved.

This change was deployed on March 19.

Mar 20 2015, 10:17 AM · Patch-For-Review, Parsoid-Serializer, Parsoid

Mar 19 2015

marcoil added a comment to T73708: mw:PageProp/redirect to a Category when there's no matching mw:WikiLink/Category should output [[:Category:Foo]] not [[Category:Foo]].

What about files?

Mar 19 2015, 11:19 AM · Patch-For-Review, Parsoid-Serializer, Parsoid

Mar 16 2015

marcoil claimed T73708: mw:PageProp/redirect to a Category when there's no matching mw:WikiLink/Category should output [[:Category:Foo]] not [[Category:Foo]].
Mar 16 2015, 11:57 AM · Patch-For-Review, Parsoid-Serializer, Parsoid

Mar 12 2015

marcoil added a comment to T53961: Unnecessary nowiki escaping of [ and ] chars in template arg..

The problem comes from the escaping of template arguments, which sees the '[' separately from the ']' due to the italicized text in the middle and thus wraps both sides in nowikis:

Mar 12 2015, 3:39 PM · Verified-in-Phase2, VisualEditor 2014/15 Q3 blockers, WMF-deploy-2015-03-18_(1.25wmf22), Parsoid-Nowiki, Parsoid, Parsoid-Serializer
marcoil claimed T53961: Unnecessary nowiki escaping of [ and ] chars in template arg..
Mar 12 2015, 1:30 PM · Verified-in-Phase2, VisualEditor 2014/15 Q3 blockers, WMF-deploy-2015-03-18_(1.25wmf22), Parsoid-Nowiki, Parsoid, Parsoid-Serializer
marcoil closed T87842: Unnecessary <nowiki> inserted into page text (Nov 2014) as Resolved.

I'm also unable to reproduce, I always get ''', project 'RESTBase'''' at the end of the line. There's been a lot of nowiki work in Parsoid since this change, so I'm closing as resolved, but feel free to reopen if it shows up again.

Mar 12 2015, 1:27 PM · Parsoid-Nowiki, Parsoid
marcoil closed T73426: Too many nowiki tags as Resolved.

With the fix for T71950, the whole <ref> text is wrapped in a single <nowiki>. The single <nowiki/> doesn't appear, so I'm closing this one as resolved.

Mar 12 2015, 1:05 PM · Parsoid-Nowiki, Parsoid
marcoil closed T73006: Two sets of nowiki tags added; one probably shouldn't have been as Resolved.

Closing this one as it should have been fixes with T71950.

Mar 12 2015, 12:58 PM · VisualEditor 2014/15 Q3 blockers, Parsoid-Nowiki, Parsoid

Mar 11 2015

marcoil closed T72582: Represent LST <section begin="foo" /> nodes more usefully, a subtask of T72581: Create a VisualEditor plugin tool to add/edit LabelledSectionTransclusion markers, as Resolved.
Mar 11 2015, 5:55 PM · VisualEditor-MediaWiki, VisualEditor, VisualEditor-MediaWiki-Plugins, MediaWiki-extensions-LabeledSectionTransclusion
marcoil closed T72582: Represent LST <section begin="foo" /> nodes more usefully as Resolved.

Deployed in https://www.mediawiki.org/wiki/Parsoid/Deployments#Monday.2C_Mar_9.2C_2015_around_1pm_PST:_Y_Deployed_c8370a48.

Mar 11 2015, 5:55 PM · Patch-For-Review, Blocked-on-Parsoid, Parsoid, Parsoid-DOM
marcoil added a comment to T88623: On Parsoid HTML read pages, VisualEditor should be able to load data-mw from a separate API call and zip it into the DOM.

Given that T90374 will almost certainly be done before T78676, it would be nice for RESTbase to offer recombined HTML. In VE, we may want to load data-mw separately for encoding efficiency, but given that reference data has been moved out already, that doesn't seem very urgent, nor is it even obvious that it's a good idea.

Mar 11 2015, 3:21 PM · Platform Team Legacy (Watching / External), Services (watching), VisualEditor-MediaWiki, VisualEditor, RESTBase, VisualEditor-Performance

Mar 10 2015

marcoil claimed T71482: Use {{!}} rather than <nowiki>|</nowiki> when inserting a | in a template argument.
Mar 10 2015, 1:46 PM · WMF-deploy-2015-03-11_(1.25wmf21), VisualEditor 2014/15 Q3 blockers, Parsoid, Parsoid-Serializer

Mar 9 2015

marcoil claimed T73006: Two sets of nowiki tags added; one probably shouldn't have been.

I haven't been able to reproduce the described issue. In any case, patch https://gerrit.wikimedia.org/r/#/c/193842/ for T71950 should improve the positioning of nowikis around placeholders like the one produced before the colon in 'intitulé : "Plan'.

Mar 9 2015, 6:11 PM · VisualEditor 2014/15 Q3 blockers, Parsoid-Nowiki, Parsoid

Mar 5 2015

marcoil added a comment to T89287: Graph editing in VisualEditor.

Sorry, the correct URL for the updated Parsoid instance is http://parsoid-lb.eqiad.wikimedia.org/mediawikiwiki/Extension%3AGraph%2FDemo. The results are the same, though.

Mar 5 2015, 7:04 PM · Graph-VisualEditor, MediaWiki-extensions-Graph, Google-Summer-of-Code (2015), Services, VisualEditor
marcoil added a comment to T89287: Graph editing in VisualEditor.

@Yurik: That labs instance is the Parsoid we use for editing, and the page should have been produced directly from the graph demo page. Looking at the page source, I see that the example named "Embedded directly" has the data inside <graph>, and that's the one I'm saying that Parsoid passes along to VE. It doesn't really matter how the extension later renders that page into HTML, Parsoid only looks at the wikitext source.

Mar 5 2015, 7:00 PM · Graph-VisualEditor, MediaWiki-extensions-Graph, Google-Summer-of-Code (2015), Services, VisualEditor
marcoil added a comment to T89287: Graph editing in VisualEditor.

Parsoid already includes the graph data JSON in the metadata for editing. If you go to http://parsoid.wmflabs.org/mediawikiwiki/Extension%3AGraph%2FDemo and look at the source, you'll see

Mar 5 2015, 6:22 PM · Graph-VisualEditor, MediaWiki-extensions-Graph, Google-Summer-of-Code (2015), Services, VisualEditor
marcoil claimed T72722: Add support to run selser tests with custom edits on original wikitext.
Mar 5 2015, 5:54 PM · Patch-For-Review, Parsoid, Parsoid-Tests

Mar 3 2015

marcoil added a comment to T73006: Two sets of nowiki tags added; one probably shouldn't have been.

There is indeed a non-breaking space between intitulé and the colon, but I'm unable to reproduce the bug. With a current Parsoid (and without having the actual change HTML), the whole sentence gets put inside a <nowiki> but the one around the &nbsp; doesn't appear.

Mar 3 2015, 3:25 PM · VisualEditor 2014/15 Q3 blockers, Parsoid-Nowiki, Parsoid

Mar 2 2015

marcoil added a comment to T71950: Improve nowiki additions to only wrap the string that needs protection.

This is a WIP that should fix the https://fr.wikipedia.org/w/index.php?title=Grand_Line&curid=4571652&diff=111992974&oldid=111360543 case, but I want to make sure it doesn't break anything else.

Mar 2 2015, 4:57 PM · WMF-deploy-2015-03-11_(1.25wmf21), VisualEditor 2014/15 Q3 blockers, Parsoid-Nowiki, Parsoid, Parsoid-Serializer
marcoil claimed T71950: Improve nowiki additions to only wrap the string that needs protection.
Mar 2 2015, 3:44 PM · WMF-deploy-2015-03-11_(1.25wmf21), VisualEditor 2014/15 Q3 blockers, Parsoid-Nowiki, Parsoid, Parsoid-Serializer

Feb 27 2015

marcoil added a comment to T88290: Update data-mw encoding for <ref> tags to point to the HTML content in the <references /> output rather than duplicating it.

The current patch creates a problem for pages that have multiple <ref>s with the same name but different content. For an example, see the <ref> named "DeVries2007" in https://en.wikipedia.org/wiki/History_of_weapons.

Feb 27 2015, 7:39 PM · WMF-deploy-2015-03-04_(1.25wmf20), Blocked-on-Parsoid, VisualEditor 2014/15 Q3 blockers, Parsoid

Feb 26 2015

marcoil added a comment to T88017: Strip src attribute from data-parsoid.

After the last patch, there are two cases of data-parsoid.src in Barack_Obama:

  • mw:Entities (), which need src to distinguish between different representations (&nbsp; and &#xA0, for example)
  • Page properties (1, the page's DEFAULTSORT), which need src to distinguish between different valid spellings (like {{DEFAULTSORT}} and {{defaultsort}}.
Feb 26 2015, 5:35 PM · WMF-deploy-2015-03-04_(1.25wmf20), Blocked-on-Parsoid, Parsoid, VisualEditor 2014/15 Q3 blockers
marcoil added a comment to T86633: Unify ::production / ::beta roles for *oid.

https://gerrit.wikimedia.org/r/#/c/193082/ has basically killed the current beta role and just picked up the prod role, and testing on deployment-parsoid01-test seems to work fine, but I *think* it is configured to use prod. I see that beta used to have /srv/deployment/parsoid/deploy/conf/wmf/betalabs.localsettings.js as its settings file but I have no idea what puts it there / where it comes from.

Feb 26 2015, 4:49 PM · RelEng-Archive-FY201718-Q1, SRE, Patch-For-Review, Beta-Cluster-Infrastructure
marcoil added a comment to T88290: Update data-mw encoding for <ref> tags to point to the HTML content in the <references /> output rather than duplicating it.

Somehow this disappeared, but there's a Patch-For-Review at https://gerrit.wikimedia.org/r/191593.

Feb 26 2015, 11:55 AM · WMF-deploy-2015-03-04_(1.25wmf20), Blocked-on-Parsoid, VisualEditor 2014/15 Q3 blockers, Parsoid

Feb 25 2015

marcoil added a comment to T88017: Strip src attribute from data-parsoid.

Change 192838 had a related patch set uploaded (by Marcoil):
T88017: Remove more cases of data-parsoid.src from mw:Extensions

https://gerrit.wikimedia.org/r/192838

Feb 25 2015, 6:24 PM · WMF-deploy-2015-03-04_(1.25wmf20), Blocked-on-Parsoid, Parsoid, VisualEditor 2014/15 Q3 blockers

Feb 21 2015

marcoil changed the status of T72582: Represent LST <section begin="foo" /> nodes more usefully, a subtask of T72581: Create a VisualEditor plugin tool to add/edit LabelledSectionTransclusion markers, from Open to Stalled.
Feb 21 2015, 10:57 AM · VisualEditor-MediaWiki, VisualEditor, VisualEditor-MediaWiki-Plugins, MediaWiki-extensions-LabeledSectionTransclusion
marcoil changed the status of T72582: Represent LST <section begin="foo" /> nodes more usefully from Open to Stalled.

Waiting on feedback from VE team.

Feb 21 2015, 10:57 AM · Patch-For-Review, Blocked-on-Parsoid, Parsoid, Parsoid-DOM

Feb 20 2015

marcoil added a comment to T88290: Update data-mw encoding for <ref> tags to point to the HTML content in the <references /> output rather than duplicating it.

The current patch can't remove the duplication for <ref>s inside <references>, so the actual size reduction in [[Barack_Obama]] is lower: ~884K. I'll keep investigating to find a way to remove those cases too.

Feb 20 2015, 6:32 PM · WMF-deploy-2015-03-04_(1.25wmf20), Blocked-on-Parsoid, VisualEditor 2014/15 Q3 blockers, Parsoid
marcoil added a comment to T88290: Update data-mw encoding for <ref> tags to point to the HTML content in the <references /> output rather than duplicating it.

The current patch can't remove the duplication for <ref>s inside <references>, so the actual size reduction in [[Barack_Obama]] is lower: ~884K. I'll keep investigating to find a way to remove those cases too.

Feb 20 2015, 2:50 PM · WMF-deploy-2015-03-04_(1.25wmf20), Blocked-on-Parsoid, VisualEditor 2014/15 Q3 blockers, Parsoid

Feb 19 2015

marcoil added a comment to T88290: Update data-mw encoding for <ref> tags to point to the HTML content in the <references /> output rather than duplicating it.

In the (admittedly extreme) case of [[Barack_Obama]], the removal of duplicates reduces the HTML size by a little over 1M ;)

Feb 19 2015, 2:18 PM · WMF-deploy-2015-03-04_(1.25wmf20), Blocked-on-Parsoid, VisualEditor 2014/15 Q3 blockers, Parsoid

Feb 18 2015

marcoil added a comment to T88017: Strip src attribute from data-parsoid.

I think it would be good to get rid of the <meta typeof="mw:Extension/ref/Marker"../> tags from the output. I think a similar fix as for T88019 should do it after making sure they are just something that evaded cleanup.

Feb 18 2015, 3:23 PM · WMF-deploy-2015-03-04_(1.25wmf20), Blocked-on-Parsoid, Parsoid, VisualEditor 2014/15 Q3 blockers

Feb 16 2015

marcoil closed T88660: Parsoid Cite: Render missing reflists, a subtask of T88290: Update data-mw encoding for <ref> tags to point to the HTML content in the <references /> output rather than duplicating it, as Resolved.
Feb 16 2015, 5:42 PM · WMF-deploy-2015-03-04_(1.25wmf20), Blocked-on-Parsoid, VisualEditor 2014/15 Q3 blockers, Parsoid
marcoil closed T88660: Parsoid Cite: Render missing reflists as Resolved.
Feb 16 2015, 5:42 PM · Blocked-on-Parsoid, VisualEditor 2014/15 Q3 blockers, Parsoid
marcoil claimed T88290: Update data-mw encoding for <ref> tags to point to the HTML content in the <references /> output rather than duplicating it.
Feb 16 2015, 4:58 PM · WMF-deploy-2015-03-04_(1.25wmf20), Blocked-on-Parsoid, VisualEditor 2014/15 Q3 blockers, Parsoid
marcoil updated subscribers of T89627: Round trip failures of some list scenarios.
Feb 16 2015, 11:49 AM · Parsoid, Parsoid-Serializer
marcoil merged task T59910: * {{echo|<li>foo</li>}} does not roundtrip into T89627: Round trip failures of some list scenarios.
Feb 16 2015, 11:49 AM · Parsoid-Robustness, Parsoid, Parsoid-Serializer

Feb 13 2015

marcoil added a comment to T72722: Add support to run selser tests with custom edits on original wikitext.

Once this is fixed, we should revisit the test "References: 9." to create some manual changes and ensure that new <references /> are not created for changes unrelated to orphan <ref>s. See T88660.

Feb 13 2015, 5:01 PM · Patch-For-Review, Parsoid, Parsoid-Tests
marcoil added a comment to T88383: Don't output useless about attributes.

Unfortunately, abouts change the subject of nested RDF statements, so can't generally omitted without changing the RDF graph.

Feb 13 2015, 4:45 PM · Parsoid-DOM, Parsoid