Page MenuHomePhabricator

Bewfip
User

Projects

User does not belong to any projects.

Today

  • No visible events.

Tomorrow

  • No visible events.

Friday

  • No visible events.

User Details

User Since
Apr 25 2019, 12:01 PM (354 w, 5 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Srapoj [ Global Accounts ]

Recent Activity

Sat, Jan 31

Bewfip updated subscribers of T392347: Parsoid fails to correctly render piped links within a language variant block.

@cscott If I'm not mistaken, https://gerrit.wikimedia.org/r/1200388 can solve this issue?

Sat, Jan 31, 1:19 AM · Parsoid-Read-Views (Language Converter Support), Chinese-Sites, Parsoid-Rendering, Parsoid

Sun, Jan 25

Bewfip added a comment to T415454: TCP FastOpen not working since at least December 2025.

There are some mentions of TCP Fast Open in operations/puppet: https://codesearch.wmcloud.org/puppet/?q=tcp_fastopen . Though I don't know how the network stack here works.

Sun, Jan 25, 7:43 AM · SRE, Traffic

Thu, Jan 22

Bewfip added a comment to T303509: HTML entities in "comma-separator" is not rendered in edit tags.

I have filed the line wrapping issue with 、 (U+3001, used for comma-separator in zh-hans and zh-hant) and the CSS property unicode-bidi at https://issues.chromium.org/issues/477829708. It might not get resolved anytime soon, though.

Thu, Jan 22, 3:55 PM · I18n, MediaWiki-Internationalization, MediaWiki-Change-tagging

Tue, Jan 20

Bewfip added a comment to T194815: InputBox using interface language in parser hook causing cache pollution..

I found that this extension already splits the parser cache by calling ParserOptions::getUserLangObj() since rEINBe18b7e6 in 2012. In my own test, the options hash part of the parser cache key is canonical when uselang is the same as a wiki's default, but becomes userlang=xx otherwise. I can't reproduce this bug currently, and I wonder how it could happen before.

Tue, Jan 20, 7:10 PM · User-TheDJ, MediaWiki-extensions-InputBox, Commons

Thu, Jan 15

Bewfip added a comment to T414307: Incorrect conversion between Traditional Chinese (Taiwan) and other Chinese variants.

The screenshot shown is probably in the zh-hant variant. If zh-tw is used, those words should be converted consistently.

Thu, Jan 15, 12:06 AM · Chinese-Sites, Wikipedia-iOS-App-Backlog

Jan 8 2026

Bewfip added a comment to T408324: TypeError: Cannot read properties of undefined (reading '0') when using reply tool with transcluded titles in another variant.

I tried making a reply on the page mentioned in the original report, and it works correctly. Thanks to Ammarpad and matmarex for the fix!

Jan 8 2026, 9:20 PM · Chinese-Sites, DiscussionTools
Bewfip moved T414045: Lint rule for unclosed Language Converter syntax from Backlog to MediaWiki core on the Chinese-Sites board.
Jan 8 2026, 2:29 AM · Chinese-Sites, MediaWiki-Language-converter, Parsoid
Bewfip created T414045: Lint rule for unclosed Language Converter syntax.
Jan 8 2026, 2:29 AM · Chinese-Sites, MediaWiki-Language-converter, Parsoid

Jan 2 2026

Bewfip added a comment to T408324: TypeError: Cannot read properties of undefined (reading '0') when using reply tool with transcluded titles in another variant.

Your page seems to have changed.

Jan 2 2026, 5:06 PM · Chinese-Sites, DiscussionTools

Jan 1 2026

Bewfip added a comment to T401857: Implement base-1000 numbering.

The reference list items are plain <li>. You will have to define a custom marker scheme with @counter-style in a site-wide CSS, and set list-style-type to it. The cjk-decimal you see is from MediaWiki:Common.css.

Jan 1 2026, 12:47 AM · Cite

Dec 1 2025

Bewfip added a comment to T411329: Use human-friendly digit grouping in temporary account names.

I have a somewhat off-topic idea: Switch the encoding of serial numbers from decimal (base10) digits to some base32 scheme. The information per decimal digit is log2(10)=3.3 bits, while one base32 character represents 5 bits. The length of temporary account names will be shortened because more information is packed in one character. Collision will be less frequent due to the increased variety of combinations.

Dec 1 2025, 12:17 AM · Product Safety and Integrity, Temporary accounts

Nov 30 2025

Bewfip updated the task description for T409119: Map marker disappears when its title contains a link that will be converted to another variant.
Nov 30 2025, 2:18 AM · Chinese-Sites, Maps (Kartotherian)
Bewfip renamed T409119: Map marker disappears when its title contains a link that will be converted to another variant from Map marker disappears when its title is a link that will be converted to another variant to Map marker disappears when its title contains a link that will be converted to another variant.
Nov 30 2025, 12:55 AM · Chinese-Sites, Maps (Kartotherian)
Bewfip updated subscribers of T409119: Map marker disappears when its title contains a link that will be converted to another variant.
Nov 30 2025, 12:49 AM · Chinese-Sites, Maps (Kartotherian)

Nov 28 2025

Bewfip added a comment to T401080: $wgLocalisationCacheConf['manualRecache'] = false is slow for languages with complex fallback rules (like Chinese).

rebuildLocalisationCache.php accepts the parameter --lang. You can limit it to the languages of interest.

Nov 28 2025, 5:12 PM · Chinese-Sites, MediaWiki-Internationalization

Nov 27 2025

Bewfip added a comment to T341281: Incorrect handling of URL copied from Microsoft Edge address bar.

The MIME type text/link-preview seems to be supported only by MS Edge, and is lost when copying from Edge to Chrome or Firefox (though that json is viewable with the InsideClipboard util, registered as "Link Preview Format").

Nov 27 2025, 4:07 PM · Essential-Work, MW-1.46-notes (1.46.0-wmf.5; 2025-12-02), Verified, MW-1.45-notes (1.45.0-wmf.6; 2025-06-17), Editing-team (Kanban Board), VisualEditor, Browser-Support-Microsoft-Edge, VisualEditor-MediaWiki-2017WikitextEditor

Nov 25 2025

Bewfip created T410969: VisualEditor breaks external links with query string when transforming to interwiki links.
Nov 25 2025, 12:17 AM · Parsoid, VisualEditor

Nov 24 2025

Bewfip added a comment to T341281: Incorrect handling of URL copied from Microsoft Edge address bar.

The behaviour inside Edge should be working as intended (gerrit #1143196 parses the url and title). Inter-browser pasting to Firefox probably needs some investigation on the format. I suppose Edge's MIME type text/link-preview is lost, so the link is treated as normal HTML and dropped.

Nov 24 2025, 11:38 PM · Essential-Work, MW-1.46-notes (1.46.0-wmf.5; 2025-12-02), Verified, MW-1.45-notes (1.45.0-wmf.6; 2025-06-17), Editing-team (Kanban Board), VisualEditor, Browser-Support-Microsoft-Edge, VisualEditor-MediaWiki-2017WikitextEditor
Bewfip added a comment to T95408: Liangent's user page and user subpages on zhwiki.

Based my understanding, the work needed here is to recreate the entries of Liangent's user pages in the page table (as @Func's queries show the revisions are still in revision); or move those affected revisions to archive and undelete the pages. Are these usually resolved with ad hoc scripts, or more general maintenance scripts would be needed?

Nov 24 2025, 11:12 PM · MediaWiki-Platform-Team, Wikimedia-maintenance-script-run, Wikimedia-database-issue (Bad data), Chinese-Sites, MediaWiki-extensions-CentralAuth, GlobalRename

Nov 17 2025

Bewfip added a comment to T403212: Support \r, \n, \t, and \uNNNN in insource and intitle queries.

That looks nice, thanks! (Regarding the commit message,) I would not call the parameter to \u{N} as "UTF-32", because people write \u{1F602} instead of \u{0001F602} (suppose UTF-32BE is used). That thing should just be called "code point", irrespective of the encoding being used.

Nov 17 2025, 9:43 PM · User-notice-archive, Discovery-Search (2025.09.05 - 2025.09.26), CirrusSearch

Nov 16 2025

Bewfip added a comment to T403212: Support \r, \n, \t, and \uNNNN in insource and intitle queries.

Beyond the syntaxes used by other implementations, you can use UTS #18: Unicode Regular Expressions (http://www.unicode.org/reports/tr18/ §1.7 Code Points) to back your feature request. I am not sure how convincing it is.

Nov 16 2025, 9:48 PM · User-notice-archive, Discovery-Search (2025.09.05 - 2025.09.26), CirrusSearch

Nov 13 2025

Bewfip added a comment to T403212: Support \r, \n, \t, and \uNNNN in insource and intitle queries.

I noticed that surrogate pairs can't be used inside a character class. For example, both insource:/😂/ and insource:/[😂]/ work, but insource:/[\uD83D\uDE02]/ returns nothing. Using it in character classes can be handy when searching for a range of Unicode code points. Shall I file a new ticket for this?

Nov 13 2025, 8:36 PM · User-notice-archive, Discovery-Search (2025.09.05 - 2025.09.26), CirrusSearch

Nov 3 2025

Bewfip moved T409119: Map marker disappears when its title contains a link that will be converted to another variant from Backlog to Extensions/Skins on the Chinese-Sites board.
Nov 3 2025, 10:18 PM · Chinese-Sites, Maps (Kartotherian)
Bewfip added a project to T409119: Map marker disappears when its title contains a link that will be converted to another variant: Chinese-Sites.
Nov 3 2025, 10:18 PM · Chinese-Sites, Maps (Kartotherian)
Bewfip added a subtask for T193815: Figure out how to handle language variants with maps: T409119: Map marker disappears when its title contains a link that will be converted to another variant.
Nov 3 2025, 10:18 PM · WMDE-TechWish-Sprint-2023-03-14, WMDE-TechWish-Sprint-2023-01-18, Maps (Kartographer)
Bewfip added a parent task for T409119: Map marker disappears when its title contains a link that will be converted to another variant: T193815: Figure out how to handle language variants with maps.
Nov 3 2025, 10:17 PM · Chinese-Sites, Maps (Kartotherian)
Bewfip created T409119: Map marker disappears when its title contains a link that will be converted to another variant.
Nov 3 2025, 10:16 PM · Chinese-Sites, Maps (Kartotherian)

Oct 31 2025

Bewfip added a comment to T408886: DiscussionTools inserts comment anchors into invisible firstChild nodes.

During the on-wiki discussion, hacky methods have been proposed by @PHING to circuvment this issue:

Oct 31 2025, 9:18 PM · DiscussionTools
Bewfip renamed T408886: DiscussionTools inserts comment anchors into invisible firstChild nodes from DiscussionTools inserts highlight into invisible elements to DiscussionTools inserts comment anchors into invisible firstChild nodes.
Oct 31 2025, 8:53 PM · DiscussionTools

Oct 26 2025

Bewfip moved T408324: TypeError: Cannot read properties of undefined (reading '0') when using reply tool with transcluded titles in another variant from Backlog to Extensions/Skins on the Chinese-Sites board.
Oct 26 2025, 9:08 PM · Chinese-Sites, DiscussionTools
Bewfip renamed T408324: TypeError: Cannot read properties of undefined (reading '0') when using reply tool with transcluded titles in another variant from TypeError: Cannot read properties of undefined (reading '0') when using reply tool on discussion transcluded from protected page to TypeError: Cannot read properties of undefined (reading '0') when using reply tool with transcluded titles in another variant.
Oct 26 2025, 9:07 PM · Chinese-Sites, DiscussionTools
Bewfip updated the task description for T408324: TypeError: Cannot read properties of undefined (reading '0') when using reply tool with transcluded titles in another variant.
Oct 26 2025, 2:24 PM · Chinese-Sites, DiscussionTools
Bewfip created T408324: TypeError: Cannot read properties of undefined (reading '0') when using reply tool with transcluded titles in another variant.
Oct 26 2025, 2:17 PM · Chinese-Sites, DiscussionTools

Oct 23 2025

Bewfip added a comment to T407447: Recent Chrome update caused text size change for users who use desktop site on mobile.

The feature will be disabled by default in Chromium 143 (https://chromiumdash.appspot.com/commit/b0326c486eede79c80d23b690cd61eceeab159e3).

Oct 23 2025, 6:32 PM · Vector 2022 (Tracking), MonoBook (Responsive), Vector (legacy skin), Browser-Support-Android-Google-Chrome
Bewfip added a comment to T407447: Recent Chrome update caused text size change for users who use desktop site on mobile.

Personally I'm fine with increasing the font size of (some of the) content text only, and leave less important sidebars as is. It is "broken", however it has been the default mobile browser behaviour for a decade. Users will likely be familiar with it, unless most of the desktop-only web pages they have seen are from pedantic web designers that surpress this behaviour.

Oct 23 2025, 2:44 PM · Vector 2022 (Tracking), MonoBook (Responsive), Vector (legacy skin), Browser-Support-Android-Google-Chrome

Oct 22 2025

Bewfip added a comment to T407447: Recent Chrome update caused text size change for users who use desktop site on mobile.

Can you clarify if you think font boosting is desirable or undesirable?

Oct 22 2025, 9:04 PM · Vector 2022 (Tracking), MonoBook (Responsive), Vector (legacy skin), Browser-Support-Android-Google-Chrome

Oct 17 2025

Bewfip added a comment to T407447: Recent Chrome update caused text size change for users who use desktop site on mobile.

I tried disabling chrome://flags#force-off-text-autosizing on my Android phone (Chrome 141.0.7390.111). The behaviour indeed returns to the previous one (some of the text are enlarged).

Oct 17 2025, 6:33 AM · Vector 2022 (Tracking), MonoBook (Responsive), Vector (legacy skin), Browser-Support-Android-Google-Chrome
Bewfip added a comment to T407447: Recent Chrome update caused text size change for users who use desktop site on mobile.

I guess the culprit is https://issues.chromium.org/issues/391990606. The previous behaviour is a feature commonly called "font boosting".

Oct 17 2025, 6:14 AM · Vector 2022 (Tracking), MonoBook (Responsive), Vector (legacy skin), Browser-Support-Android-Google-Chrome

Oct 11 2025

Bewfip added a comment to T405135: Optimize DiscussionTools OutputPageBeforeHTML hook handler (2025).

Yes, those requests are sent using curl without cookies, because I don't want to profile lots of load.php/api.php stuffs (with browser cache disabled), or hit the OutputPage::checkLastModified path due to the presence of If-Modified-Since. I might be weird in this regard.

Oct 11 2025, 11:01 AM · MW-1.46-notes (1.46.0-wmf.3; 2025-11-19), MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), Wikimedia-Performance-recommendation, DiscussionTools

Oct 10 2025

Bewfip added a comment to T405135: Optimize DiscussionTools OutputPageBeforeHTML hook handler (2025).

It seems that the patches are not of much help for the two pages mentioned in T405135#11198828. Respectively:
https://performance.wikimedia.org/excimer/profile/52433f65c1598f86 (1.21s, ~unchanged)
https://performance.wikimedia.org/excimer/profile/5c7626da06afdb9e (1.64s, slower, but now there are a few more topics)

Oct 10 2025, 4:31 AM · MW-1.46-notes (1.46.0-wmf.3; 2025-11-19), MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), Wikimedia-Performance-recommendation, DiscussionTools

