Page MenuHomePhabricator

Localized namespaces not working
Open, LowPublic

Description

From https://www.mediawiki.org/wiki/Thread:Project:Support_desk/Localized_namespaces_not_working

Localized namespaces have stopped working in a MediaWiki installation: they are not translated into localized links, and localized links do not lead to the special pages. For example, for language "De", the entry "Kategorien" (categories) under special pages links to "Special:Categories" rather than to "Special:Kategorien". Also, opening the page "http://.../wiki/Special:Kategorien" gives "Spezialseite nicht vorhanden" (nosuchspecialpage: No such special page). The problem occurs both for the wiki's configured language in LocalSettings (Greek - El), and for a user-configured language (Deutsch - De) through user preferences.

I noticed this problem after upgrading from MediaWiki 1.19.3 to 1.24.0.

These are the software versions used: MediaWiki 1.24.0, PHP 5.3.5 (apache2handler), MySQL 5.1.55-log.

Event Timeline

MarkAHershberger raised the priority of this task from to Needs Triage.
MarkAHershberger updated the task description. (Show Details)
MarkAHershberger changed Security from none to None.

Updated with the following which may indicate some problem:

I got a fresh wiki installation on another host to work correctly with a copy of the original wiki's database and a fresh version of LocalSettings.php created by the maintenance/install.php script (called from a Puppet module). The corresponding software versions are as follows: MediaWiki 1.24.0, PHP 5.4.35-0+deb7u2 (apache2handler), MySQL 5.5.40-0+wheezy1.

Note that the settings created had $wgDBmysql5 = true; (although the documentation claims it is false by default), which caused an "Illegal mix of collations" database error. The error was rectified by setting $wgDBmysql5 = false in LocalSettings.php to mirror the setting in the original wiki.