Page MenuHomePhabricator

Bhsd (Bhsd)
User

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Saturday

  • Clear sailing ahead.

User Details

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

Recent Activity

Today

Bhsd updated subscribers of T366035: CodeMirror malfunction when there is a very long line.

@MusikAnimal This problem may be severer than I used to think. For instance, the page S. S. Rajamouli crashes when editing with CodeMirror 6. I am running real-world CM6 parser tests using English Wikipedia, and parsing this page even fails in Node.js.

Thu, Nov 21, 5:47 PM · Community-Tech, MediaWiki-extensions-CodeMirror

Fri, Nov 15

Bhsd moved T373649: Copying and pasting large pages causes misalignment between CodeMirror and VE surfaces from CodeMirror 6 migration to Done on the MediaWiki-extensions-CodeMirror board.
Fri, Nov 15, 5:01 PM · Community-Tech (Jackal (not a fox) Fox), MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor, 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 CodeMirror 6 migration to Done on the MediaWiki-extensions-CodeMirror board.
Fri, Nov 15, 5:00 PM · Wikitext editor (2010), Browser-Support-Google-Chrome, MediaWiki-extensions-CodeMirror

Sat, Nov 9

Bhsd added a comment to T357482: 2017 wikitext editor integration in CodeMirror 6.

The misalignment I reported earlier has been fixed.

Sat, Nov 9, 10:58 AM · MW-1.44-notes (1.44.0-wmf.3; 2024-11-12), Community-Tech, MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor, MediaWiki-extensions-CodeMirror

Sat, Oct 26

Bhsd added a comment to T189901: Ctrl-I and Ctrl-B cause a flash of styled content in Chrome with Syntax Highlighting in 2010 wikitext editor.

The Ctrl B and Ctrl I behaviors in the 2010 Wikitext editor will be changed for T62928.

Sat, Oct 26, 12:46 PM · Wikitext editor (2010), Browser-Support-Google-Chrome, MediaWiki-extensions-CodeMirror

Oct 3 2024

Bhsd added a comment to T376351: Insert tabs and not spaces in indented blocks in CodeMirror.

Automatic indentation detection is not yet available from CodeMirror, and the indentUnit config has to be consistent throughout one document. Therefore, if we prescribe one tab as the default, then the editor will always indent with tabs even where spaces are used. One possible solution is to add this config to the future preferences panel (T386398) so that the user can choose appropriate indentUnit.

Oct 3 2024, 1:59 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T376351: Insert tabs and not spaces in indented blocks in CodeMirror.

Are you requesting automatic indentation detection or literally tabs?

Oct 3 2024, 1:31 AM · Community-Tech, MediaWiki-extensions-CodeMirror

Oct 1 2024

Bhsd added a comment to T303392: Quickly open a template page by modifier clicking on the wiki markup.

Can we support modifier click on the [[wikilink]] syntax as well?

Oct 1 2024, 3:11 AM · MediaWiki-extensions-CodeMirror, VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor, WikiEditor (2010)

Sep 10 2024

Bhsd moved T365311: Syntax highlighter is broken on Dark Mode from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Sep 10 2024, 12:44 AM · User-notice-archive, Community-Tech (Gray Fox (Aug 26 - Sept 6)), MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), dark-mode, Editing-team, VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor, MediaWiki-extensions-CodeMirror

Sep 5 2024

Bhsd added a comment to T357482: 2017 wikitext editor integration in CodeMirror 6.

Using the same article that dom_walden mentions, I see misalignment with hyphen-related line wrapping on L174, and the problem is only present in CM6.

Sep 5 2024, 1:53 PM · MW-1.44-notes (1.44.0-wmf.3; 2024-11-12), Community-Tech, MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor, MediaWiki-extensions-CodeMirror
Bhsd moved T205689: NWE CodeMirror: Notice about unflagged revision can cause different line breaks from Bugs to Done on the MediaWiki-extensions-CodeMirror board.
Sep 5 2024, 12:02 AM · VisualEditor, FlaggedRevs, MediaWiki-extensions-CodeMirror, VisualEditor-MediaWiki-2017WikitextEditor

Sep 3 2024

Bhsd added a comment to T357482: 2017 wikitext editor integration in CodeMirror 6.

I am surprised to see that white-space: pre-wrap is performing better than white-space: break-spaces in certain conditions. By the way, I notice that the misalignment also appears when switching between LTR and RTL.