Sep 23 2025

Bewfip added a comment to T404273: Special:Gadgets and Preferences are slow when gadget descriptions contain templates.

zh:Template:Gadget-desc has been optimized by @Diskdance to remove unnecessary Scribunto invocations. The time spent on parsing messages has been cut by half, and the loading speed is comparable with commonswiki now. Profiling sample: https://performance.wikimedia.org/excimer/profile/fe1d4b2e42541990

Sep 23 2025, 8:53 PM · MediaWiki-Parser-Templates, Scribunto, Chinese-Sites

Sep 22 2025

Bewfip added a comment to T404501: Flow\Exception\InvalidTopicUuidException: Invalid value was provided for loading Structured Discussions content..

The issue seems to start from Frame #4. Probably shouldDisplayTalkAlert() is true for you somehow (like you have been ignoring the orange bar). Flow's BeforeDisplayOrangeAlert hook does not catch exception from uuidFromTitle() (unlike elsewhere in that file), leading to the error you see.

Sep 22 2025, 9:12 PM · StructuredDiscussions, Wikimedia-production-error

Sep 21 2025

Bewfip added a project to T405158: Allow editors to specify a custom <a> title attribute in wikitext internal links: MediaWiki-Language-converter.
Sep 21 2025, 1:26 PM · MediaWiki-Language-converter, Chinese-Sites, MediaWiki-Parser
Bewfip moved T405158: Allow editors to specify a custom <a> title attribute in wikitext internal links from Backlog to MediaWiki core on the Chinese-Sites board.
Sep 21 2025, 1:25 PM · MediaWiki-Language-converter, Chinese-Sites, MediaWiki-Parser

