aboutsummaryrefslogtreecommitdiffstats
path: root/includes/languages/LanguageFi.php
diff options
context:
space:
mode:
authorReedy <reedy@wikimedia.org>2023-10-02 13:55:39 +0100
committerReedy <reedy@wikimedia.org>2023-10-02 13:34:05 +0000
commitb0b17ce751afa32e431a36ee2b426b99a37c578c (patch)
treefa7f93e1810cf9a895971b93a639dea54bb297b4 /includes/languages/LanguageFi.php
parentca4afb883170c16ca4e8df81961012820a8aa9bc (diff)
downloadmediawikicore-b0b17ce751afa32e431a36ee2b426b99a37c578c.tar.gz
mediawikicore-b0b17ce751afa32e431a36ee2b426b99a37c578c.zip
Languages: minor cleanup
* Remove unnecessary duplicate documentation * Code tweaks * Rename Language::getSerchIndexVariant() to Language::getSearchIndexVariant() Change-Id: I10d8b9b82e5f781b8c5d9b349827e3b219745083
Diffstat (limited to 'includes/languages/LanguageFi.php')
-rw-r--r--includes/languages/LanguageFi.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/includes/languages/LanguageFi.php b/includes/languages/LanguageFi.php
index 68be28c682f0..bd050331b8a8 100644
--- a/includes/languages/LanguageFi.php
+++ b/includes/languages/LanguageFi.php
@@ -29,14 +29,6 @@ use MediaWiki\User\UserIdentity;
* @ingroup Languages
*/
class LanguageFi extends Language {
- /**
- * Convert from the nominative form of a noun to some other case
- * Invoked with {{grammar:case|word}}
- *
- * @param string $word
- * @param string $case
- * @return string
- */
public function convertGrammar( $word, $case ) {
$grammarForms =
MediaWikiServices::getInstance()->getMainConfig()->get( MainConfigNames::GrammarForms );
@@ -47,7 +39,7 @@ class LanguageFi extends Language {
# These rules don't cover the whole language.
# They are used only for site names.
- # wovel harmony flag
+ # vowel harmony flag
$aou = preg_match( '/[aou][^äöy]*$/i', $word );
# The flag should be false for compounds where the last word has only neutral vowels (e/i).