Page MenuHomePhabricator

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

Description

Author: b.manolov

Description:
Some templates on Bulgarian Wikipedia, which start with a particular cyrillic
letter, cannot be included. Please, see
http://bg.wikipedia.org/wiki/User:Borislav/Bugs. There is a workaround: put a
space before the name.


Version: unspecified
Severity: major
URL: http://bg.wikipedia.org/wiki/User:Borislav/Bugs

Details

Reference
bz3405

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 mk.wikipedia.org. Actually, the templates work if the
first letter is in lowercase, the workaround used on mk:

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

--bg:User:5ko

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

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
(escaped).

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).

Attached:

Applied mk fix on HEAD and REL1_5.