Difference between revisions of "Editing the Wiki"

From DikuMUD Wiki
Jump to navigation Jump to search
(checked against the current code (wiki review 2026-11-15))
 
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.
  
−
The wiki can contain both official documentation for DikuMUD, and other less official information and contributions from the community.
+
== 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]].
  
−
Official documentation will be merged into the DikuMUD project.  
+
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.
  
−
To help this work smoothly you should:
+
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.
−
* Include "'''Manual:'''" at the beginning of the page title. This is a separate wiki "namespace" which identifies official documentation.
+
 
−
* Put other information and pages in the main namespace (that is ''without '''Manual:''''' in the name).
+
== DIL manual pages ==
−
* Try to keep a logical structure to pages in the Manual:, which has subpages enabled (Manual:Page/Subpage/Subsubpage).
+
The [[Manual:DIL Manual|DIL Manual]] has one page for each keyword, function and field, named <code>Manual:DIL Manual/&lt;name&gt;</code>. Link to those pages instead of describing a DIL function again on another page.
−
* Only save completed edits in the '''Manual:''' pages, with comments and discussion kept to the talk pages or main namespace. This prevents informal remarks being incorporated into the project.
 

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 as Manual: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 command help kick when 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.