Page MenuHomePhabricator

Bhsd (Bhsd)
User

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Monday

  • Clear sailing ahead.

User Details

User Since
Oct 16 2021, 7:13 AM (122 w, 6 d)
Availability
Available
LDAP User
Bhsd
MediaWiki User
Unknown

Recent Activity

Wed, Feb 21

Bhsd moved T254962: Preview scrolls the edit window to the top of the wikitext when using syntax highlighting from Done to Bugs on the MediaWiki-extensions-CodeMirror board.
Wed, Feb 21, 10:38 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd reopened T254962: Preview scrolls the edit window to the top of the wikitext when using syntax highlighting as "Open".

Reopen because this will not be fixed together with T212899

Wed, Feb 21, 7:25 AM · Community-Tech, MediaWiki-extensions-CodeMirror

Tue, Feb 20

Bhsd added a comment to T95100: Add autocompletion to CodeMirror extension.

Illustatrions of my attempts:

Tue, Feb 20, 3:50 AM · MediaWiki-extensions-CodeMirror

Thu, Feb 15

Bhsd added a comment to T211205: Toolbar/charinsert don't handle CodeMirror's multiple selections/cursors.

Actually, it looks like CodeMirror just never implemented the encapsulateSelection method.

Thu, Feb 15, 11:56 PM · Patch-For-Review, MW-1.42-notes (1.42.0-wmf.19; 2024-02-20), User-TheDJ, MediaWiki-extensions-CodeMirror

Wed, Feb 14

Bhsd added a comment to T211205: Toolbar/charinsert don't handle CodeMirror's multiple selections/cursors.

For now, how about deselecting all secondary selections whenever replaceSelection is called? For example,

Wed, Feb 14, 5:15 PM · Patch-For-Review, MW-1.42-notes (1.42.0-wmf.19; 2024-02-20), User-TheDJ, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T357482: 2017 wikitext editor integration in CodeMirror 6.

How about exposing a global CM6 constructor from one RL module? Then all other modules (2003 editor/2010 editor/2017 editor) can easily depend on this module just like ext.CodeMirror.lib.

Wed, Feb 14, 5:05 PM · Community-Tech, VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor, MediaWiki-extensions-CodeMirror

Sun, Feb 11

Bhsd added a comment to T30684: Collapse templates in editor.

Would it be possible to keep the | for the collapsed version? I feel it looks like the template name has been shortened without it.

Sun, Feb 11, 2:56 PM · MediaWiki-extensions-CodeMirror, MediaWiki-Page-editing

Wed, Feb 7

Bhsd added a comment to T30684: Collapse templates in editor.

