Module talk:ApplyLinkAnnotations/testcases
Appearance
![]() | This module has some known caveats listed first in the test cases below. Most are explained in the documentation for the {{AnnotatedListOfLinks}} template. |
All 50 tests passed.
Text | Expected | Actual | Differs at | |
---|---|---|---|---|
![]() |
SEE DOCS: html comments <!-- wikitext comments --> |
<!-- wikitext comments --> | <!-- wikitext comments --> | |
![]() |
SEE DOCS: html comments (Sandbox) <!-- wikitext comments --> |
<!-- wikitext comments --> | <!-- wikitext comments --> | |
![]() |
SEE DOCS: single letter article titles *[[T]] |
*[[T]] | *[[T]] | |
![]() |
SEE DOCS: single letter article titles (Sandbox) *[[T]] |
*[[T]] | *[[T]] | |
![]() |
SEE DOCS: link extensions *[[Flower]]y |
*[[Flower]]y | *[[Flower]]y | |
![]() |
SEE DOCS: link extensions (Sandbox) *[[Flower]]y |
*[[Flower]]y | *[[Flower]]y |
Text | Expected | Actual | Differs at | |
---|---|---|---|---|
![]() |
already annotated * {{Annotated link |hello}} |
* {{Annotated link |hello}} | * {{Annotated link |hello}} | |
![]() |
already annotated (Sandbox) * {{Annotated link |hello}} |
* {{Annotated link |hello}} | * {{Annotated link |hello}} | |
![]() |
non-article namespace *[[File:link_to_file]] |
*[[File:link_to_file]] | *[[File:link_to_file]] | |
![]() |
non-article namespace (Sandbox) *[[File:link_to_file]] |
*[[File:link_to_file]] | *[[File:link_to_file]] | |
![]() |
link at end *Alternative theories include [[Nonsense]] |
*Alternative theories include [[Nonsense]] | *Alternative theories include [[Nonsense]] | |
![]() |
link at end (Sandbox) *Alternative theories include [[Nonsense]] |
*Alternative theories include [[Nonsense]] | *Alternative theories include [[Nonsense]] | |
![]() |
indented but non-listed :[[Cancun]] |
:[[Cancun]] | :[[Cancun]] | |
![]() |
indented but non-listed (Sandbox) :[[Cancun]] |
:[[Cancun]] | :[[Cancun]] | |
![]() |
reverse pipe trick *[[|Moscow, Russia]] |
*[[|Moscow, Russia]] | *[[|Moscow, Russia]] | |
![]() |
reverse pipe trick (Sandbox) *[[|Moscow, Russia]] |
*[[|Moscow, Russia]] | *[[|Moscow, Russia]] | |
![]() |
pipe trick *[[hello (greeting)|]] |
*[[hello (greeting)|]] | *[[hello (greeting)|]] | |
![]() |
pipe trick (Sandbox) *[[hello (greeting)|]] |
*[[hello (greeting)|]] | *[[hello (greeting)|]] | |
![]() |
stylized links *''[[Emphasized link]]'' |
*''[[Emphasized link]]'' | *''[[Emphasized link]]'' | |
![]() |
stylized links (Sandbox) *''[[Emphasized link]]'' |
*''[[Emphasized link]]'' | *''[[Emphasized link]]'' | |
![]() |
non-listed link [[Mexico]] |
[[Mexico]] | [[Mexico]] | |
![]() |
non-listed link (Sandbox) [[Mexico]] |
[[Mexico]] | [[Mexico]] | |
![]() |
ordered list #[[hello]] |
#[[hello]] | #[[hello]] | |
![]() |
ordered list (Sandbox) #[[hello]] |
#[[hello]] | #[[hello]] | |
![]() |
section headings == Section heading == |
== Section heading == | == Section heading == | |
![]() |
section headings (Sandbox) == Section heading == |
== Section heading == | == Section heading == | |
![]() |
manual annotation *[[hello]] - an English greeting |
*[[hello]] - an English greeting | *[[hello]] - an English greeting | |
![]() |
manual annotation (Sandbox) *[[hello]] - an English greeting |
*[[hello]] - an English greeting | *[[hello]] - an English greeting |
Text | Expected | Actual | Differs at | |
---|---|---|---|---|
![]() |
very indented item ::::*[[loosely related|tangential]] |
::::* {{Annotated link |loosely related|tangential}} | ::::* {{Annotated link |loosely related|tangential}} | |
![]() |
very indented item (Sandbox) ::::*[[loosely related|tangential]] |
::::* {{Annotated link |loosely related|tangential}} | ::::* {{Annotated link |loosely related|tangential}} | |
![]() |
pipe list item *[[hello|hey]] |
* {{Annotated link |hello|hey}} | * {{Annotated link |hello|hey}} | |
![]() |
pipe list item (Sandbox) *[[hello|hey]] |
* {{Annotated link |hello|hey}} | * {{Annotated link |hello|hey}} | |
![]() |
section links *[[Clowns#On Halloween]] |
* {{Annotated link |Clowns#On Halloween}} | * {{Annotated link |Clowns#On Halloween}} | |
![]() |
section links (Sandbox) *[[Clowns#On Halloween]] |
* {{Annotated link |Clowns#On Halloween}} | * {{Annotated link |Clowns#On Halloween}} | |
![]() |
piped, indented item :*[[related|renamed]] |
:* {{Annotated link |related|renamed}} | :* {{Annotated link |related|renamed}} | |
![]() |
piped, indented item (Sandbox) :*[[related|renamed]] |
:* {{Annotated link |related|renamed}} | :* {{Annotated link |related|renamed}} | |
![]() |
accented *[[El Niño]] |
* {{Annotated link |El Niño}} | * {{Annotated link |El Niño}} | |
![]() |
accented (Sandbox) *[[El Niño]] |
* {{Annotated link |El Niño}} | * {{Annotated link |El Niño}} | |
![]() |
deep indent with asterisks ** [[Wikitext]] |
** {{Annotated link |Wikitext}} | ** {{Annotated link |Wikitext}} | |
![]() |
deep indent with asterisks (Sandbox) ** [[Wikitext]] |
** {{Annotated link |Wikitext}} | ** {{Annotated link |Wikitext}} | |
![]() |
extra spaces * [[Dark Matter]] |
* {{Annotated link |Dark Matter}} | * {{Annotated link |Dark Matter}} | |
![]() |
extra spaces (Sandbox) * [[Dark Matter]] |
* {{Annotated link |Dark Matter}} | * {{Annotated link |Dark Matter}} | |
![]() |
escaped spaces *[[Afternoon_delight]] |
* {{Annotated link |Afternoon_delight}} | * {{Annotated link |Afternoon_delight}} | |
![]() |
escaped spaces (Sandbox) *[[Afternoon_delight]] |
* {{Annotated link |Afternoon_delight}} | * {{Annotated link |Afternoon_delight}} | |
![]() |
std list item link *[[hello]] |
* {{Annotated link |hello}} | * {{Annotated link |hello}} | |
![]() |
std list item link (Sandbox) *[[hello]] |
* {{Annotated link |hello}} | * {{Annotated link |hello}} | |
![]() |
indented list item :*[[related]] |
:* {{Annotated link |related}} | :* {{Annotated link |related}} | |
![]() |
indented list item (Sandbox) :*[[related]] |
:* {{Annotated link |related}} | :* {{Annotated link |related}} |
Text | Expected | Actual | Differs at | |
---|---|---|---|---|
![]() |
{{#invoke:ApplyLinkAnnotations|bySubstitutionInUnorderedList|List
*[[hello]] }} |
List
* {{Annotated link |hello}} |
List
* {{Annotated link |hello}} |
Text | Expected | Actual | Differs at | |
---|---|---|---|---|
![]() |
same line | *[[hello]] | *[[hello]] |
Start a discussion about improving the Module:ApplyLinkAnnotations/testcases page
Talk pages are where people discuss how to make content on Wikipedia the best that it can be. You can use this page to start a discussion with others about how to improve the "Module:ApplyLinkAnnotations/testcases" page.