Sep 20 2025

Bewfip created T405150: k8s-status can't show information about one tool.
Sep 20 2025, 11:18 PM · Tool-k8s-status
Bewfip added a comment to T400115: Possible performance issue in DiscussionTools .

I have an idea for follow-up: Can the OutputPageBeforeHTML hook return early if the ParserAfterTidy hook does not find any comment during Parser::parse()? It would be helpful for those content pages in $wgExtraSignatureNamespaces, which can be long sometimes. This does not concern the talk namespaces, and I guess the "empty state" UI elements might depend on it.

Sep 20 2025, 1:36 PM · MW-1.45-notes (1.45.0-wmf.21; 2025-09-30), Performance Issue, DiscussionTools
Bewfip added a comment to T405135: Optimize DiscussionTools OutputPageBeforeHTML hook handler (2025).

(OT) Wow, I really appreciate your diligence! Unfortunately I am not able to comment on the implementation details.

Sep 20 2025, 1:59 AM · MW-1.46-notes (1.46.0-wmf.3; 2025-11-19), MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), Wikimedia-Performance-recommendation, DiscussionTools
Bewfip added a comment to T405135: Optimize DiscussionTools OutputPageBeforeHTML hook handler (2025).

For reference, here are the flame graphs I took on two user talk pages that contain >400 topics:
https://performance.wikimedia.org/excimer/profile/44477ee150bc5d46 (1.27s)
https://performance.wikimedia.org/excimer/profile/f5cfc8e261afbef1 (1.49s)
These requests are sent without cookie, therefore does not contain the postprocessTopicSubscription() part. Only BatchModifyElements is involved.

