Manual talk:Advice needed on LanguageXX.php files

I've just had LanguageCy.php implemented, and it works pretty well but I've a couple of problems I'd appreciate help with.

1) The namespaces have been changed OK, and

/* private */ $wgNamespaceNamesCy = array( 	-2 => "Media", 	-1 => "Arbennig", 	0 => "", 	1  => "Sgwrs", 	2  => "Defnyddiwr", 	3  => "Sgwrs_Defnyddiwr", 	4  => $wgMetaNamespace, 	5  => "Sgwrs_" . $wgMetaNamespace, 	6  => "Delwedd", 	7  => "Sgwrs_Delwedd", 	8  => "MediaWiki", 	9  => "Sgwrs_MediaWiki"   ); works except I would have expected there to be an entry somewhere allowing me to set $wgMetaNamespace to "Wicipedia" ... but there isn't. This is probably something dead easy to fix, so please forgive my ignorance! We also seem to have broken the ability to use too -- I've no idea what's happened here (see Caerdydd, for example).

2) The Magic Words array has been edited, thus

/* private */ $wgMagicWordsCy = array(   MAG_REDIRECT             => array( 0,    "#redirect", "#ail-cyfeirio"          ),    MAG_NOTOC                => array( 0,    "", "__DIMTAFLENCYNNWYS__"   ),    MAG_NOEDITSECTION        => array( 0,    "", "__DIMADRANGOLYGU__"     ),    MAG_START                => array( 0,    "__START__", "__DECHRAU__"            ),    MAG_CURRENTMONTH         => array( 1,    "August", ""          ),    MAG_CURRENTMONTHNAME     => array( 1,    "August", ""       ),    MAG_CURRENTDAY           => array( 1,    "27", ""      ),       MAG_CURRENTDAYNAME       => array( 1,    "Tuesday", ""      ),    MAG_CURRENTYEAR          => array( 1,    "2024", ""     ),    MAG_CURRENTTIME          => array( 1,    "", ""        ),    MAG_NUMBEROFARTICLES     => array( 1,    "", ""    ),    MAG_CURRENTMONTHNAMEGEN  => array( 1,    "", ""    ),    MAG_MSG                  => array( 0,    ""             ), MAG_SUBST               => array( 0,    ""           ), MAG_MSGNW               => array( 0,    ""           ), MAG_END                 => array( 0,    "__END__", "DIWEDD_"                ), MAG_IMG_THUMBNAIL       => array( 1,    "ewin bawd", "bawd"      ), MAG_IMG_RIGHT           => array( 1,    "de"                     ), MAG_IMG_LEFT            => array( 1,    "chwith"                 ), MAG_IMG_NONE            => array( 1,    "dim"                    ), MAG_IMG_WIDTH           => array( 1,    "$1px"                   ), MAG_IMG_CENTER          => array( 1,    "canol", "canol"         ) );
 * 1)   ID                                 CASE  SYNONYMS

and it works well enough in Welsh. However I was under the (now obviously mistaken) impression that this would create synonyms, allowing the use of the English equivalents to continue -- this is important as we already have REDIRECTs which are now broken. Is it possible to have both languages working, and if so, how?

Thanks for any advice. -- Arwel 16:17, 29 Feb 2004 (UTC)


 * Two problems: firstly MAG_MSG is set to be case-sensitive, that's why it's not working for you. Secondly if you want synonyms you have to list them. I've fixed both problems above. -- Tim Starling 02:58, 2 Mar 2004 (UTC)
 * Thanks! Arwel 12:12, 2 Mar 2004 (UTC)