ContributeCreate accountLog in

Difference between revisions of "Help:Editing"

Revision as of 23:17, 5 September 2026 by OpenWiki
(Imported from the OpenWiki starter corpus)
Revision as of 00:19, 6 September 2026 by OpenWiki
(Updated from the starter corpus)
; <nowiki>[https://example.org label]</nowiki> : an external link.; <nowiki>[https://example.org label]</nowiki> : an external link.
A link to a page that does not exist yet shows in <span class="ow-redlink-demo">red</span>. Clicking it opens the editor to create that page &mdash; this is how most articles begin. See [[Special:WantedPages]] for the ones people are waiting for.+A link to a page that does not exist yet shows in <span class="ow-redlink-demo">red</span>. Clicking it opens the editor to create that page. This is how most articles begin. See [[Special:WantedPages]] for the ones people are waiting for.
== Lists ==== Lists ==
== Images ==== Images ==
Images are referenced by URL. A file stored on this wiki is given by its path:+Images are referenced by URL. Any image on the web can be used:
<nowiki>[[File:/static/media/jupiter.svg|thumb|right|240px|A caption]]</nowiki>+ <nowiki>[[File:https://commons.wikimedia.org/wiki/Special:FilePath/Jupiter%20and%20its%20shrunken%20Great%20Red%20Spot.jpg?width=320|thumb|right|240px|A caption]]</nowiki>
An image hosted anywhere else on the web is given by its full address, and works exactly the same way:+A file served from this wiki, if you put one under <code>/static/</code>, is given by its path instead:
<nowiki>[[File:https://example.org/photos/octopus.jpg|thumb|right|300px|An octopus in the wild]]</nowiki>+ <nowiki>[[File:/static/media/diagram.svg|thumb|right|300px|A local file]]</nowiki>
Both <code>http://</code> and <code>https://</code> addresses are accepted, as are protocol-relative ones beginning <code>//</code>. Anything else &mdash; <code>javascript:</code>, <code>data:</code> and the rest &mdash; is ignored rather than rendered, so a link cannot be used to smuggle code into a page.+Both <code>http://</code> and <code>https://</code> addresses are accepted, as are protocol-relative ones beginning <code>//</code>. Anything else, including <code>javascript:</code> and <code>data:</code>, is ignored rather than rendered, so a link cannot be used to smuggle code into a page.
The options, in any order after the address, are:The options, in any order after the address, are:
* '''Referrers are suppressed.''' OpenWiki sends remote images with <code>referrerpolicy="no-referrer"</code>, so the other site is not told which article the reader was on.* '''Referrers are suppressed.''' OpenWiki sends remote images with <code>referrerpolicy="no-referrer"</code>, so the other site is not told which article the reader was on.
Files served from this wiki live under <code>/static/media/</code> and never have these problems, so prefer them where you have the choice.+The articles here use images from Wikimedia Commons, which are freely licensed. Credit the source in the caption when you add one.
== Templates ==== Templates ==