Help:URL
Help: | Contents | Getting Started | New to BRWiki | Editing BRWiki | Editing BRWiki (advanced) | Communication and Community | Additional Help |
The help pages are currently being redesigned so they are more helpful. If you have any comments or are interested in helping out, please see the help team. |
This article or section needs to be cleaned up to a higher standard of quality.
style="Template:stub explanationcss;" |
This may include editing to correct spelling and grammar, rewriting sections to ensure they are clear and concise, and wikifying.
This may include editing to correct spelling and grammar, rewriting sections to ensure they are clear and concise, and wikifying.
[top]URLs in external links
External links can start with "http://" or "ftp://"; "file://" does not work.
In external links, all symbols 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.
Conversion:
" # $ % & ' * , : ; < > [ ^ ` { | }
%22 %23 %24 %25 %26 %27 %2a %2c %3a %3b %3c %3e %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.
[[%C3%80_propos_de_M%C3%A9ta]]
is rendered as %C3%80_propos_de_M%C3%A9ta, almost like À propos de Méta, which leads to this page on Meta with in the address bar the URL
http://meta.wikipedia.org/wiki/%C3%80_propos_de_M%C3%A9ta
while http://meta.wikipedia.org/wiki/À_propos_de_Méta leads to the same.
In external links, all symbols 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.
Conversion:
" # $ % & ' * , : ; < > [ ^ ` { | }
%22 %23 %24 %25 %26 %27 %2a %2c %3a %3b %3c %3e %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.
[[%C3%80_propos_de_M%C3%A9ta]]
is rendered as %C3%80_propos_de_M%C3%A9ta, almost like À propos de Méta, which leads to this page on Meta with in the address bar the URL
http://meta.wikipedia.org/wiki/%C3%80_propos_de_M%C3%A9ta
while http://meta.wikipedia.org/wiki/À_propos_de_Méta leads to the same.
[top]URLs of pages within the projects
See en:Wikipedia:URLs; everything works the same, except that the domain names vary:
In projects outside Wikimedia the "w/" in URLs like
http://www.wikipedia.org/w/wiki.phtml?title=Main_Page&action=history is sometimes not used, sometimes different, e.g.:
The default is /wiki/wiki.phtml, with in DefaultSetting.php [1]:
$wgScriptPath = "/wiki";
$wgScript = "{$wgScriptPath}/wiki.phtml";
There may be other variations, compare:
- www.wikipedia.org
- meta.wikipedia.org
- wiktionary.org
- quote.wikipedia.org
- wikibooks.org
- sources.wikipedia.org
- sep11.wikipedia.org
- test.wikipedia.org
- xx.wikipedia.org with xx the language code, see The provisional portal of Wikipedia
In projects outside Wikimedia the "w/" in URLs like
http://www.wikipedia.org/w/wiki.phtml?title=Main_Page&action=history is sometimes not used, sometimes different, e.g.:
- http://www.disinfopedia.org/wiki.phtml?title=Disinfopedia_Main_Page&action=history
- http://www.wikitravel.org/wiki/wiki.phtml?title=Main_Page&action=history
The default is /wiki/wiki.phtml, with in DefaultSetting.php [1]:
$wgScriptPath = "/wiki";
$wgScript = "{$wgScriptPath}/wiki.phtml";
There may be other variations, compare:
- http://www.wikipedia.org/wiki/Vancouver
- http://www.wikitravel.org/en/article/Vancouver
[top]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.
- http://meta.wikimedia.org/w/wiki.phtml?title=Help:Link&oldid=53587 - normal link to old page
- http://meta.wikimedia.org/w/wiki.phtml?title=Help:Link&oldid=53588 - number and name do not correspond; correct name is given, but without prefix
- http://meta.wikimedia.org/w/wiki.phtml?title=Help:Lin&oldid=53587 - non-existing page name; becomes link to edit page
- http://meta.wikimedia.org/w/wiki.phtml?oldid=53587 - no page name in the URL; correct name is given, but without prefix
[top]New pages
New pages are numbered (with curid) chronologically.
See also Multiple titles.
- http://meta.wikimedia.org/w/wiki.phtml?title=x&curid=9906 - gives the page with correct full name
See also Multiple titles.
[top]Edit
Examples:
- Edit the whole page: http://meta.wikimedia.org/w/wiki.phtml?title=Help:URL&action=edit
- Edit the 5th section: http://meta.wikimedia.org/w/wiki.phtml?title=Help:URL&action=edit§ion=5
- Add at the end: http://meta.wikimedia.org/w/wiki.phtml?title=Help:URL&action=edit§ion=1000 (use large section number)
- Ditto with "Post a comment" feature: http://meta.wikimedia.org/w/wiki.phtml?title=Help:URL&action=edit§ion=new
[top]Purge
In some cases of caching problems, to update a page it can help to use "action=purge", in a URL like http://www.birthright.net/forumsTemplate:localurl:help: -- template pagenamee
[top]See also
Contributors: | ,
Created by Last edited by , 10-23-2011 at 03:02 PM 0 Comments, 3,241 Views |
, 11-28-2006 at 07:26 PM
Bookmarks