| Revision as of 23:17, 5 September 2026 by OpenWiki (Imported from the OpenWiki starter corpus) | Revision as of 23:30, 5 September 2026 by OpenWiki (Updated from the starter corpus) | ||
| … | |||
| == Images == | == Images == | ||
| − | Images are referenced by URL. | + | Images are referenced by URL. Any image on the web can be used: |
| − | | + | <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> |
| − | + | A file served from this wiki, if you put one under <code>/static/</code>, is given by its path instead: | |
| − | | + | <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 — <code>javascript:</code>, <code>data:</code> and the rest — 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 — <code>javascript:</code>, <code>data:</code> and the rest — is ignored rather than rendered, so a link cannot be used to smuggle code into a page. | ||
| … | |||
| * '''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. | ||
| − | + | The articles here use images from Wikimedia Commons, which are freely licensed. Credit the source in the caption when you add one. | |
| == Templates == | == Templates == | ||
| … | |||