Sep 3 2024, 12:52 PM · MW-1.44-notes (1.44.0-wmf.3; 2024-11-12), Community-Tech, MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor, MediaWiki-extensions-CodeMirror

Aug 31 2024

Bhsd added a comment to T357482: 2017 wikitext editor integration in CodeMirror 6.

Would you mind submitting a patch?

Aug 31 2024, 12:25 AM · MW-1.44-notes (1.44.0-wmf.3; 2024-11-12), Community-Tech, MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor, MediaWiki-extensions-CodeMirror

Aug 30 2024

Bhsd added a comment to T357482: 2017 wikitext editor integration in CodeMirror 6.

Were you able to reproduce the same issue Dom found above? You both are reporting to use Windows, so maybe that's why I can't reproduce it.

Aug 30 2024, 7:19 AM · MW-1.44-notes (1.44.0-wmf.3; 2024-11-12), Community-Tech, MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor, MediaWiki-extensions-CodeMirror

Aug 29 2024

Bhsd added a comment to T357482: 2017 wikitext editor integration in CodeMirror 6.

I tried white-space: break-spaces following T347902 in my browser, and it solved the misalignment problem for me.

Aug 29 2024, 12:31 PM · MW-1.44-notes (1.44.0-wmf.3; 2024-11-12), Community-Tech, MW-1.43-notes (1.43.0-wmf.22; 2024-09-10), VisualEditor-MediaWiki-2017WikitextEditor, VisualEditor, MediaWiki-extensions-CodeMirror
Bhsd added a project to T347902: Syntax highlight misalignment in 2017 wikitext editor: MediaWiki-extensions-CodeMirror.
Aug 29 2024, 12:29 PM · MW-1.43-notes (1.43.0-wmf.21; 2024-09-03), Community-Tech, MediaWiki-extensions-CodeMirror, VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor

Aug 27 2024

Bhsd removed a project from T373153: VisualEditor is not opening on Beta cluster, Error: Cannot read properties of undefined (reading 'getDefaultMode'): Patch-For-Review.
Aug 27 2024, 1:49 PM · Verified, MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), Community-Tech, MediaWiki-extensions-CodeMirror, MediaWiki-Platform-Team, VisualEditor

Aug 26 2024

Bhsd claimed T373152: [Regression 1.43wmf.20] The starting position of a line after heading is appearing indented inside VE .
Aug 26 2024, 6:30 PM · Community-Tech, MediaWiki-extensions-CodeMirror, MW-1.43-notes (1.43.0-wmf.20; 2024-08-27), Editing-team, VisualEditor

Aug 22 2024

Bhsd added a comment to T373068: Bogus codeEditor errors: "mw is not defined", "$" is not defined.

Sorry, but why is CodeMirror loaded on a JavaScript page? Are you talking about CodeEditor instead?

Aug 22 2024, 8:17 AM · MW-1.44-notes (1.44.0-wmf.1; 2024-10-29), CodeEditor
Bhsd closed T108454: Indented tables not highlighted as Resolved.
Aug 22 2024, 1:47 AM · Patch-For-Review, Community-Tech, MediaWiki-extensions-CodeMirror

Aug 20 2024

Bhsd closed T365072: Ctrl Shift Z doesn't work as shortcut for redo on Windows as Resolved.
Aug 20 2024, 3:27 PM · MW-1.43-notes (1.43.0-wmf.19; 2024-08-20), Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd closed T361465: CharInsert markup inserted in wrong place when syntax highlight is on as Resolved.
Aug 20 2024, 3:18 PM · MW-1.43-notes (1.43.0-wmf.19; 2024-08-20), Community-Tech, CharInsert, MediaWiki-extensions-CodeMirror

Aug 19 2024

Bhsd closed T170004: Syntax Highlighting: Translated magic words aren't recognized in Hebrew as Resolved.
Aug 19 2024, 3:46 AM · MW-1.43-notes (1.43.0-wmf.19; 2024-08-20), User-TheDJ, I18n, MediaWiki-extensions-CodeMirror

Aug 18 2024

Bhsd reopened T108454: Indented tables not highlighted as "Open".

There is one remaining case to be fixed. The patch has been uploaded.

Aug 18 2024, 2:08 PM · Patch-For-Review, Community-Tech, MediaWiki-extensions-CodeMirror

Aug 16 2024

