Page MenuHomePhabricator

Fomafix (Fomafix)
User

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Oct 14 2014, 8:51 AM (380 w, 2 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Fomafix [ Global Accounts ]

Recent Activity

Dec 13 2021

Fomafix closed T284625: Live preview should respect user's language variant setting as Resolved.

1.38.0-wmf.12 is now deployed.

Dec 13 2021, 9:54 PM · Community-Tech (CommTech-Sprint-15), MW-1.38-notes (1.38.0-wmf.12; 2021-12-06), Real-Time-Preview-Wish-2021, Chinese-Sites, MediaWiki-Page-editing
Fomafix closed T284625: Live preview should respect user's language variant setting, a subtask of T41272: Bugs in "Live preview" feature (tracking), as Resolved.
Dec 13 2021, 9:53 PM · JavaScript, MediaWiki-Page-editing, Tracking-Neverending
Fomafix closed T284625: Live preview should respect user's language variant setting, a subtask of T294052: Support variants of page content languages in live preview, as Resolved.
Dec 13 2021, 9:53 PM · Patch-For-Review, MediaWiki-Language-converter
Fomafix added a comment to T117549: Do not generate warning on parameter `variant` for API requests.

1.38.0-wmf.12 is now deployed.

Dec 13 2021, 9:47 PM · MW-1.38-notes (1.38.0-wmf.12; 2021-12-06), Community-Tech (CommTech-Sprint-14), Platform Engineering, MediaWiki-API

Dec 11 2021

Fomafix added a comment to T263082: add <langconvert> parser tag.

The URL parameters uselang and variant support both variants: uselang=zh-sg and variant=zh-sg and also uselang=zh-hans-sg and variant=zh-hans-sg.

Dec 11 2021, 9:25 AM · MW-1.36-notes (1.36.0-wmf.29; 2021-02-02), User-notice, Parsoid (Tracking), MediaWiki-Language-converter, Chinese-Sites, MediaWiki-Parser, Patch-For-Review

Dec 10 2021

Fomafix added a comment to T263082: add <langconvert> parser tag.

Besides, why is it required to use the strict BCP47 name? For example, zh-hans-sg is an acceptable name, but users are more used to zh-sg.

Dec 10 2021, 9:36 AM · MW-1.36-notes (1.36.0-wmf.29; 2021-02-02), User-notice, Parsoid (Tracking), MediaWiki-Language-converter, Chinese-Sites, MediaWiki-Parser, Patch-For-Review

Nov 28 2021

Fomafix committed rEDKM8361e9616270: Use AutoloadNamespaces instead of AutoloadClasses (authored by Fomafix).
Use AutoloadNamespaces instead of AutoloadClasses
Nov 28 2021, 8:53 PM

Nov 23 2021

Fomafix closed T117549: Do not generate warning on parameter `variant` for API requests as Resolved.

api.php?action=parse&variant=sr-el generates no warning anymore.

Nov 23 2021, 6:21 PM · MW-1.38-notes (1.38.0-wmf.12; 2021-12-06), Community-Tech (CommTech-Sprint-14), Platform Engineering, MediaWiki-API
Fomafix closed T117549: Do not generate warning on parameter `variant` for API requests, a subtask of T117529: TextExtracts API supports URL parameter variant but generates warning and generates no warning for the parameter exvariant, as Resolved.
Nov 23 2021, 6:21 PM · MW-1.28-release (WMF-deploy-2016-09-20_(1.28.0-wmf.20)), Readers-Web-Backlog, Patch-For-Review, MediaWiki-API, TextExtracts
Fomafix closed T117549: Do not generate warning on parameter `variant` for API requests, a subtask of T246314: Map cannot be displayed in simplified Chinese: "GroupId not available", as Resolved.
Nov 23 2021, 6:21 PM · Chinese-Sites, Maps (Kartographer)
Fomafix closed T117549: Do not generate warning on parameter `variant` for API requests, a subtask of T284625: Live preview should respect user's language variant setting, as Resolved.
Nov 23 2021, 6:21 PM · Community-Tech (CommTech-Sprint-15), MW-1.38-notes (1.38.0-wmf.12; 2021-12-06), Real-Time-Preview-Wish-2021, Chinese-Sites, MediaWiki-Page-editing
Fomafix closed T289264: Replace hard coded "https://maps.wikimedia.org" by $wgKartographerMapServer in specialMap.less as Resolved.
Nov 23 2021, 9:36 AM · MW-1.38-notes (1.38.0-wmf.12; 2021-12-06), good first task, Maps (Kartographer)

Nov 11 2021

Krinkle awarded T289264: Replace hard coded "https://maps.wikimedia.org" by $wgKartographerMapServer in specialMap.less a Orange Medal token.
Nov 11 2021, 11:56 PM · MW-1.38-notes (1.38.0-wmf.12; 2021-12-06), good first task, Maps (Kartographer)

Nov 3 2021

Fomafix committed rEDKMcddb2b81f0eb: Allow to overwrite the user setting by the URL parameter usedarkmode=0 (authored by Fomafix).
Allow to overwrite the user setting by the URL parameter usedarkmode=0
Nov 3 2021, 6:22 AM

Nov 1 2021

Fomafix updated the task description for T230228: Replace `[[cmn:` by `[[:cmn:` in the wikitext.
Nov 1 2021, 9:03 PM · Wikimedia-Interwiki-links

Oct 30 2021

Fomafix merged T74875: Superfluous -{R| }- appears on https://zh.wikipedia.org/w/api.php around links into T208145: api.php shows language converter syntax in the HTML for certain uselang parameters.
Oct 30 2021, 8:45 PM · Patch-Needs-Improvement, MediaWiki-API, MediaWiki-Language-converter, MediaWiki-Parser
Fomafix merged task T74875: Superfluous -{R| }- appears on https://zh.wikipedia.org/w/api.php around links into T208145: api.php shows language converter syntax in the HTML for certain uselang parameters.
Oct 30 2021, 8:44 PM · MediaWiki-Internationalization
Fomafix reopened T74875: Superfluous -{R| }- appears on https://zh.wikipedia.org/w/api.php around links as "Open".

It depends on the user interface language. On https://zh.wikipedia.org/w/api.php?uselang=zh there is still

Oct 30 2021, 8:42 PM · MediaWiki-Internationalization
Fomafix closed T291985: Attribute displaytitle without {{DISPLAYTITLE}} contains incomplete HTML encoding as Resolved.

https://www.mediawiki.org/w/api.php?action=parse&format=json&formatversion=2&title=A%26b&prop=displaytitle&text=foo answers

{
  "parse": {
    "title": "A&b",
    "pageid": 0,
    "displaytitle": "A&amp;b"
  }
}
Oct 30 2021, 7:34 PM · MW-1.38-notes (1.38.0-wmf.5; 2021-10-19), MediaWiki-Parser, MediaWiki-API
Fomafix updated the task description for T294612: Raw HTML from Language Converters' title conversion displayed in plaintext.
Oct 30 2021, 3:39 PM · MW-1.38-release, Chinese-Sites, Patch-For-Review, Regression, MediaWiki-Parser, MediaWiki-Language-converter

Oct 29 2021

Fomafix claimed T294612: Raw HTML from Language Converters' title conversion displayed in plaintext.
Oct 29 2021, 12:10 PM · MW-1.38-release, Chinese-Sites, Patch-For-Review, Regression, MediaWiki-Parser, MediaWiki-Language-converter

Oct 28 2021

Fomafix committed rEDKM1da37855a641: Use addBodyClasses instead of addHtmlClasses (authored by Fomafix).
Use addBodyClasses instead of addHtmlClasses
Oct 28 2021, 11:52 PM
Fomafix committed rEDKMa34fde293450: Inline the function toggleDarkMode (authored by Fomafix).
Inline the function toggleDarkMode
Oct 28 2021, 11:52 PM
Fomafix added a comment to T291985: Attribute displaytitle without {{DISPLAYTITLE}} contains incomplete HTML encoding.

I found the reason for the different behavior on zhwiki. On zhwiki is:

$wgRestrictDisplayTitle = false

Source: https://gerrit.wikimedia.org/g/operations/mediawiki-config/+/acc9b3c6437175981b041a10f392a3e7d4590509/wmf-config/InitialiseSettings.php#13973

Oct 28 2021, 7:46 AM · MW-1.38-notes (1.38.0-wmf.5; 2021-10-19), MediaWiki-Parser, MediaWiki-API
Fomafix added a comment to T291985: Attribute displaytitle without {{DISPLAYTITLE}} contains incomplete HTML encoding.

@Jonathan5566 Can you create a new but report?

Oct 28 2021, 6:23 AM · MW-1.38-notes (1.38.0-wmf.5; 2021-10-19), MediaWiki-Parser, MediaWiki-API

Oct 26 2021

Fomafix committed rEDKM916bdb39a3bf: Set initial message text for the footer on server-side (authored by Fomafix).
Set initial message text for the footer on server-side
Oct 26 2021, 7:25 AM

Oct 24 2021

Fomafix committed rEDKM9d98499e2b34: Simplify JavaScript code (authored by Fomafix).
Simplify JavaScript code
Oct 24 2021, 8:45 PM
Fomafix committed rEDKMee3246521235: Set initial message text on server side instead of on client side (authored by Fomafix).
Set initial message text on server side instead of on client side
Oct 24 2021, 8:45 PM
Fomafix committed rEDKMe82262ff05db: Consistently use classList instead of jQuery (authored by Fomafix).
Consistently use classList instead of jQuery
Oct 24 2021, 8:45 PM

Oct 22 2021

Fomafix committed rEDKMa57235393e72: Inject UserOptionsLookup (authored by Fomafix).
Inject UserOptionsLookup
Oct 22 2021, 6:02 PM
Fomafix committed rEDKM3855b61bb202: Combine the two calls of toggleDarkMode (authored by Fomafix).
Combine the two calls of toggleDarkMode
Oct 22 2021, 6:02 PM

Oct 21 2021

Fomafix added a parent task for T284625: Live preview should respect user's language variant setting: T294052: Support variants of page content languages in live preview.
Oct 21 2021, 6:57 PM · Community-Tech (CommTech-Sprint-15), MW-1.38-notes (1.38.0-wmf.12; 2021-12-06), Real-Time-Preview-Wish-2021, Chinese-Sites, MediaWiki-Page-editing
Fomafix added a subtask for T294052: Support variants of page content languages in live preview: T284625: Live preview should respect user's language variant setting.
Oct 21 2021, 6:57 PM · Patch-For-Review, MediaWiki-Language-converter
Fomafix created T294052: Support variants of page content languages in live preview.
Oct 21 2021, 6:53 PM · Patch-For-Review, MediaWiki-Language-converter
Fomafix added a subtask for T284625: Live preview should respect user's language variant setting: T117549: Do not generate warning on parameter `variant` for API requests.
Oct 21 2021, 6:36 PM · Community-Tech (CommTech-Sprint-15), MW-1.38-notes (1.38.0-wmf.12; 2021-12-06), Real-Time-Preview-Wish-2021, Chinese-Sites, MediaWiki-Page-editing
Fomafix added a parent task for T117549: Do not generate warning on parameter `variant` for API requests: T284625: Live preview should respect user's language variant setting.
Oct 21 2021, 6:36 PM · MW-1.38-notes (1.38.0-wmf.12; 2021-12-06), Community-Tech (CommTech-Sprint-14), Platform Engineering, MediaWiki-API

Oct 20 2021

Fomafix added a comment to T293564: Inconsistent parameter passed to the wikipage.indicators JS hook.

@Fomafix Can you prepare a cherry pick for REL1_36 as well? (There is a merge conflict as-is.)

Oct 20 2021, 8:09 AM · MW-1.36-notes, MW-1.38-notes (1.38.0-wmf.6; 2021-10-26), MW-1.37-notes, MediaWiki-Interface

Oct 19 2021

Fomafix claimed T293307: Header of diff in the editor missing when using live preview.
Oct 19 2021, 7:56 PM · MediaWiki-Page-editing
Fomafix claimed T293597: Live Preview: "Show changes" does not reset the diff area when there are no differences.
Oct 19 2021, 6:51 PM · MW-1.38-notes (1.38.0-wmf.6; 2021-10-26), MediaWiki-Page-editing, Community-Tech

Oct 17 2021

Fomafix claimed T293564: Inconsistent parameter passed to the wikipage.indicators JS hook.
Oct 17 2021, 7:12 AM · MW-1.36-notes, MW-1.38-notes (1.38.0-wmf.6; 2021-10-26), MW-1.37-notes, MediaWiki-Interface
Fomafix updated subscribers of T293564: Inconsistent parameter passed to the wikipage.indicators JS hook.

This is inconsistent and was not intended.

Oct 17 2021, 6:51 AM · MW-1.36-notes, MW-1.38-notes (1.38.0-wmf.6; 2021-10-26), MW-1.37-notes, MediaWiki-Interface

Oct 14 2021

Fomafix added a comment to T225845: Remove support for automatic 'dir' parameter inference for load.php urls .

Ok, I agree. HTTP has also just one parameter for the language in the HTTP header field Accept-Language and no parameter for the direction of the language. It should be possible with a short and fast mapping table to get the direction of the language based on a language code.

Oct 14 2021, 6:08 PM · Patch-For-Review, Performance-Team (Radar), patch-welcome, MediaWiki-ResourceLoader

Oct 12 2021

Fomafix created T293064: Updating live preview via keyboard shortcut while a mapframe is full-screen breaks Kartographer.
Oct 12 2021, 9:38 AM · Maps (Kartographer)

Oct 10 2021

Fomafix updated the task description for T292905: In Turkish, messages starting with i are missing on Special:AllMessages with lang=tr.
Oct 10 2021, 7:56 AM · Patch-For-Review, Turkish-Sites, MediaWiki-Special-pages

Oct 9 2021

Fomafix claimed T292905: In Turkish, messages starting with i are missing on Special:AllMessages with lang=tr.
Oct 9 2021, 12:54 PM · Patch-For-Review, Turkish-Sites, MediaWiki-Special-pages
Fomafix created T292905: In Turkish, messages starting with i are missing on Special:AllMessages with lang=tr.
Oct 9 2021, 12:54 PM · Patch-For-Review, Turkish-Sites, MediaWiki-Special-pages

Oct 8 2021

Fomafix created T292834: Titles in NS_MEDIAWIKI uses Turkish capitalization on Turkish content language.
Oct 8 2021, 11:46 AM · MediaWiki-Internationalization, Turkish-Sites
Fomafix created T292824: {{ucfirst:$1}} have different capitalization in PHP and in JavaScript.
Oct 8 2021, 9:14 AM · MediaWiki-Internationalization, I18n

Oct 4 2021

Fomafix added a project to T291985: Attribute displaytitle without {{DISPLAYTITLE}} contains incomplete HTML encoding: MediaWiki-Parser.
Oct 4 2021, 8:06 PM · MW-1.38-notes (1.38.0-wmf.5; 2021-10-19), MediaWiki-Parser, MediaWiki-API
Fomafix claimed T291985: Attribute displaytitle without {{DISPLAYTITLE}} contains incomplete HTML encoding.
Oct 4 2021, 1:03 PM · MW-1.38-notes (1.38.0-wmf.5; 2021-10-19), MediaWiki-Parser, MediaWiki-API
Fomafix added a comment to T291985: Attribute displaytitle without {{DISPLAYTITLE}} contains incomplete HTML encoding.

The two examples from https://html.spec.whatwg.org/#syntax-errors

<a href="?bill&ted">Bill and Ted</a> <!-- &ted is ok, since it's not a named character reference -->
Oct 4 2021, 9:38 AM · MW-1.38-notes (1.38.0-wmf.5; 2021-10-19), MediaWiki-Parser, MediaWiki-API

Sep 28 2021

Fomafix added a comment to T291985: Attribute displaytitle without {{DISPLAYTITLE}} contains incomplete HTML encoding.

And also https://www.mediawiki.org/w/api.php?action=query&formatversion=2&prop=info&inprop=displaytitle&titles=A%26B with the current response

Sep 28 2021, 8:22 PM · MW-1.38-notes (1.38.0-wmf.5; 2021-10-19), MediaWiki-Parser, MediaWiki-API
Fomafix added a comment to T291985: Attribute displaytitle without {{DISPLAYTITLE}} contains incomplete HTML encoding.

This affects also the displaytitle on https://www.mediawiki.org/wiki/A&B?action=info.

Sep 28 2021, 8:01 PM · MW-1.38-notes (1.38.0-wmf.5; 2021-10-19), MediaWiki-Parser, MediaWiki-API
Fomafix created T291985: Attribute displaytitle without {{DISPLAYTITLE}} contains incomplete HTML encoding.
Sep 28 2021, 6:05 PM · MW-1.38-notes (1.38.0-wmf.5; 2021-10-19), MediaWiki-Parser, MediaWiki-API

Sep 27 2021

Fomafix renamed T36514: The language and the direction of the title in first heading should depend on page content language instead of user interface language from Language and direction of first heading should depend on page content language instead of user interface language to The language and the direction of the title in first heading should depend on page content language instead of user interface language.
Sep 27 2021, 9:46 AM · Patch-For-Review, RTL, I18n, MediaWiki-Internationalization
Fomafix added a comment to T65880: firstHeading should be marked as in interface language on action=history, action=edit etc.

Since rSVEC68b52a77e2fe: Usages of page-langcode dropped for html-user-language-attributes the firstHeading element has the lang and dir attributes of the user interface language instead of the PageViewLanguage. This solves the first part of this task:

<h1 id="firstHeading" class="firstHeading">Editing $1</h1>

is now in user interface language. The second part of this task is to enclose the title itself into an element with lang and dir attributes of the page language:

<h1 id="firstHeading" class="firstHeading">Editing <span dir="{{PageTitleDirection}}" lang="{{PageTitleLanguage}}">$1</span></h1>

The PageTitleLanguage differs to the PageViewLanguage on some places like the MediaWiki namespace, which uses always English titles.

Sep 27 2021, 7:53 AM · MediaWiki-Page-history, MediaWiki-Page-editing, MediaWiki-Interface (actions), Patch-For-Review, I18n

Sep 26 2021

Fomafix added a comment to T105214: Preview shows wikitext instead of page title on test.wikipedia.org.

I don't think that's a good solution. The problem will still be visible and prominent, and you remove part of the feature on wikis that don't experience this problem.

Sep 26 2021, 7:43 AM · MW-1.38-notes (1.38.0-wmf.9; 2021-11-16), JavaScript, MediaWiki-Page-editing

Sep 25 2021

Fomafix claimed T105214: Preview shows wikitext instead of page title on test.wikipedia.org.
Sep 25 2021, 1:21 PM · MW-1.38-notes (1.38.0-wmf.9; 2021-11-16), JavaScript, MediaWiki-Page-editing
Fomafix added a comment to T105214: Preview shows wikitext instead of page title on test.wikipedia.org.

I think the best solution is to put the title in a special element inside of the firstHeading. Live preview can then just replace the content in this element and keep the rest of the firstHeading unchanged. But this would only solve the problem on the firstHeading, not on the HTML title. The update of the HTML title can also dropped completely. Its just a preview and the result including any embedded HTML is already visible on the firstHeading.

Sep 25 2021, 12:12 PM · MW-1.38-notes (1.38.0-wmf.9; 2021-11-16), JavaScript, MediaWiki-Page-editing
Fomafix reopened T105214: Preview shows wikitext instead of page title on test.wikipedia.org as "Open".

Reopen. The problem still exist. The message text in MediaWiki:Editing uses the extension ParserFunctions. This works on server side parsing but not on parsing by mediawiki.jqueryMsg used by mediawiki.action.edit.preview.

Sep 25 2021, 11:57 AM · MW-1.38-notes (1.38.0-wmf.9; 2021-11-16), JavaScript, MediaWiki-Page-editing
Fomafix reopened T105214: Preview shows wikitext instead of page title on test.wikipedia.org, a subtask of T41272: Bugs in "Live preview" feature (tracking), as Open.
Sep 25 2021, 11:57 AM · JavaScript, MediaWiki-Page-editing, Tracking-Neverending

Sep 24 2021

Fomafix reopened T145778: LivePreview "show changes" does not update or hide the category preview, a subtask of T41272: Bugs in "Live preview" feature (tracking), as Open.
Sep 24 2021, 8:30 PM · JavaScript, MediaWiki-Page-editing, Tracking-Neverending
Fomafix reopened T145778: LivePreview "show changes" does not update or hide the category preview as "Open".

Reopen. The behavior is unchanged. A click on Show changes doesn't update the categories on the bottom. There are still the categories from the first preview.
On disabled live preview a click on Show changes don't show any categories. This would be also a possible for live preview. But updated categories on Show changes would be nice.

Sep 24 2021, 8:30 PM · MediaWiki-Page-editing
Fomafix updated the task description for T117549: Do not generate warning on parameter `variant` for API requests.
Sep 24 2021, 6:03 AM · MW-1.38-notes (1.38.0-wmf.12; 2021-12-06), Community-Tech (CommTech-Sprint-14), Platform Engineering, MediaWiki-API

Sep 20 2021

Fomafix created T291375: Drop configuration variable wgAjaxUploadDestCheck.
Sep 20 2021, 12:29 PM · MW-1.38-notes (1.38.0-wmf.13; 2021-12-13), MediaWiki-Uploading

Sep 19 2021

Fomafix claimed T291339: Username suggestion for ß suggests SS.
Sep 19 2021, 2:33 PM · MW-1.38-notes (1.38.0-wmf.4; 2021-10-12), JavaScript, MediaWiki-Special-pages
Fomafix added a comment to T291339: Username suggestion for ß suggests SS.

I suggest to move the uppercase conversion from JavaScript to PHP.

Sep 19 2021, 9:45 AM · MW-1.38-notes (1.38.0-wmf.4; 2021-10-12), JavaScript, MediaWiki-Special-pages
Fomafix added a comment to T291339: Username suggestion for ß suggests SS.

The reason is that in JavaScript "ß".toUpperCase() evaluates to "SS".

Sep 19 2021, 9:44 AM · MW-1.38-notes (1.38.0-wmf.4; 2021-10-12), JavaScript, MediaWiki-Special-pages
Fomafix created T291339: Username suggestion for ß suggests SS.
Sep 19 2021, 9:43 AM · MW-1.38-notes (1.38.0-wmf.4; 2021-10-12), JavaScript, MediaWiki-Special-pages

Sep 18 2021

Fomafix changed the subtype of T291321: mw.Title doesn't support Unicode characters out of BMP from "Task" to "Bug Report".
Sep 18 2021, 9:18 AM · MW-1.38-notes (1.38.0-wmf.1; 2021-09-21), MediaWiki-Internationalization
Fomafix created T291321: mw.Title doesn't support Unicode characters out of BMP.
Sep 18 2021, 8:52 AM · MW-1.38-notes (1.38.0-wmf.1; 2021-09-21), MediaWiki-Internationalization

Sep 11 2021

Fomafix updated the task description for T180342: Single quotes in selflinks activates italic/bold.
Sep 11 2021, 8:23 AM · MediaWiki-Parser

Sep 10 2021

Fomafix added a project to T290070: Support short link for category selector UI on Special:CategoryTree: Regression.
Sep 10 2021, 4:09 PM · Regression, Patch-For-Review, MediaWiki-extensions-CategoryTree

Sep 9 2021

Fomafix closed T288910: Categorytrees on RTL categories with LTR user interface language have a wrong direction as Resolved.

The UI of the category tree in mixed directions is fixed.

Sep 9 2021, 12:52 PM · MW-1.37-notes (1.37.0-wmf.23; 2021-09-13), RTL, MediaWiki-extensions-CategoryTree, I18n

Sep 2 2021

Fomafix updated the task description for T38755: gallery should not use ul/li.
Sep 2 2021, 4:49 PM · HTML5, Accessibility, Multimedia, MediaWiki-Gallery, MediaWiki-Interface

Sep 1 2021

Fomafix added a comment to T16880: Preset Special:CategoryTree input with main category..

Special:CategoryTree supports a preset of the root category by using the system message MediaWiki:Rootcategory with the name of the root category. This feature exists since 2006.

Sep 1 2021, 9:27 PM · MediaWiki-extensions-CategoryTree
Fomafix claimed T212059: Special:ExpandTemplates does not load modules for CategoryTree.
Sep 1 2021, 7:38 PM · Patch-For-Review, MediaWiki-Special-pages, MediaWiki-extensions-CategoryTree

Aug 31 2021

Fomafix claimed T290070: Support short link for category selector UI on Special:CategoryTree.
Aug 31 2021, 1:37 PM · Regression, Patch-For-Review, MediaWiki-extensions-CategoryTree
Fomafix created T290070: Support short link for category selector UI on Special:CategoryTree.
Aug 31 2021, 12:45 PM · Regression, Patch-For-Review, MediaWiki-extensions-CategoryTree
Fomafix created T290062: Deprecate parameter onlyroot.
Aug 31 2021, 9:25 AM · Patch-For-Review, MediaWiki-extensions-CategoryTree

Aug 30 2021

Fomafix claimed T289997: Special:CategoryTree doesn't support mode "all pages" on subcategories anymore.
Aug 30 2021, 9:45 PM · MW-1.37-notes (1.37.0-wmf.23; 2021-09-13), Regression, Patch-For-Review, MediaWiki-extensions-CategoryTree
Fomafix created T289997: Special:CategoryTree doesn't support mode "all pages" on subcategories anymore.
Aug 30 2021, 12:28 PM · MW-1.37-notes (1.37.0-wmf.23; 2021-09-13), Regression, Patch-For-Review, MediaWiki-extensions-CategoryTree

Aug 29 2021

Fomafix added a comment to T289371: Split sh language code to sh-Cyrl-ekavsk, sh-Cyrl-ijekavsk, sh-Latn-ekavsk and sh-Latn-ijekavsk.

https://www.rfc-editor.org/rfc/rfc5646.html#page-10 (part of BCP 47) writes:

When languages have both an ISO 639-1 two-character code and a three-character code (assigned by ISO 639-2, ISO 639-3, or ISO 639-5), only the ISO 639-1 two-character code is defined in the IANA registry.

This explains why here only the two-letter codes are allowed in BCP 47.

Aug 29 2021, 11:53 AM · Language codes, MediaWiki-Internationalization, I18n

Aug 27 2021

Fomafix added a comment to T268033: Implement Latin->Cyrillic transliterator for Serbo-Croatian.

Is it intended to have sh-Cyrl (Serbocroatian in Cyrillic script) and sh-Latn (Serbocroatian in Latin script) both as content language with automatic transliteration and as user interface language? Should the existing messages in sh moved to sh-Latn? Should sh-Latn be the default fallback for sh? Is the mapping for sh the same as for sr (code)?

Aug 27 2021, 1:05 PM · Patch-For-Review, MediaWiki-Language-converter

Aug 26 2021

Fomafix added a comment to T289371: Split sh language code to sh-Cyrl-ekavsk, sh-Cyrl-ijekavsk, sh-Latn-ekavsk and sh-Latn-ijekavsk.

bhs is a typo of hbs. hbs is the ISO 639-3 (three letter) equivalent of sh. sh is not really deprecated, it is considered as a macrolanguage for bs/bos (Bosnian), hr/hrv (Croatian), sr/srp (Serbian) and cnr (Montenegrin). The variants ekavsk and ijekavsk are only defined for sr, sr-Cyrl and sr-Latn. sh-Cyrl-ekavsk leads to a validation error: https://validator.w3.org/nu/?useragent=Validator.nu%2FLV+http%3A%2F%2Fvalidator.w3.org%2Fservices&acceptlanguage=&doc=https%3A%2F%2Fsh.wikipedia.org%2Fwiki%2FPosebno%3AVerzija%3Fuselang%3Dsh-Cyrl-ekavsk

Bad value sh-Cyrl-ekavsk for attribute lang on element html: Variant ekavsk lacks recommended prefix. Use one of sr, sr, sr, or latn instead.

The recommendation in the error message is a bit funny and should be sr, sr-Cyrl or sr-Latn.

Aug 26 2021, 9:45 PM · Language codes, MediaWiki-Internationalization, I18n

Aug 22 2021

Fomafix added a comment to T289371: Split sh language code to sh-Cyrl-ekavsk, sh-Cyrl-ijekavsk, sh-Latn-ekavsk and sh-Latn-ijekavsk.

https://www.loc.gov/standards/iso639-2/php/code_changes.php notes for sh:

This code was deprecated in 2000 because there were separate language codes for each individual language represented (Serbian, Croatian, and then Bosnian was added). It was published in a revision of ISO 639-1, but never was included in ISO 639-2. It is considered a macrolanguage (general name for a cluster of closely related individual languages) in ISO 639-3. Its deprecated status was reaffirmed by the ISO 639 JAC in 2005.

Shouldn't the individual language codes used?

Aug 22 2021, 8:48 AM · Language codes, MediaWiki-Internationalization, I18n

Aug 21 2021

Fomafix added a comment to T289371: Split sh language code to sh-Cyrl-ekavsk, sh-Cyrl-ijekavsk, sh-Latn-ekavsk and sh-Latn-ijekavsk.

sh is a macrolanguage with the comment sr, hr, bs are preferred for most modern uses. sr is part of the macrolanguage sh. Is there a difference between sr-Cyrl-ekavsk and sh-Cyrl-ekavsk?

Aug 21 2021, 4:19 PM · Language codes, MediaWiki-Internationalization, I18n
Fomafix added a comment to T289371: Split sh language code to sh-Cyrl-ekavsk, sh-Cyrl-ijekavsk, sh-Latn-ekavsk and sh-Latn-ijekavsk.

https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry defines the subtags ekavsk and ijekavsk only for sr, not for sh. For sh is the comment:

Type: language
Subtag: sh
Description: Serbo-Croatian
Added: 2005-10-16
Scope: macrolanguage
Comments: sr, hr, bs are preferred for most modern uses
Aug 21 2021, 12:06 PM · Language codes, MediaWiki-Internationalization, I18n

Aug 20 2021

Fomafix merged T235128: CategoryTree should indicate not all items are shown for large subcategories into T124596: Add a button to load more items when there are more items than the limit.
Aug 20 2021, 4:56 PM · MediaWiki-extensions-CategoryTree
Fomafix merged task T235128: CategoryTree should indicate not all items are shown for large subcategories into T124596: Add a button to load more items when there are more items than the limit.
Aug 20 2021, 4:56 PM · MediaWiki-extensions-CategoryTree
Fomafix renamed T288910: Categorytrees on RTL categories with LTR user interface language have a wrong direction from An embedded categorytree should use the language direction of the context to Categorytrees on RTL categories with LTR user interface language have a wrong direction.
Aug 20 2021, 8:35 AM · MW-1.37-notes (1.37.0-wmf.23; 2021-09-13), RTL, MediaWiki-extensions-CategoryTree, I18n

Aug 19 2021

Fomafix added a comment to T225845: Remove support for automatic 'dir' parameter inference for load.php urls .

Of course there must be somewhere a mapping from a language code to the direction of the language. For ResourceLoader as standalone library it would be good to have standard way for this mapping. But I still think it would be good to use this mapping only once on the initial constructor of the ResourceLoader instead of on every follow up request. I thing it is better to use separate values for dir and lang and include them only if the response vary on the value and omit the dir attribute if it is equal to the DEFAULT_DIR.

Aug 19 2021, 7:28 PM · Patch-For-Review, Performance-Team (Radar), patch-welcome, MediaWiki-ResourceLoader
Fomafix created T289264: Replace hard coded "https://maps.wikimedia.org" by $wgKartographerMapServer in specialMap.less.
Aug 19 2021, 2:48 PM · MW-1.38-notes (1.38.0-wmf.12; 2021-12-06), good first task, Maps (Kartographer)

Aug 17 2021

Fomafix renamed T288910: Categorytrees on RTL categories with LTR user interface language have a wrong direction from An embedded categorytree should use the language direction of the content to An embedded categorytree should use the language direction of the context.
Aug 17 2021, 9:58 AM · MW-1.37-notes (1.37.0-wmf.23; 2021-09-13), RTL, MediaWiki-extensions-CategoryTree, I18n
Fomafix updated the task description for T288910: Categorytrees on RTL categories with LTR user interface language have a wrong direction.
Aug 17 2021, 9:54 AM · MW-1.37-notes (1.37.0-wmf.23; 2021-09-13), RTL, MediaWiki-extensions-CategoryTree, I18n

Aug 16 2021

Fomafix created T288943: Update CSSJanus to version 2.0.0.
Aug 16 2021, 11:30 AM · MW-1.37-notes (1.37.0-wmf.21; 2021-08-30), RTL, Performance-Team, CSS, I18n, MediaWiki-ResourceLoader

Aug 15 2021

Fomafix claimed T288910: Categorytrees on RTL categories with LTR user interface language have a wrong direction.
Aug 15 2021, 2:05 PM · MW-1.37-notes (1.37.0-wmf.23; 2021-09-13), RTL, MediaWiki-extensions-CategoryTree, I18n
Fomafix created T288910: Categorytrees on RTL categories with LTR user interface language have a wrong direction.
Aug 15 2021, 2:05 PM · MW-1.37-notes (1.37.0-wmf.23; 2021-09-13), RTL, MediaWiki-extensions-CategoryTree, I18n

Jun 20 2021

Fomafix claimed T285174: jqueryMsg ucfirst and lcfirst doesn't support Unicode characters outside of BMP.
Jun 20 2021, 6:47 AM · MW-1.37-notes (1.37.0-wmf.12; 2021-06-28), MediaWiki-Internationalization
Fomafix created T285174: jqueryMsg ucfirst and lcfirst doesn't support Unicode characters outside of BMP.
Jun 20 2021, 6:47 AM · MW-1.37-notes (1.37.0-wmf.12; 2021-06-28), MediaWiki-Internationalization