Misplaced Pages

Help:URL: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 03:47, 26 August 2014 view sourceJMP EAX (talk | contribs)4,280 edits Fixing links with unsupported characters: seems not to be all of them← Previous edit Latest revision as of 16:09, 27 July 2024 view source Redrose64 (talk | contribs)Autopatrolled, Administrators273,170 editsm Reverted edit by Ferdinand Icatlo (talk) to last version by ActivelyDisinterestedTag: Rollback 
(146 intermediate revisions by 91 users not shown)
Line 1: Line 1:
{{About|various URLs of Misplaced Pages and other Wikimedia servers|how to markup links|Help:Link}} {{About|various URLs of Misplaced Pages and other Wikimedia servers|how to markup links|Help:Link}}
{{redirect|WP:URL|the user rights log|Special:Log/rights}} {{redirect|WP:URL|the user rights log|Special:Log/rights}}
{{Shortcut|H:URL|WP:URL|WP:URLs}} {{Misplaced Pages how to|H:URL|WP:URL}}
Like all pages on the ], the pages delivered by ]'s servers have ''']s''' to identify them. These are the addresses that appear in your browser's address bar when you view a page. Misplaced Pages editors also have the ability to create ]s to chosen URLs, pointing to pages either within Misplaced Pages and other Wikimedia projects, or elsewhere on the Web. Like all pages on the ], the pages delivered by ]'s servers have ''']s''' to identify them. These are the addresses that appear in your browser's address bar when you view a page. Misplaced Pages editors also have the ability to create ]s to chosen URLs, pointing to pages either within Misplaced Pages and other Wikimedia projects, or elsewhere on the Web.


==Linking to URLs== ==Linking to URLs==
{{VE documentation}}{{Linking and page manipulation|linking and diffs}}
When editing a page, hyperlinks to other pages within Misplaced Pages (or other Wikimedia projects) are normally made as ''wikilinks'' or ''interwikilinks'', using the <code><nowiki>]</nowiki></code> syntax described at ]. However if you want to link to an outside website, or to certain specially generated Wikimedia pages (such as a past version of an article), it is necessary to provide the full URL. This is done using ''external link syntax''. When editing a page, hyperlinks to other pages within Misplaced Pages (or other Wikimedia projects) are normally made as ''wikilinks'' or ''interwikilinks'', using the <code><nowiki>]</nowiki></code> syntax described at ]. However if you want to link to an outside website, or to certain specially generated Wikimedia pages (such as a past version of an article), it is necessary to provide the full URL. This is done using ''external link syntax''.


There are three forms of external link syntax: There are three forms of external link syntax:
* If the URL is simply included in the wikitext, without square brackets, then it appears as written, and a hyperlink is created: <code><nowiki>http://meta.wikimedia.org/</nowiki></code> produces http://meta.wikimedia.org/ * If the URL is simply included in the wikitext, without square brackets, then it appears as written, and a hyperlink is created: <code><nowiki>https://meta.wikimedia.org/</nowiki></code> produces https://meta.wikimedia.org/
* If the URL is placed in square brackets, then a hyperlink is created with a serial number as its label: <code><nowiki></nowiki></code> gives * If the URL is placed in square brackets, then a hyperlink is created with a serial number as its label: <code><nowiki></nowiki></code> gives
* If the URL is placed in square brackets followed by a space and some text, then that text is used as the label for the hyperlink: <code><nowiki></nowiki></code> gives * If the URL is placed in square brackets followed by a space and some text, then that text is used as the label for the hyperlink: <code><nowiki></nowiki></code> gives


Making a link to elsewhere on the same server as the wiki can be simplified by using <nowiki>{{SERVER}}</nowiki>. Example: <code><nowiki></nowiki></code>. Making a link to elsewhere on the same server as the wiki can be simplified by using <nowiki>{{SERVER}}</nowiki>. Example: <code><nowiki></nowiki></code>.
Line 17: Line 18:


===Fixing links with unsupported characters=== ===Fixing links with unsupported characters===

* The URL must start with a supported ]. <code>http://</code> and <code>https://</code> are always supported. <code>gopher://</code>, <code>irc://</code>, <code>ircs://</code>, <code>ftp://</code>, <code>news://</code>, <code>nntp://</code>, <code>worldwind://</code>, <code>telnet://</code>, <code>svn://</code>, <code>git://</code>, <code>mms://</code> and <code>mailto:</code> will create a link and an icon but require an agent registered in the browser.
{{Shortcut|WP:ENCODE}}
* URLs containing certain characters will display and link incorrectly unless those characters are percent-encoded. For example, a space must be replaced by <code>%20</code> (this can be done using the PATH option of the ] parser function).
* The URL must start with a supported ]. <code>http://</code> and <code>https://</code> are always supported. <code>ssh://</code>, <code>gopher://</code>, <code>irc://</code>, <code>ircs://</code>, <code>ftp://</code>, <code>ftps://</code>, <code>sftp://</code>, <code>news://</code>, <code>nntp://</code>, <code>worldwind://</code>, <code>telnet://</code>, <code>svn://</code>, <code>git://</code>, <code>mms://</code> and <code>mailto:</code> will create a link and an icon but require an agent registered in the browser.
* URLs containing certain characters will display and link incorrectly unless those characters are ]. For example, a space must be replaced by <code>%20</code> (this can be done using the PATH option of the ] parser function).
{{incomplete list}} {{incomplete list}}
{| class="wikitable" {| class="wikitable"
! sp !! " !! ' !! , !! ; !! < !! > !! ? !! !! { !! <nowiki>|</nowiki> !! } ! sp !! " !! ' !! , !! ; !! < !! > !! ? !! !! { !! <nowiki>|</nowiki> !! }
|- |-
| %20 || %22 || %27 || %2C || %3B || %3C || %3E || %3F || %5B || %5D || %7B || %7C || %7D | %20 || %22 || %27 || %2C || %3B || %3C || %3E || %3F || %5B || %5D || %7B || %7C || %7D
|} |}
:{{small|Single apostrophes do not need to be encoded; but unencoded multiples will be parsed as italic or bold markup}} :{{small|Single apostrophes do not need to be encoded; but unencoded multiples will be parsed as italic or bold markup}}
Line 33: Line 36:
|} |}


* Even though PHP's automatically percent-encodes them, these characters do '''not''' get URL-encoded by . The ":" symbol is a partial exception – it is not encoded anywhere except for IIS 7.0.
== Dropping http: and https: ==
If you make an external style link using square brackets <nowiki></nowiki> ''from a Wikimedia page to other Wikimedia page'', including Misplaced Pages of course, it's better to drop the protocol <code>http:</code> or <code>https:</code>, so that the URL begins with <code>//...</code>, e.g. <code>//en.wikipedia.org/search/?title=Help:URL</code>.


{| class="wikitable"
Otherwise, readers are forced to use the specified connection method. If you don't specify the protocol, readers can continue to use the protocol to read that page.
! ; !! @ !! $ !! ! !! * !! ( !! ) !! , !! / !! ~ !! :

|-
The URL returned by {{tnull|SERVER}} magic word begins with //.
| %3B || %40 || %24 || %21 || %2A || %28 || %29 || %2C || %2F || %7E || %3A
* Example: <code><nowiki></nowiki></code>
|}
* Result: (Read this page both with http and https.)
* Example: <code><nowiki></nowiki></code>
* Result: (Read this page both with http and https.)


==URLs of Misplaced Pages pages== ==URLs of Misplaced Pages pages==
{{anchor|WP}}{{shortcut|WP:URLs}}
English Misplaced Pages's URLs begin http://en.wikipedia.org/. That address on its own is redirected to the ]. English Misplaced Pages's URLs begin https://en.wikipedia.org/. That address on its own is redirected to the ].

* The main form of a URL to a Misplaced Pages page: * The main form of a URL to a Misplaced Pages page:
:http://en.wikipedia.org/Page_name (used in ], recommended when a URL has to be given) *:https://en.wikipedia.org/Page_name (used in ], recommended when a URL has to be given)
* An alternative form: * An alternative form:
:http://en.wikipedia.org/search/?title=Page_name (allows more options by appending parameters to the URL, not indexed by search engines) *:https://en.wikipedia.org/search/?title=Page_name (allows more options by appending parameters to the URL, not indexed by search engines)
The page name may include a ] prefix (such as "Help:" in this page). With some ] it may also include a parameter, as in https://en.wikipedia.org/Special:Contributions/Jimbo_Wales (but for most special page parameters, see below).
* An unofficial redirect site mentioned at ] enables shorter URL's of the form:
:http://enwp.org/Page_name (not controlled by the ], could stop working or change purpose at any time)


Other URLs associated with a page are constructed by adding a query string. The string can be added to either of the above forms (as in https://en.wikipedia.org/Train?action=history ), but in this case the system defaults to the ''second'' form, i.e. it extends the index.php query string "title=Page_name".
The page name may include a ] prefix (such as "Help:" in this page). With some ] it may also include a parameter, as in http://en.wikipedia.org/Special:Contributions/Jimbo_Wales (but for most special page parameters, see below).

Other URLs associated with a page are constructed by adding a query string. The string can be added to either of the above forms (as in http://en.wikipedia.org/Train?action=history ), but in this case the system defaults to the ''second'' form, i.e. it extends the index.php query string "title=Page_name".


Extended URLs are used: Extended URLs are used:
* To go to a ] page without following the redirect: http://en.wikipedia.org/search/?title=Railway_train&redirect=no * To go to a ] page without following the redirect: https://en.wikipedia.org/search/?title=Railway_train&redirect=no
* To go to the edit page (or view the source of a protected page): http://en.wikipedia.org/search/?title=Train&action=edit. Other parameters can be added, such as ''section=5'' or ''section=new'' to edit or add a page section. There are also parameters for preloading text into the edit box of a new page, as used by the inputbox extension (see ]). * To go to the edit page (or view the source of a protected page): https://en.wikipedia.org/search/?title=Train&action=edit. Other parameters can be added, such as ''section=5'' or ''section=new'' to edit or add a page section. There are also parameters for preloading text into the edit box of a new page, as used by the inputbox extension (see ]).
* To access the ] of a page: http://en.wikipedia.org/search/?title=Train&action=history (or further parameters can be added, as in http://en.wikipedia.org/search/?title=Train&limit=5&offset=90&action=history, which displays edits 91–95). * To access the ] of a page: https://en.wikipedia.org/search/?title=Train&action=history (or further parameters can be added, as in https://en.wikipedia.org/search/?title=Train&limit=5&offset=90&action=history, which displays edits 91–95).
* To link to a particular version of a page: http://en.wikipedia.org/search/?title=Train&oldid=1374279 (where <code>oldid</code> is the revision number), or use ]. A permanent link to the ''present'' version of the page can be accessed by clicking "Permanent link" under "toolbox" on the left side of the page. The version ID is unique across all pages; the title parameter here has no effect, and can be omitted. ] is a wikilink to a page version. * To link to a particular version of a page: https://en.wikipedia.org/search/?title=Train&oldid=1374279 (where <code>oldid</code> is the revision number), or use ]. A permanent link to the ''present'' version of the page can be accessed by clicking "Permanent link" under "tools" on the left side of the page. The version ID is unique across all pages; the title parameter here has no effect, and can be omitted. ] is a wikilink to a page version.
* To link to a ] between two versions of a page: http://en.wikipedia.org/search/?title=Train&diff=1374279&oldid=1260056, where ''diff'' is the ID of the version to appear on the right. Set ''diff=0'' to compare the current version; set ''diff=0'' and ''oldid=0'' to compare the two most recent versions. Again the title parameter has no real effect (you can in fact compare versions of two different pages). ] is a wikilink to a diff (). * To link to a ] between two versions of a page: https://en.wikipedia.org/search/?title=Train&diff=1374279&oldid=1260056, where ''diff'' is the ID of the version to appear on the right. Set ''diff=0'' to compare the current version; set ''diff=0'' and ''oldid=0'' to compare the two most recent versions. Again the title parameter has no real effect (you can in fact compare versions of two different pages). ] is a wikilink to a diff ().
* To ] or unwatch a page: http://en.wikipedia.org/search/?title=Train&action=watch (or ''action=unwatch''). * To ] or unwatch a page: https://en.wikipedia.org/search/?title=Train&action=watch (or ''action=unwatch'').
* To purge a page from the server cache (to have it rendered with the latest template versions etc.): http://en.wikipedia.org/search/?title=Train&action=purge (this is not the same as purging your browser cache). * To purge a page from the server cache (to have it rendered with the latest template versions etc.): https://en.wikipedia.org/search/?title=Train&action=purge (this is not the same as purging your browser cache).
* To perform certain other defined actions, replacing ''purge'' in the above example with ''view'', ''delete'', ''revert'', ''rollback'', ''unprotect'', ''info'', ''markpatrolled'', ''validate'', ''render'', ''deletetrackback'' (most of these are available only to administrators). * To perform certain other defined actions, replacing ''purge'' in the above example with ''view'', ''delete'', ''revert'', ''unprotect'', ''info'', ''markpatrolled'', ''validate'', ''render'' (most of these are available only to administrators).
* To obtain the raw wikitext of a page without downloading the full HTML: http://en.wikipedia.org/search/?title=Train&action=raw * To obtain the raw wikitext of a page without downloading the full HTML: https://en.wikipedia.org/search/?title=Train&action=raw
* To view a ] listing starting from a specified point: http://en.wikipedia.org/search/?title=Category:Disambiguation_pages&from=B * To display the page in ] version: https://en.wikipedia.org/search/?title=Train&printable=yes
* To specify parameters for a ], as in: http://en.wikipedia.org/search/?/search/?title=Special:Recentchanges&from=20030918220000 (in this case the "from" parameter is a timestamp, format yyyymmddhhmmss, UTC time, but many other types of parameter are possible, depending on the page). * To view a ] listing starting from a specified point: https://en.wikipedia.org/search/?title=Category:Disambiguation_pages&from=B
* To specify parameters for a ], as in: https://en.wikipedia.org/search/?/search/?title=Special:Recentchanges&from=20030918220000 (in this case the "from" parameter is a timestamp, format yyyymmddhhmmss, UTC time, but many other types of parameter are possible, depending on the page).
* To display a page in a particular ]: http://en.wikipedia.org/search/?title=Train&useskin=monobook. Misplaced Pages's skins as of 2014 are <code>cologneblue</code>, <code>modern</code>, <code>monobook</code>, <code>vector</code>. Registered users can set their skin at ]. * To display a page in a particular ]: https://en.wikipedia.org/search/?title=Train&useskin=monobook. Misplaced Pages's skins as of 2022 are <code>cologneblue</code>, <code>modern</code>, <code>monobook</code>, <code>vector</code>, <code>vector2</code>. Registered users can set their skin at ].
* To display a page with a particular interface language: http://en.wikipedia.org/search/?title=Train&uselang=de (<code>de</code> is the language code for German). Registered users can set their language at ]. * To display a page with a particular interface language: https://en.wikipedia.org/search/?title=Train&uselang=de (<code>de</code> is the language code for German). Registered users can set their language at ].
* To display a page with a particular banner from a page linked at ]: http://en.wikipedia.org/search/?title=Train&banner=TranslatorSignup * To display a page with a particular banner from a page linked at ]: https://en.wikipedia.org/search/?title=Train&banner=TranslatorSignup
* The below <code>withJS</code> and <code>withCSS</code> rely on the English Misplaced Pages having code from ] in ]. Other wikis may not have this feature. Registered users can load pages at ] by enabling the corresponding gadget at ]. * The below <code>withgadget</code> will work only with gadgets that have been specifically enabled for inline loading. Registered users can load pages at ] by enabling the corresponding gadget at ].
* To display a page with a script loaded from the MediaWiki namespace: http://en.wikipedia.org/search/?title=Train&withJS=MediaWiki:Gadget-UTCLiveClock.js (loads ]). * To display a page with a script loaded from the MediaWiki namespace: https://en.wikipedia.org/search/?title=Train&withgadget=UTCLiveClock (loads ]).
* To display a page with a stylesheet loaded from the MediaWiki namespace: http://en.wikipedia.org/w/index.php?title=Train&withCSS=MediaWiki:Gadget-JustifyParagraphs.css (loads ]). * To display a page formatted for mobile devices, add .m after en https://en.m.wikipedia.org/wiki/Train


If constructing URLs for Misplaced Pages pages, remember to convert spaces into underscores, and to percent-code special characters where necessary, as described in the previous section. (For how to do this in template code, see ] below.) If constructing URLs for Misplaced Pages pages, remember to convert spaces into underscores, and to percent-code special characters where necessary, as described in the previous section. (For how to do this in template code, see ] below.)


Various kinds of error message may appear if an invalid URL, or one to which you do not have access, is submitted. In other cases the URL may redirect to a valid one (for example, page titles are converted to their ] as they are when they appear in wikilinks). Various kinds of error message may appear if an invalid URL, or one to which you do not have access, is submitted. In other cases the URL may redirect to a valid one (for example, page titles are converted to their ] as they are when they appear in wikilinks).

=== Shorter URL ===
] gives a way to make short URLs to Misplaced Pages pages.

An unofficial redirect site mentioned at ] also offers shorter URLs.

*https:/<nowiki/>/enwp.org/'']''
*https:/<nowiki/>/enwp.org?curid=pageid

enwp.org is not controlled by the ], so it could stop working or change purpose at any time.

The second form can make a long page name into a short code.
It uses ''pageid'', which remains accurate even if the page is moved.
Pageid has up to 8 digits, shown by clicking "Page information" under "Tools" on the left side of the page.


==URLs on other Wikimedia projects== ==URLs on other Wikimedia projects==
Other projects use similar URLs to those of English Misplaced Pages, except that the domain names vary: http://meta.wikimedia.org/ (Meta), http://fr.wikipedia.org/ (French Misplaced Pages), http://de.wiktionary.org/ (German Wiktionary), etc. Other projects use similar URLs to those of English Misplaced Pages, except that the domain names vary: https://meta.wikimedia.org/ (Meta), https://fr.wikipedia.org/ (French Misplaced Pages), https://de.wiktionary.org/ (German Wiktionary), etc.


Note that http://www.wikipedia.org leads to an international Misplaced Pages portal page, but other URLs beginning with that prefix redirect to English Misplaced Pages. Note that https://www.wikipedia.org leads to an international Misplaced Pages portal page, but other URLs beginning with that prefix redirect to English Misplaced Pages.


Other projects may also use different strings in place of "/w/" and "/" in URLs. For details, see the ] on Meta. Other projects may also use different strings in place of "/w/" and "/" in URLs. For details, see the ] on Meta.
Line 90: Line 104:
For use in ], correct URLs can be constructed using certain magic words and parser functions such as ''fullurl'', ''urlencode'' and others. Details of these can be found at ]. For use in ], correct URLs can be constructed using certain magic words and parser functions such as ''fullurl'', ''urlencode'' and others. Details of these can be found at ].


Most programmatic interaction with Misplaced Pages can be performed most efficiently using the API, for which URLs beginning http://en.wikipedia.org/w/api.php are used. For details, see ]. Most programmatic interaction with Misplaced Pages can be performed most efficiently using the API, for which URLs beginning https://en.wikipedia.org/w/api.php are used. For details, see ].

==Notes==
{{reflist}}


==See also== ==See also==
* ] * ]
* ]
* ] * ]
* ] * ]
* ]


{{Help navigation}} {{Help navigation}}
{{Misplaced Pages technical help|collapsed}}
] ]

Latest revision as of 16:09, 27 July 2024

This page is about various URLs of Misplaced Pages and other Wikimedia servers. For how to markup links, see Help:Link. "WP:URL" redirects here. For the user rights log, see Special:Log/rights.
This help page is a how-to guide.
It explains concepts or processes used by the Misplaced Pages community. It is not one of Misplaced Pages's policies or guidelines, and may reflect varying levels of consensus.
Shortcuts

Like all pages on the World Wide Web, the pages delivered by Wikimedia's servers have URLs to identify them. These are the addresses that appear in your browser's address bar when you view a page. Misplaced Pages editors also have the ability to create hyperlinks to chosen URLs, pointing to pages either within Misplaced Pages and other Wikimedia projects, or elsewhere on the Web.

Linking to URLs

Instructions on this page may not work with VisualEditor. If you have opted in, you can use either VisualEditor or classic editing through wiki markup (wikitext) to edit most pages. The directions on this page, especially about what codes to type to produce formatting effects, are predominantly geared toward wikitext editing. For instructions on editing with VisualEditor, see Misplaced Pages:VisualEditor/User guide.
Linking and
page manipulation
Linking and diffs
Categorization
Moving and redirecting
Merging
Splitting
Importing and copying
Protecting
Additional

When editing a page, hyperlinks to other pages within Misplaced Pages (or other Wikimedia projects) are normally made as wikilinks or interwikilinks, using the ] syntax described at Help:Link. However if you want to link to an outside website, or to certain specially generated Wikimedia pages (such as a past version of an article), it is necessary to provide the full URL. This is done using external link syntax.

There are three forms of external link syntax:

  • If the URL is simply included in the wikitext, without square brackets, then it appears as written, and a hyperlink is created: https://meta.wikimedia.org/ produces https://meta.wikimedia.org/
  • If the URL is placed in square brackets, then a hyperlink is created with a serial number as its label: gives
  • If the URL is placed in square brackets followed by a space and some text, then that text is used as the label for the hyperlink: gives Wikimedia

Making a link to elsewhere on the same server as the wiki can be simplified by using {{SERVER}}. Example: .

To suppress the external link icon, place the external link between <span class="plainlinks">...</span> tags.

Fixing links with unsupported characters

Shortcut
  • The URL must start with a supported URI scheme. http:// and https:// are always supported. ssh://, gopher://, irc://, ircs://, ftp://, ftps://, sftp://, news://, nntp://, worldwind://, telnet://, svn://, git://, mms:// and mailto: will create a link and an icon but require an agent registered in the browser.
  • URLs containing certain characters will display and link incorrectly unless those characters are percent-encoded. For example, a space must be replaced by %20 (this can be done using the PATH option of the {{urlencode:}} parser function).
This list is incomplete; you can help by adding missing items.
sp " ' , ; < > ? [ ] { | }
%20 %22 %27 %2C %3B %3C %3E %3F %5B %5D %7B %7C %7D
Single apostrophes do not need to be encoded; but unencoded multiples will be parsed as italic or bold markup
  • Titles containing certain characters will display and link incorrectly unless those characters are encoded with HTML character references.
newline [ ] |
space &#91; &#93; &#124;
  • Even though PHP's urlencode() automatically percent-encodes them, these characters do not get URL-encoded by wfUrlencode(). The ":" symbol is a partial exception – it is not encoded anywhere except for IIS 7.0.
; @ $ ! * ( ) , / ~ :
%3B %40 %24 %21 %2A %28 %29 %2C %2F %7E %3A

URLs of Misplaced Pages pages

Shortcut

English Misplaced Pages's URLs begin https://en.wikipedia.org/. That address on its own is redirected to the Main Page.

The page name may include a namespace prefix (such as "Help:" in this page). With some special pages it may also include a parameter, as in https://en.wikipedia.org/Special:Contributions/Jimbo_Wales (but for most special page parameters, see below).

Other URLs associated with a page are constructed by adding a query string. The string can be added to either of the above forms (as in https://en.wikipedia.org/Train?action=history ), but in this case the system defaults to the second form, i.e. it extends the index.php query string "title=Page_name".

Extended URLs are used:

If constructing URLs for Misplaced Pages pages, remember to convert spaces into underscores, and to percent-code special characters where necessary, as described in the previous section. (For how to do this in template code, see Templates and programming below.)

Various kinds of error message may appear if an invalid URL, or one to which you do not have access, is submitted. In other cases the URL may redirect to a valid one (for example, page titles are converted to their canonical form as they are when they appear in wikilinks).

Shorter URL

Misplaced Pages:URLShortener gives a way to make short URLs to Misplaced Pages pages.

An unofficial redirect site mentioned at User:Tl-lomas/enwp.org also offers shorter URLs.

enwp.org is not controlled by the Wikimedia Foundation, so it could stop working or change purpose at any time.

The second form can make a long page name into a short code. It uses pageid, which remains accurate even if the page is moved. Pageid has up to 8 digits, shown by clicking "Page information" under "Tools" on the left side of the page.

URLs on other Wikimedia projects

Other projects use similar URLs to those of English Misplaced Pages, except that the domain names vary: https://meta.wikimedia.org/ (Meta), https://fr.wikipedia.org/ (French Misplaced Pages), https://de.wiktionary.org/ (German Wiktionary), etc.

Note that https://www.wikipedia.org leads to an international Misplaced Pages portal page, but other URLs beginning with that prefix redirect to English Misplaced Pages.

Other projects may also use different strings in place of "/w/" and "/" in URLs. For details, see the URL help page on Meta.

Templates and programming

For use in templates, correct URLs can be constructed using certain magic words and parser functions such as fullurl, urlencode and others. Details of these can be found at mw:Help:Magic words.

Most programmatic interaction with Misplaced Pages can be performed most efficiently using the API, for which URLs beginning https://en.wikipedia.org/w/api.php are used. For details, see mw:API.

See also

Misplaced Pages help pages

About Misplaced Pages (?)
Help for readers (?)
Contributing
to Misplaced Pages
 (?)
Getting started (?)
Dos and don'ts (?)
How-to pages and
information pages (?)
Coding (?)
Directories (?)
Missing Manual
Ask for help on your talk page (?)
Misplaced Pages technical help
Get personal technical help at the Teahouse, help desk, village pump (technical), talk pages or IRC.
General
technical help
Special
page
-related
Wikitext
Links and diffs
Media files: images,
videos and sounds
Other graphics
Templates and
Lua modules
Data structure
HTML and CSS
Customisation
and tools
Automated editing
Categories: