Page MenuHomePhabricator

No template inclusion with some leading cyrillic letters: lowercase OK
Closed, ResolvedPublic


Author: b.manolov

Some templates on Bulgarian Wikipedia, which start with a particular cyrillic
letter, cannot be included. Please, see There is a workaround: put a
space before the name.

Version: unspecified
Severity: major



Event Timeline

bzimport raised the priority of this task from to High.Nov 21 2014, 8:49 PM
bzimport set Reference to bz3405.

b.manolov wrote:

LanguageBg.php has been recently updated in CVS HEAD. Probably this is related
to this bug, cause it exists only on Bulgarian projects.

5ko wrote:

I have notices this bug on Actually, the templates work if the
first letter is in lowercase, the workaround used on mk:

{{Никулец}} does not work
{{никулец}} works


Doesn't happen when set to English, but does when set to Bulgarian.

Several whole bunch of raw letters are being listed as magic words in
LanguageBg.php. "Н" for instance is an alias of "MSGNW:", so it's
trying to load a template called "Икулец" and show it escaped for raw
text. Since there is none, it ends up showing a link to that template

I'll remove these bogus entries.

5ko wrote:

Removed single letters from /phase3/languages/LanguageMk.php, same issue

A patch that removes the single-letter Magic Words from Macedonian Language
file (same issue than with the Bulgarian).


Applied mk fix on HEAD and REL1_5.