Sep 20 2025, 1:07 AM · MW-1.46-notes (1.46.0-wmf.3; 2025-11-19), MW-1.45-notes (1.45.0-wmf.22; 2025-10-07), Wikimedia-Performance-recommendation, DiscussionTools

Sep 19 2025

Bewfip added a comment to T389734: Fatal exception of type "Wikimedia\RequestTimeout\EmergencyTimeoutException" errors.

Lua profiling has not been re-enabled in operations/mediawiki-config. Does that need to wait for T391658?

Sep 19 2025, 11:23 PM · Upstream, serviceops-radar, User-brennen, WMF-General-or-Unknown, Performance Issue, Wikimedia-production-error
Bewfip added a comment to T401499: Namespace names in the dropdown menu of Extension:AdvancedSearch are untranslated for Chinese wikis.

T351170 shows an example of using the site content language to initialise LanguageConverter. It suffice for the Chinese wikis, though it won't work on some presumptive multilingual wiki that sets $wgLanguageCode to English while supplying MediaWiki:Conversion-nsx. I am not sure if such wiki exists.

Sep 19 2025, 6:43 PM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Language and Product Localization, Chinese-Sites, Advanced-Search
Bewfip added a comment to T401499: Namespace names in the dropdown menu of Extension:AdvancedSearch are untranslated for Chinese wikis.

