Wikipedia:Lua/Modul/WLink/Test
Erscheinungsbild
| Vorlagenprogrammierung | Diskussionen | Lua | Test | Unterseiten | |||
| Modul | Deutsch | English
|
Modul: | Dokumentation | |||
Testfälle zum Modul:WLink (2022-05-09); unerwartete Resultate werden markiert:
- ansiPercent
1=aöaÜaßaéa}}a%F6a%DCa%DFa%E9a - ansiPercent
1=öaÜaßaé}}%F6a%DCa%DFa%E9 - ansiPercent
1=öaÜb cßdéf}}%F6a%DCb%20c%DFd%E9f - ansiPercent
1=öaÜb cßdéf|space=_}}%F6a%DCb_c%DFd%E9f - ansiPercent
1=öaÜb cßdéf|space=+}}%F6a%DCb+c%DFd%E9f - ansiPercent
1=öaÜb cßdéf|space=}}%F6a%DCb%20c%DFd%E9f - ansiPercent
1=öa cß}}%F6a%09c%DF
- formatURL
1=http://example.org/About}}[http://example.org/About example.org/About] - formatURL
1=http://example.org/}}[http://example.org/ example.org] - formatURL
1=http://example.org}}[http://example.org/ example.org] - formatURL
1=//example.org}}[//example.org/ example.org] - formatURL
1=example.org}}[http://example.org/ example.org] - formatURL
1=http://example.org/About.PDF#page=3}}[http://example.org/About.PDF#page=3 example.org/About.PDF] - formatURL
1=[http://example.org/about Homepage]}}[http://example.org/about Homepage] - formatURL
1=[http://example.org/about Homepage] mit Anmerkung}}[http://example.org/about Homepage] mit Anmerkung - formatURL
1=Kein Link}}Kein Link
- getArticleBase
1=WLink (library)}}WLink - getArticleBase
1=[[WLink (library)]]}}WLink - getArticleBase
1=WLink (library)#fff}}WLink - getArticleBase
1=WLink}}WLink - getArticleBase
Lua/Modul/WLink/Test
- getBaseTitle
1=[[Wikipedia:Lua/Modul/WLink]]}}WLink - getBaseTitle
1=qqqqqq}}qqqqqq - getBaseTitle
1=qqqqqq#fff}}qqqqqq
- getEscapedTitle
1=qqqqqq}}qqqqqq - getEscapedTitle
1=a-[xx]-b}}a-[xx]-b - getEscapedTitle
1=p|q}}p|q
- getExtension
1=fifi.xxx}}xxx - getExtension
1=http://example.com/About.PDF#page=3}}pdf - getExtension
1=fffff}}
- getFile
1=Datei:extern.png}}extern.png - getFile
1=:en:image:wlink.svg}}wlink.svg
- getFragment
1=aaaaa#toc}}toc - getFragment
1=aaa–aa#toc}}toc - getFragment
1=aaaaa#}} - getFragment
1=aaaaa}}
- getLanguage
1=[[en:WP:WEB]]}}en - getLanguage
1=[[:en:WP:WEB]]}}en - getLanguage
1=[[WP:WEB]]}} - getLanguage
1=[[CSI: Miami]]}}
- getNamespace
1=[[WP:WEB]]}}4 - getNamespace
1=[[Media:Image.png]]}}-2 - getNamespace
1=[[CSI: Miami]]}} - getNamespace
1=[[:en:WP:WEB]]}}
- getNamespaced
1=4|2=WP:WEB}}Wikipedia:WEB - getNamespaced
1=4|2=[[WP:WEB]]}}Wikipedia:WEB - getNamespaced
1=4|2=WEB}}Wikipedia:WEB - getNamespaced
1=Wikipedia|2=WEB}}Wikipedia:WEB - getNamespaced
1=project|2=WEB}}Wikipedia:WEB
- getPlain
1=00[[yy#z|ttt]]aa[[bbb]]fg[http://example.com xx]cd[zzz]}}00tttaabbbfgxxcd[zzz]
- getProject
1=[[s:Moby Dick]]}}s - getProject
1=[[wikidata:Itemization]]}}d - getProject
1=[[:s:fr:Marseillaise]]}}s - getProject
1=[[w:fi:Suomi]]}}w - getProject
1=[[CSI: Miami]]}} - getProject
1=[[Wikipedia:WEB]]}} - getProject
1=[[WP:WEB]]}} - getProject
1=[[:en:WP:WEB]]}}
- getTalkPage
1=Modul:WLink}}Modul Diskussion:WLink - getTalkPage
1=Modul Diskussion:WLink}}Modul Diskussion:WLink - getTalkPage
1=Spezial:Spezialseiten}}
- getTarget
1=aaaaa}} - getTarget
1=b[[bbb]]bb}}bbb - getTarget
1=x[[yy#z|ttt]]uu}}yy#z - getTarget
1=[http://example.com lt]}}http://example.com - getTarget
1=[http://example.com/#rrf lt]}}http://example.com/#rrf
- getTargetPage
1=aaaaa}} - getTargetPage
1=b[[bbb]]bb}}bbb - getTargetPage
1=x[[yy#z|ttt]]uu}}yy - getTargetPage
1=[http://example.com lt]}}http://example.com - getTargetPage
1=[http://example.com/#ff lt]}}http://example.com/
- getTitle
1=Hallo [[Welt]]}}Welt - getTitle
1=[[Welt|Hallo Welt]]}}Hallo Welt - getTitle
1=Halli [[Welt|Hallo Welt]] holla!}}Hallo Welt
- getWeblink
1=http://example.com}}[http://example.com/ example.com] - getWeblink
1=[http://example.com/ example.com]}}[http://example.com/ example.com] - getWeblink
1=Whaffle waffle}}Whaffle waffle - getWeblink
1=http://www.example.com/about}}[http://www.example.com/about example.com] - getWeblink
1=http://www.example.co.uk/about}}[http://www.example.co.uk/about example.co.uk] - getWeblink
1=http://www.ex-ample.co.uk/about}}[http://www.ex-ample.co.uk/about ex-ample.co.uk] - getWeblink
1=http://www.aa.xx/about}}[http://www.aa.xx/about aa.xx] - getWeblink
1=http://aa.xx/about}}[http://aa.xx/about aa.xx] - getWeblink
1=http://aa.xx}}[http://aa.xx/ aa.xx]
- getWikilink
1= Testseite }}[[Testseite]] - getWikilink
1= Testseite 2 }}[[Testseite 2]] - getWikilink
1=H:Alle_Hilfeseiten}}[[Hilfe:Alle Hilfeseiten]] - getWikilink
1=Bild:Beispiel.png}}[[:Datei:Beispiel.png]] - getWikilink
1=::Image:Beispiel.png}}[[:Datei:Beispiel.png]] - getWikilink
1= :en:London }}[[:en:London]] - getWikilink
1= en:Tower }}[[:en:Tower]] - getWikilink
1=en:H:Alle_Hilfeseiten}}[[:en:Help:Alle Hilfeseiten]] - getWikilink
1=s:en:Magna_Charta}}[[s:en:Magna Charta]] - getWikilink
1=en:s:Magna_Charta}}[[s:en:Magna Charta]] - getWikilink
1=%20Magna%20Charta%20}}[[Magna Charta]] - getWikilink
1=:::::Testseite}}[[Testseite]] - getWikilink
1= Testseite |2=Testseite}}[[Testseite]] - getWikilink
1= Testseite 2 |2=Testseite}}[[Testseite 2|Testseite]] - getWikilink
1= Testseite 2 |2= Testseite }}[[Testseite 2|Testseite]]
- isBracketedLink
1=aha [[WP:Main Page]]}}1 - isBracketedLink
1=[http://example.com/#ff lt]}}1 - isBracketedLink
1=aha WP:Main Page}}
- isBracketedURL
1=[http://example.com/#ff lt]}}1 - isBracketedURL
1=[http://example.com/#ff]}}1 - isBracketedURL
1=http://example.com/#ff}} - isBracketedURL
1=[[WP:Main Page]]}}
- isCategorization
1=[[Kategorie:Wiki]]}}1 - isCategorization
1=[[category:Wiki]]}}1 - isCategorization
1=[[:Category:Wiki]]}} - isCategorization
1=[[Kategorie:]]}}
- isExternalLink
1=[http://example.com/#ff lt]}}1 - isExternalLink
1=[//example.com/#ff lt]}}1 - isExternalLink
1=ouh http://example.com yeah! }}1 - isExternalLink
1= //example.com }}
- isInterlanguage
1=[[en:WP:WEB]]}}1 - isInterlanguage
1=[[:en:WP:WEB]]}} - isInterlanguage
1=[[WP:WEB]]}} - isInterlanguage
1=[[CSI: Miami]]}}
- isInterwiki
1=[[s:WEB]]}}1 - isInterwiki
1=[[:simple:WP:WEB]]}}1 - isInterwiki
1=[[simple:WP:WEB]]}}1 - isInterwiki
1=[[WP:WEB]]}} - isInterwiki
1=[[CSI: Miami]]}} - isInterwiki
1=[[Miami]]}}
- isMedia
1=[[file:external.png|16px]]}}1 - isMedia
1=[[:file:external.png|x]]}} - isMedia
1=[[en:file:external.png|x]]}} - isMedia
1=[[Datei:external|16px]]}}
- isTalkPage
1=Modul:WLink}} - isTalkPage
1=Modul Diskussion:WLink}}1 - isTalkPage
1=Spezial:WLink}} - isTalkPage
1= }} - isTalkPage
1=<#> }}
- isTitledLink
1=[http://example.com/#ff lt]}}1 - isTitledLink
1=[[WP:Main Page|Main]]}}1 - isTitledLink
1=[http://example.com/#ff]}} - isTitledLink
1=[http://example.com/#ff ]}} - isTitledLink
1=[[WP:Main Page]]}} - isTitledLink
1= http://example.com/#ff lt }}
- isValidLink
1=[http://example.com/#ff lt]}}1 - isValidLink
1=[[WP:Main Page]]}}1 - isValidLink
1=http://example.com/#ff}}1 - isValidLink
1=http://example.com/''title''}}
- isValidLinktext
1=Hi du!}}1 - isValidLinktext
1=Hi <span>du</span>!}}1 - isValidLinktext
1=Hi <nowiki>du</nowiki>!}} - isValidLinktext
1=Hi [[du]] Wikilink!}} - isValidLinktext
1=Hi [https://example.org Weblink]}} - isValidLinktext
1=P.L. unter ISBN 3-7891-4161-5 als Buch}} - isValidLinktext
1=Hi <div>du</div>!}}
- isWikilink
1=[[WP:Main Page]]}}1 - isWikilink
1= Hi [[WP:Main Page|Top]] there! }}1 - isWikilink
1=[http://example.com/#ff lt]}}
- pageLink
1=*me}}*me - pageLink
1=*me|safe=URL}}%2Ame - pageLink
1=*me|safe=WIKI}}w:de:*me
<ref>
- ↑ hex