User:לערי ריינהארט/tests/unknown

From Wikipedia, the free encyclopedia

rev-ID : -

Related pages[edit]

This page just describes behaviour ...[edit]

  • While editing this page / this tests I found many "just to know's". Most of the items described are not very common, some bahaviour maight be expected, known or surprising. 08:36, 2005 Mar 8 (UTC)

I do not recall this exactly ...[edit]

  • I thing I was puzzled regarding the different behaviour of piped links for existing and nonexisting pages with #Invalid titles. Gangleri | Th | T 23:34, 2005 Mar 7 (UTC)

Empty pipe in the article namespace[edit]

  • Do not use an "empty" pipe in the article namespace:
    [[Ireland]] generates Ireland
    and [[Ireland|]] generates Ireland
  • This behaviour does not differ if the title contains only "the main" 7bit characters or not.
  • This behaviour does not differ if the database contains this title or not:
    [[Not in database]] generates Not in database
    and [[Not in database|]] generates Not in database

Exceptions[edit]

Chicago[edit]
  1. [[Chicago|]] generates Chicago
  2. [[Chicago, Illinois|]] generates Chicago
  3. [[Chicago (typeface)|]] generates Chicago
  4. [[#Chicago|]] generates [[#Chicago|]]
    This relates to feature request bugzilla:845.
  • Consequences: Because thousands of geographical articles about the United States use the format [[place, state]] it should be considered to redifine these empty pipe links. Other wiki projects would benefit as well. Gangleri | Th | T 20:24, 2005 Mar 8 (UTC)

Tests[edit]



Latin-1[edit]




UTF-8[edit]

This is not supposed to work at en:[edit]

  • Note:
    • The following links uses non Latin-1 characters. They should NEVER be used.
    • The following tests do not describe an error, they describe just a behaviour.


  • [[Template:foo123ăâîşţ|]]
  • [[Wikipedia:foo123ăâîşţ|]]
  • [[bla:foo123ăâîşţ|]]


This should work at en:[edit]


  • [[:ro:Template:foo123ăâîşţ|]] - to be clarified
  • [[:ro:Wikipedia:foo123ăâîşţ|]] - to be clarified
  • [[:ro:bla:foo123ăâîşţ|]] - to be clarified



  • [[:he:א|]] - to be clarified

Invalid titles[edit]

  • Note:
    • &amp#154; and š should NEVER be used.
    • The following tests do not describe an error, they describe just a behaviour.
  • existing page:
  • nonexisting pages:
    • š coding
      • [[Special:Whatlinkshere/Edvard Beneš]]
      • [[Edvard Beneš]]
      • [[Edvard Beneš|]]
      • [[Edvard Beneš| ]]
    • š coding
      • [[Special:Whatlinkshere/Edvard Beneš]]
      • [[Edvard Beneš]]
      • [[Edvard Beneš|]]
      • [[Edvard Beneš| ]]
    • %9A coding
      • [[Edward Bene%9A]] (with w)
      • [[Edward Bene%9A|Edward Bene%9A]]
      • [[Edward Bene%9A| ]]
    • š coding
      • [[Edward Beneš]]
      • [[Edward Beneš|]]
      • [[Edward Beneš| ]]
    • š coding
      • [[Edward Beneš]]
      • [[Edward Beneš|]]
      • [[Edward Beneš| ]]
      • [[Beneš]]
      • [[Beneš|]]
      • [[Beneš| ]]

Incomplete coding[edit]

Assumptions[edit]
  • Neither the "& + # + 154 + ;" nor the "& + # + x + 9A + ;" are valid. They can not be generated since version ????.
  • The "% + 9 + A" variant stores three characters in the database. It is a valid title but may display differently depending on the browser used.

Internal coding of characters wich character code higher then 127[edit]

  • Note: This is only an asumption!
  1. For many characters witch character code higher then 127 there exist titles in the database. They may display differently depending on the browser used. The titles are not stored as one character title, these tiutles contain each character. "Normaly" such titles are used as redirects:
    1. %7E for ~ -> Tilde
    2. %C0 for [[%C0]] -> Grave accent
    3. %C1 for [[%C1]] -> Acute accent
    4. %C2 for [[%C2]] -> Circumflex
    5. %C3 for [[%C3]] -> Tilde
    6. %C4 for [[%C4]] is not a redirect
    7. %C5 for [[%C5]] is not a redirect, see also [[%C5 (disambiguation)]]
    8. %C6 for [[%C6]] is not a redirect, see also George William Russell (pseud. Æ) but no [[%C6 (disambiguation)]]
    9. %C7 for [[%C7]] -> Cedilla
  2. Identical references
    1. %26Agrave%3B for À is identical to %C0 for [[%C0]] -> Grave accent
      Note: MediaWiki's buils in full text search differentiates between %26Agrave%3B and %C0.
  3. Some of the target titles are using olso other types of redirects:
    1. %26OElig%3B for Π-> OE ligature

titles with % + n + n and piped links[edit]

  • The pagename is represented differently depending on namespace and / or piped links:
  1. [[Talk:%7E]] generates Talk:~
    1. [[Talk:%7E|]] generates %7E
  2. [[Talk:%C0|]] generates [[Talk:%C0|%C0]]
  3. [[Talk:%C1|]] generates [[Talk:%C1|%C1]]
  4. [[Talk:%C2|]] generates [[Talk:%C2|%C2]]
  5. [[Talk:%C3|]] generates [[Talk:%C3|%C3]]
  6. [[Talk:%C4|]] generates [[Talk:%C4|%C4]]
  7. [[Talk:%C5|]] generates [[Talk:%C5|%C5]]
  8. [[Talk:%C6|]] generates [[Talk:%C6|%C6]]
  9. [[Talk:%C7|]] generates [[Talk:%C7|%C7]]
  10. [[Talk:%26Agrave%3B|]] generates for %26Agrave%3B
  11. [[Talk:%26OElig%3B|]] generates for %26OElig%3B

from the past[edit]

  • ? (found at [1])
  1. [[Are You Experienced? (novel)|]] generates
    1. Are You Experienced?
  2. [[Are You Experienced? (novel)|Are You Experienced? (novel)]] generates
    1. Are You Experienced? (novel)
  • !
  1. [[wikisource:Trutz Euch!|]] generates
    1. Trutz Euch!
  2. [[wikisource:Trutz Euch!|Trutz Euch!]] generates
    1. Trutz Euch!
  • Used in some templates
  1. [[{{ns:User}}:Gangleri|]] generates [[User:Gangleri|]]
    1. workaround: [[{{ns:User}}:Gangleri|Gangleri]] generates Gangleri
  2. [[{{ns:User}}:{{{1}}}|]] generates [[User:{{{1}}}|]] and will fail as the example #1
    1. workaround: [[{{ns:User}}:{{{1}}}|{{{1}}}]] generates [[User:{{{1}}}|{{{1}}}]] and will be OK (provided {{{1}}} is not empty)

What would be if[edit]

  • Some of the constructs seen above will fail. Special care should be paid in template design when the template could be used in a similar context. By linking to titles containing UTF-8 characters in sister projects in other languages.


Feature request[edit]

more todos[edit]