Difference between revisions of "Editing the Wiki"
Jump to navigation
Jump to search
m |
(checked against the current code (wiki review 2026-11-15)) |
||
| (2 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
| + | This wiki holds the documentation of DikuMUD III, and notes and contributions from its community. It documents the code on [https://github.com/Seifert69/DikuMUD3 GitHub] as it is now: when you describe how something works, check it against the code, and fix a page when the code has changed. | ||
| − | + | == Where pages go == | |
| + | * '''Manual:''' pages are the official documentation. Start the title with <code>Manual:</code>; this namespace has subpages, so keep a manual together as <code>Manual:Page/Subpage/Subsubpage</code>, as the [[Manual:Zone Manual|Zone Manual]] does. | ||
| + | * Other information goes in the main namespace, without <code>Manual:</code> in the title. | ||
| + | * Save only finished edits on Manual: pages. Keep questions, comments and discussion on the talk page (the ''Discussion'' tab), so that informal remarks don't end up in the manual. | ||
| + | * Link only to pages that exist, and give each new page a link from the page above it, so that readers can find it. | ||
| − | + | == Pages the game reads == | |
| − | * | + | Two sets of pages are fetched from the wiki into the game: |
| − | * | + | * '''Help/''' pages are the texts players read with <code>help</code>. See [[Manual:Help Files|Help Files]]. |
| − | * | + | * '''Wizhelp/''' pages are the texts gods read with <code>wizhelp</code>. See [[Manual:Wizhelp Files|Wizhelp Files]]. |
| − | + | ||
| + | Write them as the game shows them: | ||
| + | * One heading, the page's name: <code>= Bash =</code>. | ||
| + | * Commands and examples on lines that start with a space, as in <code>Usage:</code> blocks. | ||
| + | * Cross-references in curly brackets: <code>{Help Kick}</code>. In the game that becomes a link which runs the command <code>help kick</code> when clicked. Don't use <nowiki>[[wiki links]]</nowiki> to other help pages: in the game they would still point at the wiki. | ||
| + | * A curly bracket always makes a link, so only use <code>{</code> and <code>}</code> in pairs. | ||
| + | |||
| + | An edit reaches the game only when the pages are fetched again; a new page also needs its line in the fetch script and its topics in the index, in the repository. The two pages above explain how. | ||
| + | |||
| + | == DIL manual pages == | ||
| + | The [[Manual:DIL Manual|DIL Manual]] has one page for each keyword, function and field, named <code>Manual:DIL Manual/<name></code>. Link to those pages instead of describing a DIL function again on another page. | ||
Latest revision as of 06:13, 15 November 2026
This wiki holds the documentation of DikuMUD III, and notes and contributions from its community. It documents the code on GitHub as it is now: when you describe how something works, check it against the code, and fix a page when the code has changed.
Where pages go
- Manual: pages are the official documentation. Start the title with
Manual:; this namespace has subpages, so keep a manual together asManual:Page/Subpage/Subsubpage, as the Zone Manual does. - Other information goes in the main namespace, without
Manual:in the title. - Save only finished edits on Manual: pages. Keep questions, comments and discussion on the talk page (the Discussion tab), so that informal remarks don't end up in the manual.
- Link only to pages that exist, and give each new page a link from the page above it, so that readers can find it.
Pages the game reads
Two sets of pages are fetched from the wiki into the game:
- Help/ pages are the texts players read with
help. See Help Files. - Wizhelp/ pages are the texts gods read with
wizhelp. See Wizhelp Files.
Write them as the game shows them:
- One heading, the page's name:
= Bash =. - Commands and examples on lines that start with a space, as in
Usage:blocks. - Cross-references in curly brackets:
{Help Kick}. In the game that becomes a link which runs the commandhelp kickwhen clicked. Don't use [[wiki links]] to other help pages: in the game they would still point at the wiki. - A curly bracket always makes a link, so only use
{and}in pairs.
An edit reaches the game only when the pages are fetched again; a new page also needs its line in the fetch script and its topics in the index, in the repository. The two pages above explain how.
DIL manual pages
The DIL Manual has one page for each keyword, function and field, named Manual:DIL Manual/<name>. Link to those pages instead of describing a DIL function again on another page.