I have worked out one way to implement: There will be an icon displayed above the cursor inside a template. By clicking it, the template parameters become hidden and replaced by three dots, while the template name remains visible. Clicking the dots will unfold the template. Regarding the key bindings, foldAll (Ctrl-Alt-[) is likely to fail on a very long page, while others should work as expected.

Wed, Feb 7, 9:30 AM · MediaWiki-extensions-CodeMirror, MediaWiki-Page-editing
Bhsd moved T95100: Add autocompletion to CodeMirror extension from Feature requests to CodeMirror 6 on the MediaWiki-extensions-CodeMirror board.

Autocompletion for magic words and tag names will be relatively easier with the CodeMirror 6's language data interface.

Wed, Feb 7, 9:16 AM · MediaWiki-extensions-CodeMirror

Fri, Feb 2

Bhsd moved T30684: Collapse templates in editor from Feature requests to CodeMirror 6 on the MediaWiki-extensions-CodeMirror board.

The default folding style in CodeMirror 6 is line-based. Either we should only focus on multi-line templates, or we may need to write our own implementation for template folding.

Fri, Feb 2, 3:33 PM · MediaWiki-extensions-CodeMirror, MediaWiki-Page-editing

Tue, Jan 30

Bhsd added a comment to T184272: Incorrect syntax highlighting for: *#*:#.

@TheDJ Did they explicitly enable CodeMirror 6 in the URL (cm6enable=1)? I am unable to reproduce the issue. Besides, my patch does not seem to add any expensive RegExp to the stream parser.

Tue, Jan 30, 7:13 AM · MediaWiki-extensions-CodeMirror

Fri, Jan 26

Bhsd added a subtask for T259059: Upgrade to CodeMirror 6: T211205: Toolbar/charinsert don't handle CodeMirror's multiple selections/cursors.
Fri, Jan 26, 10:42 AM · Community-Tech (CommTech-Kanban), Epic, MediaWiki-extensions-CodeMirror, WMDE-TechWish, User-thiemowmde, WMDE-Templates-FocusArea, WMDE-TechWish-Maintenance
Bhsd added a parent task for T211205: Toolbar/charinsert don't handle CodeMirror's multiple selections/cursors: T259059: Upgrade to CodeMirror 6.
Fri, Jan 26, 10:42 AM · Patch-For-Review, MW-1.42-notes (1.42.0-wmf.19; 2024-02-20), User-TheDJ, MediaWiki-extensions-CodeMirror
Bhsd updated the task description for T259059: Upgrade to CodeMirror 6.
Fri, Jan 26, 10:41 AM · Community-Tech (CommTech-Kanban), Epic, MediaWiki-extensions-CodeMirror, WMDE-TechWish, User-thiemowmde, WMDE-Templates-FocusArea, WMDE-TechWish-Maintenance

Jan 24 2024

Bhsd added a comment to T259059: Upgrade to CodeMirror 6.

It's possible I won't be able to revisit the CodeMirror project until after the off-site and my subsequent holiday.

Jan 24 2024, 11:33 PM · Community-Tech (CommTech-Kanban), Epic, MediaWiki-extensions-CodeMirror, WMDE-TechWish, User-thiemowmde, WMDE-Templates-FocusArea, WMDE-TechWish-Maintenance

Jan 23 2024

Bhsd claimed T212899: Edit preview jumps down to the end of the article.
Jan 23 2024, 11:05 PM · Patch-For-Review, MediaWiki-Page-editing, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T212899: Edit preview jumps down to the end of the article.

I think there are at least 2 separate aspects being discussed/confused here, and I think at least one of the recently merged tasks was not a duplicate.

Jan 23 2024, 10:59 PM · Patch-For-Review, MediaWiki-Page-editing, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T212899: Edit preview jumps down to the end of the article.

You are right. This ticket is not about selection, but the scrollIntoView: true option will always scroll the preview page down to the editor. I am not sure whether you manually modified the editform's action property in order to preserve cm6enable=1 after the page reloads.

Jan 23 2024, 6:29 PM · Patch-For-Review, MediaWiki-Page-editing, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T212899: Edit preview jumps down to the end of the article.

@MusikAnimal I see your commit message from 314bd6d8c4a8b987be627d60ec6e62be811726c4. Could you explain it a little bit more? Scrolling selection into view is not the expected behavior with the native textarea. Maybe we only need to let this.view.scrollDOM, instead of the page, scroll to the selection?

Jan 23 2024, 4:22 PM · Patch-For-Review, MediaWiki-Page-editing, MediaWiki-extensions-CodeMirror

Jan 22 2024

Bhsd moved T292967: Syntax highlighting: Detect {{{!}} und {{!}}} as start/end of tables from Backlog to Feature requests on the MediaWiki-extensions-CodeMirror board.
Jan 22 2024, 3:49 AM · Patch-For-Review, MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), WMDE-TechWish-Maintenance-2023, patch-welcome, WMDE-TechWish-Maintenance, User-thiemowmde, WMDE-TechWish-XMAS-Sprint-2021-12-15, MediaWiki-extensions-CodeMirror, WMDE-TechWish, WMDE-Templates-FocusArea
Bhsd added a comment to T289407: CodeMirror should perform syntax highlighting inside <gallery></gallery> tags.

I am adding a parent task because the syntax inside a gallery tag is essentially one file link per line without double brackets.