I tried this on the beta cluster. Unfortunately, it seems using SpecialPage::getLanguage() is not the correct way to initialise LanguageConverter, as it does not use MediaWiki:Conversion-nsx/xx (same cause as T401493).

Sep 19 2025, 2:28 AM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Language and Product Localization, Chinese-Sites, Advanced-Search

Sep 18 2025

Bewfip added a comment to T396248: Update the DiscussionTools post-cache HTML pass to use Remex instead of regexes.

Pardon me for asking another question here. I sometimes feel a bit annoyed by the time taken for the OutputPageBeforeHTML hook, as it can take more than 1s on some large talk pages (length alone might not be the problem, probably also related to the number of signatures), and the result is not cached. Is it inevitable by design, or already tracked somewhere in another ticket?

Sep 18 2025, 8:21 PM · Essential-Work, MW-1.39-release, MW-1.44-release, MW-1.43-release, Editing QA, MW-1.45-notes (1.45.0-wmf.10; 2025-07-15), Editing-team (Kanban Board), Technical-Debt, DiscussionTools

Sep 15 2025

Bewfip added a comment to T402360: Reply tool adds a newline in the following topic when that topic ends with HTML comment.

This issue is likely related to an unclosed <div> in an section above it, which was later fixed in rev 88847379. It was only discovered because that unclosed tag and later-added {{Archive top}} templates broke reply tool (and visual editor) on that page.

Sep 15 2025, 6:09 PM · Essential-Work, Content-Transform-Team (Work In Progress), Parsoid, Chinese-Sites, DiscussionTools

Sep 13 2025

Bewfip renamed T404501: Flow\Exception\InvalidTopicUuidException: Invalid value was provided for loading Structured Discussions content. from The InvalidTopicUuidException thrown when accessing an invalid topic in the StructuredDiscussions extension was not properly caught. to InvalidTopicUuidException uncaught when accessing an invalid StructuredDiscussions topic.
Sep 13 2025, 8:06 PM · StructuredDiscussions, Wikimedia-production-error
Bewfip added a comment to T404501: Flow\Exception\InvalidTopicUuidException: Invalid value was provided for loading Structured Discussions content..

Can't reproduce. Here it's a relatively normal error page "Invalid value was provided for loading Structured Discussions content."

Sep 13 2025, 5:37 PM · StructuredDiscussions, Wikimedia-production-error

Sep 11 2025

Bewfip added a project to T404273: Special:Gadgets and Preferences are slow when gadget descriptions contain templates: Commons.
Sep 11 2025, 2:22 AM · MediaWiki-Parser-Templates, Scribunto, Chinese-Sites
Bewfip updated subscribers of T401499: Namespace names in the dropdown menu of Extension:AdvancedSearch are untranslated for Chinese wikis.

@thiemowmde: Answering "why uselang=zh still shows the namespace names in English" here. The reason was mentioned in T401499#11074592.

Sep 11 2025, 1:22 AM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Language and Product Localization, Chinese-Sites, Advanced-Search

Sep 10 2025

Bewfip moved T404273: Special:Gadgets and Preferences are slow when gadget descriptions contain templates from Backlog to Extensions/Skins on the Chinese-Sites board.
Sep 10 2025, 11:09 PM · MediaWiki-Parser-Templates, Scribunto, Chinese-Sites
Bewfip created T404273: Special:Gadgets and Preferences are slow when gadget descriptions contain templates.
Sep 10 2025, 11:09 PM · MediaWiki-Parser-Templates, Scribunto, Chinese-Sites

Sep 8 2025

Bewfip added a comment to T402098: Unnecessary empty <small> tags inserted when it is on the same line with <div>.

Thanks for triaging. I think the latter one is a better fit. Sometimes it's necessary to realize that wikitext is a weird thing that happens to be mixed with HTML tags :(

Sep 8 2025, 11:54 AM · MediaWiki-Parser

Aug 27 2025

