Mailing List Archive

MW 1.35.1 Charset Question
Folks,

MediaWiki:1.35.1 (63b3fbf)
PHP:7.4.13 (fpm-fcgi)
MariaDB:10.3.25-MariaDB-0ubuntu0.20.04.1-log
ICU:66.1
LuaSandbox:3.0.3
Lua:5.1.5
Server version: Apache/2.4.46 (Ubuntu)

Fresh install.

Hoping some one can point me in the right direction. Seems I have a
charset problem. When logged out, all pages display the black
diamond/question mark when characters don't render correctly. Except for
all the Special Pages, Version, Login pages. It's like pages created
after installation have a charset problem.

However, when I log in, all pages return to normal. Not even sure the
right question to ask other than is there a config in the LocalSettings
that would do different charset between logged out and logged in.

Vector Skin at legacy level.
$wgShellLocale = "C.UTF-8";
$wgLanguageCode = "en";

Both apache2 and php7.4 running utf8 charset.

Thanks for your advice!

Chap


_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Re: MW 1.35.1 Charset Question [ In reply to ]
Try $wgDisableOutputCompression = true;

There's been some reports of issues like this due to some conflict between
apache's http/2 support and mediawiki's gzip support, but I don't think
anyone ever figured out the exact cause.

--
Brian

On Mon, Jan 4, 2021 at 10:12 PM Chap Jones via MediaWiki-l <
mediawiki-l@lists.wikimedia.org> wrote:

> Folks,
>
> MediaWiki:1.35.1 (63b3fbf)
> PHP:7.4.13 (fpm-fcgi)
> MariaDB:10.3.25-MariaDB-0ubuntu0.20.04.1-log
> ICU:66.1
> LuaSandbox:3.0.3
> Lua:5.1.5
> Server version: Apache/2.4.46 (Ubuntu)
>
> Fresh install.
>
> Hoping some one can point me in the right direction. Seems I have a
> charset problem. When logged out, all pages display the black
> diamond/question mark when characters don't render correctly. Except for
> all the Special Pages, Version, Login pages. It's like pages created
> after installation have a charset problem.
>
> However, when I log in, all pages return to normal. Not even sure the
> right question to ask other than is there a config in the LocalSettings
> that would do different charset between logged out and logged in.
>
> Vector Skin at legacy level.
> $wgShellLocale = "C.UTF-8";
> $wgLanguageCode = "en";
>
> Both apache2 and php7.4 running utf8 charset.
>
> Thanks for your advice!
>
> Chap
>
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
Re: MW 1.35.1 Charset Question [ In reply to ]
Brian,

It appears adding $wgDisableOutputCompression = true; to Localsettings
repaired my charset problem.

After your suggestion though, I realized I am using Ubuntu 20.04 but I
am not using the distro packages of apache2 and php. I'm using the
ondrej/ppa for both apache2 and php and have been doing so since early
Ubuntu 18.04.

I might set up an other instance with distro versions and not ppa
versions to see if I can recreate the charset exception. I will say it's
happened with ppa version consistently over the six or eight months or
so. I've done several fresh installations in which the charset issue has
cropped up. At the moment I can't pinpoint, but after adding various
extensions from Mediawiki along with Common.css/js and importing several
templates and such from wikipedia is when it seems to start going south.

I appreciate your time. Thank you kindly.

Chap
*****************


On 1/5/2021 4:29 AM, Brian Wolff wrote:

> Try $wgDisableOutputCompression = true;
>
> There's been some reports of issues like this due to some conflict
> between apache's http/2 support and mediawiki's gzip support, but I
> don't think anyone ever figured out the exact cause.
>
> --
> Brian
>
> On Mon, Jan 4, 2021 at 10:12 PM Chap Jones via MediaWiki-l
> <mediawiki-l@lists.wikimedia.org
> <mailto:mediawiki-l@lists.wikimedia.org>> wrote:
>
> Folks,
>
> MediaWiki:1.35.1 (63b3fbf)
> PHP:7.4.13 (fpm-fcgi)
> MariaDB:10.3.25-MariaDB-0ubuntu0.20.04.1-log
> ICU:66.1
> LuaSandbox:3.0.3
> Lua:5.1.5
> Server version: Apache/2.4.46 (Ubuntu)
>
> Fresh install.
>
> Hoping some one can point me in the right direction. Seems I have a
> charset problem. When logged out, all pages display the black
> diamond/question mark when characters don't render correctly. Except for
> all the Special Pages, Version, Login pages. It's like pages created
> after installation have a charset problem.
>
> However, when I log in, all pages return to normal. Not even sure the
> right question to ask other than is there a config in the LocalSettings
> that would do different charset between logged out and logged in.
>
> Vector Skin at legacy level.
> $wgShellLocale = "C.UTF-8";
> $wgLanguageCode = "en";
>
> Both apache2 and php7.4 running utf8 charset.
>
> Thanks for your advice!
>
> Chap
>
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> <https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l