Jan 22 2024, 3:46 AM · MediaWiki-extensions-CodeMirror
Bhsd added a subtask for T108447: File links should be parsed differently from regular wikilinks: T289407: CodeMirror should perform syntax highlighting inside <gallery></gallery> tags.
Jan 22 2024, 3:45 AM · MediaWiki-extensions-CodeMirror
Bhsd added a parent task for T289407: CodeMirror should perform syntax highlighting inside <gallery></gallery> tags: T108447: File links should be parsed differently from regular wikilinks.
Jan 22 2024, 3:45 AM · MediaWiki-extensions-CodeMirror
Bhsd moved T108447: File links should be parsed differently from regular wikilinks from Improvement to Feature requests on the MediaWiki-extensions-CodeMirror board.
Jan 22 2024, 3:44 AM · MediaWiki-extensions-CodeMirror
Bhsd added a parent task for T170240: Highlight keywords in file syntax: T108447: File links should be parsed differently from regular wikilinks.
Jan 22 2024, 3:42 AM · MediaWiki-extensions-CodeMirror
Bhsd added a parent task for T193210: CodeMirror: allow users to customize links vs. file links differently via CSS: T108447: File links should be parsed differently from regular wikilinks.
Jan 22 2024, 3:42 AM · MediaWiki-extensions-CodeMirror
Bhsd added subtasks for T108447: File links should be parsed differently from regular wikilinks: T193210: CodeMirror: allow users to customize links vs. file links differently via CSS, T170240: Highlight keywords in file syntax.
Jan 22 2024, 3:42 AM · MediaWiki-extensions-CodeMirror
Bhsd renamed T108447: File links should be parsed differently from regular wikilinks from Files with links in caption not highlighted correctly to File links should be parsed differently from regular wikilinks.
Jan 22 2024, 3:42 AM · MediaWiki-extensions-CodeMirror
Bhsd moved T211205: Toolbar/charinsert don't handle CodeMirror's multiple selections/cursors from Bugs to CodeMirror 6 on the MediaWiki-extensions-CodeMirror board.

The current CodeMirror 6 integration does not support multiple selections any more. Do we want to add this functionality back with allowMultipleSelections and drawSelection?

Jan 22 2024, 3:29 AM · Patch-For-Review, MW-1.42-notes (1.42.0-wmf.19; 2024-02-20), User-TheDJ, MediaWiki-extensions-CodeMirror
Bhsd moved T189901: Ctrl-I and Ctrl-B cause a flash of styled content in Chrome with Syntax Highlighting in 2010 wikitext editor from Bugs to CodeMirror 6 on the MediaWiki-extensions-CodeMirror board.

This will automatically be fixed with CodeMirror 6 upgrade.

Jan 22 2024, 3:22 AM · Browser-Support-Google-Chrome, MediaWiki-extensions-CodeMirror

Jan 20 2024

Bhsd added a project to T245568: Highlighting (CodeMirror) changes the editor font from the user preference (sans/serif) to monospace: VisualEditor-MediaWiki-2017WikitextEditor.
Jan 20 2024, 2:11 AM · MW-1.42-notes (1.42.0-wmf.20; 2024-02-27), Patch-For-Review, VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor, Spike, MW-1.35-notes (1.35.0-wmf.22; 2020-03-03), Editing-team, MediaWiki-extensions-CodeMirror
Bhsd closed T224695: Syntax highlighting has problems with "justify paragraphs" gadget as Declined.

This is supposed to be fixed in the gadget. Reference: https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-JustifyParagraphs.css

Jan 20 2024, 2:05 AM · MediaWiki-extensions-CodeMirror
Bhsd merged T196319: Show Preview always scrolls to the top of the page regardless of preview location into T212899: Edit preview jumps down to the end of the article.
Jan 20 2024, 1:58 AM · Patch-For-Review, MediaWiki-Page-editing, MediaWiki-extensions-CodeMirror
Bhsd moved T196319: Show Preview always scrolls to the top of the page regardless of preview location from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Jan 20 2024, 1:58 AM · MediaWiki-extensions-CodeMirror
Bhsd merged task T196319: Show Preview always scrolls to the top of the page regardless of preview location into T212899: Edit preview jumps down to the end of the article.
Jan 20 2024, 1:58 AM · MediaWiki-extensions-CodeMirror
Bhsd added a comment to T190108: Ways to opt-in/opt-out CodeMirror in 2003 Wikitext editor (without using the Toolbar).

Possibly share a solution with T301615 to some extent.