Bhsd removed a project from T197502: Syntax Highlighter consumes insane amounts of CPU on large texts or on mobile phone.: Patch-Needs-Improvement.
Aug 16 2024, 4:16 AM · Mobile, MediaWiki-extensions-CodeMirror
Bhsd removed a project from T188839: When editing source, sometimes characters get put in strange places if you have too many characters on a line (due to space collapsing): Patch-For-Review.
Aug 16 2024, 4:16 AM · VisualEditor, MediaWiki-extensions-CodeMirror, VisualEditor-ContentEditable, VisualEditor-MediaWiki-2017WikitextEditor
Bhsd removed a project from T174811: Support JavaScript hook events for CodeMirror: Patch-For-Review.
Aug 16 2024, 4:14 AM · MW-1.43-notes (1.43.0-wmf.6; 2024-05-21), MediaWiki-extensions-CodeMirror

Aug 14 2024

Bhsd added a comment to T371847: 2 for Bhsd in mediawiki/extensions/CodeMirror.

Thank you all for your support!

Aug 14 2024, 10:36 PM · MediaWiki-extensions-CodeMirror, Community-Tech, Gerrit-Privilege-Requests

Aug 1 2024

Bhsd moved T191093: In Edge Legacy, on first load CodeMirror jumps cursor to beginning of article from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Aug 1 2024, 8:08 AM · Browser-Support-Microsoft-Edge, MediaWiki-extensions-CodeMirror
Bhsd moved T303664: CodeMirror option "viewportMargin: Infinity" rethinking from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Aug 1 2024, 8:07 AM · Community-Tech, Performance Issue, MediaWiki-extensions-CodeMirror
Bhsd assigned T365311: Syntax highlighter is broken on Dark Mode to Sjoerddebruin.
Aug 1 2024, 12:31 AM · User-notice-archive, Community-Tech (Gray Fox (Aug 26 - Sept 6)), MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), dark-mode, Editing-team, VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor, MediaWiki-extensions-CodeMirror

Jul 31 2024

Bhsd added a comment to T371436: Redesign CodeMirror search panel.

I'm just curious, why wasn't the standart Wikicode editor Search popup extended with the new functionality instead of creating two working at the same time?

Jul 31 2024, 12:56 PM · MW-1.44-notes (1.44.0-wmf.2; 2024-11-05), Community-Tech, MediaWiki-extensions-CodeMirror

Jul 24 2024

Bhsd moved T370586: Duplicate Meta code mirror page and its translations on MediaWiki from Backlog to Done on the MediaWiki-extensions-CodeMirror board.
Jul 24 2024, 6:44 AM · Community-Tech, Language and Product Localization, Wikimedia-maintenance-script-run, Documentation, MediaWiki-extensions-CodeMirror

Jul 21 2024

Jack_who_built_the_house awarded T95100: Add autocompletion to CodeMirror extension a Burninate token.
Jul 21 2024, 7:14 PM · MediaWiki-extensions-CodeMirror

Jun 21 2024

Bhsd added a comment to T368053: Remove build step from CodeMirror.

I think ESM does have an advantage over CJS that it supports better tree-shaking? This could be important for CM6 in order to reduce the bundle size.

Jun 21 2024, 12:36 AM · MW-1.43-notes (1.43.0-wmf.17; 2024-08-06), Community-Tech (Ezo Red Fox (July 29 - Aug 9, 2024)), MediaWiki-extensions-CodeMirror

Jun 12 2024

Bhsd added a comment to T367256: Move template folding indicator to line number column.

For now, how about simply hiding the folding tooltip when typing?

Jun 12 2024, 5:11 AM · MW-1.44-notes (1.44.0-wmf.5; 2024-11-25), MediaWiki-extensions-CodeMirror
Bhsd added a subtask for T347211: Enable line numbering in all namespaces for all wikis: T367256: Move template folding indicator to line number column.
Jun 12 2024, 4:31 AM · WMDE-TechWish-Sprint-2024-04-24, MW-1.42-notes (1.42.0-wmf.25; 2024-04-02), User-thiemowmde, WMDE-Templates-FocusArea, WMDE-TechWish, MediaWiki-extensions-CodeMirror
Bhsd added a parent task for T367256: Move template folding indicator to line number column: T347211: Enable line numbering in all namespaces for all wikis.
Jun 12 2024, 4:31 AM · MW-1.44-notes (1.44.0-wmf.5; 2024-11-25), MediaWiki-extensions-CodeMirror
Bhsd added a comment to T367256: Move template folding indicator to line number column.

