cscott (C. Scott Ananian)
Parser whisperer

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Oct 21 2014, 6:47 PM (169 w, 2 d)
Availability
Available
IRC Nick
cscott
LDAP User
Unknown
MediaWiki User
Cscott

Editor since 2005; WMF developer since 2013. I work on Parsoid and OCG, and dabble with VE, real-time collaboration, and OOjs.

See https://en.wikipedia.org/wiki/User:cscott for more.

Recent Activity

Yesterday

cscott updated subscribers of T113004: Make it easy to fork, branch, and merge pages (or more).

Some more notes from a twitter discussion started by @Sj, whose developer summit position statement is strongly related to this task.
@cscott says:

I think that's my cue to pitch T113004 which seeks to incorporate a more GitHub-like fork/merge model in Wikipedia. It would allow contributions to be visible, even when unmerged. (Which has its own issues, of course...)

@Phoebe says:

What is an unmerged contrib? Someone makes an edit, someone takes it out again? Or are you imagining that ppl don't contribute directly to article, they propose a change a la GitHub and others can see that change? Wouldn't that take a huge amount of personhours to approve pulls?
I'm sure ideas about this are in the proposal somewhere but as you know the vast amount of edits are added w/o controversy, so keeping workloads the same or lower would be A+
Ps I'm reading all the stuff about enhancing diffs & edit review screens - that's fantastic. Though I'll keep my "diff to penultimate revision" t-shirt forever, diffing could really use some love <3

@cscott says:

Once the basic infrastructure for forked revisions was in place, you could experiment with lots of merge strategies. Automatically merge after N hrs, say, or merge edits scored as not-vandalism...
I think the least disruptive thing would be to automatically merge, but keep the fork when there is a roll back or merge conflict. You could choose to start a revision as a fork as well, like w/ the draft namespace.
The key psychological breakthrough would be to change first-time editors' experience from "I tried to help and it was reverted and thrown away" to "I tried to help and it wasn't merged yet but there were some helpful suggestions for improvements".

I'll add: the happiness kick you see when your constructive edit is made and immediately goes live on the site is even better! And should definitely be preserved whenever possible. But fork/merge can provide gentler off-ramps other than revert in case of issues with an edit.

Thu, Jan 18, 10:12 PM · Community-Wishlist-Survey-2015, Contributors-Team, Wikimedia-Developer-Summit-2016

Thu, Jan 11

cscott added a comment to T97225: Consider using preq in parsoid.

