https://bugzilla.wikimedia.org/show_bug.cgi?id=21582

--- Comment #15 from Bawolff <[email protected]> 2010-11-04 00:40:58 UTC ---
Created attachment 7785
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=7785
Don_Alessandro's code from comment 13

(In reply to comment #13)
> I've tried to change our script using Kazakh one as a model. Here is the 
> result
> - http://crh.wikipedia.org/wiki/User:Don_Alessandro/Translit Is there anybody
> who can help me to diff and test it? Unfortunately I have no opportunity to
> install MediaWiki on my localhost now.

I tested it on my personal install (sorry, not publically available
unfortunately).

Got a fatal error:


Notice: Undefined variable: mCyrl2Latn in
/var/www/w/phase3/languages/classes/LanguageCrh.php on line 69

Fatal error: Cannot access empty property in
/var/www/w/phase3/languages/classes/LanguageCrh.php on line 69

I presume thats due to the extra dollar sign on line 69. I got rid of the
dollar sign, and got a whole bunch of warnings:



Notice: Undefined variable: crh2Latn in
/var/www/w/phase3/languages/classes/LanguageCrh.php on line 60

Notice: Undefined variable: crh2Cyrl in
/var/www/w/phase3/languages/classes/LanguageCrh.php on line 61

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in
/var/www/w/phase3/includes/StringUtils.php on line 294

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in
/var/www/w/phase3/includes/StringUtils.php on line 294

Warning: strtr() [function.strtr]: The second argument is not an array in
/var/www/w/phase3/includes/StringUtils.php on line 324

Warning: strtr() [function.strtr]: The second argument is not an array in
/var/www/w/phase3/includes/StringUtils.php on line 324


However, I do get the variant drop down menu, with two entries (Cryllic and
latin). Unfortunately clicking on either of them causes the page contents to
totally disappear (probably related to all the warnings).

I'm also unclear on how includes/CrhConversion.php is supposed to get included
(but I'm totally unfamiliar with the lang convert stuff, so there might be
magic I just don't know about).


Attached is a unified diff of the stuff at
http://crh.wikipedia.org/wiki/User:Don_Alessandro/Translit (as of whatever time
it is right now), but with the fatal error on line 70 of LanguageCrh.php fixed.

Cheers.

p.s. All in all, considering you never tested your code, and (I assume) you're
rather new at this, having only a single fatal error is actually pretty good.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to