Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Module talk:Sort title/testcases

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

21 of 83 tests failed. (refresh)

test_1_1_titles_live

test_1_1_titles_live
TestExpectedActual
checkY {{#invoke:Sort title|testcases|Lost}} Lost Lost
checkY {{#invoke:Sort title|testcases|Lost (TV series)}} Lost (TV series) Lost (TV series)
checkY {{#invoke:Sort title|testcases|Lost (2004 TV series)}} Lost (2004 TV series) Lost (2004 TV series)
checkY {{#invoke:Sort title|testcases|Lost (American TV series)}} Lost (American TV series) Lost (American TV series)
checkY {{#invoke:Sort title|testcases|The Flash}} Flash, The Flash, The
checkY {{#invoke:Sort title|testcases|The Flash (TV series)}} Flash, The (TV series) Flash, The (TV series)
checkY {{#invoke:Sort title|testcases|Pilot (The Flash)}} Pilot (Flash, The) Pilot (Flash, The)
checkY {{#invoke:Sort title|testcases|The Trap (The Flash)}} Trap, The (Flash, The) Trap, The (Flash, The)
checkY {{#invoke:Sort title|testcases|4,722 Hours}} 4722 Hours 4722 Hours
checkY {{#invoke:Sort title|testcases|4,722 Hours (Agents of S.H.I.E.L.D.)}} 4722 Hours (Agents of S.H.I.E.L.D.) 4722 Hours (Agents of S.H.I.E.L.D.)

test_1_2_titles_sandbox

test_1_2_titles_sandbox
TestExpectedActual
checkY {{#invoke:Sort title/sandbox|testcases|Lost}} Lost Lost
checkY {{#invoke:Sort title/sandbox|testcases|Lost (TV series)}} Lost (TV series) Lost (TV series)
checkY {{#invoke:Sort title/sandbox|testcases|Lost (2004 TV series)}} Lost (2004 TV series) Lost (2004 TV series)
checkY {{#invoke:Sort title/sandbox|testcases|Lost (American TV series)}} Lost (American TV series) Lost (American TV series)
checkY {{#invoke:Sort title/sandbox|testcases|The Flash}} Flash, The Flash, The
checkY {{#invoke:Sort title/sandbox|testcases|The Flash (TV series)}} Flash, The (TV series) Flash, The (TV series)
checkY {{#invoke:Sort title/sandbox|testcases|Pilot (The Flash)}} Pilot (Flash, The) Pilot (Flash, The)
checkY {{#invoke:Sort title/sandbox|testcases|The Trap (The Flash)}} Trap, The (Flash, The) Trap, The (Flash, The)
checkY {{#invoke:Sort title/sandbox|testcases|4,722 Hours}} 4722 Hours 4722 Hours
checkY {{#invoke:Sort title/sandbox|testcases|4,722 Hours (Agents of S.H.I.E.L.D.)}} 4722 Hours (Agents of S.H.I.E.L.D.) 4722 Hours (Agents of S.H.I.E.L.D.)

test_2_1_special_characters_live

test_2_1_special_characters_live
TestExpectedActual
checkY {{#invoke:Sort title|testcases|A}} A A
checkY {{#invoke:Sort title|testcases|An}} An An
checkY {{#invoke:Sort title|testcases|The}} The The
checkY {{#invoke:Sort title|testcases|A (Dab)}} A (Dab) A (Dab)
checkY {{#invoke:Sort title|testcases|A (A)}} A (A) A (A)
checkY {{#invoke:Sort title|testcases|A Title}} Title, A Title, A
checkY {{#invoke:Sort title|testcases|A Title (Dab)}} Title, A (Dab) Title, A (Dab)
checkY {{#invoke:Sort title|testcases|A Title (A Dab)}} Title, A (Dab, A) Title, A (Dab, A)
checkY {{#invoke:Sort title|testcases|Title (Dab)}} Title (Dab) Title (Dab)
checkY {{#invoke:Sort title|testcases|Title (A Dab)}} Title (Dab, A) Title (Dab, A)
checkY {{#invoke:Sort title|testcases|The Title}} Title, The Title, The
checkY {{#invoke:Sort title|testcases|An Egg}} Egg, An Egg, An
checkY {{#invoke:Sort title|testcases|A. B. and C.}} A. B. and C. A. B. and C.
checkY {{#invoke:Sort title|testcases|'A' Title}} 'A' Title 'A' Title
checkY {{#invoke:Sort title|testcases|A, My Name}} A, My Name A, My Name
checkY {{#invoke:Sort title|testcases|...Title}} ...Title ...Title
checkY {{#invoke:Sort title|testcases|...A Title}} ...A Title ...A Title
checkY {{#invoke:Sort title|testcases|4,722 Hours}} 4722 Hours 4722 Hours

test_2_2_special_characters_sandbox

test_2_2_special_characters_sandbox
TestExpectedActual
checkY {{#invoke:Sort title/sandbox|testcases|A}} A A
checkY {{#invoke:Sort title/sandbox|testcases|An}} An An
checkY {{#invoke:Sort title/sandbox|testcases|The}} The The
checkY {{#invoke:Sort title/sandbox|testcases|A (Dab)}} A (Dab) A (Dab)
checkY {{#invoke:Sort title/sandbox|testcases|A (A)}} A (A) A (A)
checkY {{#invoke:Sort title/sandbox|testcases|A Title}} Title, A Title, A
checkY {{#invoke:Sort title/sandbox|testcases|A Title (Dab)}} Title, A (Dab) Title, A (Dab)
checkY {{#invoke:Sort title/sandbox|testcases|A Title (A Dab)}} Title, A (Dab, A) Title, A (Dab, A)
checkY {{#invoke:Sort title/sandbox|testcases|Title (Dab)}} Title (Dab) Title (Dab)
checkY {{#invoke:Sort title/sandbox|testcases|Title (A Dab)}} Title (Dab, A) Title (Dab, A)
checkY {{#invoke:Sort title/sandbox|testcases|The Title}} Title, The Title, The
checkY {{#invoke:Sort title/sandbox|testcases|An Egg}} Egg, An Egg, An
checkY {{#invoke:Sort title/sandbox|testcases|A. B. and C.}} A. B. and C. A. B. and C.
checkY {{#invoke:Sort title/sandbox|testcases|'A' Title}} 'A' Title 'A' Title
checkY {{#invoke:Sort title/sandbox|testcases|A, My Name}} A, My Name A, My Name
checkY {{#invoke:Sort title/sandbox|testcases|...Title}} ...Title ...Title
checkY {{#invoke:Sort title/sandbox|testcases|...A Title}} ...A Title ...A Title
checkY {{#invoke:Sort title/sandbox|testcases|4,722 Hours}} 4722 Hours 4722 Hours

test_3_2_roman_sandbox

test_3_2_roman_sandbox
TestExpectedActual
checkY {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror}} Treehouse of Horror Treehouse of Horror
checkY {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror 6}} Treehouse of Horror 6 Treehouse of Horror 6
X markN {{#invoke:Sort title/sandbox|testcases|The Treehouse of Horror VI}} Treehouse of Horror 6, The Treehouse of Horror VI, The
checkY {{#invoke:Sort title/sandbox|testcases|Words with abbreviation I.V.Not.roman.}} Words with abbreviation I.V.Not.roman. Words with abbreviation I.V.Not.roman.
checkY {{#invoke:Sort title/sandbox|testcases|Words with abbreviation S.H.I.E.L}} Words with abbreviation S.H.I.E.L Words with abbreviation S.H.I.E.L
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror I}} Treehouse of Horror 1 Treehouse of Horror I
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror II}} Treehouse of Horror 2 Treehouse of Horror II
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror III}} Treehouse of Horror 3 Treehouse of Horror III
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror IV}} Treehouse of Horror 4 Treehouse of Horror IV
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror V}} Treehouse of Horror 5 Treehouse of Horror V
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror VI}} Treehouse of Horror 6 Treehouse of Horror VI
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror VII}} Treehouse of Horror 7 Treehouse of Horror VII
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror VIII}} Treehouse of Horror 8 Treehouse of Horror VIII
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror IX}} Treehouse of Horror 9 Treehouse of Horror IX
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror X}} Treehouse of Horror 10 Treehouse of Horror X
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror XI}} Treehouse of Horror 11 Treehouse of Horror XI
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror XII}} Treehouse of Horror 12 Treehouse of Horror XII
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror XIII}} Treehouse of Horror 13 Treehouse of Horror XIII
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror XIV}} Treehouse of Horror 14 Treehouse of Horror XIV
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror XV}} Treehouse of Horror 15 Treehouse of Horror XV
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror XVI}} Treehouse of Horror 16 Treehouse of Horror XVI
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror XVII}} Treehouse of Horror 17 Treehouse of Horror XVII
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror XVIII}} Treehouse of Horror 18 Treehouse of Horror XVIII
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror XIX}} Treehouse of Horror 19 Treehouse of Horror XIX
X markN {{#invoke:Sort title/sandbox|testcases|Treehouse of Horror XX}} Treehouse of Horror 20 Treehouse of Horror XX
checkY {{#invoke:Sort title/sandbox|testcases|7:15 A.M.}} 7:15 A.M. 7:15 A.M.
checkY {{#invoke:Sort title/sandbox|testcases|The House of L}} House of L, The House of L, The