mediawiki-extensions-Cite/tests/phpunit
Thiemo Kreuz f92792f64a Fix bad localization of extended references numbers when reused
This adds a test for numbers like "1.2.0" that appear when an extended
reference (e.g. "1.2.") is reused multiple times.

The first separator is from the extended reference. We decided to never
localize it. However, the second seperator is from reusing a reference.
This was always localized. We believe this is a bug, but haven't fixed
it yet.

The test is documenting the status quo "1.2,0" with a comma. This kind
of makes sense, one could argue, because the "1.2" appears like this up
in the text, but the ",0" is a different indicator for a reuse, which
*never* occurs in the text.

Change-Id: Ie3d26bcadd8929b906bfbcac4806af2150d61f2a
2019-12-09 17:25:14 +01:00
..
unit Fix bad localization of extended references numbers when reused 2019-12-09 17:25:14 +01:00
CiteCSSFileModuleTest.php Move all code to PSR-4 compatible namespaces 2019-11-20 17:00:13 +01:00
CiteErrorReporterTest.php Fix misleading method names in CiteErrorReporter 2019-11-22 15:08:39 +01:00
CiteHooksTest.php Remove ApiQueryReferences support 2019-11-28 11:08:46 +01:00
CiteIntegrationTest.php Show "Preview" headline in user instead of content language 2019-12-09 10:53:07 +01:00
ReferenceMessageLocalizerTest.php Introduce ReferenceMessageLocalizer 2019-12-04 13:40:05 +01:00