{{Header}} __NOINDEX__ {{title2|title= Wikitests // title test : test title via title2 template }} {{#seo: |description=test }} {{devwiki}} {{Contributor| |status=testing |about=About this {{PAGENAME}} Page |difficulty=medium |contributor=testing |support=[[Dev/website]] }} {{intro| This is the intro template. }} This is the first line of the content text outside the intro template. = Modules / Features (alphabetical) = == Anchor (Template) == Click the link below and it should jump to the "Jump point". There is the id "test-anchor-template" {{Anchor|test-anchor-template}} Jump point Paragraph to jump over [[#test-anchor-template]] == Archive_Link (Template, nested Widget) == Different archive link tests, wrapped in div.info-box to prevent over-width on mobile
Test result, too much white space:line number one line number two line number three now there will be an empty line this line has leading whitespace last but one line last line
line number one line number two line number three now there will be an empty line this line has leading whitespace last but one line last line=== Complex Blockquote Example === This is how it really looks:
This is how it should look:gpg: assuming signed data in 'tor-{{Tor_upstream_version}}.tar.gz' gpg: Signature made Mon 09 Dec 2019 06:21:51 PM UTC gpg: using RSA key 7A02B3521DC75C542BA015456AFEE6D49E92B601 gpg: Good signature from "Nick Mathewson" [unknown] gpg: aka "Nick Mathewson " [unknown] gpg: aka "Nick Mathewson " [unknown] gpg: aka "Nick Mathewson " [unknown] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 2133 BC60 0AB1 33E1 D826 D173 FE43 009C 4607 B1FB Subkey fingerprint: 7A02 B352 1DC7 5C54 2BA0 1545 6AFE E6D4 9E92 B601
gpg: assuming signed data in 'tor-{{Tor_upstream_version}}.tar.gz' gpg: Signature made Mon 09 Dec 2019 06:21:51 PM UTC gpg: using RSA key 7A02B3521DC75C542BA015456AFEE6D49E92B601 gpg: Good signature from "Nick MathewsonPotential bug: Between line" [unknown] gpg: aka "Nick Mathewson " [unknown] gpg: aka "Nick Mathewson " [unknown] gpg: aka "Nick Mathewson " [unknown] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 2133 BC60 0AB1 33E1 D826 D173 FE43 009C 4607 B1FB Subkey fingerprint: 7A02 B352 1DC7 5C54 2BA0 1545 6AFE E6D4 9E92 B601
Primary key fingerprint: 2133 BC60 0AB1 33E1 D826 D173 FE43 009C 4607 B1FB
and line Subkey fingerprint: 7A02 B352 1DC7 5C54 2BA0 1545 6AFE E6D4 9E92 B601
there is no newline in the wiki markup and there should be none in the resulting mediawiki auto generated HTML. Some CSS issue probably?
=== new test blockquote ===
=== blockquote in bullet point === As the first child *line1 after 5 spaces line2 now an empty line line3 line4
testAs not the first child after a text (or other) node * 1
test=== div class pre blockquote === real
pre
tag:
gpg: assuming signed data in 'tor-{{Tor_upstream_version}}.tar.gz' gpg: Signature made Mon 09 Dec 2019 06:21:51 PM UTC gpg: using RSA key 7A02B3521DC75C542BA015456AFEE6D49E92B601 gpg: Good signature from "Nick Mathewson" [unknown] gpg: aka "Nick Mathewson " [unknown] gpg: aka "Nick Mathewson " [unknown] gpg: aka "Nick Mathewson " [unknown] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 2133 BC60 0AB1 33E1 D826 D173 FE43 009C 4607 B1FB Subkey fingerprint: 7A02 B352 1DC7 5C54 2BA0 1545 6AFE E6D4 9E92 B601
div class="pre"
* bullet point with colon: {{Quotation |image=Deep-web-1106648640.jpg |context=Author,Date,https://www.whonix.org |quote=With an image. abc def}}'''Bullet Point Multiple Lines Quotation Test''' (currently broken) * 1 {{Quotation|quote= Same as above but below a list item. Without an image. '''NOTE''': This does not work as expected but it acceptable right now because this is caused by a bug in MediaWiki that has been reported }} == CodeSelect == Simple example 1 line {{CodeSelect|code=echo "Hello World"}} 1 line, but inline Here is an example {{CodeSelect|code=echo "Hello World"|inline=true}} that was the example 2 lines {{CodeSelect|code= sudo chmod og+rx /usr/bin/snowflake-client sudo chmod og+rx /usr/bin/snowflake-client }} CodeSelect in Lists * text * {{CodeSelect|code=abc}} * {{CodeSelect|code= def ghi123 asölfkasjdölfkajdöslkjasdfölkfjaölksdjaslökdjfaöslkjfaöslkjfdsalökdjfalöksjfaklösjfaslökjfasölkjfasölkjfadsölkjafdsklöfjlköasdjflkösajdfsölkjadsölkjfdaslksafjfkl }} * Including pipe symbol ("
|
") (encoded as {{!}}
): {{CodeSelect|code=
echo test {{!}} xargs echo
}}
* test: {{CodeSelect|code=abc}}
CodeSelect "Hello World" but as a button
{{CodeSelect|code=echo "Hello World"|buttonImage=/w/images/8/8c/Supermenu3.png}}
CodeSelect "Hello World" but as a default button (buttonImage=)
{{CodeSelect|code=echo "Hello World"|buttonImage=}}
CodeSelect "Hello World" button image, eager loading
{{CodeSelect|code=echo "Hello World"|buttonImage=/w/images/8/8c/Supermenu3.png|buttonImageEager=true}}
CodeSelect with a target pre element
{{CodeSelect|target=#my-codeselect-target-example1}}
This is example 1 $ sudo apt "example1"== Collapsible Template == Large title {{Collapsible |title=My large interesting title |content=My interesting content }} Small title {{Collapsible |title=My small interesting title |smallTitle=true |content=My interesting content }} == Community Support Template == Below are 3 tests. The first without the paramter scope, it should show the page version. The second is the page version (scope=page) and the third one is the chapter version (scope=chapter) {{Community_Support}} {{Community Support|scope=page}} {{Community Support|scope=chapter}} == CustomRepo (Template) == {{CustomRepo|CustomScrollbar.js}} {{CustomRepo|alt=/blob/master/public/libs/instant.page/instantpage.min.js The link to instantpage lib}} {{CustomRepo|alt=/tree/master/mediawiki-shared/build config-build-shared and specific.json}} == DiscoverHiddenElements == # Below are hidden elements. Each should open when you click its link # One is a headline hidden inside a mw-collapsible [[#DiscoverHiddenElements_Hidden_Headline]] # The other is a headline hidden inside an mw-collapsible, hidden inside a tab content controller [[#DiscoverHiddenElements_Hidden_Headline_2]] # Reference to hidden Footnotes Discover ref1- show open Footnotes
modal=true
opening DownloadButton-PayAsYouGoModal
{{#widget:Download_Button
|text=DownloadTest Modal
|url=/derivative.asc
|modal=true
}}
== Expand Button different labels ==
Learn more Label
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
}} Right example, with imagelink=/wiki/About, imageright=true {{#widget:LeftRightImageText |image=/w/images/thumb/c/c6/Self-support.jpg/799px-Self-support.jpg?20230412112808 |imagelink=/wiki/About |imageright=true |text= Right exampleLorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
}} == mbox test == Below you should see a box around the test text {{mbox|text= mbox text test }} Box with image and text test {{mbox | image = [[File:Kicksecure-image-seal.svg|40px|alt=Test]] | text = My Text here }} Box with icon and text test {{mbox | icon = fa-solid fa-info cs-red-light | text = My Text here }} == Mini Modal == Open MiniModal below by clicking this button Open Modal Open MiniModal via URL hash, click [[Dev/wikitest#mini-modal-test]]Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info|} Below is a wikitable that is wrapped inside mw-collapsible (and therefore has no dimensions). So first it will not be enriched, only when the collapsed div will be opened. Click expand. Table should look like above
Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info Long Info|}
asdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkasdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkjjBelow is a pre element which has overwidth and is hidden
asdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkasdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkjj
asdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkasdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkjjHeight 300px
asdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkasdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkjjHeight 450px
asdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkasdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkjjHeight 600px
asdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkasdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkjjHeight 750px
asdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkasdölfjasölkafölkasjfölkasjfölkasjfölajöaiojujflaksjflöaksjlköajsvlköjvölkajföljwaeiojföjaflökjlasjdfölasjdflkjj== Share Tooltip == Below there is a share tooltip for #share-tooltip-test which is the div below == SitenoticeBanner == Simple example, but strange optic = correct, because it needs to be in #siteNotice {{SitenoticeBanner |active=true |id=b001 |href=/wiki/Donate |html=Want to help us grow? }} == Subdomain Link == Please test those links on the onion the Tor browser as well Link to forum, text=Testlink1, sub=forums, append=/c/news/5 {{Subdomain_link |text=Testlink1 |sub=forums |append=/c/news/5 }} Same as above, but export as url {{Subdomain_link |text=Testlink1 |sub=forums |append=/c/news/5 |result=url }} Same as above, but export as parts {{Subdomain_link |sub=forums |append=/c/news/5 |result=parts }} == Tab Controller == === Tab Controller pre-selected tab Test === The second tab is selected (active) {{Tab |type=controller |content= {{Tab |addToClass=info-box |title= === Number 1 === |content=test1 }} {{Tab |active=true |addToClass=info-box |title= === Number 2 === |content=test2 }} {{Tab |addToClass=info-box |title= === Number 3 === |image=[[File:Logo-linux-500x500.png|25px]] |content=test3 }} {{Tab |addToClass=info-box |title= === A link === |content=[[Donate]] }} }} === Tab Controller NO selected tab Test === No tab has the active parameter. Therefore no content should be shown {{Tab |type=controller |content= {{Tab |addToClass=info-box |title= ==== Number 201 ==== |content=test1 }} {{Tab |addToClass=info-box |title= ==== Number 202 ==== |content=test2 }} }} === Tab Controller Link test === All link tabs below (not Title 01 and Title 02) should be actual links for js users {{Tab |type=controller |content= {{Tab |title= === Title 01 === |content=Title 01 }} {{Tab |title= === Title 02 === |content=Title 02 }} {{Tab |title= === Link Type 1 === |content=[https://www.whonix.org] }} {{Tab |title= === Link Type 2 === |content=[[Testpage2]] }} {{Tab |title= === Link Type 3 === |content=[https://www.whonix.org] }} {{Tab |title= === Link Type 4 === |content=[https://www.whonix.org Whonix] }} {{Tab |title= === Link Type 5 === |content=[[Testpage2|The Testpage 2]] }} }} === Tab Controller : Linked Controllers Test === The following controllers will switch in unison. In case of link-tabs (tabs which are pure links) they will not be switched on. Also important: Section 1 and 6 are asynchronously pre-selected. But once you select a tab they will synchronize and stay synchronize (no common use cases but good to know this behavior) {{Tab |type=controller |addToClass=tcc-indent tcc-dark |linkid=link1 |content= {{Tab |active=true |title= ====Section 1==== |type=section |image=[[File:Logo-linux-500x500.png|25px]] |addToClass=special-look |content=Section 1 content }} {{Tab |title= ====Section 2==== |content=Section 2 content }} {{Tab |title=====Section 3==== |content= Section 3 content }} {{Tab |title=====Section 4==== |content=Section 4 content }} }} {{Tab |type=controller |linkid=link1 |content= {{Tab |title=====Section 5==== |content=Section 5 content }} {{Tab |title=====Section 6==== |active=true |content=Section 6 content }} {{Tab |title=====Section 7 Link==== |content=[[Donate]] }} }} === Tab Controller : Linked Controller with nested Controller === TODO: description {{Tab |type=controller |addToClass=tcc-indent tcc-dark |linkid=link1 |content= {{Tab |active=true |title= ====Section 1==== |type=section |image=[[File:Logo-linux-500x500.png|25px]] |addToClass=special-look |content=Section 1 content }} {{Tab |title= ====Section 2==== |content=Section 2 content }} }} {{Tab |type=controller |linkid=link1 |content= {{Tab |title=====Section 5==== |content=Section 5 content }} {{Tab |title=====Section 6==== |active=true |content=Section 6 content }} }} === Nested Tab Test : JS / NOJS === If you open this page in a normal way then Test2 is pre-selected and if you click tab 3 than Test 3.2 will be pre-selected. However if you open this page with the following link (emphasis on the hash) then Test3 will open and Test3.2 will open as well. And it will scroll to the right position. This link can also be otained by right-clicking the tab and clicking "Save link address" https://www.kicksecure.com/wiki/Dev/wikitest#Test3.3_Auto-Open If you deactive Javascript (NOJS) then the above link will send you directly to the selected section {{Tab |type=controller |addToClass=tcc-indent |content= {{Tab |title= === Test1 === |content= Test 1 Content }} {{Tab |title= === Test2 Selected === |active=true |content= Test 2 Content }} {{Tab |title= === Test3 Auto-Open === |content= {{Tab |type=controller |addToClass=tcc-indent |content= {{Tab |title= ==== Test3.1 ==== |content= Test 3.1 Content }} {{Tab |title= ==== Test3.2 Selected ==== |active=true |content= Test 3.2 Content }} {{Tab |title= ==== Test3.3 Auto-Open ==== |content= Test 3.3 Content }} }} }} }} === Nested Tab Test : No TOC === In the TOC you will not find the notoc tabs as headlines because they are done with Template:Headline. However the functionality stays the same. And it also works for Nojs. Look in the TOC above. There is no Tab Test 11 or Tab Test 12 or 14 mentioned. But this link works : https://www.kicksecure.com/wiki/Dev/wikitest?stable=0#tab-test-14-notoc {{Tab |type=controller |addToClass=tcc-indent |content= {{Tab |title= === Tab Test 10 === |content=Tab Test 10 Content }} {{Tab |title={{Headline|h=3|content=Tab Test 11 notoc}} |active=true |content=Tab Test 11 notoc Content }} {{Tab |title={{Headline|h=3|content=Tab Test 12 notoc}} |content= {{Tab |type=controller |addToClass=tcc-indent |content= {{Tab |title= ==== Tab Test 13 ==== |content=Tab Test 13 Content }} {{Tab |title={{Headline|h=4|content=Tab Test 14 notoc}} |active=true |content=Tab Test 14 notoc Content }} }} }} }} === Tab Controller hidden overlong CodeSelect tests === For the tests to be succcessful # Load the page with JS and without any hash -> both codeSelects need to be initialized correctly with custom scrollbar # Choose tab 1 and (thereby set the hash), reload the page -> both codeSelects need to be initialized correctly with custom scrollbar # Choose tab 2 and (thereby set the hash), reload the page -> both codeSelects need to be initialized correctly with custom scrollbar {{Tab |type=controller |content= {{Tab |addToClass=info-box |title= === TC hidden CS test Number 1 === |content={{CodeSelect|code=Tab1_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz}} }} {{Tab |addToClass=info-box |title= === TC hidden CS test Number 2 === |content={{CodeSelect|code=Tab2_abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz}} }} }} == ThumbGallery (Template) == Below a thumb gallery with 3 thumb images. Normal mode, so it only changes to gallery mode below 540px screen width {{ThumbGallery| [[File:Kicksecure-basic-logo.png|thumb|100px|[[Dev/Logo|Kicksecure logo]]]] [[File:Debian.png|thumb|100px|Debian logo]] [[File:Linuxkerneltux.png|thumb|100px|Linux logo]] }} Below a thumb gallery with 3 thumb images. mode=gallery. It should be a nice padded gallery on all sizes {{ThumbGallery|mode=gallery| [[File:Kicksecure-basic-logo.png|thumb|100px|[[Dev/Logo|Kicksecure logo]]]] [[File:Debian.png|thumb|100px|Debian logo]] [[File:Linuxkerneltux.png|thumb|100px|Linux logo]] }} Below a thumb gallery with 3 thumb images. mode=gallery justify right. It should be a nice padded gallery on all sizes. It should be justified right {{ThumbGallery|mode=gallery|justify=right| [[File:Kicksecure-basic-logo.png|thumb|100px|[[Dev/Logo|Kicksecure logo]]]] [[File:Debian.png|thumb|100px|Debian logo]] [[File:Linuxkerneltux.png|thumb|100px|Linux logo]] }} == Thumbnails == Standard behavior (jumps left and changes size when very small screen) [[File:Faq-463379640.jpg|thumb]] Non-responsive behavior (stays right and keeps size)
Test START
Test END== HTML Symbol ==
❝❝ == Lists Tests == === Unordered List Test === * one * two * three === Ordered Lists Test === # first # second # third == overlength tag test == pre tag
long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test{{CodeSelect|code= long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test }} code tag
long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test long test
== pre and div.pre tests ==
=== pre test ===
The following two lines test1
and test2
are separate pre tags lines. These should be visually separate. Currently functional.
text 1
text 2=== div.pre === Pre without parsing
This is current year {{CURRENTYEAR}}Div.pre with parsing
SITENAME
: {{SITENAME}}
* SERVER
: {{SERVER}}
* SERVERNAME
: {{SERVERNAME}}
* fullurl:page_name
: {{fullurl:page_name}}
* canonicalurl:FULLPAGENAME
: {{canonicalurl:{{FULLPAGENAME}}}}
* [{{canonicalurl:{{FULLPAGENAME}}|action=history&feed=atom}} atom feed]
* FULLPAGENAME
: {{FULLPAGENAME}}
* NAMESPACE
: {{NAMESPACE}}
= H1 =
Test text
== H2 ==
Test text
=== H3 ===
Test text
==== H4 ====
Test text
===== H5 =====
Test text
====== H6 ======
Test text
= Tables on Mobile =
Check for example [[Reasons_for_Freedom_Software]] for word wrap issues.
TODO: add test here
= Footnotes =
[[Category:MultiWiki]]
[[Category:Development]]
{{footer}}