User:לערי ריינהארט/tests/unknown
(Redirected from User:Gangleri/tests/unknown)
Related pages
editThis 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- As described at meta:Help:Piped link#Automatic conversion of the wikitext (pipe trick) there is an exception "if there is a text in parentheses at the end it will be removed". At his moment (20:24, 2005 Mar 8 (UTC)) this is the only leagal empty pipe in the article namespace.
Chicago
edit- [[Chicago|]] generates Chicago
- [[Chicago, Illinois|]] generates Chicago
- [[Chicago (typeface)|]] generates Chicago
- [[#Chicago|]] generates [[#Chicago|]]
This relates to feature request bugzilla:845.
Tests
edit- foo123
- Special:Version = MediaWiki: 1.4rc1
- User:foo123
- 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ăâîşţ|]]
- [[:ro:Template:foo123ăâîşţ|]] - to be clarified
- [[:ro:Wikipedia:foo123ăâîşţ|]] - to be clarified
- [[:ro:bla:foo123ăâîşţ|]] - to be clarified
Invalid titles
edit- Note:
- š and š should NEVER be used.
- The following tests do not describe an error, they describe just a behaviour.
- existing page:
- compare with
- %9A coding
- [[Special:Whatlinkshere/Edvard Bene%9A]]
- [[Edvard Bene%9A]]
- [[Edvard Bene%9A|Edvard Bene%9A]]
- [[Edvard Bene%9A| ]]
- 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š| ]]
- š coding
Incomplete coding
edit- š coding (without final ;)
- š coding (without final ;)
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!
- 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:
- %7E for ~ -> Tilde
- %C0 for [[%C0]] -> Grave accent
- %C1 for [[%C1]] -> Acute accent
- %C2 for [[%C2]] -> Circumflex
- %C3 for [[%C3]] -> Tilde
- %C4 for [[%C4]] is not a redirect
- %C5 for [[%C5]] is not a redirect, see also [[%C5 (disambiguation)]]
- %C6 for [[%C6]] is not a redirect, see also George William Russell (pseud. Æ) but no [[%C6 (disambiguation)]]
- %C7 for [[%C7]] -> Cedilla
- Identical references
- %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.
- %26Agrave%3B for À is identical to %C0 for [[%C0]] -> Grave accent
- Some of the target titles are using olso other types of redirects:
- %26OElig%3B for Œ -> OE ligature
- Follow also Special:Allpages/zzz.
- Note: Asumption: According to Wikipedia:Special characters#ISO-8859-1 Characters about "safe extended ASCII characters for use in all Wiki pages" it is more likly that "etities" are stored in the database. Gangleri | Th | T 20:40, 2005 Mar 8 (UTC)
titles with % + n + n and piped links
edit- The pagename is represented differently depending on namespace and / or piped links:
- [[Talk:%7E]] generates Talk:~
- [[Talk:%7E|]] generates %7E
- [[Talk:%C0|]] generates [[Talk:%C0|%C0]]
- [[Talk:%C1|]] generates [[Talk:%C1|%C1]]
- [[Talk:%C2|]] generates [[Talk:%C2|%C2]]
- [[Talk:%C3|]] generates [[Talk:%C3|%C3]]
- [[Talk:%C4|]] generates [[Talk:%C4|%C4]]
- [[Talk:%C5|]] generates [[Talk:%C5|%C5]]
- [[Talk:%C6|]] generates [[Talk:%C6|%C6]]
- [[Talk:%C7|]] generates [[Talk:%C7|%C7]]
- [[Talk:%26Agrave%3B|]] generates for %26Agrave%3B
- [[Talk:%26OElig%3B|]] generates for %26OElig%3B
from the past
edit- ? (found at [1])
- [[Are You Experienced? (novel)|]] generates
- [[Are You Experienced? (novel)|Are You Experienced? (novel)]] generates
- !
- [[wikisource:Trutz Euch!|]] generates
- [[wikisource:Trutz Euch!|Trutz Euch!]] generates
- Used in some templates
- [[{{ns:User}}:Gangleri|]] generates [[User:Gangleri|]]
- workaround: [[{{ns:User}}:Gangleri|Gangleri]] generates Gangleri
- [[{{ns:User}}:{{{1}}}|]] generates [[User:{{{1}}}|]] and will fail as the example #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
editmore todos
edit- more tests with Acute accent, accent aigu (?), caron, cedil (cedilla), circ (circumflex), grave (Grave accent), lig (diphthong (ligature), diphthong, ligature), ring (Ring (diacritic), tilde, slash, uml (umlaut, diaeresis), etc. (see Talk:Runic alphabet#HTML / HTML 4.0 characters)
- [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.