Russell Lear | 1 Feb 2005 02:11
Picon
Favicon

New User Question: Creating a form

I just installed MoinMoin and have been playing with it for about a week.  
Installation on both Windows and Linux went quite smoothly (other than the 
occasional operator error).  I've worked through various tutorials and other 
documentation so I'm able to create edit pages, create macros, etc.  
Everything is so simple!  (But then you knew that).

One thing I haven't been able to figure out so far is how to create a form on 
a user page and then have the results of the POST action be displayed on a 
Wiki page - or even if this is in the proper WikiWiki spirit.  

Any pointers to this?

Thanks,
Russell.

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Dean Hiller | 1 Feb 2005 06:04
Favicon

Fw: page displays secure and unsecure items

 
----- Original Message -----
Sent: Monday, January 31, 2005 6:55 PM
Subject: page displays secure and unsecure items

Don't suppose we could remove the w3 validator icon from multiconfig.py.  If running over https, every time you change the page, you get a warning about the page displaying secure and insecure items.  It is very annoying and I would rather not have to have all users to reconfig their browser.  Getting rid of that one icon fixed it.
thanks,
dean
Dean Hiller | 1 Feb 2005 06:17
Favicon

U''''''seCase becomes not a link, but is there an easier way

I found in the docs finally how to make a camel case word not a link, but is there an easier way?  I can't find in the archives or in the docs.
thanks,
dean
Tomi Junnila | 1 Feb 2005 06:49

Re: U''''''seCase becomes not a link, but is there an easier way

* Dean Hiller <dean <at> xsoftware.biz> wrote on 31.01.05 22:17:
>    I found in the docs finally how to make a camel case word not a link, but is there an easier way?  I can't find in the
>    archives or in the docs.

See http://moinmoin.wikiwikiweb.de/ParserMarket/NoCamelCase (and the
ParserMarket page for the actual parser).

--

-- 
Tomi Junnila <topeju <at> badzilla.net>
http://topeju.badzilla.net/

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Tomi Junnila | 1 Feb 2005 06:53

Re: U''''''seCase becomes not a link, but is there an easier way

* Dean Hiller <dean <at> xsoftware.biz> wrote on 31.01.05 22:17:
>    I found in the docs finally how to make a camel case word not a link, but is there an easier way?  I can't find in the
>    archives or in the docs.

Oops, sorry, I forgot the easy way to make single words not become links
(the nocamelcase parser will disable them altogether for a page).

If you set bang_meta = true in the config file, you can just use
!UseCase to suppress UseCase being a link.

The third method is to use U``seCase (or, the way I generally like to
mark it, Use``Case).

--

-- 
Tomi Junnila <topeju <at> badzilla.net>
http://topeju.badzilla.net/

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Dean Hiller | 1 Feb 2005 07:21
Favicon

Re: U''''''seCase becomes not a link, but is there an easier way

Actually, I read that already....I still want camelcase to work.  I just
want an easier escape sequence.  It would just be nice to do something like
~UseCase once in a while to tell MoinMoin not to use this as a link.  I
think phpWiki does that.
oh well,
thanks,
dean

----- Original Message ----- 
From: "Tomi Junnila" <topeju <at> badzilla.net>
To: <moin-user <at> lists.sourceforge.net>
Sent: Monday, January 31, 2005 10:49 PM
Subject: Re: [Moin-user] U''''''seCase becomes not a link, but is there an
easier way

> * Dean Hiller <dean <at> xsoftware.biz> wrote on 31.01.05 22:17:
> >    I found in the docs finally how to make a camel case word not a link,
but is there an easier way?  I can't find in the
> >    archives or in the docs.
>
> See http://moinmoin.wikiwikiweb.de/ParserMarket/NoCamelCase (and the
> ParserMarket page for the actual parser).
>
>
> -- 
> Tomi Junnila <topeju <at> badzilla.net>
> http://topeju.badzilla.net/
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Moin-user mailing list
> Moin-user <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Dean Hiller | 1 Feb 2005 07:25
Favicon

Re: U''''''seCase becomes not a link, but is there an easier way

This didn't seem to work...I got an error like I can't add a property to the
config file(ie. my config file does not have a bang_meta option).  I am
using the latest moinmoin version.

ps. I should have read my messages in order, this is exactly what I want,
but can't seem to get it to work.
thanks,
dean

