Help:Editing: Difference between revisions

m
changing link from http->https
m (link fixes)
m (changing link from http->https)
Line 90: Line 90:
An example of using an interwiki prefix would be '''<nowiki>[[wikipedia:Test]]</nowiki>''', which produces [[wikipedia:Test]] (you can supply alternate text using the syntax '''<nowiki>[[wikipedia:Test|Test]]</nowiki>''' to get rid of that pesky prefix in the final markup: [[wikipedia:Test|Test]]). These prefixes accept language codes, so you could use the markup '''<nowiki>[[wikipedia:de:Test|Test]]</nowiki>''' to link to the German article [[wikipedia:de:Test|Test]] (the URL will appear wrong, but Wikipedia knows what it means).
An example of using an interwiki prefix would be '''<nowiki>[[wikipedia:Test]]</nowiki>''', which produces [[wikipedia:Test]] (you can supply alternate text using the syntax '''<nowiki>[[wikipedia:Test|Test]]</nowiki>''' to get rid of that pesky prefix in the final markup: [[wikipedia:Test|Test]]). These prefixes accept language codes, so you could use the markup '''<nowiki>[[wikipedia:de:Test|Test]]</nowiki>''' to link to the German article [[wikipedia:de:Test|Test]] (the URL will appear wrong, but Wikipedia knows what it means).


All of the Wikimedia Foundation's projects have prefixes available for linking to them. Also note that we have handy shortcuts for the two most-used prefixes; '''wikipedia:''' can be shortened to '''wp:''' and '''wiktionary:''' can be shortened to '''wikt:'''. The complete list of currently supported interwiki links can be obtained by clicking [http://wiki.oni2.net/w/api.php?action=query&meta=siteinfo&siprop=interwikimap here].
All of the Wikimedia Foundation's projects have prefixes available for linking to them. Also note that we have handy shortcuts for the two most-used prefixes; '''wikipedia:''' can be shortened to '''wp:''' and '''wiktionary:''' can be shortened to '''wikt:'''. The complete list of currently supported interwiki links can be obtained by clicking [https://wiki.oni2.net/w/api.php?action=query&meta=siteinfo&siprop=interwikimap here].


Looking at the list, you'll see that some prefixes are not actually for other wikis, but general web shortcuts; '''google:''' produces a Google search query for the provided search term, and '''cache:''' produces a Google page cache query for the provided URL.
Looking at the list, you'll see that some prefixes are not actually for other wikis, but general web shortcuts; '''google:''' produces a Google search query for the provided search term, and '''cache:''' produces a Google page cache query for the provided URL.
1,793

edits