From NuGOwiki
Contents |
URLs in external links
A link in external link style can be of the forms:
- target: https://www.nbrowse.org.nz/ is rendered as http://www.nbrowse.org.nz/
- [ target label ], with a blank space in between: [/index.php/Main_Page NuGOwiki] gives [/index.php/Main_Page NuGOwiki] (see also Help:Piped link)
- [ target ] - these are automatically labelled with serial numbers 1, 2, 3, ...: [https://www.nbrowse.org.nz/mediawiki/] gives [1]
The target is a URL which can start with "http://" or "ftp://";
"file://" does not work by default.
Old versions of pages
All old versions of all pages are numbered (with oldid) approximately in the order of becoming an old version, i.e. in chronological order of the next edit of the same page.
- https://www.nbrowse.org.nz/mediawiki/index.php?title=Help:URL&oldid=2182 - normal link to old page
- https://www.nbrowse.org.nz/mediawiki/index.php?oldid=2182 - no page name in the URL, goes to the correct page
- https://www.nbrowse.org.nz/mediawiki/index.php?title=Help:Link&oldid=2182 - number and name do not correspond; the name is ignored
- https://www.nbrowse.org.nz/mediawiki/index.php?title=abc&oldid=587 - non-existing page name; oldid is ignored, works like going to a non-existing page, except for the links to assumed previous and next versions, and on editing, for the warning of editing an old version of a page.
New pages
Page versions get a number "oldid" as soon as they are created; they are produced by variable {{REVISIONID}}. The URL is like in the previous section.}}
Edit
Examples:
- Edit the whole page: https://www.nbrowse.org.nz/mediawiki/index.php?title=Help:URL&action=edit
- Edit the 5th section: https://www.nbrowse.org.nz/mediawiki/index.php?title=Help:URL&action=edit§ion=5
- Add at the end: https://www.nbrowse.org.nz/mediawiki/index.php?title=Help:URL&action=edit§ion=1000 (use large section number)
- Ditto with "Post a comment" feature: https://www.nbrowse.org.nz/mediawiki/index.php?title=Help:URL&action=edit§ion=new
Purge
In some cases of caching problems, to update a page it can help to use "action=purge", in a URL like http://www.nugowiki.org/index.php?title=Help:URL&action=purge
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.
- http://www.nugowiki.org/index.php/c
- http://meta.wikimedia.or/
- http://www.nugowiki.orgabc
- http://met.mediawiki.org
- http://www.nugowiki.org/abc
- https://www.nbrowse.org.nz/mediawiki/index.php?title=Help:URL&action=abc
- https://www.nbrowse.org.nz/mediawiki/index.php?title=Help:URL&act=abc
- https://www.nbrowse.org.nz/mediawiki/index.php?title=Help:URL#abc