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

From Wikipedia, the free encyclopedia

rev-ID : 179682694

Contents

[edit] Related pages

[edit] This page just describes behaviour ...

  • 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)

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

  • 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)

[edit] Empty pipe in the article namespace

  • 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|]]

[edit] Exceptions

[edit] Chicago
  1. [[Chicago|]] generates [[Chicago|]]
  2. [[Chicago, Illinois|]] generates [[Chicago, Illinois|]]
  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)

[edit] Tests


  • foo123
  • foo123
  • foo123


[edit] Latin-1

  • foo123äöü
  • foo123äöü
  • foo123äöü



  • Template:foo123äöü
  • Wikipedia:foo123äöü
  • bla:foo123äöü


[edit] UTF-8

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

  • 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ăâîşţ|]]


[edit] This should work at [[:en:]]


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



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

[edit] Invalid titles

  • Note:
    • &amp#154; and š should NEVER be used.
    • The following tests do not describe an error, they describe just a behaviour.

[edit] Incomplete coding

    • &#154 coding (without final ;)
      • Edvard Bene&#154
    • &#x9A coding (without final ;)
      • Edvard Bene&#x9A

[edit] Assumptions
  • 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.

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

  • 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 -> Grave accent
    3.  %C1 for -> Acute accent
    4.  %C2 for -> Circumflex
    5.  %C3 for -> Tilde
    6.  %C4 for is not a redirect
    7.  %C5 for is not a redirect, see also � (disambiguation)
    8.  %C6 for is not a redirect, see also George William Russell (pseud. Æ) but no � (disambiguation)
    9.  %C7 for -> Cedilla
  2. Identical references
    1.  %26Agrave%3B for À is identical to %C0 for -> 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

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

  • 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

[edit] from the past

  • ? (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)

[edit] What would be if

  • 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.


[edit] Feature request

[edit] more todos

  • [2] (old version of km:Sinn Sisamouth) included an interlanguage link en:ស៊ីន ស៊ីសាមុត (en:ស៊ីន ស៊ីសាមុត) directing to en:Main page.
    • Why? — Assumption: Now (14:06, 2005 Mar 17 (UTC)) all illegal titles redirects there.
  • Test: ស៊ីន ស៊ីសាមុត, Piteşti, Ploieşti, Timişoara, Galaţi, Mehedinţi
    • Not all behave the same.


Languages