wiki.techinc.nl/includes/language
Bartosz Dziewoński 0d5d80b7e1 LanguageConverter: Only set mTablesLoaded once they're really loaded
If something inside the callback above throws an exception (e.g.
`parseCachedTable()` when the database is down), and it is caught,
`$this->mTablesLoaded` and `$this->mTables` will be left in an
inconsistent state for the rest of the request, causing confusing
errors elsewhere.

Bug: T388807
Change-Id: I79704d6d5c03d5e028c0c762a37fd55b953a4a6a
(cherry picked from commit 6d4f287059521fd4e7fe094ccb00aca54906b31f)
2025-04-08 08:34:42 +00: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 language: Use fallback chain to create NumberFormatter 2025-02-17 21:24:24 +00:00
LanguageCode.php Language: Mark constructor of LanguageCode unstable for now 2024-10-22 01:39:37 +02:00
LanguageConverter.php LanguageConverter: Only set mTablesLoaded once they're really loaded 2025-04-08 08:34:42 +00:00
LanguageConverterFactory.php language: Add missing documentation to class properties 2024-09-17 18:25:25 +00:00
LanguageConverterIcu.php
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
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
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 Use namespaced classes 2024-10-21 20:41:20 +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 Use explicit nullable type on parameter arguments 2024-10-16 20:58:33 +02:00