I hereby dedicate all my comments made on this site to the public domain under CC0 1.0. This way you can safely reuse my words as if they were written by a cat trying to squish arthropods.
Tue, May 11
At least the 2.51.1 result makes more sense and works in non-extreme scales...
Sat, May 1
Every time I hear a librsvg bug, I can't help but ask: "is it a Debian stable librsvg bug or an actual librsvg bug?" (urgh) And indeed, a quick test using rsvg-convert from libsrvg 2.50 shows the red and black text on the last line overlapping fine.
Mon, Apr 19
Apr 3 2021
FWIW, it seems that texvcjs, not MathJax, is the one blocking the characters from mathoid. The problem is in turn thrown from pegjs.
For those curious about KaTeX, you can use it with the JS below, either in common.js or from a brower userscript:
This issue also affects wikis using a black background by default, which is... a lot of video game wikis. Let me describe the T279181 issue in more detail:
I agree that it's a dupe of T111222. I think it's invalid status... right?
Apr 2 2021
Feb 24 2021
Heredoc looks nice for its consistency and general-ness, but I do hope we come up with something for LISTGAP. The definition-list is still a very bad idea, but then we can also just use ** <<< now.
Agree with the Quiddity bold suggestion. The "indent" name is very unfortunate.
Feb 7 2021
Converted the additional observation to notes. Did some reading in the source, and I think it's could be a librsvg bug or a misconfiguration. Either way, this can be worked around in the environment.
- The rasterize() part of SvgHandler.php seems to set LANG only when there is one. That makes sense.
- librsvg falls back to LC_MESSAGES then LC_ALL [[https://gitlab.gnome.org/GNOME/librsvg/-/blob/2.40.21/rsvg-cond.c#L145 |when there is no LANG]]. That is not really a bug.
- librsvg falls back to en when the locale [[https://gitlab.gnome.org/GNOME/librsvg/-/blob/2.40.21/rsvg-cond.c#L148 |is exactly "C"]]. This is very not good. And it's fixed in their Rust version because they used a locale_config crate that doesn't do this.
okay, editing the bug now.
Jan 15 2021
Jan 10 2021
Jan 2 2021
I disagree with the merge. This report is related but not identical, since the SVG Tool is not part of MW proper. Instead there should just be a reference to each other.
Jan 1 2021
Dec 31 2020
Appears to be affecting the example presentation of multilingual images on a Commons template. See https://commons.wikimedia.org/wiki/Template_talk:Translate#New_Template%3A_Multilingual_Gallery.
Dec 27 2020
Nov 14 2020
I would recommend a post-processing for PNG thumbs by way of color reduction to 256. This usually gives a very signification reduction in file size at little cost to quality for drawing and text content. In ImageMagick, this is done by prefixing the output file name with PNG8:. Their handling of transparency is not good, but documents don't have that issue.
Yes, make this task about -sharpen on JPEG then. Editing.
Sep 26 2020
Currently the enabling/disabling of the availability of language converter is made across the entire wiki, however it might not always suit every needs.
Aug 25 2020
Apr 23 2020
The autoprefixer thing using caniuse looks good. -webkit-text-emphasis is especially a pain in the alias for Chinese/Japanese, as 71% of global users only get support via this prefixed version. Chrome, ya know.
Apr 17 2020
Nov 17 2019
Jun 11 2019
May 7 2019
I made a quite mention to Ctrl-F'ing the source for $props in https://www.mediawiki.org/wiki/Help:TemplateStyles#What_CSS_rules_are_recognized?, so folks can at least know how to find a list.
Apr 29 2019
Apr 24 2019
By the way, is the IPSet ($proxyListIPSet) always created anew when User::isLocallyBlockedProxy is called? I am not sure what to make of that...
Apr 15 2019
There we go, I guess. Simple as mw.language.findVariantLink(link : string) -> string.
I was trying to introduce Wikidata-based annotated link to zh.wp the other day, and mw.wikibase.getEntityIdForTitle was not working too well for this exact reason. Anyone want to triage this task?
Apr 12 2019
I partially agree with calling this GIGO too. Those sort of things are not supposed to appear in pages anyway.
Apr 7 2019
Feb 10 2019
I am thinking about using some preprocessing for Hans/hant -- we can flatten the text to one of the variants (character-by-charcter; no word based things so it is more predictable) and then perform the match.
Dec 29 2018
Sorry for the late reply.
Nov 19 2018
和（he2）by itself typically means “and”, so please treat it as a stop word as it is. Do not attempt any filtering on it.
Oct 13 2018
Sep 24 2018
There are some precompiled zh-pinyin database at https://github.com/mozillazg/pinyin-data (MIT license, although the Unihan derivatives may be taken otherwise), as well as for phrases (https://github.com/mozillazg/phrase-pinyin-data).
Sep 10 2018
A thing @Shizhao has voiced concern about is the data overhead caused by "unconditional" loads as opposed to skin attribute-defined loads, per https://zh.wikipedia.org/wiki/Wikipedia_talk:%E9%A6%96%E9%A1%B5/styles.css. This might be the rationale behind T197617#4439270.
Will it be possible to just do a big @import of Common.css in Mobile.css? It would be great if someone could test that out.
Jul 2 2018
A better justification might be demonstrating such a feature for... (coughs) min-nan Wikipedia, which IMO has a pretty terrible situation with Romanization and scripts last time I checked. They seem to be using the article pages to hold the romanized article and the talk pages for the Chinese characters, which is obviously suboptimal and often not synced.
Apr 30 2018
Apr 15 2018
Now that MW generates unescaped ids, it might be a bit easier for the LC to work with -- just match the ids somehow and create new empty span elements nearby.
Mar 2 2018
You can make your own repositories! Just clump some deb packages in one place, write a Release file, and let dpkg-scanpackages generate a Package index.
The "proper" way of creating a debian package involves making a "debian" directory in the source and writing rules in it. There's a control file that gives package name and dependencies, a big Makefile called "rules", and a changelog for versioning to write. Debian likes to take extra care to split packages into smaller ones, but you don't have to do that.
Jan 10 2018
For now at least GCJ-02 data can be justified since stuff like Geolocator and Coordinates use Google Maps. Baidu also has some click-to-see-coord feature, so I guess BD-09 data, although definitely limited to one proprietrary source that everyone uses, may be justfied as well.
Dec 14 2017
Dec 13 2017
Dec 11 2017
Just spotted at https://commons.wikimedia.org/wiki/File:Mexico_1835-1846_administrative_map-en-2.svg. Uploading a transform-simplified version with SVGO to see whether it helps. (It doesn't.)