MediaWiki  1.23.1
LanguageHsb.php
Go to the documentation of this file.
1 <?php
29 class LanguageHsb extends Language {
30 
39  function convertGrammar( $word, $case ) {
40  global $wgGrammarForms;
41  if ( isset( $wgGrammarForms['hsb'][$case][$word] ) ) {
42  return $wgGrammarForms['hsb'][$case][$word];
43  }
44 
45  switch ( $case ) {
46  case 'instrumental': # instrumental
47  $word = 'z ' . $word;
48  break;
49  case 'lokatiw': # lokatiw
50  $word = 'wo ' . $word;
51  break;
52  }
53 
54  return $word; # this will return the original value for 'nominatiw' (nominativ) and all undefined case values
55  }
56 
57 }
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
global
when a variable name is used in a it is silently declared as a new masking the global
Definition: design.txt:93
will
</td >< td > &</td >< td > t want your writing to be edited mercilessly and redistributed at will
Definition: All_system_messages.txt:914
LanguageHsb\convertGrammar
convertGrammar( $word, $case)
Convert from the nominative form of a noun to some other case Invoked with {{grammar:case|word}}.
Definition: LanguageHsb.php:39
values
This code would result in ircNotify being run twice when an article is and once for brion Hooks can return three possible values
Definition: hooks.txt:177
LanguageHsb
Upper Sorbian (Hornjoserbsce)
Definition: LanguageHsb.php:29
Language
Internationalisation code.
Definition: Language.php:74