My original idea was to leave the folding gutter for headings and tables. Below is an example:

Jun 12 2024, 4:26 AM · MW-1.44-notes (1.44.0-wmf.5; 2024-11-25), MediaWiki-extensions-CodeMirror

Jun 10 2024

Bhsd added a comment to T170001: Support CodeMirror syntax highlighting on RTL wikis.

@MusikAnimal @IKhitron Thanks for your replies! I have submitted the patch for the key binding, and the part about Compartment may also be useful to T386398.

Jun 10 2024, 2:32 PM · MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), MW-1.42-notes (1.42.0-wmf.2; 2023-10-24), I18n, RTL, MediaWiki-extensions-CodeMirror

Jun 8 2024

Bhsd removed a project from T170004: Syntax Highlighting: Translated magic words aren't recognized in Hebrew: RTL.
Jun 8 2024, 1:55 AM · MW-1.43-notes (1.43.0-wmf.19; 2024-08-20), User-TheDJ, I18n, MediaWiki-extensions-CodeMirror

Jun 7 2024

Bhsd added a comment to T170001: Support CodeMirror syntax highlighting on RTL wikis.

I would like to work on the Mod-Shift-x key binding to toggle between LTR and RTL. Before doing that, have we heard any feedback from hewiki where CodeMirror 6 has already been deployed?

Jun 7 2024, 9:33 AM · MW-1.43-notes (1.43.0-wmf.24; 2024-09-24), MW-1.42-notes (1.42.0-wmf.2; 2023-10-24), I18n, RTL, MediaWiki-extensions-CodeMirror

Jun 5 2024

Bhsd added a comment to T361465: CharInsert markup inserted in wrong place when syntax highlight is on.

The solution has been discussed and submitted to Gerrit for 2 months, and we just need someone to review it ( 2).

Jun 5 2024, 5:56 PM · MW-1.43-notes (1.43.0-wmf.19; 2024-08-20), Community-Tech, CharInsert, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T360566: CodeMirror breaks on some large RTL pages.

Maybe related: @codemirror/[email protected]

Jun 5 2024, 1:27 PM · MediaWiki-extensions-CodeMirror
Bhsd moved T170042: Highlight definition lists from Improvement to Done on the MediaWiki-extensions-CodeMirror board.
Jun 5 2024, 12:50 PM · Community-Tech (CommTech-Kanban), MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki-extensions-CodeMirror

Jun 4 2024

Bhsd closed T366201: CodeMirror in New Wikitext Editor is not available when creating new page as Resolved.
Jun 4 2024, 4:01 PM · Community-Tech (June 3-14 2024 Arctic Fox), VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor, MediaWiki-extensions-CodeMirror

May 29 2024

Bhsd claimed T170004: Syntax Highlighting: Translated magic words aren't recognized in Hebrew.
May 29 2024, 1:45 PM · MW-1.43-notes (1.43.0-wmf.19; 2024-08-20), User-TheDJ, I18n, MediaWiki-extensions-CodeMirror
Bhsd assigned T365072: Ctrl Shift Z doesn't work as shortcut for redo on Windows to MusikAnimal.
May 29 2024, 10:06 AM · MW-1.43-notes (1.43.0-wmf.19; 2024-08-20), Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd claimed T366035: CodeMirror malfunction when there is a very long line.
May 29 2024, 10:06 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd claimed T201321: CodeMirror highlights redirects as lists.
May 29 2024, 10:04 AM · MediaWiki-extensions-CodeMirror
Bhsd claimed T254665: Highlight attribute name and attribute string separately.
May 29 2024, 10:03 AM · MediaWiki-extensions-CodeMirror
Bhsd claimed T109822: Create wikitext tokenizer with rules identical to Parser of MW Core.
May 29 2024, 10:02 AM · MediaWiki-extensions-CodeMirror
Bhsd claimed T108447: File links should be parsed differently from regular wikilinks.
May 29 2024, 10:02 AM · MediaWiki-extensions-CodeMirror
Bhsd claimed T289407: CodeMirror should perform syntax highlighting inside <gallery></gallery> tags.
May 29 2024, 10:01 AM · MediaWiki-extensions-CodeMirror
Bhsd claimed T281024: CodeMirror: Support highlighting for language conversion tags -{}-.
May 29 2024, 10:01 AM · Chinese-Sites, MediaWiki-Page-editing, MediaWiki-extensions-CodeMirror

