From Wikiquote
Jump to navigation Jump to search

This is a copy of the master help page at m:Help:URL. Do not edit this page. Edits will be lost in the next update from the master page. Either edit the master help page for all projects at Meta, or edit the project-specific text at Template:Ph:URL. You are welcome to copy the exact wikitext from the master page at Meta and paste it into this page at any time.

Editing overview

Starting a new page

  1. Page name


  1. Links
  2. Piped links
  3. Interwiki linking
  4. Variables
  5. URLs
  6. Anchors


  1. Formulas
  2. Lists
  3. Tables
  4. HTML in wikitext
  5. Image & File uploads
  6. Image page


  1. Sections
  2. Templates
  3. Categories
  4. Redirects
  5. Namespaces
  6. Renaming (moving) a page

Fixing mistakes and vandalism

  1. Reverting edits
  2. Testing

Saving effort

  1. Editing shortcuts
  2. Editing toolbar
  3. Magic words


  1. Edit summary
  2. Talk page
  3. Edit conflict
  4. Minor edit

Special characters

  1. Turkish characters
  2. Romanian characters


  1. WikiHiero syntax — warning: lots of images! (for Egyptian hieroglyphs)
  2. EasyTimeline syntax

Frequently Asked Questions


A link in external link style can be of the forms:

  • target: is rendered as
  • [ target label ], with a blank space in between: [ wikimedia] gives wikimedia (see also Help:Piped link)
  • [ target ] - these are automatically labelled with serial numbers 1, 2, 3, ...: [] gives [1]

The target is a URL which can start with "http://" or "ftp://"; "file://" does not work (by default; and if enabled, it only works in MSIE).

All characters of the URL must be among:

A-Z a-z 0-9 ._\/~%-+&#?!=()@

If a URL contains a different character it should be converted; for example, ^ has to be written %5e, the hexadecimal ASCII value with a percent sign in front. A blank space can also be converted into an underscore.


 "   #   $   %   &   '   *   ,   :   ;   <   >   ?   [   ^   `   {   |   }
%22 %23 %24 %25 %26 %27 %2a %2c %3a %3b %3c %3e %3f %5b %5e %60 %7b %7c %7d

For the other characters either the code or the character can be used in internal and external links, they are equivalent. The system does a conversion when needed. E.g.


is rendered as À_propos_de_Méta, almost like À propos de Méta, which leads to this page on Meta with in the address bar the URL

whileÀ_propos_de_Méta leads to the same.

See also (in Wikipedia): Internationalized domain names and Punycode.

URLs of pages within the projects


See w:Wikipedia:URLs. On other projects everything works the same, except that the domain names vary:

  • with xx the language code, see m:Complete list of language Wikipedias available
  • ( redirects there)

A URL starting with redirects to the corresponding one starting with en; only itself leads to a portal page instead of the main page of the English Wikipedia:

In projects outside Wikimedia the "w/" in URLs like is sometimes not used, sometimes different, e.g.:

The default is /wiki/wiki.phtml, with in DefaultSetting.php [2]:

$wgScriptPath = "/wiki";
$wgScript     = "{$wgScriptPath}/wiki.phtml";

There may be other variations, compare:

Use in templates


For use in templates, note that all URLs on e.g. the English Wikipedia can be written in the form{{{1}}}

This requires {{{1}}} to be written with underscores and escape codes (if applicable). To benefit from the conversion carried out by localurl, two parameters are needed:{{localurl:{{{1}}}|{{{2}}}}}

This works for a link in external link style to a page in the same project or a project which uses the same string in the URL between the server name and the question mark ($wgScript, on Wikimedia "/w/index.php"), but not for links to other projects.

Old versions of pages


All old versions of all pages are numbered (with oldid) approximately in the order of becoming an old version, i.e. in chronological order of the next edit of the same page.

See also Linking to specific versions of articles.

New pages


New pages are numbered (with curid) chronologically.

See also m:Multiple titles.

From MediaWiki 1.5 page versions get a number "oldid" as soon as they are created; they are produced by variable {{REVISIONID}}. The URL is like in the previous section.






In some cases of caching problems, to update a page it can help to use "action=purge", in a URL like //


There can be various kinds of errors in the URL. With some the server is not even reached, with others the server takes some action. The server may also go to the correct page and just ignore a wrong parameter or anchor.

See also


Help:Namespace, m:Eliminating index.php from the url.

Wikiquote-specific content

Edit this Wikiquote- and subject-specific template
Help contents - all pages in the Help namespace: Meta b: c: n: w: q: wikisource wiktionary

Reading: Overview | Go | Search | URL | Namespace | Page name | Section | Link | Backlinks | Piped link | Interwiki link | Redirect | Variable | Category
Tracking changes: Recent | (enhanced) | Related | Watching pages | Page history | Diff | User contributions | Edit summary | Minor edit
Logging in and preferences: Logging in | Preferences | User style
Editing: Overview| New page | Images/files | Image description page | Special characters | Formula | Table | EasyTimeline | Template intro | Renaming (moving) a page | Automatic conversion of wikitext | Talk page | Testing | rlc
Projects: Meta (master page) | Wikibooks | Wikicommons | Wikinews | Wikipedia | Wikiquote | Wikisource | Wiktionary
For other languages see Meta.

Wikimedia Commons has media related to: