Template:Cite book/French/testcases

Tests on this page depend on subst'ing code and examining the results, so a standard type of testcases page does not work properly. Best is probably to copy these test cases to a sandbox and test there. Or, if you wish to run your test here, uncomment the test(s) you are interested in, publish to cause the substing, note your pass/fail cases, and self-revert back to the pristine version of this page with unsubst'ed, commented-out test cases when your are done.

Test 1 ouvrage
LIVE:

SANDBOX:

Note: If you wish, record your test results here:


 * passed – The results (in rev. 1171939333) are identical, and include 869 which will get flagged by mediawiki as invalid params (suggesting an enhancement to the Module to include them hidden). Mathglot (talk) 02:06, 24 August 2023 (UTC)

Test 2 Chapitre / Cite chapter/French
LIVE:

SANDBOX:

Note: If you wish, record your test results here:


 * Test 1 of 03:27, 24 August 2023 was run during development of the Sandbox (sandbox rev. 171937673 and /data rev. 1171933954) to implement Chapitre. It failed on a test having both params auteur and auteurs ouvrage, resulting in a 'More than one of author-name-list parameters specified' error. This requires an adjustment to /data to set 'auteurs-ouvrage' as 'editors'; French templates do not have an equivalent of our 'editor' field at all, so there can't be a collision. (Important: their 'éditeur' is our 'publisher', and *never* = 'editor'.) Mathglot (talk) 03:50, 24 August 2023 (UTC)
 * Test 2 1171959180 04:37, 24 Aug. with M/sandbox rev 1171931362 and /data rev. 1171955162. Result: veditors being tagged for Unknown parameter 'pages totales' and 'titre chapitre'; and "Vancouver style error: punctuation in name 1".
 * Test 3 1171975816 06:49, 24 Aug. Result: Vancouver error is gone; the last fix successfully placed the 'pages totales' into a pages hidden comment, however it overwrites the original value of 'passage' which maps to 'pages'. 'titre chapitre' still being flagged as "Unknown parameter" and ignored; will look at that later.
 * Test 4 1171992356 09:14, 24 Aug. Working for the case of both 'passage' and 'pages totales' present; need to add cases for just one or the other. Still open: 'Unknown parameter |titre chapitre= ignored'.

LIVE:

SANDBOX:

Note: If you wish, record your test results here:


 * Test 1 of ...

LIVE:

SANDBOX:

Note: If you wish, record your test results here:


 * Test 1 of ...

(copy/paste model, for creating new tests)
LIVE:



SANDBOX:



Note: If you wish, record your test results here:


 * Test 1 of hh:mm, dd Month YYYY: results....