Bewfip moved T403122: Hidden categories are still displayed when linked using another variant of its name from Backlog to MediaWiki core on the Chinese-Sites board.
Aug 27 2025, 7:51 PM · Chinese-Sites, MediaWiki-Language-converter, MediaWiki-Categories
Bewfip created T403122: Hidden categories are still displayed when linked using another variant of its name.
Aug 27 2025, 7:50 PM · Chinese-Sites, MediaWiki-Language-converter, MediaWiki-Categories

Aug 21 2025

Bewfip added a comment to T331661: Improve VisualEditor UX to avoid users adding __NEWSECTIONLINK__ in main namespace.

Can the wording of this option be changed to, e.g. posting new "topic" at the end of the page, rather than saying it's "section"? That is closer to the reality especially after DiscussionTools' new topic tool is deployed, as that button will open a new topic box at the end of the page, instead of the full wikitext editor (that also appends to the end, but a bit more "section"-like).

Aug 21 2025, 10:05 PM · VisualEditor-MediaWiki, VisualEditor
Bewfip merged task T402495: About the UI text problem that shows that a block has been removed after one of the multiple blocks has been removed. into T393902: Multiblocks: Display only active blocks on the top of blocked user's Special:Contributions page / when editing a blocked user's user [talk] page.
Aug 21 2025, 9:03 AM · MediaWiki-User-Interface, Chinese-Sites
Bewfip merged T402495: About the UI text problem that shows that a block has been removed after one of the multiple blocks has been removed. into T393902: Multiblocks: Display only active blocks on the top of blocked user's Special:Contributions page / when editing a blocked user's user [talk] page.
Aug 21 2025, 9:02 AM · User-notice-archive, MW-1.45-notes (1.45.0-wmf.23; 2025-10-14), MediaWiki-Special-pages, Community-Tech, MediaWiki-Logevents, Multiblocks, Trust and Safety Product Team

Aug 20 2025

Bewfip moved T402360: Reply tool adds a newline in the following topic when that topic ends with HTML comment from Backlog to Extensions/Skins on the Chinese-Sites board.
Aug 20 2025, 2:18 AM · Essential-Work, Content-Transform-Team (Work In Progress), Parsoid, Chinese-Sites, DiscussionTools
Bewfip created T402360: Reply tool adds a newline in the following topic when that topic ends with HTML comment.
Aug 20 2025, 2:18 AM · Essential-Work, Content-Transform-Team (Work In Progress), Parsoid, Chinese-Sites, DiscussionTools

Aug 18 2025

Bewfip added a comment to T401150: The protection expiry options should be rendered in the user interface language.

An alternative should be using the user-selected variant of the site content language (seems to be obtained through LanguageConverter::getPreferredVariant()) to fetch the message string. If someone bothers to code it.

Aug 18 2025, 2:22 AM · Chinese-Sites, MediaWiki-Internationalization, MediaWiki-Page-protection

Aug 17 2025

Bewfip added a comment to T402098: Unnecessary empty <small> tags inserted when it is on the same line with <div>.

This issue is also present in Parsoid. I'm not sure how it should be classified.

Aug 17 2025, 10:14 AM · MediaWiki-Parser
Bewfip created T402098: Unnecessary empty <small> tags inserted when it is on the same line with <div>.
Aug 17 2025, 1:06 AM · MediaWiki-Parser

Aug 16 2025

Bewfip edited projects for T401437: class mw-parser-output missing lang attribute on Extension:Popups, added: Cite; removed MediaWiki-Language-converter.
Aug 16 2025, 8:35 PM · Page-Previews (Tracking), Cite, Chinese-Sites

Aug 15 2025

Bewfip moved T401499: Namespace names in the dropdown menu of Extension:AdvancedSearch are untranslated for Chinese wikis from Closed to Extensions/Skins on the Chinese-Sites board.
Aug 15 2025, 9:20 PM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Language and Product Localization, Chinese-Sites, Advanced-Search
Bewfip reopened T401499: Namespace names in the dropdown menu of Extension:AdvancedSearch are untranslated for Chinese wikis as "Open".
Aug 15 2025, 9:19 PM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Language and Product Localization, Chinese-Sites, Advanced-Search
Bewfip reopened T174057: Namespaces in form dropdowns are shown in the local language rather than in the user interface language as "Open".
Aug 15 2025, 9:19 PM · Moderator-Tools-Team, MediaWiki-Recent-changes, MediaWiki-Special-pages, MediaWiki-User-Interface, I18n
Bewfip updated subscribers of T396231: Inconsistent namespace display names between HTML and JavaScript in NamespaceInputWidget.
Aug 15 2025, 9:17 PM · MW-1.45-notes (1.45.0-wmf.14; 2025-08-12), MediaWiki-User-Interface (mediawiki.widgets), Regression, I18n, Chinese-Sites

Aug 14 2025

