MediaWiki  1.23.8
Go to the documentation of this file.
1 <?php
29 class LanguageSl extends Language {
30  # Convert from the nominative form of a noun to some other case
31  # Invoked with {{GRAMMAR:case|word}}
40  function convertGrammar( $word, $case ) {
41  global $wgGrammarForms;
42  if ( isset( $wgGrammarForms['sl'][$case][$word] ) ) {
43  return $wgGrammarForms['sl'][$case][$word];
44  }
46  switch ( $case ) {
47  case 'mestnik': # locative
48  $word = 'o ' . $word;
49  break;
50  case 'orodnik': # instrumental
51  $word = 'z ' . $word;
52  break;
53  }
55  return $word; # this will return the original value for 'imenovalnik' (nominativ) and all undefined case values
56  }
58 }
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
convertGrammar( $word, $case)
Cases: rodilnik, dajalnik, tožilnik, mestnik, orodnik.
Definition: LanguageSl.php:40
when a variable name is used in a it is silently declared as a new masking the global
Definition: design.txt:93
</td >< td > &</td >< td > t want your writing to be edited mercilessly and redistributed at will
Definition: All_system_messages.txt:914
Slovenian (Slovenščina)
Definition: LanguageSl.php:29
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
Internationalisation code.
Definition: Language.php:74