Module talk:Italic title/testcases
Add topicAppearance
Main
[edit]
3 tests failed.
| Name | Expected | Actual | |
|---|---|---|---|
| test _main: Italicize all - single-word titles | |||
| test _main: Italicize all - multi-word titles | |||
| test _main: Text in parentheses is not italicized | |||
| test _main: Text in final parentheses is not italicized | |||
| test _main: Text in disambiguation with parentheses is not italicized | Module:Italic_title/testcases:200: Argument 3 of call 1 mismatched: did not match:
was: <i>Example (dab (dab))</i> expected: <i>Example</i> (dab (dab)) | ||
| test _main: When the entire title is in parentheses, it is all italicized | |||
| test _main: Only specified string argument italicized (string=) | |||
| test _main: Only specified string argument italicized - in disambiguation (string= and all=) | |||
| test _main: Title and dismabiguation italicized (all=) | |||
| test _main: For pages with a namespace prefix, the namespace prefix is not italicized | |||
| test _main: Only specified string argument italicized (string=) in title with a comma | |||
| test _main: Only specified string argument italicized (string= and all=) in title with a comma | |||
| test _dabonly: Italicize disambiguation | |||
| test _dabonly: Italicize disambiguation with parentheses | Module:Italic_title/testcases:200: Argument 3 of call 1 mismatched: did not match:
was: The Ghost Talks (Randall and Hopkirk (Deceased)) expected: The Ghost Talks (<i>Randall and Hopkirk (Deceased)</i>) | ||
| test _dabonly: Italicize final parentheses only | |||
| test _dabonly: When the entire title is in parentheses, it is not italicized | |||
| test _dabonly: Only specified string argument italicized - in disambiguation (string=) | Module:Italic_title/testcases:200: Argument 3 of call 1 mismatched: did not match:
was: Hell on Wheels (<i>Hell on Wheels episode</i>) expected: Hell on Wheels (<i>Hell on Wheels</i> episode) | ||
| test _main: When noerror is specified as the first positional argument, it is passed to DISPLAYTITLE | |||
| test _dabonly: When noerror is specified as the first positional argument, it is passed to DISPLAYTITLE | |||
| test _main: Tracking category is added when the string argument does not match the title | |||
| test _main: Tracking category is added when the string argument does not match the title or dab, and the all argument is specified | |||
| test _dabonly: Tracking category is added when the string argument does not match the disambiguation | |||
| test _dabonly: Tracking category is added when the string argument does not match the disambiguation and no disambiguation is present in title | |||
Sandbox
[edit]
All tests passed.
| Name | Expected | Actual | |
|---|---|---|---|
| test _main: Italicize all - single-word titles | |||
| test _main: Italicize all - multi-word titles | |||
| test _main: Text in parentheses is not italicized | |||
| test _main: Text in final parentheses is not italicized | |||
| test _main: Text in disambiguation with parentheses is not italicized | |||
| test _main: When the entire title is in parentheses, it is all italicized | |||
| test _main: Only specified string argument italicized (string=) | |||
| test _main: Only specified string argument italicized - in disambiguation (string= and all=) | |||
| test _main: Title and dismabiguation italicized (all=) | |||
| test _main: For pages with a namespace prefix, the namespace prefix is not italicized | |||
| test _main: Only specified string argument italicized (string=) in title with a comma | |||
| test _main: Only specified string argument italicized (string= and all=) in title with a comma | |||
| test _dabonly: Italicize disambiguation | |||
| test _dabonly: Italicize disambiguation with parentheses | |||
| test _dabonly: Italicize final parentheses only | |||
| test _dabonly: When the entire title is in parentheses, it is not italicized | |||
| test _dabonly: Only specified string argument italicized - in disambiguation (string=) | |||
| test _main: When noerror is specified as the first positional argument, it is passed to DISPLAYTITLE | |||
| test _dabonly: When noerror is specified as the first positional argument, it is passed to DISPLAYTITLE | |||
| test _main: Tracking category is added when the string argument does not match the title | |||
| test _main: Tracking category is added when the string argument does not match the title or dab, and the all argument is specified | |||
| test _dabonly: Tracking category is added when the string argument does not match the disambiguation | |||
| test _dabonly: Tracking category is added when the string argument does not match the disambiguation and no disambiguation is present in title |