Cut and paste from MediaWiki appears to working with only minor edits noted below.

Tables

MediaWiki uses standard HTML syntax to create tables. Dokuwiki doesn't read HTML, so the syntax is a bit different. An example of correct Dokuwiki table syntax:

 |              ^ Heading 1            ^ Heading 2          ^
^ Heading 3    | Row 1 Col 2          | Row 1 Col 3        |
^ Heading 4    | no colspan this time |                    |
^ Heading 5    | Row 2 Col 2          | Row 2 Col 3        | 

This comes out as:

Heading 1 Heading 2
Heading 3 Row 1 Col 2 Row 1 Col 3
Heading 4 no colspan this time
Heading 5 Row 2 Col 2 Row 2 Col 3

Unlike MediaWiki that used Sidebar to change the left menu, Docuwiki uses a navigation page. The top-level bar is ://wiki.cs.byu.edu/navigation. Class pages can have separate navigation as well. For example, the navigation page for cs-486 is cs-486/navigation. Edit it the same as in MediaWiki. The navigation page is the navigation bar.

Source Code Highlighting

Unlike the MediaWiki plugin on ://facwiki.cs.byu.edu that uses <source> and </source> tags, DocuWiki uses code instead of source in the tags. After the code keyword, you can include an optional language. Here is an example

BDD BDD::SwapVariables(std::vector<BDD> x, std::vector<BDD> y) const;
 
BDD AndAbstract(const BDD& g, const BDD& cube, unsigned int limit = 0) const;
 
double BDD::CountMinterm(int nvars) const;
 
void Cudd::DumpDot(
      const std::vector<BDD>& nodes,       
      char ** inames = 0, 
      char ** onames = 0, 
      FILE * fp = stdout) const;

LaTeX Math

The MathJax plugin is installed. A single dollar sign is inline mode, $x^2$, and the double dollar sign indicates display mode.

$$ x = \sum_{i=0}^n i^2 $$

mediawiki-migration.txt · Last modified: 2015/01/06 16:56 by ryancha
Back to top
CC Attribution-Share Alike 4.0 International
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0