Difference between revisions of "ArchWiki:Sandbox"

From ArchWiki
Jump to: navigation, search
(cb2: test)
 
(438 intermediate revisions by 54 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}}
+
-------------------------------------------------------
  
{{Sandbox}}
+
==test
{{Keypress|Ctrl}}
+
===dl
==这是一个一级标题==
+
====dt
===这是一个二级标题===
+
=====dd
*1
+
== test ==
*2
+
=== 1.1 ===
#1
 
#2
 
#4
 
*{{警告|警告警告}}
 
  
Some pointers to learn the right syntax:
+
this is paragraph 1
* 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? -->
+
this is another paragraph and another one.
  
{{:Sandbox/New Entry}}
+
<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>
  
szcrsex {{ic|a}}aa</code> rxsrse
+
==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 ==
 +
 
 +
this < is < sparta >
 +
 
 +
what is this {{ic|thing <doing> <<< >>>}} here
  
drvtv {{ic|a}}aa</tt> restdf
+
==test==
 +
===Third heading===
 +
This is a para also
 +
====Fourth heading====
 +
::Me too<br>New line
  
<tt>'''this is test'''</tt>
+
'''''bold and italics'''''
  
<code>a
+
''''' Bold and italics are in five apostrophes'''''
aa</code>
+
=====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."
  
{{bc|
+
==Ingredientes, panqueques con manjar!!==
a}}</pre>
 
  
{{ic|aaa
 
bbb}}
 
  
==Arch linux==
+
{{hc|Ingredientes Arch|
  
archlinux is the best linux distro available.
+
* 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
 +
}}
  
ǝlqɐlıɐʌɐ oɹʇsıp xnuıl ʇsǝq ǝɥʇ sı xnuılɥɔɹɐ
+
== Code block ==
  
archlinux jest najlepszym linuksowym distro
+
{{hc|Hello World program|
 +
#include <stdio.h>
 +
int main(int argc, char* argv[])
 +
{
 +
  printf("Hello World!\n");
 +
  return 0;
 +
}
 +
}}
  
#<!-- floating sidebar? -->
+
== cb2 ==
#<div class="toc" style="position:fixed;left:0;bottom:0;width:139px;height:120px;">This is a test</div>
+
{{hc|asdf|
 +
lkl
 +
}}
  
This is <pre style="display: inline;">inline</pre> maybe?
+
text
  
Maybe <pre style="display: inline; padding: 0.1em 0.2em;">this one</pre> can be inline instead... (am I really discussing even here???)
+
*first bullet
 +
*second bullet
 +
**nested bullet
 +
*third bullet
  
#**abcds <br>
+
text
--------[[Image:Tango-two-arrows.png]]
 
#**sdfaf
 
# pacman -S foo bar
 
  
{{ic| fsdgsdfgdhdfgh}}
+
#first point
 +
#second point
 +
##nested point
 +
#third point
  
 +
text
  
????????????????????//oiyiouoj
+
; definition term
 +
: some description
  
=A very big heading=
+
'''Bold text'''''Italic text''  [http://www.example.com link title]
  
这里可以使用中文吗?
+
<s>strike out</s>
test test 321
 
BLAH TEST
 
  
{{Keypress|A}}
+
test: asfd
#helo
 
^^^^
 
  
{{Keypress|Return}}
+
{{Note|This is a note.}}
  
# cat /boot/vmlinuz26 > /dev/dsp
+
{{Note|This is another note}}
# pacman -S foo bar
 
  
Pacman utils
+
{{Note|The creation of these notes has been note-iced ;)}}
  
$ pacman -Ss <the-name-of-a-package>
+
:::testing indent
$ sudo pacman -S <the-name-of-a-package>
+
    testing indent
 +
{{hc|Lorem Ipsum|{{Lorem Ipsum}}}}
  
or (as root)
+
== Template sandbox ==
  
# pacman -Ss <the-name-of-a-package>
+
Section for testing [[Template:Sandbox]].
# pacman -S <the-name-of-a-package>
 
  
{{hc|File Name|File Content}}
+
{{Sandbox|Testing message.}}
  
{{Note|Note text}}
+
{{Sandbox|Msg|2=Second|talk=Talk|section=Section}}
  
{{Tip|Tip text}}
+
== Code blocks ==
  
{{Warning|Warning text}}
+
<pre>
 +
<i>foo</i> [[bar]]
 +
</pre>
  
{{ic|pacman --sync --refresh --sysupgrade}}
+
<i>foo</i> [[bar]]
  
{{ic|/etc/rc.local}}
+
{{bc|<i>foo</i> [[bar]]}}
  