Jan 20 2024, 1:49 AM · MediaWiki-extensions-CodeMirror
Bhsd moved T190108: Ways to opt-in/opt-out CodeMirror in 2003 Wikitext editor (without using the Toolbar) from Backlog to CodeMirror 6 on the MediaWiki-extensions-CodeMirror board.
Jan 20 2024, 1:48 AM · MediaWiki-extensions-CodeMirror
Bhsd moved T189901: Ctrl-I and Ctrl-B cause a flash of styled content in Chrome with Syntax Highlighting in 2010 wikitext editor from Backlog to Bugs on the MediaWiki-extensions-CodeMirror board.
Jan 20 2024, 1:45 AM · Browser-Support-Google-Chrome, MediaWiki-extensions-CodeMirror
Bhsd merged task T254705: Show Preview Scrolls to the bottom of the preview (scrolls the edit box into view?) into T212899: Edit preview jumps down to the end of the article.
Jan 20 2024, 1:23 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd merged T254705: Show Preview Scrolls to the bottom of the preview (scrolls the edit box into view?) into T212899: Edit preview jumps down to the end of the article.
Jan 20 2024, 1:23 AM · Patch-For-Review, MediaWiki-Page-editing, MediaWiki-extensions-CodeMirror
Bhsd moved T254705: Show Preview Scrolls to the bottom of the preview (scrolls the edit box into view?) from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Jan 20 2024, 1:23 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd moved T254962: Preview scrolls the edit window to the top of the wikitext when using syntax highlighting from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Jan 20 2024, 1:21 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd merged T254962: Preview scrolls the edit window to the top of the wikitext when using syntax highlighting into T212899: Edit preview jumps down to the end of the article.
Jan 20 2024, 1:21 AM · Patch-For-Review, MediaWiki-Page-editing, MediaWiki-extensions-CodeMirror
Bhsd merged task T254962: Preview scrolls the edit window to the top of the wikitext when using syntax highlighting into T212899: Edit preview jumps down to the end of the article.
Jan 20 2024, 1:21 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd moved T201321: CodeMirror highlights redirects as lists from Bugs to Improvement on the MediaWiki-extensions-CodeMirror board.
Jan 20 2024, 12:59 AM · MediaWiki-extensions-CodeMirror
Bhsd moved T260992: CodeMirror should let you disable or redefine keymaps from Backlog to Feature requests on the MediaWiki-extensions-CodeMirror board.
Jan 20 2024, 12:54 AM · MediaWiki-extensions-CodeMirror
Bhsd moved T304567: CodeMirror highlighting first apostrophe when the page ends with unclosed template/tag/anything that merit a darker background from Backlog to Bugs on the MediaWiki-extensions-CodeMirror board.
Jan 20 2024, 12:48 AM · MediaWiki-extensions-CodeMirror

Jan 19 2024

Bhsd closed T184272: Incorrect syntax highlighting for: *#*:# as Resolved.
Jan 19 2024, 1:18 AM · MediaWiki-extensions-CodeMirror

Jan 18 2024

Bhsd claimed T324374: Missing syntax highlighting for captions and consecutive cells that have attributes in wikitext tables.
Jan 18 2024, 5:51 PM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki-extensions-CodeMirror
Bhsd moved T188607: Syntax highlighting disables middle button copy/paste in Firefox from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Jan 18 2024, 5:23 PM · Browser-Support-Firefox, MediaWiki-extensions-CodeMirror
Bhsd merged T188607: Syntax highlighting disables middle button copy/paste in Firefox into T174635: Middle-click to paste text doesn't work in CodeMirror on Linux.
Jan 18 2024, 5:23 PM · Upstream, MediaWiki-extensions-CodeMirror
Bhsd merged task T188607: Syntax highlighting disables middle button copy/paste in Firefox into T174635: Middle-click to paste text doesn't work in CodeMirror on Linux.
Jan 18 2024, 5:23 PM · Browser-Support-Firefox, MediaWiki-extensions-CodeMirror
Bhsd moved T193210: CodeMirror: allow users to customize links vs. file links differently via CSS from Backlog to Improvement on the MediaWiki-extensions-CodeMirror board.
Jan 18 2024, 5:20 PM · MediaWiki-extensions-CodeMirror
Bhsd placed T189571: Syntax highlighting gets confused by extra lbrace up for grabs.
Jan 18 2024, 5:18 PM · MediaWiki-extensions-CodeMirror
Bhsd moved T189571: Syntax highlighting gets confused by extra lbrace from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Jan 18 2024, 5:17 PM · MediaWiki-extensions-CodeMirror
Bhsd closed T189571: Syntax highlighting gets confused by extra lbrace as Resolved.
Jan 18 2024, 5:17 PM · MediaWiki-extensions-CodeMirror
Bhsd claimed T309880: Syntaxhighlight incorrectly highlights words as URL protocols .
Jan 18 2024, 5:05 PM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd added a parent task for T95100: Add autocompletion to CodeMirror extension: T166098: Syntax sensitive and highlighting source code editor for template code wanted.
Jan 18 2024, 4:47 PM · MediaWiki-extensions-CodeMirror
Bhsd added a subtask for T166098: Syntax sensitive and highlighting source code editor for template code wanted: T95100: Add autocompletion to CodeMirror extension.
Jan 18 2024, 4:47 PM · Epic, MediaWiki-extensions-CodeMirror, MediaWiki-Page-editing, MediaWiki-Templates
Bhsd updated the task description for T166098: Syntax sensitive and highlighting source code editor for template code wanted.
Jan 18 2024, 4:46 PM · Epic, MediaWiki-extensions-CodeMirror, MediaWiki-Page-editing, MediaWiki-Templates
Bhsd added a comment to T348684: Implement mediawiki TagModes for CodeMirror 6.

