Difference between revisions of "ArchWiki:Sandbox"

From ArchWiki
Jump to: navigation, search
(test)
m (TEST: rename to #TEST (test))
 
(449 intermediate revisions by 59 users not shown)
Line 1: Line 1:
 
[[Category:Sandbox]]
 
[[Category:Sandbox]]
{{注意|注意注意注意}}
+
{{Related articles start}}
[[pt:Sandbox]]
+
{{Related|Help:Editing}}
{{DISPLAYTITLE:新標題}}
+
{{Related|Help:Style}}
'''Welcome to the ArchWiki. Feel free to train your Wiki editing skills on this page.'''
+
{{Related|ArchWiki talk:Sandbox#Foo}}{{Broken section link}}
{{警告|警告警告}}
+
{{Related|ArchWiki talk:Sandbox}}
{{Article summary start}}
+
{{Related articles end}}
{{Article summary text|My text.}}
+
You can use this page to practise editing the wiki.
{{Sandbox|Sandbox}}
 
{{Article summary heading|Links}}
 
{{Article summary link|Archlinux.org|http://archlinux.org}}
 
{{Article summary heading|See also}}
 
{{Article summary wiki|Category:Sandbox}}
 
{{Article summary end}}
 
  
{{Sandbox|expansion}}
+
== test ==
 +
=== 1.1 ===
  
{{Sandbox}}
+
this is paragraph 1
{{Keypress|Ctrl}}
 
==这是一个一级标题==
 
===这是一个二级标题===
 
*1
 
*2
 
#1
 
#2
 
#4
 
*{{警告|警告警告}}
 
  
Some pointers to learn the right syntax:
+
this is another paragraph and another one.
* http://en.wikipedia.org/wiki/Wikipedia:Cheatsheet
 
* http://en.wikipedia.org/wiki/Wikipedia:How_to_edit_a_page
 
* http://meta.wikimedia.org/wiki/Category:Documentation
 
* http://en.wikipedia.org/wiki/Help:Table
 
  
<br><hr> <!-- Your stuff goes below this line, okay? -->
+
<dl>
 +
<dt>
 +
<i>file</i><b>.i</b></dt>
 +
<dd>
 +
C source code that should not be preprocessed.</dd>
 +
</dl>
 +
<dl>
 +
<dt>
 +
<i>file</i><b>.ii</b></dt>
 +
<dd>
 +
C++ source code that should not be preprocessed.</dd>
 +
</dl>
 +
<dl>
 +
<dt>
 +
<i>file</i><b>.m</b></dt>
 +
<dd>
 +
Objective-C source code.  Note that you must link with the
 +
<i>libobjc</i> library to make an Objective-C program
 +
work.</dd>
 +
</dl>
  
{{:Sandbox/New Entry}}
+
==Arch==
  
szcrsex {{ic|a}}aa</code> rxsrse
+
{| class="wikitable mw-collapsible mw-collapsed"
 +
! test spoiler:
 +
|-
 +
| Cada uno es como Dios le hizo, y aún peor muchas veces.
 +
|}
 +
 
 +
test test
 +
I can't live, if living is without 'U'
 +
 
 +
== Test < > chars in pre and code ==
  
szcrsex {{ic|a}}aa</code> rxsrse
+
this < is < sparta >
  
drvtv {{ic|a}}aa</tt> restdf
+
what is this {{ic|thing <doing> <<< >>>}} here
  
<tt>'''this is test'''</tt>
+
==test==
 +
===Third heading===
 +
This is a para also
 +
====Fourth heading====
 +
::Me too<br>New line
  
<code>a
+
'''''bold and italics'''''
aa</code>
 
  
{{bc|
+
''''' Bold and italics are in five apostrophes'''''
a}}</pre>
+
=====Fifth Level Heading=====
 +
no indent
 +
:indent
 +
::more indent
 +
:::and more
 +
"No andes, Sancho, desceñido y flojo, que el vestido descompuesto da indicios de ánimo desmalazado."
  
{{ic|aaa
+
==Ingredientes, panqueques con manjar!!==
bbb}}
 
  
==Arch linux==
 
  
archlinux is the best linux distro available.
+
{{hc|Ingredientes Arch|
  
ǝlqɐlıɐʌɐ oɹʇsıp xnuıl ʇsǝq ǝɥʇ sı xnuılɥɔɹɐ
+
* 2 Unidades de Huevos
 +
* 1 Taza de Harina
 +
* 1 Taza de Leche
 +
* 1 Cucharadita de Aceite
 +
* 1 Pizca de Sal
 +
* Manjar (dulce de leche)
 +
* 1 Paquete de Azúcar flor para decorar
 +
}}
  
#<!-- floating sidebar? -->
+
== Code block ==
#<div class="toc" style="position:fixed;left:0;bottom:0;width:139px;height:120px;">This is a test</div>
 
  
This is <pre style="display: inline;">inline</pre> maybe?
+
{{hc|Hello World program|
 +
#include <stdio.h>
 +
int main(int argc, char* argv[])
 +
{
 +
  printf("Hello World!\n");
 +
  return 0;
 +
}
 +
}}
  
Maybe <pre style="display: inline; padding: 0.1em 0.2em;">this one</pre> can be inline instead... (am I really discussing even here???)
+
== cb2 ==
 +
{{hc|asdf|
 +
lkl
 +
}}
  
#**abcds <br>
+
text
--------[[Image:Tango-two-arrows.png]]
 
#**sdfaf
 
# pacman -S foo bar
 
  
{{ic| fsdgsdfgdhdfgh}}
+
*first bullet
 +
*second bullet
 +
**nested bullet
 +
*third bullet
  
 +
text
  
????????????????????//oiyiouoj
+
#first point
 +
#second point
 +
##nested point
 +
#third point
  
=A very big heading=
+
text
  
这里可以使用中文吗?
+
; definition term
test test 321
+
: some description
BLAH TEST
 
  
{{Keypress|A}}
+
'''Bold text'''''Italic text'' [http://www.example.com link title]
  #helo
 
^^^^
 
  
{{Keypress|Return}}
+
<s>strike out</s>
  
# cat /boot/vmlinuz26 > /dev/dsp
+
test: asfd
# pacman -S foo bar
 
  
Pacman utils
+
{{Note|This is a note.}}
  
$ pacman -Ss <the-name-of-a-package>
+
{{Note|This is another note}}
$ sudo pacman -S <the-name-of-a-package>
 
  
or (as root)
+
{{Note|The creation of these notes has been note-iced ;)}}
  
# pacman -Ss <the-name-of-a-package>
+
:::testing indent
# pacman -S <the-name-of-a-package>
+
    testing indent
 +
{{hc|Lorem Ipsum|{{Lorem Ipsum}}}}
  
{{hc|File Name|File Content}}
+
== Template sandbox ==
  
{{Note|Note text}}
+
Section for testing [[Template:Sandbox]].
  
{{Tip|Tip text}}
+
{{Sandbox|Testing message.}}
  
{{Warning|Warning text}}
+
{{Sandbox|Msg|2=Second|talk=Talk|section=Section}}
  
{{ic|pacman --sync --refresh --sysupgrade}}
+
== Code blocks ==
  
{{ic|/etc/rc.local}}
+
<pre>
 +
<i>foo</i> [[bar]]
 +
</pre>
  
{{Progressbar|13}}
+
<i>foo</i> [[bar]]
{{Progressbar|50}}
 
  
{| border="1"
+
{{bc|<i>foo</i> [[bar]]}}
| A || B
+
 
|-  
+
Inline <code>monospace</code>.
| C || D
+
 
|}
+
== TEST (test) ==
 +
Is this how I write stuff underneath?
 +
 
 +
Is this how I link to [[Wine]] ??
 +
 
 +
<s>Is this how I link to [[wine:PlayOnLinux.2fPLayOnMac|WINE#PlayOnLinux]]</s> < - Nope.
 +
 
 +
Is this how linking pages works? [[wine:PlayOnLinux.2FPlayOnMac|Wine#PlayOnLinux]]
 +
 
 +
<s>Tell me I have it... [[wine:#PlayOnLinux.2FPlayOnMac|WINE#PlayOnLinx]]</s> < - Im glad we have a sandbox!
 +
 
 +
This should work: [[wine#PlayOnLinux.2FPlayOnMac|WINE #PlayOnLinux]]
 +
 
 +
''I GOT IT'' '''YES!''' '''''TEST OF BOLD AND ITALICS'''''
 +
 
 +
<s>Is this how I [www.google.ca LINK] to an external site?</s> < - Requires https??
 +
 
 +
[https://www.google.ca Take me to google!] < - does this work?
 +
    Yup! Also code tags work. 
 +
 
 +
:Indent?
 +
::More indent?
 +
:::Looks good to me.
 +
 
 +
== man pages ==
 +
 
 +
=== working ===
 +
 
 +
{{man|1|intro|NOTES}}
 +
 
 +
{{man|7|archlinux|url=https://projects.archlinux.org/svntogit/packages.git/tree/filesystem/trunk/archlinux.7.txt#n15}}
 +
 
 +
{{man|8|mount|FILESYSTEM-INDEPENDENT_MOUNT OPTIONS}}
 +
 
 +
{{man|8|wpa_supplicant|url=}}
 +
 
 +
{{man|1|intro|NOTES}} - explicit URL should be removed
 +
 
 +
{{man|1|intro|NOTES}} - empty URL should be removed
  
== Q and A ==
+
{{man|1|intro|NOTES}} - arbitrary URL should be removed when the other template parameters make up a valid URL
Q: Isn't is possible to add remote image files to wiki?
 
  
A: No. The setting is disabled. Contact a wiki admin to upload images
+
=== broken ===
to the wiki, which can then be used as such:
 
  
That's a test!
+
{{man|1|mount}}{{Dead link|2017|08|08}} - wrong number
  
[[Image:Tango-two-arrows.png]]
+
{{man|1|introintro}}{{Dead link|2017|08|08}} - wrong name
  
=Top Level Heading (title)=
+
{{man|7|archlinux|url=https://projects.archlinux.org/svntogit/packages.git/tree/foo}}{{Dead link|2017|08|08}} - wrong URL
  
==Article headings==
+
{{man|1|intro|SOME SECTION}} - invalid section
===Inner headings===
 
====Innerer headings====
 
=====Innererer headings=====
 
======Inest headings======
 
=======Aargh!=======
 
  
==And Here's the Code==
+
{{man|1|mount|url=}} - empty {{ic|1=url=}} parameter should be preserved
line1
 
line2
 
line3
 
line4
 
line5
 
==And Here's the Code==
 
(second part)
 
  
==OK. Another heading==
+
=== invalid ===
= Columns =
 
== Testing columns ==
 
<div style="float: left; width: 50%; border: 1px ">
 
* Info for first column
 
More info for first column
 
</div><div style="float: left; width: 50%">
 
* Info for second column
 
More info for second column
 
</div>
 
[[#Columns]]
 
  
== Testing two ==
+
{{man|||}}{{Dead link|2017|08|08}}
{| border="1" width="100%"
 
| <span style="color: #ff9900"><b>FEATURE RICH</b></span>                                                                  <ul>
 
<li>CGI, FastCGI, LSAPI, PHP, Servlet/JSP, Proxy</li>
 
<li>SSL, IPv4, IPv6</li>
 
<li>Best Ruby on Rail support</li>
 
<li>Apache compatible .htaccess support</li>
 
<li>mod_security compatible request filtering</li>
 
<li>Apache compatible URL rewrite engine</li>
 
<li>MS FrontPage Server Extension</li>
 
</ul>
 
|<span style="color: #ff9900"><b>FAST</b></span>
 
<ul>
 
<li>Up to <b>9</b> times faster than Apache</li>
 
<li>PHP performance increases 50%</li>
 
<li>Best Ruby on Rail performance</li>
 
<li>3 times faster than Apache in SSL</li>
 
<li>Efficient CGI daemon</li>
 
<li>High performance Perl daemon</li>
 
<li>SSL Hardware acceleration</li>
 
</ul>
 
|-
 
|<span style="color: #ff9900"><b>USER FRIENDLY</b></span>
 
<ul>
 
<li>Easy installation</li>
 
<li>Automatic PHP Setup</li>
 
<li>Easy server management through Admin GUI</li>
 
<li>Apply changes on the fly</li>
 
<li>Real-time service monitoring</li>
 
<li>Automatic update agent</li>
 
<li>Virtual host template configuration</li>
 
</ul>                                         
 
|<span style="color: #ff9900"><b>SECURE</b></span>
 
<ul>
 
<li>Strictest HTTP request validation</li>
 
<li>Deny any buffer-overrun attempts</li>
 
<li>Anti-DDoS: Throttling &amp; Connection Accounting</li>
 
<li>System overloading prevention</li>
 
<li>Chroot web server process</li>
 
<li>CGI/FCGI/LSAPI/PHP/RUBY suEXEC </li>
 
<li>Virtual host chroot</li>
 
</ul>
 
|-
 
|<span style="color: #ff9900"><b>RELIABLE</b></span>
 
<ul>
 
<li>Watch Dog monitoring</li>
 
<li>Recover from service failure instantly</li>
 
<li>Zero down time graceful restart</li>
 
</ul>
 
|<span style="color: #ff9900"><b>SCALABLE</b></span>
 
<ul>
 
<li>Small memory footprint</li>
 
<li>Thousands of concurrent connections</li>
 
<li>Increase scalability of external web applications </li>
 
</ul>
 
|-
 
| colspan="2" |<span style="color: #ff9900"><b>EASILY FIT INTO YOUR EXISTING WEB INFRASTRUCTURE</b></span>
 
<ul>
 
<li>Apache interchangeable, operate directly from Apache httpd.conf</li>
 
<li>Web hosting control panel compatible: cPanel, DirectAdmin, Plesk, etc</li>
 
<li>Migration from other web servers is quick and easy </li>
 
<li>No need to purchase extra hardware to cope with your current web server's lack of performance</li>
 
<li> Or have LiteSpeed serve as a content accelerator, compression proxy or security guard in front of your current web/Application server, improving performance, scalability and security.</li>
 
</ul>
 
|}
 
  
== Extra two ==
+
{{man|1|}}{{Dead link|2017|08|08}}
{| border="1" width="100%"
 
| <span style="color: #ff9900">'''FEATURE RICH'''</span>                                                                 
 
  
* CGI, FastCGI, LSAPI, PHP, Servlet/JSP, Proxy
+
{{man|1}}{{Dead link|2017|08|08}}
* SSL, IPv4, IPv6
 
* Best Ruby on Rail support
 
* Apache compatible .htaccess support
 
* mod_security compatible request filtering
 
* Apache compatible URL rewrite engine
 
* MS FrontPage Server Extension
 
|<span style="color: #ff9900">'''FAST'''</span>
 
  
* Up to '''9''' times faster than Apache
+
{{man}}{{Dead link|2017|08|08}}
* PHP performance increases 50%
 
* Best Ruby on Rail performance
 
* 3 times faster than Apache in SSL
 
* Efficient CGI daemon
 
* High performance Perl daemon
 
* SSL Hardware acceleration
 
|-
 
|<span style="color: #ff9900">'''USER FRIENDLY'''</span>
 
  
* Easy installation
 
* Automatic PHP Setup
 
* Easy server management through Admin GUI
 
* Apply changes on the fly
 
* Real-time service monitoring
 
* Automatic update agent
 
* Virtual host template configuration                                         
 
|<span style="color: #ff9900">'''SECURE'''</span>
 
  
* Strictest HTTP request validation
+
word words {{ic|something code like inline}} words words
* Deny any buffer-overrun attempts
 
* Anti-DDoS: Throttling &amp; Connection Accounting
 
* System overloading prevention
 
* Chroot web server process
 
* CGI/FCGI/LSAPI/PHP/RUBY suEXEC
 
* Virtual host chroot
 
|-
 
|<span style="color: #ff9900">'''RELIABLE'''</span>
 
  
* Watch Dog monitoring
+
{{ic|<nowiki>Control</nowiki>}}
* Recover from service failure instantly
 
* Zero down time graceful restart
 
|<span style="color: #ff9900">'''SCALABLE'''</span>
 
  
* Small memory footprint
+
== Packages ==
* Thousands of concurrent connections
 
* Increase scalability of external web applications
 
|-
 
| colspan="2" |<span style="color: #ff9900">'''EASILY FIT INTO YOUR EXISTING WEB INFRASTRUCTURE'''</span>
 
  
* Apache interchangeable, operate directly from Apache httpd.conf
+
{{pkg|rofi}} - [[Rofi]]
* Web hosting control panel compatible: cPanel, DirectAdmin, Plesk, etc
 
* Migration from other web servers is quick and easy
 
* No need to purchase extra hardware to cope with your current web server's lack of performance
 
*  Or have LiteSpeed serve as a content accelerator, compression proxy or security guard in front of your current web/Application server, improving performance, scalability and security.
 
|-
 
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=202775&oldid=202774 Sandbox]
 
|2012-05-24 19:19:18
 
|content
 
|test
 
|-
 
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=202775&oldid=202774 Sandbox]
 
|2012-05-24 19:19:18
 
|content
 
|test
 
|-
 
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=202775&oldid=202774 Sandbox]
 
|2012-05-24 19:19:18
 
|content
 
|test
 
|-
 
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=202775&oldid=202774 Sandbox]
 
|2012-05-24 19:19:18
 
|content
 
|test
 
|-
 
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=203030&oldid=203029 Sandbox]
 
|2012-05-27 23:19:27
 
|content
 
|test
 
|-
 
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=203030&oldid=203029 Sandbox]
 
|2012-05-27 23:19:27
 
|content
 
|test
 
|-
 
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=203030&oldid=203029 Sandbox]
 
|2012-05-27 23:19:27
 
|content
 
|test
 
|-
 
|[https://wiki.archlinux.org/index.php?title=Sandbox&diff=217099&oldid=217098 Sandbox]
 
|2012-08-08&nbsp;16:38:43
 
|content
 
|test
 
|-
 
|[https://wiki.archlinux.org/index.php?title=Sandbox&action=historysubmit&diff=217240&oldid=217099 Sandbox]
 
|2012-08-09&nbsp;14:34:16
 
|content
 
|test
 
|}
 
test
 
  
== Tesztrész ==
+
{{aur|sway-wlroots-git}} - [[Sway]] using wlroots

Latest revision as of 12:23, 16 August 2018

You can use this page to practise editing the wiki.

test

1.1

this is paragraph 1

this is another paragraph and another one.

file.i
C source code that should not be preprocessed.
file.ii
C++ source code that should not be preprocessed.
file.m
Objective-C source code. Note that you must link with the libobjc library to make an Objective-C program work.

Arch

test spoiler:
Cada uno es como Dios le hizo, y aún peor muchas veces.
test test
I can't live, if living is without 'U'

Test < > chars in pre and code

this < is < sparta >

what is this thing <doing> <<< >>> here

test

Third heading

This is a para also

Fourth heading

Me too
New line

bold and italics

Bold and italics are in five apostrophes

Fifth Level Heading

no indent

indent
more indent
and more

"No andes, Sancho, desceñido y flojo, que el vestido descompuesto da indicios de ánimo desmalazado."

Ingredientes, panqueques con manjar!!

Ingredientes Arch

* 2 Unidades de Huevos
* 1 Taza de Harina
* 1 Taza de Leche
* 1 Cucharadita de Aceite
* 1 Pizca de Sal
* Manjar (dulce de leche)
* 1 Paquete de Azúcar flor para decorar

Code block

Hello World program
#include <stdio.h>
int main(int argc, char* argv[])
{
  printf("Hello World!\n");
  return 0;
}

cb2

asdf
lkl

text

  • first bullet
  • second bullet
    • nested bullet
  • third bullet

text

  1. first point
  2. second point
    1. nested point
  3. third point

text

definition term
some description

Bold textItalic text link title

strike out

test: asfd

Note: This is a note.
Note: This is another note
Note: The creation of these notes has been note-iced ;)
testing indent
   testing indent
Lorem Ipsum
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin egestas, magna non sollicitudin commodo, sapien elit semper sapien, adipiscing consectetur nisi ipsum ut elit. Sed ac neque ut nulla tempor porttitor. Mauris interdum. Cras feugiat sodales nibh. Proin neque turpis.

Template sandbox

Section for testing Template:Sandbox.

|- | Testing message. | {{{3}}} | not packaged? search in AUR | {{{2}}}

|- | Msg | {{{3}}} | not packaged? search in AUR | Second

Code blocks

<i>foo</i> [[bar]]
foo bar
foo bar

Inline monospace.

TEST (test)

Is this how I write stuff underneath?

Is this how I link to Wine ??

Is this how I link to WINE#PlayOnLinux < - Nope.

Is this how linking pages works? Wine#PlayOnLinux

Tell me I have it... WINE#PlayOnLinx < - Im glad we have a sandbox!

This should work: WINE #PlayOnLinux

I GOT IT YES! TEST OF BOLD AND ITALICS

Is this how I [www.google.ca LINK] to an external site? < - Requires https??

Take me to google! < - does this work?

    Yup! Also code tags work.  
Indent?
More indent?
Looks good to me.

man pages

working

intro(1)

archlinux(7)

mount(8)

wpa_supplicant(8)

intro(1) - explicit URL should be removed

intro(1) - empty URL should be removed

intro(1) - arbitrary URL should be removed when the other template parameters make up a valid URL

broken

mount(1)[dead link 2017-08-08] - wrong number

introintro(1)[dead link 2017-08-08] - wrong name

archlinux(7)[dead link 2017-08-08] - wrong URL

intro(1) - invalid section

mount(1) - empty url= parameter should be preserved

invalid

()[dead link 2017-08-08]

(1)[dead link 2017-08-08]

{{{2}}}(1)[dead link 2017-08-08]

{{{2}}}({{{1}}})[dead link 2017-08-08]


word words something code like inline words words

Control

Packages

rofi - Rofi

sway-wlroots-gitAUR - Sway using wlroots