Differences between revisions 15 and 16
Revision 15 as of 2004-06-07 14:57:14
Size: 1647
Editor: JosYule
Comment:
Revision 16 as of 2004-06-07 15:05:24
Size: 2313
Editor: JosYule
Comment:
Deletions are marked like this. Additions are marked like this.
Line 33: Line 33:
attachment:form.py.diff ==== Form ====

So, here is the new Form macro call:

 `[[Form(WikiForm, Form_Action, Add_To_Page)]]`

'''Form_Action''' is, well, the action that is to executed. You would need to edit `wikiaction.py` to deal with the action itself. I've put all my extended actions into the `action` sub-dir, and called them from the `wikiaction.py` file. You can see this with the `do_testform()` call.

'''Add_To_Page''' is the page to which the form data is to be added. How this is done is in the '''Form_Action''' call (see [http://moinmoin.wikiwikiweb.de/MoinDev_2fStorage MoinDev/Storage] - Page Editing).

Here is the diff that you need to apply to Form.py - attachment:form.py.diff

TableOfContents

Why and Wherefore

I've been using several different wiki tools over the past few years, both at work and home. Zwiki, UseMod and now MoinMoin have seen use. I'm currently enamoured with MoinMoin as it's in Python, like Zwiki, but much easier to code for. Here are a list of some of the ideas that i've been playing around with, to enable some ProjectManagement features that i think would be useful. Note - most of this comes from the inspiring work done on WikiDb by NickTrout.

You can reach me at MailTo(jos AT theorganization NOSPAM DOT net).

Wiki as a ProjectManagement tool

Really, there is more to come here!

Wiki as a game playing platform

I just uploaded my rock-paper-scissors game macro to the MacroMarket. I hope to do more macro's in this vein! I'm thinking checkers or chess next, as they both have a well thoughtout move-format.

The thing to keep in mind is that i want to do as little rule parsing as possible. The wiki is so open, that these tools are really just to help people play the games. Not to referee them.

http://www.triplejump.net/usrules.shtml ...What follows is a complete listing of the Official Checkers Rules as played in the United States...

http://www.jimloy.com/checkers/rules.htm The Standard Laws of Checkers

http://www.acfcheckers.com/ American Checkers Federation

http://www.jimloy.com/checkers/numbered.htm The numbered Checker board - excellent! This is all i need to get started!

Patches and other code goodies

Form

So, here is the new Form macro call:

  • [[Form(WikiForm, Form_Action, Add_To_Page)]]

Form_Action is, well, the action that is to executed. You would need to edit wikiaction.py to deal with the action itself. I've put all my extended actions into the action sub-dir, and called them from the wikiaction.py file. You can see this with the do_testform() call.

Add_To_Page is the page to which the form data is to be added. How this is done is in the Form_Action call (see [http://moinmoin.wikiwikiweb.de/MoinDev_2fStorage MoinDev/Storage] - Page Editing).

Here is the diff that you need to apply to Form.py - attachment:form.py.diff

MoinMoin: JosYule (last edited 2010-09-06 13:29:47 by 76-10-160-167)