Hm, not only does it have a hard dependency on bluebird, it uses bluebird's non-standard methods, so it can't be easily ported to actual standard ES6 promises. :(

Thu, Jan 11, 9:58 PM · Parsoid
cscott added a comment to T97225: Consider using preq in parsoid.

Does preq let you use native Promises? We don't use bluebird.

Thu, Jan 11, 9:49 PM · Parsoid

Tue, Jan 9

cscott committed rELINT174949922f9c: Always return some category name, even if it's just a placeholder (authored by cscott).
Always return some category name, even if it's just a placeholder
Tue, Jan 9, 11:48 PM
cscott added a comment to T184573: Re-enable documentation for ES6-using classes.

First up: lib/api/ParsoidService.js: https://gerrit.wikimedia.org/r/402435

Tue, Jan 9, 11:26 PM · Parsoid
cscott added parent tasks for T184573: Re-enable documentation for ES6-using classes: T138401: Replace jsduck in favor of a better maintained alternative, T156469: jsduck doesn't support ES6.
Tue, Jan 9, 11:26 PM · Parsoid
cscott added a subtask for T138401: Replace jsduck in favor of a better maintained alternative: T184573: Re-enable documentation for ES6-using classes.
Tue, Jan 9, 11:26 PM · Readers-Web-Backlog (Tracking), Technical-Debt (RW-Tech-Debt), Front-end-Standards-Group, MobileFrontend, Documentation
cscott added a subtask for T156469: jsduck doesn't support ES6: T184573: Re-enable documentation for ES6-using classes.
Tue, Jan 9, 11:26 PM · Documentation, MediaWiki-Documentation
cscott created T184573: Re-enable documentation for ES6-using classes.
Tue, Jan 9, 11:25 PM · Parsoid
cscott committed rELINTa5830cf00098: Always return some category name, even if it's just a placeholder (authored by cscott).
Always return some category name, even if it's just a placeholder
Tue, Jan 9, 11:20 PM
cscott committed rELINT0d5867719495: Add IPv6 localhost to default whitelist along with IPv4 localhost (authored by cscott).
Add IPv6 localhost to default whitelist along with IPv4 localhost
Tue, Jan 9, 11:19 PM
cscott committed rELINTe2f24aed4050: Don't crash RecordLintJob if the lint info doesn't contain `params` (authored by cscott).
Don't crash RecordLintJob if the lint info doesn't contain `params`
Tue, Jan 9, 11:19 PM
cscott committed rELINTc019ce50321d: Allow Parsoid to provide category ID hints (authored by cscott).
Allow Parsoid to provide category ID hints
Tue, Jan 9, 11:19 PM
cscott committed rELINT43d8c91e9d76: Always return some category name, even if it's just a placeholder (authored by cscott).
Always return some category name, even if it's just a placeholder
Tue, Jan 9, 11:13 PM
cscott committed rELINTbbe2d443c653: Don't crash RecordLintJob if the lint info doesn't contain `params` (authored by cscott).
Don't crash RecordLintJob if the lint info doesn't contain `params`
Tue, Jan 9, 11:13 PM
cscott committed rELINTfc9dd9dbfbf1: Add IPv6 localhost to default whitelist along with IPv4 localhost (authored by cscott).
Add IPv6 localhost to default whitelist along with IPv4 localhost
Tue, Jan 9, 11:13 PM
cscott committed rELINTde9d200fa290: Allow Parsoid to provide category ID hints (authored by cscott).
Allow Parsoid to provide category ID hints
Tue, Jan 9, 11:13 PM
cscott committed rELINT45dc792ff478: Allow Parsoid to provide category ID hints (authored by cscott).
Allow Parsoid to provide category ID hints
Tue, Jan 9, 8:47 PM

Wed, Jan 3

cscott created T184122: MCR refactoring broke tests/parser/parserTests.php.
Wed, Jan 3, 9:09 PM · MediaWiki-Parser

Thu, Dec 21

cscott added a comment to T157418: Make some aspects of Tidy's whitespace stripping behavior part of wikitext parsing "spec".

Recapping some discussion in IRC:

Thu, Dec 21, 4:09 PM · Tidy, Community-Liaisons, Parsoid, MediaWiki-Parser

Wed, Dec 20

cscott added a watcher for Wikimedia-Developer-Summit (2018): cscott.
Wed, Dec 20, 8:55 PM

Dec 19 2017

cscott added a comment to T95931: Parsoid automatically changes pseudo-interlanguage interwiki link text to match link prefix + full target page name.

Context: https://meta.wikimedia.org/wiki/Help:Interwiki_linking#Interlanguage_links

For projects like Meta, a missing leading colon has no effect, because Meta doesn't support interlanguage links. For Wikipedia and similar projects, it is a major difference.

Dec 19 2017, 6:30 PM · Parsoid

Dec 15 2017

cscott added a comment to T102556: VE should indicate when it wants external links "WikiLink-ified".

IMO the examples you give would probably be okay (especially the RFC one), but if editors see [[google:this]] or [[flickr:that]], then they will be surprised and angry.

See https://meta.wikimedia.org/wiki/Talk:Interwiki_map/Archives/2009-04#Google and https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(proposals)/Archive_46#Jumbled_up_mess_of_link_types and https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)/Archive_AF#[[MemoryAlpha:articlename]]_links:_how,_when,_why? for some previous discussions on this point.

Dec 15 2017, 10:09 PM · VisualEditor, Parsoid

Dec 14 2017

cscott claimed T29109: Design a new parser function which runs LanguageConverter::findVariantLink().
Dec 14 2017, 9:19 PM · MediaWiki-extensions-ParserFunctions, Chinese-Sites, MediaWiki-Language-converter
cscott added a project to T114194: MediaWiki should be able to support multiple parser engines: Parsing-Team.
Dec 14 2017, 9:14 PM · Parsing-Team, MediaWiki-Parser, Patch-For-Review, Epic
cscott added a subtask for T43716: Support language variant conversion in Parsoid: T95497: Flow conversion support for all Wikipedias that use multiple writing systems.
Dec 14 2017, 9:12 PM · Patch-For-Review, Epic, MediaWiki-Language-converter, Chinese-Sites, I18n, Parsoid
cscott added a parent task for T95497: Flow conversion support for all Wikipedias that use multiple writing systems: T43716: Support language variant conversion in Parsoid.
Dec 14 2017, 9:12 PM · MediaWiki-Language-converter, StructuredDiscussions, Collaboration-Team-Triage
cscott claimed T11419: Allow Special:Export to work with converted aliases (for Chinese, Kazakh, ...).
Dec 14 2017, 9:09 PM · Chinese-Sites, MediaWiki-Export-or-Import
cscott claimed T160952: Generate Language-converted section anchors/ids.
Dec 14 2017, 9:09 PM · I18n, Chinese-Sites, MediaWiki-Parser
cscott claimed T53587: Parsoid needs to run findVariantLink or some equivalent thing.
Dec 14 2017, 9:06 PM · Parsoid
cscott added a comment to T152540: Migrate to HTML5 section ids.

See https://bugs.chromium.org/p/chromium/issues/detail?id=789163. The change in Google Chrome behaviour is possible.

Dec 14 2017, 9:03 PM · TechCom-RFC (TechCom-Approved), Patch-For-Review, Readers-Web-Backlog (Tracking), User-notice, Mobile-Content-Service, Reading-Infrastructure-Team-Backlog, Community-Wishlist-Survey-2016, Community-Tech, ContentTranslation, MediaWiki-Parser, Parsoid, Parsing-Team
cscott added a comment to T152540: Migrate to HTML5 section ids.

I wonder if the technology here (invisible <span> tags) could also help with T160952: Generate Language-converted section anchors/ids? Strawman: $wgFragmentMode could include one or more language variant codes along with the special 'html5' and 'legacy' values; similarly something similar to $wgExternalInterwikiFragmentMode (except for internal wikilinks) could select whether the "canonical" ID is used for a wikilink (matching source text) or a language-converted variant is preferred?

Dec 14 2017, 8:54 PM · TechCom-RFC (TechCom-Approved), Patch-For-Review, Readers-Web-Backlog (Tracking), User-notice, Mobile-Content-Service, Reading-Infrastructure-Team-Backlog, Community-Wishlist-Survey-2016, Community-Tech, ContentTranslation, MediaWiki-Parser, Parsoid, Parsing-Team
cscott added a comment to T122942: RFC: Support language variants in the REST API.

@C933103 JavaScript AJAX requests can set the Accept-Language header. So special-purpose needs like mobile clients, visual editor, content scraper, etc will be able to accept the user's preference (with their choice of UX) and use the correct header when making the AJAX request to the backend API.

Dec 14 2017, 8:09 PM · Reading-Infrastructure-Team-Backlog, User-mobrovac, Chinese-Sites, Services (next), I18n, RfC, Mobile-Content-Service, Parsing-Team, TechCom-RFC, RESTBase, Blocked-on-Parsoid, Parsoid
cscott closed T49411: VisualEditor: Support "Language conversion blocks" for multi-script wikis as Resolved.

I believe there's still more outstanding here, right?

Dec 14 2017, 7:50 PM · User-Ryasmeen, MW-1.30-release-notes (WMF-deploy-2017-09-19 (1.30.0-wmf.19)), Chinese-Sites, Epic, VisualEditor-ContentLanguage, VisualEditor
cscott closed T49411: VisualEditor: Support "Language conversion blocks" for multi-script wikis, a subtask of T93388: Enable VisualEditor by default for all users of all "phase 7" Wikipedias, as Resolved.
Dec 14 2017, 7:50 PM · Chinese-Sites, VisualEditor, User-notice, Wikimedia-Site-requests
cscott closed T49411: VisualEditor: Support "Language conversion blocks" for multi-script wikis, a subtask of T53792: VisualEditor: Non-English Wikipedia issues (tracking), as Resolved.
Dec 14 2017, 7:50 PM · User-Ryasmeen, VisualEditor pre-2015 work, Tracking, VisualEditor
cscott closed T49411: VisualEditor: Support "Language conversion blocks" for multi-script wikis, a subtask of T97315: Please enable VisualEditor at the Kazakh Wikipedia, as Resolved.
Dec 14 2017, 7:50 PM · Wikimedia-Site-requests, Community-Liaisons, VisualEditor
cscott created T182910: VE should support "hidden" and "describe" flags for language converter markup..
Dec 14 2017, 7:50 PM · VisualEditor
cscott updated subscribers of T39617: Do not convert text marked as being in another language with a lang attribute.

@tstarling -- do you think Remex would be appropriate for this ( https://phabricator.wikimedia.org/T39617#414904 )?

Dec 14 2017, 7:35 PM · MediaWiki-Language-converter
cscott added a comment to T182774: Improve section validation.

Documented new behavior at https://www.mediawiki.org/w/index.php?title=Specs%2FHTML%2F1.6.0&type=revision&diff=2646307&oldid=2644715

Dec 14 2017, 4:48 PM · Reading-Infrastructure-Team-Backlog (Kanban), Patch-For-Review, Mobile-Content-Service

Dec 13 2017

cscott added a comment to T182774: Improve section validation.

I agree it makes sense to assign -2 to sections with no actual heading element, even if the section is also uneditable.

Dec 13 2017, 8:41 PM · Reading-Infrastructure-Team-Backlog (Kanban), Patch-For-Review, Mobile-Content-Service
cscott added a comment to T182793: Crasher in logs in section wrapping.

For future reference, the issue is markup like:

<translate>
foo
==bar==
baz
</translate>

This should really be:

<translate>
foo
</translate>
== <translate>bar</translate> ==
<translate>
baz
</translate>

because otherwise the extension boundary straddles a section. Note that even PHP has issues with this: if you use section editing you'll see only the <translate> or the </translate> (depending on what section you fetch), not the complete translation chunk.

Dec 13 2017, 6:05 PM · Patch-For-Review, Parsoid

Dec 12 2017

cscott added a comment to T152540: Migrate to HTML5 section ids.

I wonder if that's a permanent change, or if it's just a temporary fix while they update their list of spoofable characters? Unfortunately, the details of their security bug(s) are still embargoed, so it doesn't look like I can find out more details yet.

Dec 12 2017, 3:44 PM · TechCom-RFC (TechCom-Approved), Patch-For-Review, Readers-Web-Backlog (Tracking), User-notice, Mobile-Content-Service, Reading-Infrastructure-Team-Backlog, Community-Wishlist-Survey-2016, Community-Tech, ContentTranslation, MediaWiki-Parser, Parsoid, Parsing-Team

Dec 8 2017

cscott added a comment to T181657: Deprecate and remove Parsoid's body-only mode.

Well, we know that VE and CX are using the parameter right now. This is actually causing bugs in VE, because they don't get the resource-usage info from the <head> when they do a fragment parse of a template or extension, so they don't update the resources, and so sometimes the rendering looks off because it is missing necessary CSS/JS. I haven't looked into CX yet.

Dec 8 2017, 11:05 PM · RESTBase-API, Services (watching), Parsoid
cscott added a comment to T138401: Replace jsduck in favor of a better maintained alternative.

Just ran into this for Parsoid -- we want to start using ES6 class syntax in our codebase but (surprise) jsduck doesn't support it, as @Krinkle mentioned above (T156469). Is @Jhernandez's suggestion JsDoc or documentation.js? I note that documentation.js seems to have commits from this month, while jsdoc hasn't had a commit to its repo since September.... but I agree that the jsdoc output looks nicer.

Dec 8 2017, 10:18 PM · Readers-Web-Backlog (Tracking), Technical-Debt (RW-Tech-Debt), Front-end-Standards-Group, MobileFrontend, Documentation
cscott closed T181226: Don't output section wrappers in body_only mode as Resolved.
Dec 8 2017, 9:12 PM · Patch-For-Review, Parsoid
cscott added a comment to T181226: Don't output section wrappers in body_only mode.

...but see https://phabricator.wikimedia.org/T181657#3817702

Dec 8 2017, 9:11 PM · Patch-For-Review, Parsoid
cscott added a comment to T30441: Rename zh-yue -> yue.

Pinging this topic again, since identification of language variants in RESTBase/Parsoid requires distinguishing zh-yue (interpreted as using language converter to convert zh content to yue) and yue (native yue content, no use of language converter). See discussion at https://phabricator.wikimedia.org/T122942#3031430

Dec 8 2017, 9:02 PM · Wiki-Setup (Rename), Wikimedia-Language-setup
cscott added a comment to T173842: [BUG] Wikidata description for the specific Chinese language variant should be shown.

Some of the problem here is that historically LanguageConverter does not specifically tag the source language variant of the text, since it is assumed it can be inferred from the character set. This is more-or-less true for Serbian (latin/cyrillic) and Chinese (simplified/traditional) but falls down badly with (say) British/American English. And it doesn't work 100% even for Serbian and Chinese, depending on the exact input text. The original article text in Wikipedia is a mix of variants, again with the assumption that you can determine on a word by word basis what the original variant is and what needs conversion.

Dec 8 2017, 8:56 PM · Chinese-Sites, Wikipedia-Android-App-Backlog, Android-app-Bugs
cscott committed rELINT77b64dbe118c: Allow Parsoid to provide category ID hints (authored by cscott).
Allow Parsoid to provide category ID hints
Dec 8 2017, 4:34 PM
cscott committed rELINT2e49c745d799: Move category IDs into the extension.json information (authored by cscott).
Move category IDs into the extension.json information
Dec 8 2017, 4:31 PM
cscott committed rELINT0aa527e88fee: Move category IDs into the extension.json information (authored by cscott).
Move category IDs into the extension.json information
Dec 8 2017, 4:24 PM

Dec 7 2017

cscott committed rELINTa184e972a6d8: Allow Parsoid to provide category ID hints (authored by cscott).
Allow Parsoid to provide category ID hints
Dec 7 2017, 11:23 PM
cscott committed rELINT763fd7080c91: Move category IDs into the extension.json information (authored by cscott).
Move category IDs into the extension.json information
Dec 7 2017, 11:23 PM
cscott committed rELINTfb166ab07f8a: Move $hasNameCats into the information in extension.json (authored by cscott).
Move $hasNameCats into the information in extension.json
Dec 7 2017, 11:23 PM
cscott committed rELINT0849ab782d5f: Add 4 new high priority linter categories (authored by cscott).
Add 4 new high priority linter categories
Dec 7 2017, 11:23 PM
cscott committed rELINTa78e91b3a855: Allow Parsoid to provide category ID hints (authored by cscott).
Allow Parsoid to provide category ID hints
Dec 7 2017, 11:05 PM
cscott committed rELINTb6b7592f837b: Allow Parsoid to provide category ID hints (authored by cscott).
Allow Parsoid to provide category ID hints
Dec 7 2017, 10:56 PM
cscott committed rELINTecb0be57d9ed: Move category IDs into the extension.json information (authored by cscott).
Move category IDs into the extension.json information
Dec 7 2017, 10:55 PM
cscott committed rELINTb70d29de5257: Move $hasNameCats into the information in extension.json (authored by cscott).
Move $hasNameCats into the information in extension.json
Dec 7 2017, 10:55 PM
cscott committed rELINTcf276da44305: Add 4 new high priority linter categories (authored by cscott).
Add 4 new high priority linter categories
Dec 7 2017, 10:55 PM
cscott committed rELINTa9251fd6f9f1: Allow Parsoid to provide category ID hints (authored by cscott).
Allow Parsoid to provide category ID hints
Dec 7 2017, 10:33 PM
cscott committed rELINTfd8bc93327ab: Move category IDs into the extension.json information (authored by cscott).
Move category IDs into the extension.json information
Dec 7 2017, 10:33 PM
cscott committed rELINTb7e0c08a8c4b: Move $hasNameCats into the information in extension.json (authored by cscott).
Move $hasNameCats into the information in extension.json
Dec 7 2017, 10:33 PM
cscott committed rELINTb0a10af8af95: Move category IDs into the extension.json information (authored by cscott).
Move category IDs into the extension.json information
Dec 7 2017, 9:50 PM
cscott committed rELINT63b494498673: Move $hasNameCats into the information in extension.json (authored by cscott).
Move $hasNameCats into the information in extension.json
Dec 7 2017, 9:45 PM
cscott committed rELINT6a98267fd06f: Add 3 new high priority linter categories (authored by cscott).
Add 3 new high priority linter categories
Dec 7 2017, 9:16 PM
cscott created T182338: Parsoid: Interwiki links with angle brackets should be invalid.
Dec 7 2017, 5:04 PM · Patch-For-Review, Parsoid

Dec 6 2017

cscott added a comment to T181657: Deprecate and remove Parsoid's body-only mode.

Also, note that transclusions *can* define their own required resources, and the only way you learn about new dependencies of that sort is via the <head> information. So VE *should* be using the full document API for transclusions as well, so that they can check the resources returned and update the resources required for the whole document if necessary. Otherwise this creates bugs where "VE doesn't display the extension correctly" because VE isn't including the necessary page resources.

Dec 6 2017, 8:44 PM · RESTBase-API, Services (watching), Parsoid
cscott added a comment to T181657: Deprecate and remove Parsoid's body-only mode.

Oh, wait, I think I see what's going on here -- in ve.ce.MWTransclusionNode you're using the wt2html POST interface to (re)render just a single template transclusion, and using body_only there because the meta-info is actually irrelevant for fragment rendering. I should have paid more attention when you mentioned T151720: Update extension node renderings without building XML/wikitext in the client.

Dec 6 2017, 7:56 PM · RESTBase-API, Services (watching), Parsoid
cscott added a comment to T181657: Deprecate and remove Parsoid's body-only mode.

I think the idea is to add a separate interface for fetching an arbitrary subtree of the DOM (including the subtree of data-mw information), which would serve the "render a fragment" use case.

Dec 6 2017, 7:48 PM · RESTBase-API, Services (watching), Parsoid

Dec 1 2017

cscott reassigned T95931: Parsoid automatically changes pseudo-interlanguage interwiki link text to match link prefix + full target page name from cscott to Sbailey.

Passing the torch on this one. Interlanguage links are mostly deprecated at this point, so I doubt this is a high-priority bug.

Dec 1 2017, 9:29 PM · Parsoid
cscott closed T106578: Sanitizer entity restrictions should match HTML5 as Resolved.

@Tgr good point, although T113194 illustrates the difficulty of allowing those characters. This patch has been merged for a while, I'm going to close it.

Dec 1 2017, 9:27 PM · Patch-For-Review, MediaWiki-Parser
cscott removed projects from T159174: Don't allow null characters in wikitext (or in HTML output): MW-1.29-release-notes, Patch-For-Review, MediaWiki-Parser.
Dec 1 2017, 9:22 PM · Parsoid
cscott added a comment to T159174: Don't allow null characters in wikitext (or in HTML output).

Probably related to T106079 (at least the Parsoid portion of this).

Dec 1 2017, 9:22 PM · Parsoid
cscott closed T64937: ParserTests relies on caching for non-english tests. as Resolved.

Seems to have been fixed sometime since March 2014:

bin/parserTests.js --filter "Localized image handling" --wt2html

has no problems now, and indeed the problematic if (queueKey in env.pageCache) doesn't exist in LinkHandler any more.

Dec 1 2017, 9:05 PM · Parsoid, Easy, Parsoid-Tests
cscott closed T176176: HTML5 ids seems to change how wikilink fragments are parsed (when LanguageConverter is enabled) as Resolved.

Ok, so this is fixed now, with the fix for T119158 deployed.

So the remaining question is - do we want to change Html::expandAttributes as an extra precaution?

I'm unsure.

Dec 1 2017, 8:54 PM · Community-Tech, Security, Cite, MediaWiki-Parser
cscott closed T176170: Migrate citation IDs to HTML5 encoding, a subtask of T152540: Migrate to HTML5 section ids, as Resolved.
Dec 1 2017, 8:49 PM · TechCom-RFC (TechCom-Approved), Patch-For-Review, Readers-Web-Backlog (Tracking), User-notice, Mobile-Content-Service, Reading-Infrastructure-Team-Backlog, Community-Wishlist-Survey-2016, Community-Tech, ContentTranslation, MediaWiki-Parser, Parsoid, Parsing-Team
cscott closed T176170: Migrate citation IDs to HTML5 encoding as Resolved.

Is this Resolved?

Dec 1 2017, 8:49 PM · Contributors-Team, MW-1.31-release-notes (WMF-deploy-2017-10-10 (1.31.0-wmf.3)), Cite
cscott closed T131174: Add user-agent header in your requests to VirtualRestService as Resolved.
Dec 1 2017, 8:45 PM · OCG-General
cscott added a comment to T181249: Measure key aspects for New Editor Experiences initiatives.

How do we undo the duplicate-merge? Just re-open the closed task?

Dec 1 2017, 8:44 PM · Contributors-Analysis, New-Editor-Experiences
cscott added a comment to T181249: Measure key aspects for New Editor Experiences initiatives.

Closing all these tasks as duplicates was almost certainly not the right way to manage Phab here. I've added them as subtasks instead -- but is that correct, or was this just vandalism on the part of @Ptrpov ?

Dec 1 2017, 8:41 PM · Contributors-Analysis, New-Editor-Experiences
cscott added subtasks for T181249: Measure key aspects for New Editor Experiences initiatives: T86288: Show progress bar when loading the lightbox image, T86168: Isolate contintcloud nova project from the rest of the wmflabs cloud, T86268: Improve back button behavior after TOC jump to or when scrolling down (ToC v2), T1224: Interwiki search needs design input, T468: RfC: CentralNotice backend improvements, T1004: Think about whether we should do prefix searching on any word everywhere, T1012: Add i18n for Spanish, T353: RFC: Vertical writing support, T351: RfC: Square bounding boxes, T356: RfC: Standardized thumbnails sizes, T329: Use EventEmitter in Flow, T352: Run the requested stats on Square bounding boxes, T141: Fork ChemDoodle Web components, improve code readablility, T359: Document the Wikidata API in the Developer Hub, T125: Allow viewing diffs of single commits within a Differential, T110: Let users configure date format in account settings, T261: Metadata fields for SMILES and InChI, T207: Update Code Review related documentation on wiki pages from Gerrit to Differential.
Dec 1 2017, 8:39 PM · Contributors-Analysis, New-Editor-Experiences
cscott added a parent task for T110: Let users configure date format in account settings: T181249: Measure key aspects for New Editor Experiences initiatives.
Dec 1 2017, 8:39 PM · Phabricator (Upstream), Upstream
cscott added a parent task for T125: Allow viewing diffs of single commits within a Differential: T181249: Measure key aspects for New Editor Experiences initiatives.
Dec 1 2017, 8:39 PM · Differential, Wikimedia Phabricator RfC
cscott added a parent task for T207: Update Code Review related documentation on wiki pages from Gerrit to Differential: T181249: Measure key aspects for New Editor Experiences initiatives.
Dec 1 2017, 8:39 PM · Documentation, Gerrit-Migration
cscott added a parent task for T261: Metadata fields for SMILES and InChI: T181249: Measure key aspects for New Editor Experiences initiatives.
Dec 1 2017, 8:39 PM · MediaWiki-extensions-MolHandler
cscott added a parent task for T141: Fork ChemDoodle Web components, improve code readablility: T181249: Measure key aspects for New Editor Experiences initiatives.
Dec 1 2017, 8:39 PM · MediaWiki-extensions-MolHandler
cscott added a parent task for T351: RfC: Square bounding boxes: T181249: Measure key aspects for New Editor Experiences initiatives.
Dec 1 2017, 8:39 PM · TechCom-RFC
cscott added a parent task for T329: Use EventEmitter in Flow: T181249: Measure key aspects for New Editor Experiences initiatives.
Dec 1 2017, 8:39 PM · StructuredDiscussions, Collaboration-Team-Triage
cscott added a parent task for T353: RFC: Vertical writing support: T181249: Measure key aspects for New Editor Experiences initiatives.
Dec 1 2017, 8:39 PM · TechCom-RFC
cscott added a parent task for T352: Run the requested stats on Square bounding boxes: T181249: Measure key aspects for New Editor Experiences initiatives.
Dec 1 2017, 8:39 PM · MediaWiki-Parser

Nov 30 2017

cscott closed T178632: Stack overflow in remex_html serializer as Resolved.

Remex re-enabled via https://gerrit.wikimedia.org/r/392185/ in today's 11am PST SWAT.

Nov 30 2017, 7:45 PM · MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, RemexHtml, Wikimedia-log-errors

Nov 29 2017

cscott added a comment to T106240: Colorable SVG.

Couldn't we do this with a bot of some sort, rather than expand the image syntax? Ie, just refer to the file as [[file:basename-color.svg]] and we'll auto-generate the colored version of the svg from basename.svg. Maybe mark the SVG as colorable by adding it to [[Category:Colorable]] or something.

Nov 29 2017, 10:18 PM · TechCom-RFC, Patch-For-Review, Wikimania-Hackathon-2015, Wikimedia-SVG-rendering
cscott created T181657: Deprecate and remove Parsoid's body-only mode.
Nov 29 2017, 5:38 PM · RESTBase-API, Services (watching), Parsoid

Nov 21 2017

cscott added a comment to T179544: Some characters in HTML5 fragments mess with wikitext.

Good question. I would certainly support removing the wikitext-generated part of the ID.

Nov 21 2017, 9:53 PM · Community-Tech, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), Patch-For-Review, Parsoid, MediaWiki-Parser
cscott added a comment to T181095: Audit Parsoid's handling of wikitext and html strings in HTML attributes.

See also T179544: Some characters in HTML5 fragments mess with wikitext, T29694: Reference names can't contain square brackets in HTML5 fragment mode, T51672: Using &#93; (closing square bracket) in title tag for external link breaks expected parsing, T72875: Links with attributes containing escaped right square brackets don't close properly.

Nov 21 2017, 9:20 PM · MediaWiki-Parser, Parsoid
cscott added a comment to T177547: Add search support for linter errors.

Added Discovery since some help from that team would be useful; the Parsing-Team doesn't really have experience with search, and so this will probably be a low-priority task for us w/o help.

Nov 21 2017, 4:17 PM · Discovery-Search, Discovery, MediaWiki-extensions-Linter
cscott added a project to T177547: Add search support for linter errors: Discovery.
Nov 21 2017, 4:16 PM · Discovery-Search, Discovery, MediaWiki-extensions-Linter
cscott added a comment to T177547: Add search support for linter errors.

Copying some bits from the Flow thread to make this task more self-contained:

Nov 21 2017, 2:46 PM · Discovery-Search, Discovery, MediaWiki-extensions-Linter