This file is indexed.

/usr/share/doc/mlton/guide/WikiTool is in mlton-doc 20100608-5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta name="robots" content="index,nofollow">



<title>WikiTool - MLton Standard ML Compiler (SML Compiler)</title>
<link rel="stylesheet" type="text/css" charset="iso-8859-1" media="all" href="common.css">
<link rel="stylesheet" type="text/css" charset="iso-8859-1" media="screen" href="screen.css">
<link rel="stylesheet" type="text/css" charset="iso-8859-1" media="print" href="print.css">


<link rel="Start" href="Home">


</head>

<body lang="en" dir="ltr">

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-833377-1";
urchinTracker();
</script>
<table bgcolor = lightblue cellspacing = 0 style = "border: 0px;" width = 100%>
  <tr>
    <td style = "
		border: 0px;
		color: darkblue; 
		font-size: 150%;
		text-align: left;">
      <a class = mltona href="Home">MLton MLTONWIKIVERSION</a>
    <td style = "
		border: 0px;
		font-size: 150%;
		text-align: center;
		width: 50%;">
      WikiTool
    <td style = "
		border: 0px;
		text-align: right;">
      <table cellspacing = 0 style = "border: 0px">
        <tr style = "vertical-align: middle;">
      </table>
  <tr style = "background-color: white;">
    <td colspan = 3
	style = "
		border: 0px;
		font-size:70%;
		text-align: right;">
      <a href = "Home">Home</a>
      &nbsp;<a href = "TitleIndex">Index</a>
      &nbsp;
</table>
<div id="content" lang="en" dir="ltr">
We have written a simple command-line tool that makes it possible to edit wiki pages using your favorite text editor instead of within a browser text box.  The tool provides a CVS/SVN-like command-line interface that can be used to update local copies of files from the web and to commit local modifications to the web. <p>
The tool is written in SML (of course) and is available in the MLton <a href="Sources">Sources</a> (<a href = "http://mlton.org/cgi-bin/viewsvn.cgi/tools/wiki"><img src="moin-www.png" alt="[WWW]" height="11" width="11">wiki</a>).  To compile it, you need to have the latest SVN of the MLton library sources, and point the MLB path variable <tt>MLTON_SRC_LIB</tt> at the <tt>lib/mlton</tt> dir in the sources. 
</p>
<p>
Here's a quick tutorial on how to use the tool 
</p>

    <ol type="1">

    <li>
<p>
Create a new directory for your local copy of the wiki files. 
</p>
</li>
    <li class="gap">
<p>
In that directory, login.  
<pre> wiki login http://mlton.org StephenWeeks &lt;my password&gt;</pre>
</p>
</li>
    <li class="gap">
<p>
Checkout (the raw wiki markup) files with commands like:  
<pre> wiki checkout Home
 wiki checkout Index Documentation</pre>
</p>
</li>
    <li class="gap">
<p>
Edit the files using your favorite text editor.  
</p>
</li>
    <li class="gap">
<p>
Commit your changes with a command like   
<pre> wiki commit UserGuide</pre>
</p>
</li>
    <li class="gap">
<p>
Logout.  
<pre> wiki logout</pre>
</p>
</li>

    </ol>


<p>
That's it for the simple use.  There are also other commands like CVS/SVN. 
</p>

    <ul>

    <li>
<p>
 Download the new version of a file from the web if there is one.  
<pre> wiki update UserGuide</pre>
</p>
</li>
    <li class="gap">
<p>
 Schedule a new file to be added (must be later committed, just like  CVS/SVN) .  
<pre> wiki add NewFile</pre>
</p>
</li>
    <li class="gap">
<p>
 Rename a page  
<pre> wiki rename OldFile NewFile</pre>
</p>
</li>
    <li class="gap">
<p>
 Remove a page  
<pre> wiki remove DeletedFile</pre>
</p>
</li>
    <li class="gap">
<p>
 Attach files to a page  
<pre> wiki attach &lt;file&gt; &lt;attachment&gt;</pre>
</p>
</li>
    <li class="gap">
<p>
 Detach files to a page  
<pre> wiki detach &lt;file&gt; &lt;attachment&gt;</pre>
</p>
</li>

    </ul>


<p>
<tt>rename</tt> and <tt>remove</tt> shouldn't work for most people on <tt>mlton.org</tt> because of the way our <a href="AccessControl">AccessControl</a> is set up. 
</p>
<p>
This code is a two-day hack and is not widely used.  But we've found it useful.  Please send bug reports to <a class="external" href="mailto:MLton@mlton.org"><img src="moin-email.png" alt="[MAILTO]" height="10" width="14">MLton@mlton.org</a>. 
</p>
</div>



<p>
<hr>
Last edited on 2007-08-13 18:33:50 by <span title="c-71-57-91-146.hsd1.il.comcast.net"><a href="MatthewFluet">MatthewFluet</a></span>.
</body></html>