mediawiki-extensions-Cite/tests/phpunit/unit
Thiemo Kreuz 7ce27b432f Stop using Language::formatNum to localize separators
This is done to make the discussion in If3dcfd7 easier.

When we introduced this code we actually used it to format
entire numbers. We had to change this later to *not* localize
digits, but only separators. Language::formatNum is and always
was able to do this, so we just continued to use it.

This is discussed now.

It turns out there is only a single place left where we use
formatNum, and it does nothing but localizing the decimal
point. There is another way to do the same.

Bug: T237467
Change-Id: I89b17a9e11b3afc6c653ba7ccc6ff84c37863b66
2020-09-02 09:40:33 +02:00
..
AnchorFormatterTest.php Fix unit tests for whitespace change in Html5 fragments 2020-02-25 13:56:53 +00:00
CiteDataModuleTest.php Final clean-ups for a more consistent parameter order 2020-01-09 12:13:54 +01:00
CiteHooksUnitTest.php Use QUnitTestModule instead of deprecated ResourceLoaderTestModules 2020-05-11 20:51:24 +00:00
CiteParserHooksTest.php Lazy instantiation of Cite 2019-12-12 11:12:17 +01:00
CiteParserTagHooksTest.php Add missing @covers tags to tests 2019-12-18 16:46:15 +00:00
CiteUnitTest.php Restore preview of a <references> section alone 2020-07-21 13:19:38 +02:00
ErrorReporterTest.php Rewrite ErrorReporter for performance and separation of concerns 2020-02-03 15:23:40 +01:00
FootnoteMarkFormatterTest.php Stop using Language::formatNum to localize separators 2020-09-02 09:40:33 +02:00
ReferenceMessageLocalizerUnitTest.php Stop using Language::formatNum to localize separators 2020-09-02 09:40:33 +02:00
ReferencesFormatterTest.php Stop using Language::formatNum to localize separators 2020-09-02 09:40:33 +02:00
ReferenceStackTest.php Remove not needed code without changing anything 2020-03-31 18:15:14 +02:00