Help:URL

From GoGoTraffic

Jump to: navigation, search

http://metrofiresafetyny.com/cgi-bin/46/forced-to-suck-tgp.html forced to suck tgp , deqv , http://jesustracts.info/webalizer/36/smoky-mountains.html smoky mountains , 12001 , http://ohbejoyfulgallery.com/cp/27/lab-coats.html lab coats , 621035 , http://mac-dvd-ripper.org/mac dvd 3gp ripper/07/emma-watson-fake-gallery.html emma watson fake gallery , owmpf , http://help-is-here-buyforeclosing.com/_notes/641/best-running-shoes.html best running shoes , 09777 , http://eurekaspringsnetwork.com/livechat/799/roy-rogers.html roy rogers , =-(( , http://rhmassage.com/webalizer/18/great-clips-coupon.html great clips coupon , >:-))) , http://oldcoffee.net/modlogan/643/dirk-diggler.html dirk diggler , 25399 , http://brandonsworkshop.com/modlogan/064/true-dirty.html true dirty , 537412 , http://m4vconverterformac.com/m4v to iPod converter for mac/92/drive-in-movies.html drive in movies , =-( , Nu7Qwx Good post! Found a lot of new and interesting! Will share the link with others:DD

Contents

URLs of pages within the projects

On other projects everything works the same, except that the domain names vary:

  • xx.wikipedia.org with xx the language code, see m:Complete list of language Wikipedias available
  • meta.wikimedia.org (meta.wikipedia.org redirects there)
  • xx.wiktionary.org
  • xx.wikiquote.org
  • xx.wikibooks.org
  • xx.wikisource.org
  • sep11.wikipedia.org

A URL starting with www.wikipedia.org redirects to the corresponding one starting with en; only www.wikipedia.org itself leads to a portal page instead of the main page of the English Wikipedia: http://www.wikipedia.org

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:

Use in templates

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

http://en.wikipedia.org/w/index.php?title={{{1}}}

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

{{fullurl:{{{1}}}|{{{2}}}}}

An example with the second parameter in fullurl fixed is Template:Tiw containing the link [{{fullurl:Template:{{{1}}}|action=edit}} {{MediaWiki:Edit}} {{{2|{{{1}}}}}}].

This works for a link in external link style to a page in the same project. We can use localurl for a link to 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 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 a page.

New pages

Pages are numbered with page_id in order of creation.

Conversely, most query output provides page names as well as page id's, e.g. http://meta.wikimedia.org/w/query.php?titles=Hilfe:Zeitleiste

Edit

Examples:

Purge

In some cases of caching problems, to update a page it can help to use "action=purge", in a URL like http://www.gogotraffic.com/Wiki/index.php?title=Help:URL&action=purge

Miscellaneous

You can fetch the raw wikitext of a page using a URL like http://www.gogotraffic.com/Wiki/index.php?title=Help:URL&action=raw .

Other actions are view, watch, unwatch, delete, revert, rollback, unprotect, info, markpatrolled, validate, render, deletetrackback, and history. (These rarely need to be entered explicitly, as the useful ones are prelinked at various tabs and buttons. Several of these actions require administrator privileges. Other users do not have the link; if they try the URL they get the message in MediaWiki:Badaccesstext.)

Kinds of dead links

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

Personal tools