MediaWiki  1.23.2
LanguageGa.php
Go to the documentation of this file.
1 <?php
29 class LanguageGa extends Language {
30 
39  function convertGrammar( $word, $case ) {
40  global $wgGrammarForms;
41  if ( isset( $wgGrammarForms['ga'][$case][$word] ) ) {
42  return $wgGrammarForms['ga'][$case][$word];
43  }
44 
45  switch ( $case ) {
46  case 'ainmlae':
47  switch ( $word ) {
48  case 'an Domhnach':
49  $word = 'Dé Domhnaigh';
50  break;
51  case 'an Luan':
52  $word = 'Dé Luain';
53  break;
54  case 'an Mháirt':
55  $word = 'Dé Mháirt';
56  break;
57  case 'an Chéadaoin':
58  $word = 'Dé Chéadaoin';
59  break;
60  case 'an Déardaoin':
61  $word = 'Déardaoin';
62  break;
63  case 'an Aoine':
64  $word = 'Dé hAoine';
65  break;
66  case 'an Satharn':
67  $word = 'Dé Sathairn';
68  break;
69  }
70  }
71  return $word;
72  }
73 
74 }
php
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
LanguageGa
Irish (Gaeilge)
Definition: LanguageGa.php:29
global
when a variable name is used in a it is silently declared as a new masking the global
Definition: design.txt:93
LanguageGa\convertGrammar
convertGrammar( $word, $case)
Convert day names Invoked with {{GRAMMAR:transformation|word}}.
Definition: LanguageGa.php:39
Language
Internationalisation code.
Definition: Language.php:74