Difference between revisions of "Template:Human name disambiguation/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Jklein212
imported>ArcAngel
m (Removed red-linked (empty) cats)
Line 11: Line 11:
 
}}{{main other
 
}}{{main other
 
| demospace = main
 
| demospace = main
| [[Category:1-Human name disambiguation pages| {{ifempty| {{{1|}}} | {{{name|}}} | {{PAGENAME}} }} ]]
+
 
 
| <!-- Don't categorise when not in main (article) space. -->
 
| <!-- Don't categorise when not in main (article) space. -->
 
}}
 
}}
Line 24: Line 24:
 
}}{{main other
 
}}{{main other
 
| demospace = main
 
| demospace = main
| [[Category:2-Human name disambiguation pages|{{ifempty| {{{1|}}} | {{{name|}}} | {{PAGENAME}} }}]]
+
 
 
| <!-- Don't categorise when not in main (article) space. -->
 
| <!-- Don't categorise when not in main (article) space. -->
 
}}
 
}}
Line 35: Line 35:
 
}}{{main other
 
}}{{main other
 
| demospace = main
 
| demospace = main
| [[Category:3-Human name disambiguation pages|{{ifempty|{{{1|}}}|{{{name|}}}|{{PAGENAME}}}}]]
+
 
 
| <!-- Don't categorise when not in main (article) space. -->
 
| <!-- Don't categorise when not in main (article) space. -->
 
}}
 
}}
  
 
And the result of this test is that currently the category sort key must not have whitespace around it. --[[User:Davidgothberg|David Göthberg]] ([[User talk:Davidgothberg|talk]]) 22:18, 13 February 2009 (UTC)
 
And the result of this test is that currently the category sort key must not have whitespace around it. --[[User:Davidgothberg|David Göthberg]] ([[User talk:Davidgothberg|talk]]) 22:18, 13 February 2009 (UTC)

Revision as of 20:52, 30 December 2009

  1. REDIRECT Template:Testcases notice
  • From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.

Testing category sort order

Using hardcoded examples, with different whitespacing around the category sort key. (See the red-linked categories at the bottom of this page.)

Test 1, fails:



Test 2, works:


Test 3, works:

And the result of this test is that currently the category sort key must not have whitespace around it. --David Göthberg (talk) 22:18, 13 February 2009 (UTC)