{{Progressbar|13}}
+
Inline <code>monospace</code>.
{{Progressbar|50}}
 
  
{| border="1"
+
== TEST ==
| A || B
+
Is this how I write stuff underneath?
|-  
+
 
| C || D
+
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]]
  
== Q and A ==
+
<s>Tell me I have it... [[wine:#PlayOnLinux.2FPlayOnMac|WINE#PlayOnLinx]]</s> < - Im glad we have a sandbox!
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
+
This should work: [[wine#PlayOnLinux.2FPlayOnMac|WINE #PlayOnLinux]]
to the wiki, which can then be used as such:
 
  
That's a test!
+
''I GOT IT'' '''YES!''' '''''TEST OF BOLD AND ITALICS'''''
  
[[Image:Tango-two-arrows.png]]
+
<s>Is this how I [www.google.ca LINK] to an external site?</s> < - Requires https??
  
=Top Level Heading (title)=
+
[https://www.google.ca Take me to google!] < - does this work?
 +
    Yup! Also code tags work. 
  
==Article headings==
+
:Indent?
===Inner headings===
+
::More indent?
====Innerer headings====
+
:::Looks good to me.
=====Innererer headings=====
 
======Inest headings======
 
=======Aargh!=======
 
  
==And Here's the Code==
+
===Test, part 2===
line1
 
line2
 
line3
 
line4
 
line5
 
==And Here's the Code==
 
(second part)
 
  
==OK. Another heading==
+
Is this how I create a subsection in the table of contents?
= 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 ==
+
{| class="wikitable mw-collapsible mw-collapsed"
{| border="1" width="100%"
+
! The answer is...:
| <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>
+
| YES! Also hide tags work!
<ul>
+
|}
<li>Easy installation</li>
+
 
<li>Automatic PHP Setup</li>
+
{| class="wikitable mw-collapsible mw-collapsed"
<li>Easy server management through Admin GUI</li>
+
! test spoiler:
<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>
+
| Cada uno es como Dios le hizo, y aún peor muchas veces.
<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 pages ==
{| border="1" width="100%"
 
| <span style="color: #ff9900">'''FEATURE RICH'''</span>                                                                 
 
  
* CGI, FastCGI, LSAPI, PHP, Servlet/JSP, Proxy
+
=== working ===
* 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|1|intro|NOTES}}
* PHP performance increases 50%
+
 
* Best Ruby on Rail performance
+
{{man|7|archlinux|url=https://projects.archlinux.org/svntogit/packages.git/tree/filesystem/trunk/archlinux.7.txt#n15}}
* 3 times faster than Apache in SSL
+
 
* Efficient CGI daemon
+
{{man|8|mount|FILESYSTEM-INDEPENDENT_MOUNT OPTIONS}}
* High performance Perl daemon
+
 
* SSL Hardware acceleration
+
{{man|8|wpa_supplicant|url=}}
|-
+
 
|<span style="color: #ff9900">'''USER FRIENDLY'''</span>
+
{{man|1|intro|NOTES}} - explicit URL should be removed
 +
 
 +
{{man|1|intro|NOTES}} - empty URL should be removed
 +
 
 +
{{man|1|intro|NOTES}} - arbitrary URL should be removed when the other template parameters make up a valid URL
 +
 
 +
=== broken ===
 +
 
 +
{{man|1|mount}}{{Dead link|2017|08|08}} - wrong number
 +
 
 +
{{man|1|introintro}}{{Dead link|2017|08|08}} - wrong name
 +
 
 +
{{man|7|archlinux|url=https://projects.archlinux.org/svntogit/packages.git/tree/foo}}{{Dead link|2017|08|08}} - wrong URL
 +
 
 +
{{man|1|intro|SOME SECTION}} - invalid section
  
* Easy installation
+
{{man|1|mount|url=}} - empty {{ic|1=url=}} parameter should be preserved
* 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
+
=== invalid ===
* 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
+
{{man|||}}{{Dead link|2017|08|08}}
* Recover from service failure instantly
 
* Zero down time graceful restart
 
|<span style="color: #ff9900">'''SCALABLE'''</span>
 
  
* Small memory footprint
+
{{man|1|}}{{Dead link|2017|08|08}}
* 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
+
{{man|1}}{{Dead link|2017|08|08}}
* 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 ==
+
{{man}}{{Dead link|2017|08|08}}

Latest revision as of 11:39, 31 August 2017

You can use this page to practise editing the wiki.


==test ===dl ====dt =====dd

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

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.

Test, part 2

Is this how I create a subsection in the table of contents?

The answer is...:
YES! Also hide tags work!
test spoiler:
Cada uno es como Dios le hizo, y aún peor muchas veces.

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]