I guess this is due to type coercion from undefined to 'undefined'. Maybe returning an empty string will solve this problem.

Jan 18 2024, 11:28 AM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), Community-Tech (CommTech-Kanban), MediaWiki-extensions-CodeMirror
Bhsd moved T303392: Quickly open a template page by modifier + clicking on the wiki markup from Backlog to Feature requests on the MediaWiki-extensions-CodeMirror board.

This seems to me only possible with CodeMirror enabled.

Jan 18 2024, 11:04 AM · MediaWiki-extensions-CodeMirror, VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor, WikiEditor
Bhsd added a project to T303392: Quickly open a template page by modifier + clicking on the wiki markup: MediaWiki-extensions-CodeMirror.
Jan 18 2024, 11:04 AM · MediaWiki-extensions-CodeMirror, VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor, WikiEditor
Bhsd moved T350706: Make WikiEditor syntax highlight definition lists' terms correctly from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Jan 18 2024, 11:00 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd merged task T350706: Make WikiEditor syntax highlight definition lists' terms correctly into T170042: Highlight definition lists.
Jan 18 2024, 11:00 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd merged T350706: Make WikiEditor syntax highlight definition lists' terms correctly into T170042: Highlight definition lists.
Jan 18 2024, 11:00 AM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki-extensions-CodeMirror
Bhsd edited projects for T350706: Make WikiEditor syntax highlight definition lists' terms correctly, added: MediaWiki-extensions-CodeMirror; removed WikiEditor.
Jan 18 2024, 10:58 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd claimed T355290: Heading bolding in syntax highlighter bleeding onto all following text.

This is due to CSS conflict with CodeMirror 5 introduced in rECMI9826cc906f1e

Jan 18 2024, 10:57 AM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), Regression, Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd edited projects for T355290: Heading bolding in syntax highlighter bleeding onto all following text, added: MediaWiki-extensions-CodeMirror; removed WikiEditor.
Jan 18 2024, 10:54 AM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), Regression, Community-Tech, MediaWiki-extensions-CodeMirror

Jan 9 2024

