Page MenuHomePhabricator

Preload non-existing message pages with appropriate language based on subpage name
Closed, ResolvedPublic

Description

Author: gangleri

Description:
Hallo!

http://nike.users.idler.fi/betawiki/Transclusion
contains two sections with explanations and links of *odd* behaviour:

a) section:
editing nonexisting MediaWiki message without using uselang

When the selected user interface is Russian
http://nike.users.idler.fi/dev/index.php?title=MediaWiki:April&action=edit
will preload the Russian message "апреля" in this Finnisch wiki. (At least I
would expect that [[MediaWiki:Foo]] should contain Finnish text.)

b) section:
the existance of MediaWiki:Foo in the content language blocks the transclusion
of MediaWiki:Foo/bar while using uselang=bar

The summary of this bug suggests / request the preloading of the message from
the right MessageXx.php to messages in the same language. This preload should
not be depend on the existence of the correesponding "sister language" messages
in the content language / the fallback language etc.

best regards reinhardt [[user:gangleri]]


Version: unspecified
Severity: enhancement

Details

Reference
bz5966

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:13 PM
bzimport set Reference to bz5966.
bzimport added a subscriber: Unknown Object (MLST).

robchur wrote:

When a user edits a MediaWiki namespace page that doesn't exist, if the message
is defined, then the text is preloaded taking the content language, as far as I
understand the intention. It makes no sense to alter this based on a 'uselang'
attribute, if I read the first part of the request right.

The second part, preloading *specific* language variants, might be useful.

rotemliss wrote:

I think it was fixed in r15987 and r16007.