Bewfip updated subscribers of T396231: Inconsistent namespace display names between HTML and JavaScript in NamespaceInputWidget.

@Scardenasmolinar I object to this merger, as the original issue here is specific to the implementation of one widget regarding the usage of LanguageConverter, and the fix is mostly complete (except for the case where zh-xx UI language is used with non-zh site content language).

Aug 14 2025, 8:49 PM · MW-1.45-notes (1.45.0-wmf.14; 2025-08-12), MediaWiki-User-Interface (mediawiki.widgets), Regression, I18n, Chinese-Sites

Aug 11 2025

Bewfip added a comment to T401499: Namespace names in the dropdown menu of Extension:AdvancedSearch are untranslated for Chinese wikis.

I agree with T174057#4578576 that where to use UI language instead of content language for namespace names can be debatable. However for the Chinese case, the content language itself can change (in the chosen variant sense). The zh language code is mostly for technical purposes mentioned above (like preventing the title name in URL changing depending on the variant), and is rarely used as a display language.

Aug 11 2025, 4:26 PM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Language and Product Localization, Chinese-Sites, Advanced-Search
Bewfip updated the task description for T401499: Namespace names in the dropdown menu of Extension:AdvancedSearch are untranslated for Chinese wikis.
Aug 11 2025, 4:13 PM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Language and Product Localization, Chinese-Sites, Advanced-Search

Aug 10 2025

Bewfip added a subtask for T43716: [EPIC] Support language variant conversion in Parsoid: T381140: Incorrect Link Target Rendered in Language Conversion Tags When Using Visual Editor.
Aug 10 2025, 12:24 PM · Page Content Service, Wikipedia-Android-App-Backlog, Wikipedia-iOS-App-Backlog, Parsoid-Read-Views (Language Converter Support), Parsoid-Rendering, affects-Kiwix-and-openZIM, Parsoid, Epic, MediaWiki-Language-converter, Chinese-Sites, I18n
Bewfip added a parent task for T381140: Incorrect Link Target Rendered in Language Conversion Tags When Using Visual Editor: T43716: [EPIC] Support language variant conversion in Parsoid.
Aug 10 2025, 12:24 PM · Parsoid-Read-Views (Language Converter Support), Parsoid-Rendering, Chinese-Sites, VisualEditor
Bewfip added projects to T381140: Incorrect Link Target Rendered in Language Conversion Tags When Using Visual Editor: Parsoid-Rendering, Parsoid-Read-Views (Language Converter Support).
Aug 10 2025, 12:23 PM · Parsoid-Read-Views (Language Converter Support), Parsoid-Rendering, Chinese-Sites, VisualEditor

Aug 8 2025

Bewfip moved T401499: Namespace names in the dropdown menu of Extension:AdvancedSearch are untranslated for Chinese wikis from Backlog to Extensions/Skins on the Chinese-Sites board.
Aug 8 2025, 9:57 PM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Language and Product Localization, Chinese-Sites, Advanced-Search
Bewfip moved T401493: In Html::namespaceSelectorOptions(), "in-user-lang" causes LanguageConverter to be bypassed from Backlog to MediaWiki core on the Chinese-Sites board.
Aug 8 2025, 9:57 PM · Chinese-Sites, MediaWiki-Internationalization
Bewfip added a project to T401499: Namespace names in the dropdown menu of Extension:AdvancedSearch are untranslated for Chinese wikis: Chinese-Sites.
Aug 8 2025, 9:57 PM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Language and Product Localization, Chinese-Sites, Advanced-Search
Bewfip created T401499: Namespace names in the dropdown menu of Extension:AdvancedSearch are untranslated for Chinese wikis.
Aug 8 2025, 9:49 PM · Patch-For-Review, MW-1.45-notes (1.45.0-wmf.20; 2025-09-23), Language and Product Localization, Chinese-Sites, Advanced-Search
Bewfip added a comment to T396231: Inconsistent namespace display names between HTML and JavaScript in NamespaceInputWidget.

Should wgFormattedNamespaces in JS mw.config (doc) get the same treatment? Currently it is also populated with content language and Language::getFormattedNamespaces() in ResourceLoader.php. The recent changes page mw.rcfilters.js uses this API to obtain the namespace list. However such behavior change could potentially break some scripts on Chinese wikis.

Aug 8 2025, 8:31 PM · MW-1.45-notes (1.45.0-wmf.14; 2025-08-12), MediaWiki-User-Interface (mediawiki.widgets), Regression, I18n, Chinese-Sites
Bewfip added a project to T174057: Namespaces in form dropdowns are shown in the local language rather than in the user interface language: MediaWiki-Recent-changes.

the new rcfilters UI is not affected by this change and perhaps should. (I failed to find from where the list of namespace is populated in rcfilters).

