| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
Herb Information - The English name, Latin name, Family and Local Names holistic-herbalist.com | Dental Domain Names, Domain name Support tntdental.com | Orthodontists in No Name, CO - Braces in Colorado, No Name orthopages.com | Page Name midwifery2020.org |
For guidelines on naming pages in Wikipedia, see Wikipedia:Naming conventions. Name of a Wikipedia article. The wikilink for that article is Salvo_D'Acquisto, and the URL is http://en.wikipedia.org/wiki/Salvo_D'Acquisto. Every page on Wikipedia has a unique name (a string of characters) which appears in that page's URL and by which it can be wikilinked. Various different forms of the name can be used. In particular, the name as it appears in the URL uses underscore characters where the name displayed in large font as the page header uses spaces. Details of the forms of page names and restrictions on them are given below.
[edit] Namespace and base name
A page name may begin with a namespace prefix – a string (ending with a colon) which the MediaWiki software recognizes as placing a page in a particular namespace. For example, the present page is in the Help namespace. If the name does not begin with any of these recognised prefixes, then it is said to be in the main namespace. A full pagename therefore takes one of the following forms:
This full pagename can be generated by the magic word {{FULLPAGENAME}}. The base name (the full name less any namespace prefix) is generated by {{PAGENAME}}. The term "page name" is somewhat ambiguous for pages outside the main namespace, as it may refer to either the full pagename or just the base name, depending on context. [edit] Invalid page names
In general, a page name is any string of one or more Unicode characters. However, this is subject to certain restrictions. The following are not valid as page titles:
Note also that it is not possible for editors to create page titles beginning with the virtual namespace prefixes Media: and Special:. [edit] Problematic namesIt may be desired to create an encyclopedia article whose title happens to begin with one of the standard namespace prefixes, such as Wikipedia: The Big Adventure or Talk: Secrets are Bad. This is technically possible (although the space after the colon would have to be added with DISPLAYTITLE as described below); however the article would be in the wrong namespace, which would interfere with Search and other functionality. The naming guideline recommends redirecting to an alternative title within mainspace in such situations. A forward slash ( / ) in the pagename provides special functionality in a namespace where the subpage feature has been enabled. This feature is not active in Wikipedia's main namespace, so a forward slash in an article name has no particular effect (although it may affect the behaviour of the corresponding talk page, as subpages are enabled in talk space). [edit] Changing the displayed titleIt is possible to change the way a page title is displayed at the top of its page. This is done using the magic word DISPLAYTITLE. Under the present software configuration, only limited modifications can be made: the displayed title must still resolve to the true name of the page (i.e. if the displayed title is copied and pasted into a wikilink, the link should point to the original page). This means that DISPLAYTITLE can be used only for such modifications as changing an initial letter to lower case, adding initial colons, changing spaces to underscores, adding a space after a namespace prefix, and adding formatting (italics and bolding). The syntax for DISPLAYTITLE is {{DISPLAYTITLE:DesiredTitle}}. However it is often applied through a template. Currently available templates are {{lowercase title}}, used on such articles as eBay and iPod, and {{italic title}}, which is used to italicize names of genera and species. (These will work irrespective of where they are placed in the wikitext, but it is normal to place them at the beginning.) [edit] Alphabetical orderWhere page titles are placed in alphabetical order by the system (as at Special:AllPages and on category pages), ASCII-based ordering is used rather than the truly alphabetical ordering that would be expected. For details, see Help:Alphabetical order. [edit] Spaces, underscores and character codingIn page names, a blank space is equivalent with an underscore. A blank space is displayed in the large font title at the top of the page, while the URLs show an underscore. Wikilinks can use either spaces or underscores (spaces are preferred in article space). Character codes, such as %41 (which codes "A") and %C3%80 (which codes "À"), are treated in pagenames as equivalent to their corresponding characters. The codes are generally used for most non-alphanumeric and non-ASCII characters in URLs (although the characters themselves may sometimes work as well, depending on browser). Codes are converted into corresponding characters in link labels: [[%41]] and %C3%80 are rendered as A and À. The URL of the latter page is http://en.wikipedia.org/wiki/%C3%80. It can be disputed whether the "real" name of the page is %C3%80 or À, but in any case there cannot be distinct pages with these names. In some cases (such as in templates), it is necessary to convert a page name represented by a variable into a form suitable for use in URLs: with underscores for spaces and with % codes for special characters. This can be done using the magic words described below (for full details, see mw:Help:Magic words).
If pagename variables are used within the localurl/fullurl functions, then use standard variables ({{PAGENAME}} etc.) in the first parameter (where they will be encoded anyway), but the "EE" variables ({{PAGENAMEE}} etc.) in the second parameter (the query string), if present. For example:
http://en.wikipedia.org/w/index.php?title=Special:Allpages&namespace=12&from=Page_name
http://en.wikipedia.org/w/index.php?title=Special:Allpages/Page_name&namespace=12 Wrong:
http://en.wikipedia.org/w/index.php?title=Special:Allpages&namespace=12&from=Page name (wrong link)
http://en.wikipedia.org/w/index.php?title=Special:Allpages/Page_name&namespace=12 (works here, the underscore, converted from a space, is not affected by the second conversion, but it does not work with special characters). [edit] Notes
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ↑ top of page ↑ | about thumbshots |