Page MenuHomePhabricator

Bhsd (Bhsd)
User

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Thursday

  • Clear sailing ahead.

User Details

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

Recent Activity

Nov 3 2022

Bhsd added a comment to T321144: CodeMirror selection text is wrong (extra whitespace).

I agree with MusikAnimal that you may need to use the jQuery.textSelection module, which is also documented here: https://www.mediawiki.org/wiki/Extension:CodeMirror#JavaScript_integration

Nov 3 2022, 5:06 PM · Community-Tech, MediaWiki-extensions-CodeMirror

Jun 22 2022

Bhsd added a comment to T311081: Wrong highlight for nested template.
Jun 22 2022, 5:55 AM · Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T311081: Wrong highlight for nested template.

Please try adding a white space in between.

Jun 22 2022, 5:55 AM · Community-Tech, MediaWiki-extensions-CodeMirror

May 30 2022

Bhsd removed a member for Chinese-Sites: Bhsd.
May 30 2022, 3:54 PM

May 25 2022

Bhsd closed T309143: Incorrectly highlighted section header with special characters as Resolved.
May 25 2022, 7:33 AM · MW-1.39-notes (1.39.0-wmf.14; 2022-05-30), Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd added a comment to T309153: Fix ResourceLoader namespace references.

Thank you for fixing this!

May 25 2022, 3:51 AM · Community-Tech, MediaWiki-extensions-CodeMirror

May 24 2022

Bhsd claimed T309143: Incorrectly highlighted section header with special characters.
May 24 2022, 8:53 PM · MW-1.39-notes (1.39.0-wmf.14; 2022-05-30), Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd updated the task description for T309143: Incorrectly highlighted section header with special characters.
May 24 2022, 8:30 PM · MW-1.39-notes (1.39.0-wmf.14; 2022-05-30), Community-Tech, MediaWiki-extensions-CodeMirror
Bhsd created T309143: Incorrectly highlighted section header with special characters.
May 24 2022, 8:30 PM · MW-1.39-notes (1.39.0-wmf.14; 2022-05-30), Community-Tech, MediaWiki-extensions-CodeMirror

Apr 1 2022

Bhsd merged T305183: Syntax highlighting for terms (;) in description lists into T170042: Highlight definition lists.
Apr 1 2022, 3:06 PM · MediaWiki-extensions-CodeMirror
Bhsd merged task T305183: Syntax highlighting for terms (;) in description lists into T170042: Highlight definition lists.
Apr 1 2022, 3:06 PM · Community-Tech, MediaWiki-extensions-CodeMirror

Mar 23 2022

Bhsd added a comment to T304567: CodeMirror highlighting first apostrophe when the page ends with unclosed template/tag/anything that merit a darker background.

Likely to be related with T108455 and its solution.

Mar 23 2022, 9:43 PM · MediaWiki-extensions-CodeMirror

Mar 15 2022

Bhsd added a comment to T303767: Ensure that Realtime Preview is compatible with CodeMirror.

I am only commenting on the attached screenshot. .CodeMirror-scroll overflowing is not a bug. The question is whether .CodeMirror overflows.

Mar 15 2022, 6:36 PM · Community-Tech (CommTech-Sprint-24), MW-1.39-notes (1.39.0-wmf.7; 2022-04-11), Patch-For-Review, MediaWiki-extensions-CodeMirror, Realtime Preview

Mar 13 2022

Bhsd added a comment to T197632: CodeMirror doesn't support focus/blur events for the editing area.

Got it. Thank you for your reply!

Mar 13 2022, 1:48 AM · MW-1.38-notes (1.38.0-wmf.26; 2022-03-14), MediaWiki-extensions-CodeMirror

Mar 12 2022

Bhsd placed T303571: Minerva should not touch red links to special pages up for grabs.
Mar 12 2022, 8:53 AM · Patch-For-Review, Growth-Team, Readers-Web-Backlog, MinervaNeue
Bhsd created T303664: CodeMirror option "viewportMargin: Infinity" rethinking.
Mar 12 2022, 5:35 AM · Community-Tech, Performance Issue, MediaWiki-extensions-CodeMirror
Bhsd claimed T303571: Minerva should not touch red links to special pages.
Mar 12 2022, 2:34 AM · Patch-For-Review, Growth-Team, Readers-Web-Backlog, MinervaNeue
Bhsd added a comment to T303232: Double braces syntax highlighting crash..

Based on my understanding of this extension, the real-time syntax highlighting, or CodeMirror, works very different from the backend PHP parser. Furthermore, it can be costly to "look ahead" in CodeMirror, which simply means getting information from the next few lines (reference).

Mar 12 2022, 12:57 AM · Community-Tech, MediaWiki-extensions-CodeMirror, Performance Issue, Browser-Support-Firefox

Mar 11 2022

Bhsd created T303571: Minerva should not touch red links to special pages.
Mar 11 2022, 1:08 AM · Patch-For-Review, Growth-Team, Readers-Web-Backlog, MinervaNeue
Bhsd added a comment to T279830: Linter: Highlighting the error does not work when syntax highlighting is enabled in the editor.