----- Original Message ----- 
From: "Tomi Junnila" <topeju <at> badzilla.net>
To: <moin-user <at> lists.sourceforge.net>
Sent: Monday, January 31, 2005 10:53 PM
Subject: Re: [Moin-user] U''''''seCase becomes not a link, but is there an
easier way

> * Dean Hiller <dean <at> xsoftware.biz> wrote on 31.01.05 22:17:
> >    I found in the docs finally how to make a camel case word not a link,
but is there an easier way?  I can't find in the
> >    archives or in the docs.
>
> Oops, sorry, I forgot the easy way to make single words not become links
> (the nocamelcase parser will disable them altogether for a page).
>
> If you set bang_meta = true in the config file, you can just use
> !UseCase to suppress UseCase being a link.
>
> The third method is to use U``seCase (or, the way I generally like to
> mark it, Use``Case).
>
>
> -- 
> Tomi Junnila <topeju <at> badzilla.net>
> http://topeju.badzilla.net/
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> Moin-user mailing list
> Moin-user <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Tomi Junnila | 1 Feb 2005 07:35

Re: U''''''seCase becomes not a link, but is there an easier way

* Dean Hiller <dean <at> xsoftware.biz> wrote on 31.01.05 23:25:
> This didn't seem to work...I got an error like I can't add a property to the
> config file(ie. my config file does not have a bang_meta option).  I am
> using the latest moinmoin version.

Python is sensitive to indentation in the config file. The config file
should look something like this:

[...]

class Config(DefaultConfig):

    # Wiki identity ----------------------------------------------------

    # Site name, used by default for wiki name-logo [Unicode]
    sitename = u'(wiki site name here)'

    # Wiki logo. You can use an image, text or both. [Unicode]
    # Example: u'<img src="/wiki/mywiki.png" alt="My Wiki">My Wiki'
    # For no logo or text, use ''
    logo_string = sitename

[...]

You should follow the example there and indent the bang_meta setting:

    bang_meta = 1

(I just checked HelpOnConfiguration and it states the default value is
0, so 1 should enable the !NoWikiName markup; one of the experts will be
able to tell you if the value "true" should also work.)

--

-- 
Tomi Junnila <topeju <at> badzilla.net>
http://topeju.badzilla.net/

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Nigel Harper | 1 Feb 2005 10:12

RE: bug? no image display from local files in standal one mode

> I investigated a bit further and found out it's not a 
> problem in
> MoinMoin, it's the browser. The HTML for the page does contain an img
> tag to the image, but Firefox[1] doesn't follow file:// links from
> http:// urls. IE appears to show them at least at default settings.

IIRC this is by design in Firefox - accessing local content (file://) from
what is assumed to be a remote url is considered insecure and is blocked by
the default settings.

There's probably a way to enable it for trusted locations if you poke
around.

Nigel

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
Nir Soffer | 1 Feb 2005 11:10
Picon
Favicon

Re: Re: Re: disable http in moinmoin(no access to apache) (Dean Hiller)

On Mon, 2005-01-31 at 17:13 -0800,
moin-user-request <at> lists.sourceforge.net wrote:
> interesting...this may be close...here is my setup
> /home/dean/moinmoin - install of moinmoin
> /home/dean/cgi-bin/moin.cgi - the cgi script
> /home/dean/public_html/xwiki/ - my instance of moinmoin
> 
> Now, with this setup, I had to use an absolute URL for
> url_prefix=https://pro5.abac.com/deanhiller/xwiki/htdocs

Stop!

Do not put your wiki in your public_html directory! Please read (again?)
this page:
http://moinmoin.wikiwikiweb.de/HelpOnInstalling/WikiInstanceCreation

Read carfully the "Security warnings" in the bold red type with the
warning icons.

Now put your wiki in /home/dean/wiki/ - the web server should not server
anything from this directory, only moin.cgi.

About url_prefix - set it to '/~dean/wiki', and in your apache
configuration file, set an alias:

    Alias /~dean/wiki/ /home/dean/share/moin/htdocs/

Let me explain how this work: All the static files in moin, like images
and css files are served by the web server, not by moin. How the web
server know what to serve? If you will look in to the source of the html
page, you can see that every image or css url starts with the '/wiki',
e.g /~dean/wiki/modern/img/moin-foo.png. The alias you set before
redirect such link
to /home/dean/share/moin/htdocs/wiki/modern/img/moin-foo.png, which is
served by Apache much faster then moin can.

--

-- 
Best Regards,

Nir Soffer.

-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

Gmane