May 28 2024

Bhsd moved T366035: CodeMirror malfunction when there is a very long line from Backlog to CodeMirror 6 migration on the MediaWiki-extensions-CodeMirror board.
May 28 2024, 3:29 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd created T366035: CodeMirror malfunction when there is a very long line.
May 28 2024, 3:27 AM · Community-Tech, MediaWiki-extensions-CodeMirror

May 23 2024

Bhsd added a project to T365311: Syntax highlighter is broken on Dark Mode: VisualEditor-MediaWiki-2017WikitextEditor.
May 23 2024, 3:00 PM · User-notice-archive, Community-Tech (Gray Fox (Aug 26 - Sept 6)), MW-1.43-notes (1.43.0-wmf.16; 2024-07-30), dark-mode, Editing-team, VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor, MediaWiki-extensions-CodeMirror
Bhsd moved T362992: Match CJK full-width brackets in CodeMirror from CodeMirror 6 migration to Done on the MediaWiki-extensions-CodeMirror board.
May 23 2024, 12:52 AM · MW-1.43-notes (1.43.0-wmf.7; 2024-05-28), Community-Tech (CommTech-Kanban), Chinese-Sites, MediaWiki-extensions-CodeMirror

May 17 2024

Bhsd claimed T358643: Free external link ending with "~" or "'" leaks the style to the next line.
May 17 2024, 12:07 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd claimed T357720: Tags are highlighted as valid when a hyphen follows the name.
May 17 2024, 12:06 AM · MediaWiki-extensions-CodeMirror, Community-Tech

May 16 2024

Bhsd claimed T108454: Indented tables not highlighted.
May 16 2024, 11:56 PM · Patch-For-Review, Community-Tech, MediaWiki-extensions-CodeMirror

May 15 2024

Bhsd moved T365072: Ctrl Shift Z doesn't work as shortcut for redo on Windows from Backlog to CodeMirror 6 migration on the MediaWiki-extensions-CodeMirror board.

CodeMirror 6 intentionally sets the Ctrl Shift Z shortcut only for Linux (ref), but of course we can easily add it back for Windows.

May 15 2024, 11:40 PM · MW-1.43-notes (1.43.0-wmf.19; 2024-08-20), Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd claimed T304567: CodeMirror highlighting first apostrophe when the page ends with unclosed template/tag/anything that merit a darker background.
May 15 2024, 2:33 PM · Patch-For-Review, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T365008: Typing causes text to appear below cursor.

Unable to reproduce on my MacBook, no matter using Safari, Firefox, Chrome or Edge.

May 15 2024, 2:29 PM · VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor, Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd added a project to T365008: Typing causes text to appear below cursor: VisualEditor-MediaWiki-2017WikitextEditor.
May 15 2024, 2:20 PM · VisualEditor, VisualEditor-MediaWiki-2017WikitextEditor, Community-Tech, MediaWiki-extensions-CodeMirror

May 12 2024

Bhsd updated the task description for T166098: Syntax sensitive and highlighting source code editor for template code wanted.
May 12 2024, 3:57 AM · Epic, MediaWiki-extensions-CodeMirror, MediaWiki-Page-editing, MediaWiki-Parser-Templates
Bhsd moved T30684: Collapse templates in editor from CodeMirror 6 migration to Done on the MediaWiki-extensions-CodeMirror board.
May 12 2024, 3:56 AM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Community-Tech (CommTech-Kanban), MediaWiki-extensions-CodeMirror, MediaWiki-Page-editing

May 11 2024

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

Sorry, I still find it challenging to support page name autocompletion without substantial changes in the tokenizer. Therefore, I will leave it as a future task, and just finish my patch with additional autocompletion for url protocols (attached).

May 11 2024, 3:22 AM · MediaWiki-extensions-CodeMirror

May 4 2024

Bhsd attached a referenced file: F50076124: Screen Shot 2024-05-04 at 10.59.55 AM.png.
May 4 2024, 3:02 AM · MediaWiki-extensions-CodeMirror
Bhsd added a comment to T95100: Add autocompletion to CodeMirror extension.

Work in progress related to autocompletion for page links. The #invoke example requires additional changes in the MediaWiki StreamParser, so I'd better leave it for a future ticket if someone asks.

