Help:Editing

From QED

Jump to: navigation, search
Help
Related topics

For brief help about editing, please refer to one of the following summaries:

For comprehensive help about editing, see:

For help on specific topics not covered on this page, see the navigation bar on the right and the See also section below.

QED policies governing contributions are described at Policies.

Contents

New pages

New pages can be created in several ways, for example:

  1. create a link (e.g. [[TigerNet/Glossary]]) in an existing page, and then visit the link;
  2. type the full name of the new page in the search box, press the Go button, and then follow the instructions to create the page;
  3. add a new page to a specific Category when visiting a category page.

In all cases, spaces and underscores may be used (e.g. [[Course:ABC123/sandbox]]), but each sequence of consecutive spaces and underscores will be treated as a single underscore.

QED pages may be arranged in a hierarchy that is analogous to the Windows or Unix folder system. For example, assuming your QED login is Tiger you could effectively create a subfolder under User:Tiger by creating pages such as User:Tiger/ART101/Degas, User:Tiger/ART101/Chagall, etc.

The Relative Hyperlinks feature makes it easy to create pages within a page hierarchy as described below.

Naming a New Page

Page names may contain spaces and many special characters including punctuation, but the colon has a special meaning and to avoid confusion should usually only be used in connection with namespaces. More specifically, the following characters are not allowed in page titles:

  • # < > [ ] | { }
  • The non-printable characters with values 0 through 31, and the "delete" character 127.

Some other considerations are as follows:

  • + will be translated to a space
  • Spaces and underscores are treated as being equivalent, but underscores will be displayed as spaces.
  • Consecutive spaces and underscores are treated as a single underscore except that leading and trailing spaces and underscores are ignored.
  • The case of letters is significant in page names except that if the first character is lowercase, it is converted to uppercase.
  • The "/" cannot be used as the first character of a page name and should generally not be used as the last character.
  • The "%" character should be avoided because of a problem with the Apache server.

To create a page within a folder, the name of the page must begin with the folder name. For example, the page MG/Maps is in the "MG/" folder. To request that a new folder with its own logo be created, send mail to qed@princeton.edu.

Creating a blank or empty page

To create an empty page, first create a page with the desired name (that is, save it with some content — a single character will suffice), and then delete the contents. To create a blank page in one step, add a blank character such as &nbsp;

Hyperlinks

Hyperlinks are of seven basic kinds:

What to write How it displays
within a page [[Help:Navigation#Notes for Readers]] Help:Navigation#Notes for Readers
to other pages within QED [[Help:Contents]] Help:Contents
to external pages specified using a URL [http://www.google.com] [1]
to external pages specified using a URL http://www.google.com http://www.google.com
to a page which will open in a new tab or window {{target|http://www.google.com|Google}} Google
to a page archived on web.archive.org {{archive|http://infoshare1.princeton.edu/katmandu/electronic/ejpage.html|ejpage}} ejpage
to pages specified using the interwiki table (see below) [[google:tiger]] google:tiger


The text to be displayed can be changed in several ways as illustrated here:

What to write How it displays
[[Help:Navigation|Navigational Help]] Navigational Help
[[Help:Navigation|]] Navigation
[http://www.google.com Visit Google] Visit Google
{{target|Help:Target}} Help:Target

Red Hyperlinks

Hyperlinks to QED pages that do not (yet) exist are usually displayed in red, like so. If you are logged in and have permission to create a page in the namespace specified by the link, then clicking on the link will allow you to create the page.

Green Hyperlinks

See Template:archive.

Relative Hyperlinks

Pages on QED can be organized into page/subpage hierarchies using the forward slash ("/") character as a delimiter.

Relative links within a page hierarchy can be created using the "wiki syntax" indicated in the following table, which assumes the page on which the indicated wikitext occurs is named "Top/a":

To link to: wikitext Result Appearance
the parent [[../]] [[Top]] Top
a sibling [[../b]] [[Top/b]] Top/b
a subpage [[/x]] [[Top/a/x]] x

One can use the pipe character (|) as described above, e.g. [[../ | PARENT]] produces a hyperlink to the parent with "PARENT" as the anchor text.

Notes:

  • If the prefix "../" is used on a top level page, it has no effect;
  • The prefix "./" does not produce a hyperlink.

Specifically:

[[../y]] at the top level produces [[../y]]
[[./y]] at the top level produces [[./y]]

Interwiki Links

As illustrated above, a special notation for so-called interwiki links is available to simplify creating links to other web sites. For example:

  • [[google:tiger]] abbreviates a Google search and appears like this: google:tiger
  • [[wikipedia:tiger]] is short for [http://en.wikipedia.org/wiki/tiger] and appears like this: wikipedia:tiger
  • [[wikipedia:tiger|]] is short for [http://en.wikipedia.org/wiki/tiger|] and appears like this: tiger

Other interwiki prefixes can be viewed here.

Miscellaneous Tips

  • See Help:Boxed text for guidelines regarding how to demarcate blocks of text such as quotations, warnings, extracts, etc.
  • If you would like a spelling checker that works with the MediaWiki editor, the Google toolbar may be used.
  • If <br> does not force the kind of break you were expecting (e.g. after a table), use Template:Clr (i.e., insert {{Clr}} at the desired break point).
  • {{subst:Template:GFDL}} differs from {{Template:GFDL}} in that the prefix subst: causes the content of the template to be inserted into the page source when the page is saved, whereas the latter reference is resolved when the page is rendered — see Help:Dynamic Pages.

Footnotes

See Help:Cite for help on using the <ref> and <references/> tags to create and manage footnotes.

See also

Personal tools