Interwiki Tags
Since the GPF Wiki is a subsection of the full GPF site, I (Jeff) didn't want links external to the wiki but internal to GPF to appear as external links. For example, to link to the forum originally required an ordinary external link tag such as [http://www.gpf-comics.com/forum/ GPF Forum], which produced GPF Forum. This made the forum link look like it was going off to another site. From the wiki's point of view, this might make sense; the link indeed leads the reader away from the wiki and to another part of the site. Still, the forum is just as much a part of GPF as the wiki is, so I didn't want these links to look like they were all going out into the void, giving Faulties the wrong impression of where these links led.
I decided to use MediaWiki's Interwiki mechanism to make non-wiki GPF links still appear to be internal. To use these interwiki tags, use the prefix to specify the link, providing the appropriate parameter to complete it. For example, to link to the first comic in the archive, you would use [[gpfarchive:19981102|First Strip]], which produces: First Strip. The table below introduces the prefix, the URL expansion, the expected parameter, and additional notes on its use. In all expansions, "$1" indicates where the parameter is appended.
| Prefix | Expected Parameter | Expands To | Notes |
|---|---|---|---|
| gpfarchive | An eight-digit date in YYYYMMDD format | http://www.gpf-comics.com/archive.php?d=$1 | Always links to daily archive, not weekly. Invalid dates will result in an error. |
| gpfsite | A relative path somewhere within the GPF site | http://www.gpf-comics.com/$1 | Omit any beginning slashes (not /forum/ but forum/); cannot accept query string parameters (MediaWiki URL encodes question marks, equal signs, and ampersands, making query strings result in 404s). Note that generated URLs are non-secure HTTP addresses and do not use SSL. |
| gpfsitesec | A relative path somewhere within the GPF site | https://www.gpf-comics.com/$1 | Omit any beginning slashes (not /forum/ but forum/); cannot accept query string parameters (MediaWiki URL encodes question marks, equal signs, and ampersands, making query strings result in 404s). Note that generated URLs are secure HTTPS addresses and use SSL. |
| gpfmischief | An integer page number within Mischief's Night Out | http://www.gpf-comics.com/mischief/index.php?page=$1 | Page number must be 1 ≤ x ≤ 16; values outside this range will default to the first page |
These are just the interwiki tags create especially for the GPF Wiki. Many of the official MediaWiki tags also work ("wikipedia", etc.), although a lot of the "garbage" tags that have no relevance here have been removed.