The parser function {{#ifexist:}}
is a great way of checking that a link is available, before requesting it. However, doing this adds the page to Special:WantedPages, which can be unnecessary and make that page unusable.
This template does the same thing, but uses an alternative method of checking the status of the page, via a magic word. This means that you get the same result, but the page won't be recorded as "wanted", because really what you have is an error. Should MediaWiki ever disable that magic word, it would be really easy to fix this template.
Checks if a page exists before generating a link to it.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page Name | 1 | Page to check
| Content | required |
Success Outcome | 2 | What to do if the page exists (normally link to it)
| Content | suggested |
Fail Outcome | 3 | What to show if the page doesn't exist | Content | suggested |