May 4 2024, 2:47 AM · MediaWiki-extensions-CodeMirror

May 3 2024

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

Is there any scope for also implementing autocompletion for page links?

May 3 2024, 12:08 AM · MediaWiki-extensions-CodeMirror

Apr 29 2024

Bhsd claimed T95100: Add autocompletion to CodeMirror extension.
Apr 29 2024, 1:47 AM · MediaWiki-extensions-CodeMirror

Apr 24 2024

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

I find CodeMirror to be lazily loaded (if that is the correct term), i.e. for a long article it will load as you scroll down. If you try to use global (un)fold it may not (un)fold all the templates in the article if they are too far down the page. In some cases, for a single long template, it may not fold if the template has not all been loaded already.

Apr 24 2024, 1:25 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Community-Tech (CommTech-Kanban), MediaWiki-extensions-CodeMirror, MediaWiki-Page-editing

Apr 17 2024

Bhsd added a comment to T361465: CharInsert markup inserted in wrong place when syntax highlight is on.

How about manually dispatch a focus/blur event then? This will not reset the focused element.

How might I do that? What you're saying sounds like what triggerFocus() is supposed to do.

Apr 17 2024, 12:12 AM · MW-1.43-notes (1.43.0-wmf.19; 2024-08-20), Community-Tech, CharInsert, MediaWiki-extensions-CodeMirror

Apr 16 2024

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

@MusikAnimal What do you think? The unfoldAll functionality is provided by the @codemirror/language library, so we may have little room to improve. Should we disable it, or warn its usage in the documentation?

Apr 16 2024, 9:38 AM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Community-Tech (CommTech-Kanban), MediaWiki-extensions-CodeMirror, MediaWiki-Page-editing

Apr 15 2024

Bhsd added a comment to T361465: CharInsert markup inserted in wrong place when syntax highlight is on.

How about manually dispatch a focus/blur event then? This will not reset the focused element.

Apr 15 2024, 11:40 PM · MW-1.43-notes (1.43.0-wmf.19; 2024-08-20), Community-Tech, CharInsert, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T30684: Collapse templates in editor.

@dom_walden Does CodeMirror stop functioning after the error? Sorry, I am unable to reproduce it on my MacBook Firefox, so I would like to learn more about it.

Apr 15 2024, 3:50 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Community-Tech (CommTech-Kanban), MediaWiki-extensions-CodeMirror, MediaWiki-Page-editing

Apr 14 2024

Bhsd added a comment to T361465: CharInsert markup inserted in wrong place when syntax highlight is on.

This is sort of a follow-up to T197632, so pinging @Bhsd to see if they think there are any issues in switching to trigger().

Apr 14 2024, 1:17 PM · MW-1.43-notes (1.43.0-wmf.19; 2024-08-20), Community-Tech, CharInsert, MediaWiki-extensions-CodeMirror

Apr 4 2024

Bhsd added a project to T361651: Bold/Italic buttons don't work as expected when multiple words selected: Browser-Support-Firefox.

@Vuccala I guess you are using Firefox? This feature seems irrelevant for other browsers.

Apr 4 2024, 7:12 AM · Browser-Support-Firefox, WikiEditor (2010)
Bhsd added a comment to T361651: Bold/Italic buttons don't work as expected when multiple words selected.

@Vuccala Sorry, I am unable to watch the video. May I know how you can have multiple selections at a time?

Apr 4 2024, 12:27 AM · Browser-Support-Firefox, WikiEditor (2010)
Bhsd edited projects for T361465: CharInsert markup inserted in wrong place when syntax highlight is on, added: MediaWiki-extensions-CodeMirror; removed SyntaxHighlight.
Apr 4 2024, 12:24 AM · MW-1.43-notes (1.43.0-wmf.19; 2024-08-20), Community-Tech, CharInsert, MediaWiki-extensions-CodeMirror

Apr 1 2024

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

I think it should be automatically unfolded (like in VSCode) because it's no longer part of a template.

Apr 1 2024, 2:12 PM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Community-Tech (CommTech-Kanban), MediaWiki-extensions-CodeMirror, MediaWiki-Page-editing

Mar 28 2024

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

My only feedback so far is maybe we shouldn't have autocompletion for {{, as I imagine most of the time editors would want a template and not a parser function.

