Difference between revisions of "Help:Contents"

From Dreamwidth Notes
Jump to: navigation, search
m (Source highlighting: use new tagname consistently)
m (Undo revision 11461 by Ninetydegrees not a typo!)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
For general information on editing a wiki, see the [http://meta.wikimedia.org/wiki/Help:Editing MediaWiki manual] and this [http://upload.wikimedia.org/wikipedia/meta/5/56/Wiki-refcard.png Wiki Reference Card].   
 
For general information on editing a wiki, see the [http://meta.wikimedia.org/wiki/Help:Editing MediaWiki manual] and this [http://upload.wikimedia.org/wikipedia/meta/5/56/Wiki-refcard.png Wiki Reference Card].   
  
There are also some specific features to editing this wiki, such as [[#Source highlighting|source highlighting]] and [[#Linking to LJ and LJ clone users|linking to LJ and LJ clone users]].
+
There are also some specific features to editing this wiki, such as: [[#Source highlighting|source highlighting]], [[#Linking to LJ and LJ clone users|linking to LJ and LJ clone users]] and [[#Linking to Gists on Github|linking to Gists on GitHub]].
  
 
==Navigating the site==
 
==Navigating the site==
Line 26: Line 26:
 
=== Formatting Text ===  
 
=== Formatting Text ===  
  
<em>italicize text</em> by using &lt;em&gt;: &lt;em&gt;italicized text&lt;em&gt;
+
<em>italicize text</em> by using &lt;em&gt;: &lt;em&gt;italicized text&lt;/em&gt;
  
<strong>bold text</strong> by using &lt;strong&gt;: &lt;strong&gt;bold text&lt;strong&gt;
+
<strong>bold text</strong> by using &lt;strong&gt;: &lt;strong&gt;bold text&lt;/strong&gt;
  
 
&lt;nowiki&gt; text without wikification&lt;/nowiki&gt; will not wikify the text put between the two tags.
 
&lt;nowiki&gt; text without wikification&lt;/nowiki&gt; will not wikify the text put between the two tags.
Line 78: Line 78:
 
==== Links to  a section of the page you're viewing ====
 
==== Links to  a section of the page you're viewing ====
  
<nowiki>[[#section|section name]]</nowiki> is an internal link to the [[#section|section]] of the page you're editing.
+
<nowiki>[[#section name|text]]</nowiki> is an internal link to the [[#section|section]] of the page you're editing.
 +
 
 +
==== Links to other pages on the Wiki ====
 +
 
 +
<nowiki>[[page name|text]]</nowiki>
 +
 
 +
==== Links to a category page on the Wiki ====
 +
 
 +
<nowiki>[[:Category:category name|text]]</nowiki>
  
 
==== Links to other external pages ====
 
==== Links to other external pages ====
  
 
<nowiki>[http://www.google.com/ Google]</nowiki> is an external link to [http://www.google.com/ Google].
 
<nowiki>[http://www.google.com/ Google]</nowiki> is an external link to [http://www.google.com/ Google].
 
  
 
=== Categorizing ===  
 
=== Categorizing ===  
Line 92: Line 99:
 
=== Creating Redirects ===
 
=== Creating Redirects ===
  
First, [[#Creating Pages and Categories|create the page]] you want to redirect. Then write <nowiki>#REDIRECT [[pagename]]</nowiki> or <nowiki>#redirect [[pagename]]</nowiki>.
+
First, [[#Creating Pages and Categories|create the page]] you want to redirect your article to. Then move the content of the old page to the new one. Finally, edit the old page to add the redirect: <nowiki>#REDIRECT [[pagename]]</nowiki> or <nowiki>#redirect [[pagename]]</nowiki>
  
 
N.B. Extra text after the #REDIRECT command is ignored but category-tags are ''not'' ignored.
 
N.B. Extra text after the #REDIRECT command is ignored but category-tags are ''not'' ignored.
 
  
 
=== Uploading Images ===  
 
=== Uploading Images ===  
Line 110: Line 116:
 
=== Inserting Images ===
 
=== Inserting Images ===
  
<nowiki>[[Image:wikiname.png]</nowiki> will insert an image into a page.
+
<nowiki>[[Image:wikiname.png]]</nowiki> will insert an image into a page.
 
+
<nowiki>[[Image:wikiname.png|thumb|caption]</nowiki> will insert a thumbnail with a caption into a page.
+
  
 +
<nowiki>[[Image:wikiname.png|thumb|caption]]</nowiki> will insert a thumbnail with a caption into a page.
  
 
=== Signing Comments on Talk Pages ===
 
=== Signing Comments on Talk Pages ===
Line 139: Line 144:
  
 
Are the three common ones.  Further instructions [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Usage here].
 
Are the three common ones.  Further instructions [http://www.mediawiki.org/wiki/Extension:SyntaxHighlight_GeSHi#Usage here].
 +
 +
== Linking to Gists on Github ==
 +
 +
You can use the number ID of a Gist to embed it on the wiki using this syntax:
 +
 +
<nowiki><gist>12345829</gist></nowiki>
  
 
== Linking to DW, OpenID, LJ, and LJ clone users ==
 
== Linking to DW, OpenID, LJ, and LJ clone users ==

Latest revision as of 13:51, 2 June 2013

For general information on editing a wiki, see the MediaWiki manual and this Wiki Reference Card.

There are also some specific features to editing this wiki, such as: source highlighting, linking to LJ and LJ clone users and linking to Gists on GitHub.

Navigating the site

You can search for one or several words in the Search Box.

You can see a list of all pages alphabetically or by popularity.

You can also see a list of all categories alphabetically or by size.

Editing Help

Creating Pages and Categories

To create a page, simply type its name in the Search box. This will link you to a page saying it doesn't exist. There, you'll see the following sentence: "You can create this page." Click on it. Enter text in the box.

To create a category, simply insert a link to this category in a page. Like this: [[Category:category name]]. If this category doesn't already exist, it will be created automatically.

To create a subcategory:

  • first create the subcategory by linking your page to it: [[Category:subcategory name]]
  • then go the new subcategory page: http://wiki.dwscoalition.org/notes/Category:subcategory name
  • click on edit and add a link to the category you want it to be a part of: [[Category:category name]]

Formatting Text

italicize text by using <em>: <em>italicized text</em>

bold text by using <strong>: <strong>bold text</strong>

<nowiki> text without wikification</nowiki> will not wikify the text put between the two tags.

Click on 'Enter' twice to start a new line.

Indenting Text

: will create an indent. Add a : sign to increase the indentation. For example:

: First level of indentation
:: Second level of indentation
::: Third level of indentation
:: Second level of indentation again

This is particularly useful in Discussion pages.


Creating Sections in a Page

= Section = will create a section.

== Subsection == will create a subsection.

=== Sub-subsection === will create a sub-subsection.

Etc, etc.

Making Lists

* will create a list with dots. Add a * sign for each sublevel. For example:

  • * Main level
    • ** Sublevel
      • *** Sub-sublevel
    • ** Sublevel again


# will create a numbered list. Add a # sign for each sublevel. For example:

  1. # Main level
    1. ## Sublevel
      1. ### Sub-sublevel
    2. ## Sublevel again


Making Links

Links to a section of the page you're viewing

[[#section name|text]] is an internal link to the section of the page you're editing.

Links to other pages on the Wiki

[[page name|text]]

Links to a category page on the Wiki

[[:Category:category name|text]]

Links to other external pages

[http://www.google.com/ Google] is an external link to Google.

Categorizing

[[Category:category name]] will link the page to a category. If this category doesn't already exist, it will be created automatically.


Creating Redirects

First, create the page you want to redirect your article to. Then move the content of the old page to the new one. Finally, edit the old page to add the redirect: #REDIRECT [[pagename]] or #redirect [[pagename]]

N.B. Extra text after the #REDIRECT command is ignored but category-tags are not ignored.

Uploading Images

  1. Go to Special:Upload.
  2. Browse to find your file.
  3. Enter the name and extension you want it to have on Wiki in 'Destination filename'. For example: wiki.png
  4. Enter a description in 'Summary'.
  5. Click on 'Upload File".

You can see the list of all uploaded files on Special:Imagelist.


Inserting Images

[[Image:wikiname.png]] will insert an image into a page.

[[Image:wikiname.png|thumb|caption]] will insert a thumbnail with a caption into a page.

Signing Comments on Talk Pages

Three ~~~ give your user name: uw

Four ~~~~ give your user name plus date/time: uw 07:27, 21 October 2006 (EDT)


Source highlighting

You can highlight source by surrounding it with the <syntaxhighlight> tag:

<syntaxhighlight lang="perl">
YOUR PERL SOURCE HERE
</syntaxhighlight>
<syntaxhighlight lang="html4strict">
YOUR HTML SOURCE HERE
</syntaxhighlight>
<syntaxhighlight lang="s2">
YOUR S2 SOURCE HERE
</syntaxhighlight>

Are the three common ones. Further instructions here.

Linking to Gists on Github

You can use the number ID of a Gist to embed it on the wiki using this syntax:

<gist>12345829</gist>

Linking to DW, OpenID, LJ, and LJ clone users

DW Links

LJ Links

IJ Links

JF Links

Generic LJ Clone Links

  • <genuser url="greatestjournal.com">gj_user</genuser> will make [info]gj_user (greatestjournal.com)
  • <gencomm url="greatestjournal.com">gj_comm</gencomm> will make [info]gj_comm (greatestjournal.com)
  • <gensyn url="greatestjournal.com">gj_syn</gensyn> will make [info]gj_syn (greatestjournal.com)

OpenID Links