MediaWiki master
LanguageAz.php
Go to the documentation of this file.
1<?php
7namespace MediaWiki\Languages;
8
10
16class LanguageAz extends Language {
17
19 public function ucfirst( $str ) {
20 if ( str_starts_with( $str, 'i' ) ) {
21 return 'İ' . substr( $str, 1 );
22 }
23 return parent::ucfirst( $str );
24 }
25}
26
28class_alias( LanguageAz::class, 'LanguageAz' );
Base class for language-specific code.
Definition Language.php:65
Azerbaijani (Azərbaycan) specific code.
ucfirst( $str)
string The string with uppercase conversion applied to the first character