Bhsd moved T217965: Syntax highlighting gets confused when producing table syntax in template from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Jan 9 2024, 5:12 PM · patch-welcome, WMDE-TechWish-Maintenance, MediaWiki-extensions-CodeMirror
Bhsd merged T217965: Syntax highlighting gets confused when producing table syntax in template into T292967: Syntax highlighting: Detect {{{!}} und {{!}}} as start/end of tables.
Jan 9 2024, 5:11 PM · Patch-For-Review, MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), WMDE-TechWish-Maintenance-2023, patch-welcome, WMDE-TechWish-Maintenance, User-thiemowmde, WMDE-TechWish-XMAS-Sprint-2021-12-15, MediaWiki-extensions-CodeMirror, WMDE-TechWish, WMDE-Templates-FocusArea
Bhsd merged task T217965: Syntax highlighting gets confused when producing table syntax in template into T292967: Syntax highlighting: Detect {{{!}} und {{!}}} as start/end of tables.
Jan 9 2024, 5:10 PM · patch-welcome, WMDE-TechWish-Maintenance, MediaWiki-extensions-CodeMirror
Bhsd moved T289405: Implement syntax highlighting in editor for markup within <score> tags. from Backlog to Feature requests on the MediaWiki-extensions-CodeMirror board.
Jan 9 2024, 5:06 PM · MediaWiki-extensions-Score, MediaWiki-extensions-CodeMirror
Bhsd moved T289407: CodeMirror should perform syntax highlighting inside <gallery></gallery> tags from Backlog to Feature requests on the MediaWiki-extensions-CodeMirror board.
Jan 9 2024, 5:06 PM · MediaWiki-extensions-CodeMirror
Bhsd moved T301615: Show syntax highlighting on View Source/protected pages from Backlog to Improvement on the MediaWiki-extensions-CodeMirror board.
Jan 9 2024, 5:05 PM · Community-Tech (CommTech-Kanban), Patch-For-Review, Community-Wishlist-Survey-2023, MediaWiki-extensions-CodeMirror
Bhsd merged T311081: Wrong highlight for nested template into T292967: Syntax highlighting: Detect {{{!}} und {{!}}} as start/end of tables.
Jan 9 2024, 5:05 PM · Patch-For-Review, MW-1.42-notes (1.42.0-wmf.9; 2023-12-12), WMDE-TechWish-Maintenance-2023, patch-welcome, WMDE-TechWish-Maintenance, User-thiemowmde, WMDE-TechWish-XMAS-Sprint-2021-12-15, MediaWiki-extensions-CodeMirror, WMDE-TechWish, WMDE-Templates-FocusArea
Bhsd moved T281138: Add edit count bucketing to CodeMirror dashboard from Backlog to Feature requests on the MediaWiki-extensions-CodeMirror board.
Jan 9 2024, 5:04 PM · MediaWiki-extensions-CodeMirror, WMDE-TechWish
Bhsd moved T309880: Syntaxhighlight incorrectly highlights words as URL protocols from Backlog to Bugs on the MediaWiki-extensions-CodeMirror board.
Jan 9 2024, 5:04 PM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd moved T311081: Wrong highlight for nested template from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Jan 9 2024, 5:04 PM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd merged task T311081: Wrong highlight for nested template into T292967: Syntax highlighting: Detect {{{!}} und {{!}}} as start/end of tables.
Jan 9 2024, 5:04 PM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T311081: Wrong highlight for nested template.

Partially fixed in https://gerrit.wikimedia.org/r/975767 and partially duplicated as T292967

Jan 9 2024, 5:02 PM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd moved T304966: Syntax highlighting in the Wikitext Editor 2017 (new wikitext mode) lacks some formatting compared to the 2010 editor from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Jan 9 2024, 4:55 PM · MediaWiki-extensions-CodeMirror, VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor
Bhsd merged T304966: Syntax highlighting in the Wikitext Editor 2017 (new wikitext mode) lacks some formatting compared to the 2010 editor into T199740: Bold and big not highlighted correctly in the 2017WTE.
Jan 9 2024, 4:55 PM · MediaWiki-extensions-CodeMirror, VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor
Bhsd merged task T304966: Syntax highlighting in the Wikitext Editor 2017 (new wikitext mode) lacks some formatting compared to the 2010 editor into T199740: Bold and big not highlighted correctly in the 2017WTE.
Jan 9 2024, 4:54 PM · MediaWiki-extensions-CodeMirror, VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor
Bhsd moved T171896: Add support for language variant syntax from Improvement to Done on the MediaWiki-extensions-CodeMirror board.
Jan 9 2024, 4:49 PM · MediaWiki-extensions-CodeMirror
Bhsd merged T171896: Add support for language variant syntax into T281024: CodeMirror: Support highlighting for language conversion tags -{}-.
Jan 9 2024, 4:49 PM · Chinese-Sites, MediaWiki-Page-editing, MediaWiki-extensions-CodeMirror
Bhsd merged task T171896: Add support for language variant syntax into T281024: CodeMirror: Support highlighting for language conversion tags -{}-.
Jan 9 2024, 4:48 PM · MediaWiki-extensions-CodeMirror
Bhsd claimed T184272: Incorrect syntax highlighting for: *#*:#.
Jan 9 2024, 4:29 PM · MediaWiki-extensions-CodeMirror
Bhsd moved T279768: Edit page scrolls when enabling syntax highlighting from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Jan 9 2024, 4:11 PM · MediaWiki-extensions-CodeMirror
Bhsd moved T334934: [EPIC] Replace WikimediaUI Base variables with Codex design tokens (mediawiki.skin.variables) from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Jan 9 2024, 4:11 PM · MW-1.42-notes (1.42.0-wmf.13; 2024-01-09 ), Wikibase Product Platform Team WPP (Sprint 9), Two-Column-Edit-Conflict-Merge, OOUI, Cite, Wikidata-Termbox, MediaWiki-extensions-Phonos, Design-System-Team (Design-System-Product-Roadmap), MW-1.41-notes (1.41.0-wmf.10; 2023-05-23), [DEPRECATED] wdwb-tech, Wikidata Query UI, Wikidata, Epic, MediaWiki-skins-Mirage, Wikidata Lexicographical data, MediaWiki-extensions-CodeMirror, VisualEditor, Structured-Data-Backlog, Growth-Team, WikibaseMediaInfo, SDAW-MediaSearch, MachineVision, ContentTranslation, GrowthExperiments, JsonConfig, Maps (Kartographer), WikimediaUI-Base, CSS
Bhsd placed T351686: Implement line-level styling (i.e. section headings) in CodeMirror 6 up for grabs.
Jan 9 2024, 9:37 AM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), Community-Tech, MediaWiki-extensions-CodeMirror