Mar 28 2024, 1:26 AM · MediaWiki-extensions-CodeMirror
Bhsd attached a referenced file: F42011955: Screen Shot 2024-02-21 at 10.09.04 AM.png.
Mar 28 2024, 1:24 AM · MediaWiki-extensions-CodeMirror

Mar 15 2024

Bhsd added a comment to T214989: Allow CodeMirror to be used for other textareas with WikiEditor.

This is cool! Thanks!

Mar 15 2024, 1:17 AM · MW-1.42-notes (1.42.0-wmf.24; 2024-03-26), Community-Tech (CommTech-Kanban), Convenient-Discussions, MediaWiki-extensions-CodeMirror

Mar 10 2024

Bhsd removed a project from T254962: Preview scrolls the edit window to the top of the wikitext when using syntax highlighting: Browser-Support-Google-Chrome.

This bug was not only relevant to Chromium. I could reproduce it using Firefox on macOS before it was fixed.

Mar 10 2024, 2:19 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Community-Tech, MediaWiki-extensions-CodeMirror

Mar 9 2024

Bhsd closed T212899: Edit preview jumps down to the end of the article as Resolved.
Mar 9 2024, 9:42 AM · MediaWiki-Page-editing, MediaWiki-extensions-CodeMirror
Bhsd closed T254962: Preview scrolls the edit window to the top of the wikitext when using syntax highlighting as Resolved.
Mar 9 2024, 9:40 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Community-Tech, MediaWiki-extensions-CodeMirror

Mar 8 2024

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

Using it without multiple cursors should be fine, as it uses the jQuery.textSelection which bubbles up to CodeMirror.

Mar 8 2024, 2:31 AM · MW-1.42-notes (1.42.0-wmf.20; 2024-02-27), Community-Tech (CommTech-Kanban), User-TheDJ, MediaWiki-extensions-CodeMirror

Mar 1 2024

Bhsd moved T358804: Add bidi isolation to HTML tags in CodeMirror 6 from Backlog to CodeMirror 6 migration on the MediaWiki-extensions-CodeMirror board.
Mar 1 2024, 7:42 AM · Community-Tech, MW-1.43-notes (1.43.0-wmf.1; 2024-04-16), MW-1.42-notes (1.42.0-wmf.23; 2024-03-19), MediaWiki-extensions-CodeMirror
Bhsd moved T358643: Free external link ending with "~" or "'" leaks the style to the next line from Backlog to Bugs on the MediaWiki-extensions-CodeMirror board.
Mar 1 2024, 7:41 AM · Community-Tech, MediaWiki-extensions-CodeMirror

Feb 28 2024

Bhsd renamed T358643: Free external link ending with "~" or "'" leaks the style to the next line from Free external link ending with '~' leaks the style to the next line to Free external link ending with "~" or "'" leaks the style to the next line.
Feb 28 2024, 8:34 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd created T358643: Free external link ending with "~" or "'" leaks the style to the next line.
Feb 28 2024, 8:32 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd removed a project from T108448: Free external links not highlighted: Patch-For-Review.
Feb 28 2024, 8:24 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd reopened T108454: Indented tables not highlighted as "Open".

Another type of correct syntax for an indented table:

Feb 28 2024, 8:22 AM · Patch-For-Review, Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T357720: Tags are highlighted as valid when a hyphen follows the name.

There are many more punctuation in addition to hyphen, given on L915. I also notice another type of mistake with <a!-- recognized as HTML comments.

Feb 28 2024, 8:16 AM · MediaWiki-extensions-CodeMirror, Community-Tech
Bhsd added a comment to T170042: Highlight definition lists.

Screen Shot 2024-02-28 at 1.57.01 PM.png (190×373 px, 14 KB)

Feb 28 2024, 5:58 AM · Community-Tech (CommTech-Kanban), MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki-extensions-CodeMirror
Bhsd claimed T170042: Highlight definition lists.
Feb 28 2024, 5:56 AM · Community-Tech (CommTech-Kanban), MW-1.42-notes (1.42.0-wmf.15; 2024-01-23), MediaWiki-extensions-CodeMirror
Bhsd claimed T254962: Preview scrolls the edit window to the top of the wikitext when using syntax highlighting.
Feb 28 2024, 5:50 AM · MW-1.42-notes (1.42.0-wmf.21; 2024-03-05), Community-Tech, MediaWiki-extensions-CodeMirror