Aug 8 2025, 8:19 PM · Moderator-Tools-Team, MediaWiki-Recent-changes, MediaWiki-Special-pages, MediaWiki-User-Interface, I18n
Bewfip added a comment to T401493: In Html::namespaceSelectorOptions(), "in-user-lang" causes LanguageConverter to be bypassed .

Special:Search is also affected, as SearchFormWidget is created with LanguageConverter in UI language code (at SpecialSearch.php).

Aug 8 2025, 7:29 PM · Chinese-Sites, MediaWiki-Internationalization
Bewfip updated subscribers of T401493: In Html::namespaceSelectorOptions(), "in-user-lang" causes LanguageConverter to be bypassed .

Hi @EBernhardson, I saw you authored the patch in T174057 for which this feature was originally introduced. Do you think some kind of language code prefix matching with $languagesWithVariants is doable in Html::namespaceSelectorOptions()?

Aug 8 2025, 6:44 PM · Chinese-Sites, MediaWiki-Internationalization
Bewfip created T401493: In Html::namespaceSelectorOptions(), "in-user-lang" causes LanguageConverter to be bypassed .
Aug 8 2025, 5:56 PM · Chinese-Sites, MediaWiki-Internationalization
Bewfip updated the task description for T396231: Inconsistent namespace display names between HTML and JavaScript in NamespaceInputWidget.
Aug 8 2025, 3:24 PM · MW-1.45-notes (1.45.0-wmf.14; 2025-08-12), MediaWiki-User-Interface (mediawiki.widgets), Regression, I18n, Chinese-Sites
Bewfip updated the task description for T396231: Inconsistent namespace display names between HTML and JavaScript in NamespaceInputWidget.
Aug 8 2025, 2:42 PM · MW-1.45-notes (1.45.0-wmf.14; 2025-08-12), MediaWiki-User-Interface (mediawiki.widgets), Regression, I18n, Chinese-Sites
Bewfip added a comment to T401456: Overrides for compounds of polyphonic characters on Chinese collations (pinyin and zhuyin).

I wonder if there is any ready-made ruleset that maps words starting with polyphonic characters to the correct pinyin in that context. A quick search shows that users at zh.moegirl.org.cn (already using Extension:PinyinSort) manually configure the collation key. LaTeX packages authors (zhmakeindex, biblatex-gb7714) suggest similar workarounds.

Aug 8 2025, 10:03 AM · MediaWiki-Categories, Chinese-Sites, MediaWiki-Internationalization

Aug 6 2025

Bewfip added a comment to T46667: Allow multiple collations in same site and configure zh collations.

I'm not sure if this feature is ready to be deployed, as users probably can't agree on the collation method (zh-cn users naturally use pinyin, but not sure about others). Nevertheless I have created a discussion on zhwiki to collect users' opinions (link).

Aug 6 2025, 8:36 PM · Chinese-Sites, MediaWiki-Internationalization, Wikimedia-Site-requests

Aug 4 2025

Bewfip updated the task description for T401150: The protection expiry options should be rendered in the user interface language.
Aug 4 2025, 10:31 PM · Chinese-Sites, MediaWiki-Internationalization, MediaWiki-Page-protection
Bewfip added a comment to T401150: The protection expiry options should be rendered in the user interface language.

I am not sysop so can't comment on the use cases. However if the customisation has been used somewhere, and the UI of action=protect is kept in its current form, then sysops at zhwiki just have to be less paranoid about the interface or find other workarounds.

Aug 4 2025, 10:30 PM · Chinese-Sites, MediaWiki-Internationalization, MediaWiki-Page-protection
Bewfip moved T401150: The protection expiry options should be rendered in the user interface language from Backlog to MediaWiki core on the Chinese-Sites board.
Aug 4 2025, 8:46 PM · Chinese-Sites, MediaWiki-Internationalization, MediaWiki-Page-protection
Bewfip created T401150: The protection expiry options should be rendered in the user interface language.
Aug 4 2025, 8:42 PM · Chinese-Sites, MediaWiki-Internationalization, MediaWiki-Page-protection

Aug 3 2025

Bewfip created T401080: $wgLocalisationCacheConf['manualRecache'] = false is slow for languages with complex fallback rules (like Chinese).
Aug 3 2025, 11:16 PM · Chinese-Sites, MediaWiki-Internationalization
Bewfip updated subscribers of T396231: Inconsistent namespace display names between HTML and JavaScript in NamespaceInputWidget.

I found that "Wikipedia讨论" comes from the templates of NS_PROJECT_TALK in MessagesZh_hans.php or MessagesZh_hant.php. It gets formatted with $wgMetaNamespace which is "Wikipedia", by MediaWiki\Language\Language::fixVariableInNamespace.

Aug 3 2025, 4:05 PM · MW-1.45-notes (1.45.0-wmf.14; 2025-08-12), MediaWiki-User-Interface (mediawiki.widgets), Regression, I18n, Chinese-Sites