Jan 5 2024

Bhsd added a comment to T348684: Implement mediawiki TagModes for CodeMirror 6.

I haven't gotten that far, but my thoughts were to use the Lezer packages for other languages, at least when the CM instance is only dealing with one language. I.e. if we were to replace CodeEditor (which I hope to do), we wouldn't use CodeMirrorModeMediaWiki at all, or even WikiEditor for that matter. Just load the Lezer package, and instantiate the EditorView. Lezer packages won't use our styling, and will be more performant than the stream parser implementation.

Jan 5 2024, 5:04 AM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), Community-Tech (CommTech-Kanban), MediaWiki-extensions-CodeMirror

Dec 16 2023

Bhsd added a comment to T352917: CodeMirror 6 MediaWiki stream parser produces excess markup.

It is not a fair comparison. If we try to faithfully reproduce the eatFreeExternalLink on the CodeMirror 6 website (demo), a similar issue occurs.

Dec 16 2023, 3:46 PM · Community-Tech (CommTech-Kanban), MediaWiki-extensions-CodeMirror

Dec 15 2023

Bhsd added a comment to T348684: Implement mediawiki TagModes for CodeMirror 6.

IMG_4427.jpeg (710×1 px, 396 KB)

Attaching a screen shot from my cellphone. Note that the styles of the embedded javascript mode is also influenced by mediawiki.less

Dec 15 2023, 3:34 AM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), Community-Tech (CommTech-Kanban), MediaWiki-extensions-CodeMirror

Dec 13 2023

Bhsd claimed T351686: Implement line-level styling (i.e. section headings) in CodeMirror 6.
Dec 13 2023, 12:21 PM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T351686: Implement line-level styling (i.e. section headings) in CodeMirror 6.

A possible CSS hack with some minimal changes in codemirror.mode.mediawiki.js is like this:

Dec 13 2023, 12:19 PM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T303664: CodeMirror option "viewportMargin: Infinity" rethinking.

Note that this issue becomes invalid with CodeMirror 6 (T259059). The option viewportMargin: Infinity is no longer available in CodeMirror 6, and search keys were added as default extensions in T317243.

Dec 13 2023, 9:30 AM · Community-Tech, Performance Issue, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T259059: Upgrade to CodeMirror 6.

There are also caveats using CodeMirror for static Wikitext highlighting. The CodeMirror parser, essentially a one-pass parser, assumes that the code is being written and may have incomplete syntax, while it is not the case for a static code block. And here are two examples: T185072 and T185070.

Dec 13 2023, 9:17 AM · Community-Tech (CommTech-Kanban), Epic, MediaWiki-extensions-CodeMirror, WMDE-TechWish, User-thiemowmde, WMDE-Templates-FocusArea, WMDE-TechWish-Maintenance
Bhsd added a comment to T348684: Implement mediawiki TagModes for CodeMirror 6.

Some immature thoughts: Since CodeMirror6 prefers a large bundle of all possibly used resources, we may have to dynamically generate (part of) the source scripts to determine which legacy language modes should also be imported in the bundle.

Dec 13 2023, 8:02 AM · MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), Community-Tech (CommTech-Kanban), MediaWiki-extensions-CodeMirror

Nov 28 2023

Bhsd added a comment to T351686: Implement line-level styling (i.e. section headings) in CodeMirror 6.

Thanks for communicating with the author of CodeMirror! In this case, I think boldface is a reasonable alternative solution.

Nov 28 2023, 1:06 AM · MW-1.42-notes (1.42.0-wmf.14; 2024-01-16), Community-Tech, MediaWiki-extensions-CodeMirror