I can now see that SmallWiki is a tree of folders,
with leaf nodes
being
pages and resources. Each folder has its own name space. WikiWorks
has two
levels, SmallWiki allows an arbitrary number. This is a big
difference from
other wikis, and you do not emphasize it like you should.
See chapter 3.2, page 16 in the documentation.
How do you link to a page in a different folder? You
need to say that
when
you describe the wiki syntax. Does searching just
Using absolute paths, e.g. */Folder/Subfolder/My Page*
When you make a link on a page to something, it is
created in the same
folder that the page is in.
Yes, except for folders, if you create a link from a folder it points
to one of its children by default.
A resource is something that is uploaded to the wiki.
Are these
stored in
the image?
Wiki.cs.uiuc.edu has over a gigabyte uploaded. I wouldn't
want
them to be stored in the image! That should be easy to fix by using
proxies.
Yes, the data is currently kept in the image. Fixing this problem
should be easy, indeed.
Why are the classes List, Document, ListItem, and
Paragraph essentially
empty? They have no instance variables and only have the one method to
support visiting? Is this because any data they hold is in children?
These are essentially classes that have a collection of children, see
the implementation of the superclass DocumentComposite. Different
classes are basically needed, because they represent different entities
in the parse-tree of the wiki that are rendered (or more generally,
visited) differently.
Cheers,
Lukas
--
Lukas Renggli
http://renggli.freezope.org