Page MenuHomePhabricator

New language file for Macedonian (mk)
Closed, ResolvedPublic

Description

Author: misos

Description:
Please update the latest (first) update for mk.wikipedia.org.
I hope that this is the correct bug request, right?


Version: unspecified
Severity: normal
URL: http://meta.wikimedia.org/wiki/LanguageMk.php

Details

Reference
bz2311

Event Timeline

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

avarab wrote:

Please supply an attachment to this bug and make sure not to include redundant
messages such as the sidebar message and untranslated messages in English,
they'll be inherited anyway.

misos wrote:

(In reply to comment #1)

Please supply an attachment to this bug and make sure not to include redundant
messages such as the sidebar message and untranslated messages in English,
they'll be inherited anyway.

You mean remove all lines where no changes were made? If so, I'll attach it later tonight.

misos wrote:

Macedonian language file

attachment LanguageMK.php ignored as obsolete

avarab wrote:

(In reply to comment #3)

Created an attachment (id=596) [edit]
Macedonian language file

What encoding is that file in? It isn't UTF-8.

misos wrote:

Macedonian Language File (UTF8)

The previous file was with an cp1251 encoding. This one is UTF8.

attachment LanguageMK.php ignored as obsolete

avarab wrote:

(In reply to comment #5)

Created an attachment (id=671) [edit]
Macedonian Language File (UTF8)

The previous file was with an cp1251 encoding. This one is UTF8.

  • Make sure it at least loads and runs, this file had several parsing errors
  • Don't define things like getBookstoreList() which export a null array
  • You don't need to define getNsText() or getNsIndex()
  • Indent functions and code, use tabs.
  • Don't include messages in English
  • Don't define the sidebar message
  • Don't use php variables in messsages, use wikitext equivalents where appropriate

misos wrote:

Macedonian Language File (UTF8)

Fixed the parsings errors and some tweaks. I didn't change anything in the
LanguageMK class, I just used the file located on meta.

Attached:

avarab wrote:

(In reply to comment #7)

Created an attachment (id=675) [edit]
Macedonian Language File (UTF8)

Fixed the parsings errors and some tweaks. I didn't change anything in the
LanguageMK class, I just used the file located on meta.

Applied to HEAD with some changes, marking the bug as FIXED.

misos wrote:

I see that some things were changed (like Special->Специјални, Talk->Разговор), but the majority was
left intact. Is it going to be updated gradualy, step by step, or there is another problem!?