mediawiki-extensions-Cite/tests/phpunit/unit
Adam Wight 1434dc5ca6 Switch to a 1-based "count"
The previous patch deprecated the last conditional depending on magic
meanings of 0 and -1, so now we're free to let "count" take on a more
natural meaning: the number of times a footnote mark appears in
article text.

Includes a small hack to avoid changing parser output, by
artificially decrementing the count by one during rendering.  The
hack can be removed and test output updated in a separate patch.

Bug: T353227
Change-Id: I6f76c50357b274ff97321533e52f435798048268
2024-01-08 11:45:36 +01:00
..
CitationToolDefinitionTest.php More simple and consistent @covers and @license tags 2023-12-15 12:12:16 +01:00
CiteHooksUnitTest.php More simple and consistent @covers and @license tags 2023-12-15 12:12:16 +01:00
CiteParserHooksTest.php Merge "Various cleanups to PHPUnit test mock setup" 2023-12-18 12:36:11 +00:00
CiteParserTagHooksTest.php Merge "Various cleanups to PHPUnit test mock setup" 2023-12-18 12:36:11 +00:00
ErrorReporterTest.php Explicit parameter names for all test fixtures 2023-12-21 20:59:25 +01:00
ReferenceMessageLocalizerUnitTest.php More simple and consistent @covers and @license tags 2023-12-15 12:12:16 +01:00
ReferencesFormatterTest.php Switch to a 1-based "count" 2024-01-08 11:45:36 +01:00
ReferenceStackTest.php Switch to a 1-based "count" 2024-01-08 11:45:36 +01:00