wiki.techinc.nl/includes/language
Amir Sarabadani c65e133f18 Language: Introduce getContentLanguageCode() service
And use that as much as possible. This makes bootstraping services much
faster since Language object is extremely heavy (specially to
initialize) and that's why in LanguageFactory it's behind a cache (see
LanguageFactory::getRawLanguage)

At the same time, most uses of Language object only need the language
code (after normalization and mapping and validation) and this allows
such change to happen fast and way more decoupled from Language object
that has more than 100 methods.

Bug: T376565
Change-Id: I1c3d94454896842939dfaad8cbf742e5a3ae5438
2024-10-16 11:02:01 +02:00
..
converters Switch over a bunch of class_alias uses to actuals 2024-10-03 17:09:36 +00:00
dependency language: Add missing documentation to class properties 2024-09-17 18:25:25 +00:00
Hook Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
ConverterRule.php language: Add missing documentation to class properties 2024-09-17 18:25:25 +00:00
FormatterFactory.php status: Log getMessage()/getWikiText() calls on good Statuses 2024-10-04 18:32:24 +02:00
ILanguageConverter.php Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
Language.php Merge "Move definition of all bidi control characters to one place" 2024-10-08 10:42:35 +00:00
LanguageCode.php Language: Introduce getContentLanguageCode() service 2024-10-16 11:02:01 +02:00
LanguageConverter.php Move Language and friends into Language namespace 2024-08-10 13:36:30 +02:00
LanguageConverterFactory.php language: Add missing documentation to class properties 2024-09-17 18:25:25 +00:00
LanguageConverterIcu.php Language: minor cleanup 2023-10-02 13:34:11 +00:00
LanguageConverterSpecific.php
LanguageFactory.php Language: Introduce getContentLanguageCode() service 2024-10-16 11:02:01 +02:00
LanguageFallback.php Remove unchecked exception annotations 2024-09-17 22:20:58 +02:00
LanguageNameUtils.php languages: Convert Names::$names to constant 2024-09-17 22:25:10 +00:00
LazyLocalizationContext.php Move creation of BlockErrorFormatter into FormatterFactory 2024-01-26 13:03:44 -05:00
LCStore.php Language: minor cleanup 2023-10-02 13:34:11 +00:00
LCStoreCDB.php Replace deprecated MWException 2024-01-19 21:58:42 +00:00
LCStoreDB.php rdbms: Drop IReadableDatabase::wasReadOnlyError() 2024-06-04 15:55:44 +02:00
LCStoreNull.php Language: minor cleanup 2023-10-02 13:34:11 +00:00
LCStoreStaticArray.php Replace more instances of deprecated MWException 2024-01-19 23:11:59 +00:00
LocalisationCache.php codex: Provide i18n function and messages 2024-07-02 22:30:06 +00:00
LocalisationCacheBulkLoad.php language: Add missing documentation to class properties 2024-09-17 18:25:25 +00:00
LocalizationContext.php Move creation of BlockErrorFormatter into FormatterFactory 2024-01-26 13:03:44 -05:00
MessageCache.php Remove meaningless @var documentation from constants 2024-10-09 09:33:12 +02:00
MessageLocalizer.php Namespace MessageSpecifier under Wikimedia\Message\ 2024-07-28 14:21:32 +02:00
RawMessage.php Replace some manual checks and exceptions with type hints 2024-09-17 21:33:08 +00:00
TrivialLanguageConverter.php Switch over a bunch of class_alias uses to actuals 2024-10-03 17:09:36 +00:00