This is the same bug as T298488, which has been resolved.

Mar 11 2022, 12:24 AM · MediaWiki-extensions-CodeMirror, Community-Tech, MediaWiki-extensions-Linter

Mar 10 2022

Bhsd added a comment to T197632: CodeMirror doesn't support focus/blur events for the editing area.

With the patch by @Bhsd, you can just register the 'focus'/'blur' handlers on #wpTextbox1, and they will be triggered whenever the user focuses/blurs the CodeMirror editor.

Mar 10 2022, 11:41 PM · MW-1.38-notes (1.38.0-wmf.26; 2022-03-14), MediaWiki-extensions-CodeMirror
Bhsd added a comment to T303232: Double braces syntax highlighting crash..

One naïve solution in the parsing would be to fail early if the first argument (name of the template) doesn't look like the name of a known template, ...

Mar 10 2022, 11:34 PM · Community-Tech, MediaWiki-extensions-CodeMirror, Performance Issue, Browser-Support-Firefox
Bhsd closed T197632: CodeMirror doesn't support focus/blur events for the editing area as Resolved.
Mar 10 2022, 10:55 PM · MW-1.38-notes (1.38.0-wmf.26; 2022-03-14), MediaWiki-extensions-CodeMirror

Mar 8 2022

Bhsd added a comment to T303232: Double braces syntax highlighting crash..
Mar 8 2022, 7:59 AM · Community-Tech, MediaWiki-extensions-CodeMirror, Performance Issue, Browser-Support-Firefox
Bhsd added a comment to T303232: Double braces syntax highlighting crash..

To some extent, this performance issue is a side effect of the solution to T174480. In usual use cases of CodeMirror, the browser will only render a finite viewport instead of hundreds of lines of code.

Mar 8 2022, 7:58 AM · Community-Tech, MediaWiki-extensions-CodeMirror, Performance Issue, Browser-Support-Firefox

Mar 6 2022

Bhsd closed T201684: CodeMirror syntax highlighter does not understand multi-line tags as Resolved.
Mar 6 2022, 1:18 AM · MW-1.38-notes (1.38.0-wmf.25; 2022-03-07), MediaWiki-extensions-CodeMirror

Feb 28 2022

Bhsd closed T184341: No syntax highlighting in the (wiki)link description as Resolved.
Feb 28 2022, 10:56 PM · MW-1.38-notes (1.38.0-wmf.24; 2022-02-28), MediaWiki-extensions-CodeMirror

Feb 24 2022

Bhsd claimed T197632: CodeMirror doesn't support focus/blur events for the editing area.
Feb 24 2022, 1:06 AM · MW-1.38-notes (1.38.0-wmf.26; 2022-03-14), MediaWiki-extensions-CodeMirror
Bhsd claimed T201684: CodeMirror syntax highlighter does not understand multi-line tags.
Feb 24 2022, 1:05 AM · MW-1.38-notes (1.38.0-wmf.25; 2022-03-07), MediaWiki-extensions-CodeMirror

Feb 23 2022

Bhsd added a member for Chinese-Sites: Bhsd.
Feb 23 2022, 7:21 PM
Bhsd added a member for MediaWiki-Language-converter: Bhsd.
Feb 23 2022, 7:21 PM
Bhsd removed a watcher for MediaWiki-extensions-CodeMirror: Bhsd.
Feb 23 2022, 7:20 PM
Bhsd added a watcher for MediaWiki-extensions-CodeMirror: Bhsd.
Feb 23 2022, 7:20 PM
Bhsd removed a watcher for MediaWiki-extensions-CodeMirror: Bhsd.
Feb 23 2022, 7:20 PM
Bhsd added a watcher for MediaWiki-extensions-CodeMirror: Bhsd.
Feb 23 2022, 7:20 PM
Bhsd added a member for MediaWiki-extensions-CodeMirror: Bhsd.
Feb 23 2022, 7:19 PM
Bhsd claimed T184341: No syntax highlighting in the (wiki)link description.
Feb 23 2022, 1:26 AM · MW-1.38-notes (1.38.0-wmf.24; 2022-02-28), MediaWiki-extensions-CodeMirror

Feb 19 2022

Bhsd merged task T264507: Request for making CodeMirror enabled on protected pages into T301615: Show syntax highlighting on View Source/protected pages.
Feb 19 2022, 7:59 PM · MediaWiki-extensions-CodeMirror
Bhsd merged T264507: Request for making CodeMirror enabled on protected pages into T301615: Show syntax highlighting on View Source/protected pages.
Feb 19 2022, 7:59 PM · MediaWiki-extensions-CodeMirror
Bhsd added a comment to T301615: Show syntax highlighting on View Source/protected pages.

There is no wikiEditor loaded for readonly text areas (please refer to T41577 for more information), which means there is currently no icon button to switch on/off CodeMirror.

Feb 19 2022, 7:45 PM · MediaWiki-extensions-CodeMirror