ERROR
new locking: NoLockingForReading tests if files still work when
filename is target of a rename ... ok
testQuoting (MoinMoin._tests.test_packages.QuotingTestCase) ... ok
testBasicPackageThings
(MoinMoin._tests.test_packages.UnsafePackageTestcase) ... ERROR
Page: page.exists() finds existing pages only ... ok
PageEditor: expand @USERNAME@ CamelCase ... ok
PageEditor: expand @USERNAME@ extended name - enabled ... ok
PageEditor: expand @MAILTO@ ... ok
PageEditor: expand user variables ... ok
PageEditor: expand general variables ... ok
parser.wiki: empty lines before block element ignored ... FAIL
parser.wiki: paragraph closed before block element ... FAIL
parser.wiki: close open inline tag when block close ... FAIL
parser.wiki: DateTime macro ... ok
parser.wiki: escape html markup in getText formatted call with link ... ok
parser.wiki: escape html markup in getText formatted call ... ok
parser.wiki: escape html markup in GetText macro ... ok
parser.wiki: escape html markup in getText non formatted call ... ok
parser.wiki: escape html markup in pre ... ok
parser.wiki: escape html markup in pre with hashbang ... ok
parser.wiki: escape html markup in python code area ... ok
parser.wiki: escape html markup in `tt` ... ok
parser.wiki: escape html markup in {{{tt}}} ... ok
parser.wiki: escape wiki table markup in pre ... ok
parser.wiki: escape wiki table markup in pre with hashbang ... ok
parser.wiki: escape wiki table markup in python code area ... ok
parser.wiki: escape wiki table markup in `tt` ... ok
parser.wiki: escape wiki table markup in {{{tt}}} ... ok
parser.wiki: ignore white space around heading text ... FAIL
parser.wiki: empty line separates paragraphs ... FAIL
parser.wiki: first paragraph should be in ... FAIL
parser.wiki: create paragraph after block markup ... FAIL
parser.wiki: ------------ long rule shortened to hr6 ... FAIL
parser.wiki: --- is no rule ... ok
parser.wiki: ---- is standard rule ... FAIL
parser.wiki: ----- rules with size ... FAIL
parser.wiki: TOC links to headings with white space ... ok
parser.wiki: text formating ... ok
pysupport: import existing wiki plugin ... ok
pysupport: import name from existing module ... ok
pysupport: import nonexistent attritbue raises AttributeError ... ok
pysupport: import nonexistent module raises ImportError ... ok
pysupport: import nonexistent wiki plugin fail ... ok
repair_language: should replace known language ... ok
repair_language: return crlf line endings ... ok
repair_language: should not replace in page body ... ok
repair_language: should not replace unknown langauge ... ok
request: normalize pagename: restrict groups to alpha numeric Unicode ... ok
request: httpDate default rfc1123 ... ok
request: httpDate rfc850 ... ok
request: normalize pagename: normalize slashes ... ok
request: normalize pagename: normalize whitespace ... ok
request: normalize pagename: remove invalid unicode chars ... ok
request: normalize pagename: underscore convert to spaces and normalized ... ok
search: quoting bug - unquoted terms ... ok
search: quoting bug - quoted terms ... ok
user: encode ascii password ... ok
user: encode unicode password ... ok
user: isValidName: reject group names ... ok
user: isValidName: reject unicode non alpha numeric characters ... ok
user: isValidName: accept names in any language, with spaces ... ok
user: isValidName: reject leading, trailing or multiple whitespace ... ok
user: login with ascii password ... ok
user: login with non-ascii password in pre 1.3 user file ... ok
user: login replace old non-ascii password in pre 1.3 user file ... ok
user: login with non-ascii password ... ok
util.lock: ExclusiveLock: acquire ... ok
util.lock: ExclusiveLock: acquire after timeout ... ok
util.lock: os.stat().mtime consistency with time.time() ... ok
util.lock: ExclusiveLock: lock is exclusive ... ok
util.lock: ExclusiveLock: exists ... ok
util.lock: ExclusiveLock: expire ... ok
util.lock: ExclusiveLock: isExpired ... ok
util.lock: ExclusiveLock: isLocked ... ok
util.lock: ExclusiveLock: release ... ok
util.lock: ExclusiveLock: raise ValueError for timeout < 2.0 ... ok
util.mail: encode address: 'Phrase ' ... ok
util.mail: encode Uncode address: '???? ' ... ok
util.mail: encode address with empty address: 'Phrase <>' ... ok
util.mail: encode address with empty phrase: '' ... ok
util.mail: encode invalid address 'Phrase
References:
<6af4270707300615s6b9ee28ub1cc00ed97f9f841@mail.gmail.com>
<6af4270707300652y4c611adajcafd5f1ea249d4b1@mail.gmail.com>
Message-ID:
Please let me rephrase this - of course it' not hard to googl that
moinmoin in written in Python.
My point is - because of that ! - it's seems impossible for me to
determine how to access moinmoin from python if your code is not
running on the wiki's server.
-Seb.
> > > > Hi,
> > > > this one was even hard to google ...
> > > > Obviously moinmoin in implemented in Python...
> > > >
> > > > My question however is: What is the best way to create / read / edit
> > > > pages from a (random) python program that I am writing ?
> > > >
> > > > Obviously one could start with the standard python library, open a TCP
> > > > socket and just do web server access "by hand".
> > > >
> > > > a) which are the most appropriate standard lib modules to be used for
> this
> > > ?
> > > >
> > > > b) is there maybe even already some API - i.e. some pyMoinMoin or
> > > > alike module - which simplifies accessing moinmoin wikis from outside?
> > > >
> > > > (note: by outside, I referring to the possible confusion, since
> > > > moinmoin is also python "on the inside")
> > > >
> > > > I'm also thinking about edit-locks and attachments, oh, and: user
> log-ins.
> > > >
> > > > Thanks,
> > > > Sebastian Haase
> > > >
From lists at idiacomputing.com Mon Jul 30 10:17:45 2007
From: lists at idiacomputing.com (George Dinwiddie)
Date: Mon, 30 Jul 2007 10:17:45 -0400 (EDT)
Subject: [Moin-user] Python API to access a moinmoin wiki (from outside)
In-Reply-To:
References:
<6af4270707300615s6b9ee28ub1cc00ed97f9f841@mail.gmail.com>
<6af4270707300652y4c611adajcafd5f1ea249d4b1@mail.gmail.com>
Message-ID: <18384.63.240.121.48.1185805065.squirrel@webmail.idiacomputing.com>
Sebastian,
Since, from another machine, a moinmoin instance is just like any other
webserver, accessing it using Python is just like scripting any other web
access.
What "THURNER rupert" was suggesting is that there is a second way to
access a moinmoin instance, and that's the way that one instance
synchronizes with another. Perhaps that API will help you, and perhaps
not.
Hope that helps,
George
On Mon, July 30, 2007 10:06, Sebastian Haase wrote:
> Please let me rephrase this - of course it' not hard to googl that
> moinmoin in written in Python.
>
> My point is - because of that ! - it's seems impossible for me to
> determine how to access moinmoin from python if your code is not
> running on the wiki's server.
>
> -Seb.
>
>
>
>> > > > Hi,
>> > > > this one was even hard to google ...
>> > > > Obviously moinmoin in implemented in Python...
>> > > >
>> > > > My question however is: What is the best way to create / read /
>> edit
>> > > > pages from a (random) python program that I am writing ?
>> > > >
>> > > > Obviously one could start with the standard python library, open a
>> TCP
>> > > > socket and just do web server access "by hand".
>> > > >
>> > > > a) which are the most appropriate standard lib modules to be used
>> for
>> this
>> > > ?
>> > > >
>> > > > b) is there maybe even already some API - i.e. some pyMoinMoin or
>> > > > alike module - which simplifies accessing moinmoin wikis from
>> outside?
>> > > >
>> > > > (note: by outside, I referring to the possible confusion, since
>> > > > moinmoin is also python "on the inside")
>> > > >
>> > > > I'm also thinking about edit-locks and attachments, oh, and: user
>> log-ins.
>> > > >
>> > > > Thanks,
>> > > > Sebastian Haase
--
----------------------------------------------------------------------
* George Dinwiddie * http://blog.gdinwiddie.com
Software Development http://www.idiacomputing.com
Consultant and Coach http://www.agilemaryland.org
----------------------------------------------------------------------
From robert.seeger at orsoft.de Mon Jul 30 11:04:07 2007
From: robert.seeger at orsoft.de (Robert Seeger (OR Soft))
Date: Mon, 30 Jul 2007 17:04:07 +0200
Subject: [Moin-user] Python API to access a moinmoin wiki (from outside)
In-Reply-To:
Message-ID: <00ab01c7d2ba$e1320450$7202a8c0@orsxrs>
Wiki Synch is just an application that uses the "API" you're looking for -
this is based on XMLRPC. Some basics about that can be found at
http://moinmoin.wikiwikiweb.de/WikiRpc.
You need python or other programming tools, but no MoinMoin on the client.
I never played much with it, so don't ask me any details ;-((
Kind Regards,
Robert
P.S. googling for moin-related issues rarely makes sense - better use the
search inside http://moinmoin.wikiwikiweb.de!.
> -----Original Message-----
> From: Sebastian Haase [mailto:sebastian.haase at mdc-berlin.de]
> Sent: Monday, July 30, 2007 3:30 PM
> To: THURNER rupert
> Cc: moin Users
> Subject: Re: [Moin-user] Python API to access a moinmoin wiki (from
> outside)
>
>
> On 7/30/07, THURNER rupert wrote:
> > hard to google??? aehm ...
> > http://moinmoin.wikiwikiweb.de/WikiSyncronisation
> >
> Thanks for the reply .
> But I don't get !!
> Why "Syncronisation" ?
> What did you type into google ?
>
> And there are so many titles and details on that page - that I don't
> know what it does !
> Going by the "Objective" - section on
> http://master.moinmo.in/HelpOnSynchronisation
> it seems that it requires "one of the two wikis" to be on my computer
> ?! I.e.: do I have to have a moinmoin installed ?
>
> I would appreciate some additional hints ;-)
>
> -Sebastian
>
>
>
>
> >
> > On 7/30/07, Sebastian Haase wrote:
> > >
> > > Hi,
> > > this one was even hard to google ...
> > > Obviously moinmoin in implemented in Python...
> > >
> > > My question however is: What is the best way to create /
> read / edit
> > > pages from a (random) python program that I am writing ?
> > >
> > > Obviously one could start with the standard python
> library, open a TCP
> > > socket and just do web server access "by hand".
> > >
> > > a) which are the most appropriate standard lib modules to
> be used for this
> > ?
> > >
> > > b) is there maybe even already some API - i.e. some pyMoinMoin or
> > > alike module - which simplifies accessing moinmoin wikis
> from outside?
> > >
> > > (note: by outside, I referring to the possible confusion, since
> > > moinmoin is also python "on the inside")
> > >
> > > I'm also thinking about edit-locks and attachments, oh,
> and: user log-ins.
> > >
> > > Thanks,
> > > Sebastian Haase
> > >
> > >
> >
> --------------------------------------------------------------
> -----------
> > > This SF.net email is sponsored by: Splunk Inc.
> > > Still grepping through log files to find problems? Stop.
> > > Now Search log events and configuration files using AJAX
> and a browser.
> > > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > > _______________________________________________
> > > Moin-user mailing list
> > > Moin-user at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/moin-user
> > >
> >
> >
>
>
>
From sebastian.haase at mdc-berlin.de Tue Jul 31 03:10:38 2007
From: sebastian.haase at mdc-berlin.de (Sebastian Haase)
Date: Tue, 31 Jul 2007 09:10:38 +0200
Subject: [Moin-user] Python API to access a moinmoin wiki (from outside)
In-Reply-To:
References:
Message-ID:
On 7/31/07, Tyler Oderkirk wrote:
> On 7/30/07, Sebastian Haase wrote:
> > My question however is: What is the best way to create / read / edit
> > pages from a (random) python program that I am writing ?
>
> Hi Sebastian,
>
> Maybe this utility's source can be of some use:
>
> "A script to update a remote MoinMoin Wiki from files in the file
> system or another MoinMoin using MoinMoin's XML-RPC interface." --
> http://www.merten-home.de/FreeSoftware/moinupdate/
>
> -Tyler
Hi Tyler,
thanks for the link, and for making your code accessible.
Isn't http://www.merten-home.de/FreeSoftware/remoteMoin
more what I want !?
I have to admit that I don't fully see the difference between
moinupdate and remoteMoin.
Comment: your section "PREREQUISITES"
(http://www.merten-home.de/FreeSoftware/moinupdate/manual.html) is
written more like a list of "what cannot do" - rather than "what you
need run moinupdate at all"...
where does one get this remoteMoin plugin from ?
Comment2: otherwise super well documented by the way !! congratulations.
I just came accross the page of Anders Eurenius.
http://moinmoin.wikiwikiweb.de/AndersEurenius
He has a seemingly minimal yet powerful tool. He calls it:
wikiup.py
Does anyone here know if that works !?
(The help string does seem "well maintained" - e.g. it says:
"-n,--dry-run actually do the updates" ;-) )
Final question: are
action=xmlrpc
and
action=xmlrpc2
part of a default MoinMoin ver. 1.5 installation ?
(I am so far using the DesktopEdition - but consider switching...)
Thanks for all the hints,
Sebastian
From boris.callens.osv at fedex.com Tue Jul 31 03:38:17 2007
From: boris.callens.osv at fedex.com (Boris Callens)
Date: Tue, 31 Jul 2007 09:38:17 +0200
Subject: [Moin-user] Python API to access a moinmoin wiki (from outside)
In-Reply-To:
References:
Message-ID:
Sebastian,
Care filling us in on what your project will contain exactly?
Just being curious.
Boris
On Tue, 31 Jul 2007 09:10:38 +0200, Sebastian Haase
wrote:
> On 7/31/07, Tyler Oderkirk wrote:
>> On 7/30/07, Sebastian Haase wrote:
>> > My question however is: What is the best way to create / read / edit
>> > pages from a (random) python program that I am writing ?
>>
>> Hi Sebastian,
>>
>> Maybe this utility's source can be of some use:
>>
>> "A script to update a remote MoinMoin Wiki from files in the file
>> system or another MoinMoin using MoinMoin's XML-RPC interface." --
>> http://www.merten-home.de/FreeSoftware/moinupdate/
>>
>> -Tyler
> Hi Tyler,
> thanks for the link, and for making your code accessible.
> Isn't http://www.merten-home.de/FreeSoftware/remoteMoin
> more what I want !?
> I have to admit that I don't fully see the difference between
> moinupdate and remoteMoin.
> Comment: your section "PREREQUISITES"
> (http://www.merten-home.de/FreeSoftware/moinupdate/manual.html) is
> written more like a list of "what cannot do" - rather than "what you
> need run moinupdate at all"...
> where does one get this remoteMoin plugin from ?
> Comment2: otherwise super well documented by the way !! congratulations.
>
>
>
> I just came accross the page of Anders Eurenius.
> http://moinmoin.wikiwikiweb.de/AndersEurenius
> He has a seemingly minimal yet powerful tool. He calls it:
> wikiup.py
> Does anyone here know if that works !?
> (The help string does seem "well maintained" - e.g. it says:
> "-n,--dry-run actually do the updates" ;-) )
>
> Final question: are
> action=xmlrpc
> and
> action=xmlrpc2
> part of a default MoinMoin ver. 1.5 installation ?
> (I am so far using the DesktopEdition - but consider switching...)
>
>
> Thanks for all the hints,
> Sebastian
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
--
Boris Callens
FedEx
From boris.callens.osv at fedex.com Tue Jul 31 03:57:57 2007
From: boris.callens.osv at fedex.com (Boris Callens)
Date: Tue, 31 Jul 2007 09:57:57 +0200
Subject: [Moin-user] Add level with Include macro
Message-ID:
Hi list,
I am trying to make my pages more modular by splitting them all up in
several subpages and using the [[Include(/SubPage)]] command on the
orignal page to include the subpages.
Now I would like to make the inserted pages follow the header levels from
the page where they are inserted.\
I googled this and found the syntax for that should be [[Include(/SubPage,
level)]] but that just gives me a parsing error.
Example:
= MainPageTitle =
[[Insert(/SubPage)]]
= SubPageTitle =
Here goes a random text
= MainPageTitle =
== SubPageTitle ==
Here goes a random text
--
Boris Callens
FedEx
From seb.haase at gmx.net Tue Jul 31 05:41:53 2007
From: seb.haase at gmx.net (Sebastian Haase)
Date: Tue, 31 Jul 2007 11:41:53 +0200
Subject: [Moin-user] Python API to access a moinmoin wiki (from outside)
In-Reply-To:
References:
Message-ID:
Boris,
of course. So far I'm moslty still collecting ideas. But one example
would be using the wiki as some sort of a documantation database ...
Explanation: I have a Matlab-like Python ( + numpy) based interactive
development environment to do image analysis kind of things.
I hought it would be neat, if one could put a log of an interactive
session right into the wiki.
That way I could do a wiki search over all prior "projects" I did.
Also one could think of adding screen shots into those wiki pages.
Other people would have access on what and how I did something ...
This is an intranet type wiki.
-Sebastian
On 7/31/07, Boris Callens wrote:
> Sebastian,
>
> Care filling us in on what your project will contain exactly?
> Just being curious.
>
> Boris
>
> On Tue, 31 Jul 2007 09:10:38 +0200, Sebastian Haase
> wrote:
>
> > On 7/31/07, Tyler Oderkirk wrote:
> >> On 7/30/07, Sebastian Haase wrote:
> >> > My question however is: What is the best way to create / read / edit
> >> > pages from a (random) python program that I am writing ?
> >>
> >> Hi Sebastian,
> >>
> >> Maybe this utility's source can be of some use:
> >>
> >> "A script to update a remote MoinMoin Wiki from files in the file
> >> system or another MoinMoin using MoinMoin's XML-RPC interface." --
> >> http://www.merten-home.de/FreeSoftware/moinupdate/
> >>
> >> -Tyler
> > Hi Tyler,
> > thanks for the link, and for making your code accessible.
> > Isn't http://www.merten-home.de/FreeSoftware/remoteMoin
> > more what I want !?
> > I have to admit that I don't fully see the difference between
> > moinupdate and remoteMoin.
> > Comment: your section "PREREQUISITES"
> > (http://www.merten-home.de/FreeSoftware/moinupdate/manual.html) is
> > written more like a list of "what cannot do" - rather than "what you
> > need run moinupdate at all"...
> > where does one get this remoteMoin plugin from ?
> > Comment2: otherwise super well documented by the way !! congratulations.
> >
> >
> >
> > I just came accross the page of Anders Eurenius.
> > http://moinmoin.wikiwikiweb.de/AndersEurenius
> > He has a seemingly minimal yet powerful tool. He calls it:
> > wikiup.py
> > Does anyone here know if that works !?
> > (The help string does seem "well maintained" - e.g. it says:
> > "-n,--dry-run actually do the updates" ;-) )
> >
> > Final question: are
> > action=xmlrpc
> > and
> > action=xmlrpc2
> > part of a default MoinMoin ver. 1.5 installation ?
> > (I am so far using the DesktopEdition - but consider switching...)
> >
> >
> > Thanks for all the hints,
> > Sebastian
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > Moin-user mailing list
> > Moin-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/moin-user
>
>
>
> --
> Boris Callens
> FedEx
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
>
From robert.seeger at orsoft.de Tue Jul 31 07:42:08 2007
From: robert.seeger at orsoft.de (Robert Seeger (OR Soft))
Date: Tue, 31 Jul 2007 13:42:08 +0200
Subject: [Moin-user] Add level with Include macro
In-Reply-To:
Message-ID: <001501c7d367$d3dd5ae0$7202a8c0@orsxrs>
Hi Boris,
we use this technique massively in our wikis and it is indeed very helpful, especially if you have repetitive parts.
The correct syntax for what you want is
[[Include(/MySubPage,"title of the header for the include",level)]]
In this case, /MySubPage should not start with its own header and its subheaders should start on level+1.
See http://moinmaster.wikiwikiweb.de/HelpOnMacros/Include. This states that heading is optional, however that means that you need an empty parameter, e.g.
[[Include(/MySubPage, ,level)]]
However I recommend to use heading because then you can click on it to go to /MySubPage.
Kind Regards,
Robert
> -----Original Message-----
> From: Boris Callens [mailto:boris.callens.osv at fedex.com]
> Sent: Tuesday, July 31, 2007 9:58 AM
> To: moin-user at lists.sourceforge.net
> Subject: [Moin-user] Add level with Include macro
>
>
> Hi list,
>
> I am trying to make my pages more modular by splitting them
> all up in
> several subpages and using the [[Include(/SubPage)]] command on the
> orignal page to include the subpages.
>
> Now I would like to make the inserted pages follow the header
> levels from
> the page where they are inserted.\
> I googled this and found the syntax for that should be
> [[Include(/SubPage,
> level)]] but that just gives me a parsing error.
>
> Example:
>
>
>
> = MainPageTitle =
> [[Insert(/SubPage)]]
>
>
>
>
>
> = SubPageTitle =
> Here goes a random text
>
>
>
>
> = MainPageTitle =
> == SubPageTitle ==
> Here goes a random text
>
> --
> Boris Callens
> FedEx
>
>
>
From boris.callens.osv at fedex.com Tue Jul 31 07:50:20 2007
From: boris.callens.osv at fedex.com (Boris Callens)
Date: Tue, 31 Jul 2007 13:50:20 +0200
Subject: [Moin-user] Add level with Include macro
In-Reply-To: <001501c7d367$d3dd5ae0$7202a8c0@orsxrs>
References: <001501c7d367$d3dd5ae0$7202a8c0@orsxrs>
Message-ID:
Hi Robert,
Thx, I indeed forgot to insert the empty parameter.
The level you give as a paremeter, is that a restriction (so, only
starting that leven, the page should be included) or is it at what level
de subpage will be inserted (so all the subpage's levels will be augmented
by the paremeter)?
Also I noticed that the TableOfContents() macro doesn't support links to
the subPage's headers.
They are listed, but when you click on them, no action is taken.
Any idea how to fix this?
Boris
On Tue, 31 Jul 2007 13:42:08 +0200, Robert Seeger (OR Soft)
wrote:
> Hi Boris,
> we use this technique massively in our wikis and it is indeed very
> helpful, especially if you have repetitive parts.
> The correct syntax for what you want is
>
> [[Include(/MySubPage,"title of the header for the include",level)]]
>
> In this case, /MySubPage should not start with its own header and its
> subheaders should start on level+1.
>
> See http://moinmaster.wikiwikiweb.de/HelpOnMacros/Include. This states
> that heading is optional, however that means that you need an empty
> parameter, e.g.
> [[Include(/MySubPage, ,level)]]
>
> However I recommend to use heading because then you can click on it to
> go to /MySubPage.
>
> Kind Regards,
> Robert
>
>
>
>> -----Original Message-----
>> From: Boris Callens [mailto:boris.callens.osv at fedex.com]
>> Sent: Tuesday, July 31, 2007 9:58 AM
>> To: moin-user at lists.sourceforge.net
>> Subject: [Moin-user] Add level with Include macro
>>
>>
>> Hi list,
>>
>> I am trying to make my pages more modular by splitting them
>> all up in
>> several subpages and using the [[Include(/SubPage)]] command on the
>> orignal page to include the subpages.
>>
>> Now I would like to make the inserted pages follow the header
>> levels from
>> the page where they are inserted.\
>> I googled this and found the syntax for that should be
>> [[Include(/SubPage,
>> level)]] but that just gives me a parsing error.
>>
>> Example:
>>
>>
>>
>> = MainPageTitle =
>> [[Insert(/SubPage)]]
>>
>>
>>
>>
>>
>> = SubPageTitle =
>> Here goes a random text
>>
>>
>>
>>
>> = MainPageTitle =
>> == SubPageTitle ==
>> Here goes a random text
>>
>> --
>> Boris Callens
>> FedEx
>>
>>
>>
>
--
Boris Callens
FedEx
From boris.callens.osv at fedex.com Tue Jul 31 10:09:30 2007
From: boris.callens.osv at fedex.com (Boris Callens)
Date: Tue, 31 Jul 2007 16:09:30 +0200
Subject: [Moin-user] Add level with Include macro
In-Reply-To: <46AF4068.3020502@thingbag.net>
References: <001501c7d367$d3dd5ae0$7202a8c0@orsxrs>
<46AF4068.3020502@thingbag.net>
Message-ID:
Thx for the update
On Tue, 31 Jul 2007 16:00:08 +0200, David Cramer
wrote:
> There's a bug in the TOC macro. If you use the 'fully qualified' path to
> the sub-page, the toc will work:
>
> [[Include(ParentPage/MySubPage,"title of the header for the
> include",level)]]
>
> http://moinmoin.wikiwikiweb.de/MoinMoinBugs/TableOfContentsBrokenForIncludedPages?highlight=%28MoinMoinBugs/%29%7C%28CategoryMoinMoinBugConfirmed%29
>
> You might be interested in this feature request:
> http://moinmoin.wikiwikiweb.de/FeatureRequests/SectionEditing
>
> David
>
>
> Boris Callens wrote:
>> Hi Robert,
>>
>> Thx, I indeed forgot to insert the empty parameter.
>> The level you give as a paremeter, is that a restriction (so, only
>> starting that leven, the page should be included) or is it at what
>> level de subpage will be inserted (so all the subpage's levels will be
>> augmented by the paremeter)?
>>
>> Also I noticed that the TableOfContents() macro doesn't support links
>> to the subPage's headers.
>> They are listed, but when you click on them, no action is taken.
>> Any idea how to fix this?
>>
>> Boris
>>
>> On Tue, 31 Jul 2007 13:42:08 +0200, Robert Seeger (OR Soft)
>> wrote:
>>
>>
>>> Hi Boris,
>>> we use this technique massively in our wikis and it is indeed very
>>> helpful, especially if you have repetitive parts.
>>> The correct syntax for what you want is
>>>
>>> [[Include(/MySubPage,"title of the header for the include",level)]]
>>>
>>> In this case, /MySubPage should not start with its own header and its
>>> subheaders should start on level+1.
>>>
>>> See http://moinmaster.wikiwikiweb.de/HelpOnMacros/Include. This
>>> states that heading is optional, however that means that you need an
>>> empty parameter, e.g.
>>> [[Include(/MySubPage, ,level)]]
>>>
>>> However I recommend to use heading because then you can click on it
>>> to go to /MySubPage.
>>>
>>> Kind Regards,
>>> Robert
>>>
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: Boris Callens [mailto:boris.callens.osv at fedex.com]
>>>> Sent: Tuesday, July 31, 2007 9:58 AM
>>>> To: moin-user at lists.sourceforge.net
>>>> Subject: [Moin-user] Add level with Include macro
>>>>
>>>>
>>>> Hi list,
>>>>
>>>> I am trying to make my pages more modular by splitting them
>>>> all up in
>>>> several subpages and using the [[Include(/SubPage)]] command on the
>>>> orignal page to include the subpages.
>>>>
>>>> Now I would like to make the inserted pages follow the header
>>>> levels from
>>>> the page where they are inserted.\
>>>> I googled this and found the syntax for that should be
>>>> [[Include(/SubPage,
>>>> level)]] but that just gives me a parsing error.
>>>>
>>>> Example:
>>>>
>>>>
>>>>
>>>> = MainPageTitle =
>>>> [[Insert(/SubPage)]]
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> = SubPageTitle =
>>>> Here goes a random text
>>>>
>>>>
>>>>
>>>>
>>>> = MainPageTitle =
>>>> == SubPageTitle ==
>>>> Here goes a random text
>>>>
>>>> --
>>>> Boris Callens
>>>> FedEx
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>>
>
>
--
Boris Callens
FedEx
From thurner.rupert at redleo.org Tue Jul 31 12:29:20 2007
From: thurner.rupert at redleo.org (THURNER rupert)
Date: Tue, 31 Jul 2007 18:29:20 +0200
Subject: [Moin-user] Python API to access a moinmoin wiki (from outside)
In-Reply-To:
References:
Message-ID: <6af4270707310929xacc7ea2ld72fb2a0300ed0fa@mail.gmail.com>
hmm ... i know that thomas&co put irc logs into the wiki, there is even an
irc log parser (see http://moinmoin.wikiwikiweb.de/ParserMarket e.g.) - but
i think this is more a manual process, isn't it? copy-paste?
rupert.
On 7/31/07, Sebastian Haase wrote:
>
> Boris,
> of course. So far I'm moslty still collecting ideas. But one example
> would be using the wiki as some sort of a documantation database ...
> Explanation: I have a Matlab-like Python ( + numpy) based interactive
> development environment to do image analysis kind of things.
> I hought it would be neat, if one could put a log of an interactive
> session right into the wiki.
> That way I could do a wiki search over all prior "projects" I did.
> Also one could think of adding screen shots into those wiki pages.
> Other people would have access on what and how I did something ...
> This is an intranet type wiki.
>
> -Sebastian
>
>
>
> On 7/31/07, Boris Callens wrote:
> > Sebastian,
> >
> > Care filling us in on what your project will contain exactly?
> > Just being curious.
> >
> > Boris
> >
> > On Tue, 31 Jul 2007 09:10:38 +0200, Sebastian Haase
> > wrote:
> >
> > > On 7/31/07, Tyler Oderkirk wrote:
> > >> On 7/30/07, Sebastian Haase wrote:
> > >> > My question however is: What is the best way to create / read /
> edit
> > >> > pages from a (random) python program that I am writing ?
> > >>
> > >> Hi Sebastian,
> > >>
> > >> Maybe this utility's source can be of some use:
> > >>
> > >> "A script to update a remote MoinMoin Wiki from files in the file
> > >> system or another MoinMoin using MoinMoin's XML-RPC interface." --
> > >> http://www.merten-home.de/FreeSoftware/moinupdate/
> > >>
> > >> -Tyler
> > > Hi Tyler,
> > > thanks for the link, and for making your code accessible.
> > > Isn't http://www.merten-home.de/FreeSoftware/remoteMoin
> > > more what I want !?
> > > I have to admit that I don't fully see the difference between
> > > moinupdate and remoteMoin.
> > > Comment: your section "PREREQUISITES"
> > > (http://www.merten-home.de/FreeSoftware/moinupdate/manual.html) is
> > > written more like a list of "what cannot do" - rather than "what you
> > > need run moinupdate at all"...
> > > where does one get this remoteMoin plugin from ?
> > > Comment2: otherwise super well documented by the way !!
> congratulations.
> > >
> > >
> > >
> > > I just came accross the page of Anders Eurenius.
> > > http://moinmoin.wikiwikiweb.de/AndersEurenius
> > > He has a seemingly minimal yet powerful tool. He calls it:
> > > wikiup.py
> > > Does anyone here know if that works !?
> > > (The help string does seem "well maintained" - e.g. it says:
> > > "-n,--dry-run actually do the updates" ;-) )
> > >
> > > Final question: are
> > > action=xmlrpc
> > > and
> > > action=xmlrpc2
> > > part of a default MoinMoin ver. 1.5 installation ?
> > > (I am so far using the DesktopEdition - but consider switching...)
> > >
> > >
> > > Thanks for all the hints,
> > > Sebastian
> > >
> > >
> -------------------------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc.
> > > Still grepping through log files to find problems? Stop.
> > > Now Search log events and configuration files using AJAX and a
> browser.
> > > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > > _______________________________________________
> > > Moin-user mailing list
> > > Moin-user at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/moin-user
> >
> >
> >
> > --
> > Boris Callens
> > FedEx
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc.
> > Still grepping through log files to find problems? Stop.
> > Now Search log events and configuration files using AJAX and a browser.
> > Download your FREE copy of Splunk now >> http://get.splunk.com/
> > _______________________________________________
> > 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: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jackc at hylesanderson.edu Tue Jul 31 14:46:15 2007
From: jackc at hylesanderson.edu (Jack Christensen)
Date: Tue, 31 Jul 2007 13:46:15 -0500
Subject: [Moin-user] Extremely slow uploads
Message-ID: <46AF8377.9050708@hylesanderson.edu>
I just installed MoinMoin. Everything seems to work great except
extremely slow uploads. An upload of 2k will take several seconds. An
upload of ~25k may take minutes.
I've searched and all I could find about upload problems was something
about binary files on Windows. I'm having difficulty with both text and
binary files and I'm on linux.
The server is on the same LAN so bandwidth isn't a problem. On the same
machine I have PmWiki (which I'm trying to migrate to MoinMoin), and it
doesn't have these upload problems so I don't think something is totally
messed up with the machine or OS.
Here's some info about the install:
Ubuntu 7.04 server 32-bit
Apache 2.2
Python 2.5
MoinMoin is installed from the source on the web site. Apache and python
are installed via aptitude.
Here's part of the Apache 2.2 config pointing to it:
>>>
ScriptAlias /mywiki "/var/moinmoin/hacwiki/cgi-bin/moin.cgi"
alias /wiki "/usr/share/moin/htdocs"
Order allow,deny
allow from all
>>>
Any suggestions?
Thanks!
--
Jack Christensen
jackc at hylesanderson.edu
From jackc at hylesanderson.edu Tue Jul 31 15:21:18 2007
From: jackc at hylesanderson.edu (Jack Christensen)
Date: Tue, 31 Jul 2007 14:21:18 -0500
Subject: [Moin-user] Extremely slow uploads
Message-ID: <46AF8BAE.6030202@hylesanderson.edu>
I just double-checked and my uploads to PmWiki are stalled as well. It
used to work. Not sure what could have changed, but it looks like its
not a MoinMoin problem.
Sorry about the noise.
--
Jack Christensen
jackc at hylesanderson.edu
From jdk at hacom.nl Tue Jul 31 19:09:33 2007
From: jdk at hacom.nl (=?Windows-1251?B?wfP142Hr8uVw6P8=?=)
Date: Wed, 01 Aug 2007 03:09:33 +0400
Subject: [Moin-user] =?windows-1251?b?1OjtYe1j7uL76SDz92XyIOTr/yDs5e3l5OZl?=
=?windows-1251?b?8OA=?=
Message-ID: <5437356337.20070731935539@host239.201-252-148.telecom.net.ar>
??????????, ??????????
>?????????????????????????????????????????????????????????????????????????
> ??????? ??? ?????????????
> ???
> ?????????? ???? ??? ?????????
>?????????????????????????????????????????????????????????????????????????
> 3 ???????
> ?. K??? ? ??. ????????????, 1/3? ??e?? ??????????
> ?e?.: (044) 331-64-14, 592-75-64
> 560.00 ?p?.
>?????????????????????????????????????????????????????????????????????????
> ?E?EB?? A????OP??
??????? ???????????? ??? ????????? ???????????? ??????????, ????????????
?????????? ??????? ??????, ???????????, ???????????.
> ?P??P???? ?E??????
1. ????????????? ???? ? ????? ????????.
2. ???????? ?????????????? ?????: ???????? ?????????, ????????????????,
???????????? ?????????????, ???????????? ??????? ? ????????, ???????
?????? ? ??.
3. ??????? ???????? ???????????.
4. ????????? ?????????: ???????? ????????? ? ??????? ??????????.
5. ??????? ???????? (?????????, ???????, ??????? ?????).
6. ?????????? ?????? ??????? ?????? (?? ???? ???????? ????????).
7. ?????????? ??????????: ??????, ?????????????.
8. ?????? ??????:
* ??????? ???????????;
* ??????, ??????????? ??????? ? ?????????????;
* ??????????? ? ????????? ??????;
* ??????????? ????? ??????????? ??????? (???????????, ?????????
??????????????);
* ???? ???????? ???????: ???????? ????????, ??????, ??????, ???????????
?????????????;
* ??? ?????? ? ?????????????? ???????;
* ?? ??? ??????????? ???????;
* ???????????? ? ????????????? ???????????? ?????????????;
* ?????? ????????? ???????? ? ?????????? ???????????: ????????????,
???????????, ???????????, ???????? ? ?.?.
9. ????? ? ?????????? ???????????:
* ????????? ??????????? ????????????, ?????????? ? ??????????????
????????????;
* ?????? ????????? ??????;
* ??????? ????????? ???????? (? ??????? ???????????????? ?????????????,
????? ?????????? ???????????, ? ??????? ?????????????);
* ?????? ??????? ??? ??????;
* ?????????? ? ?????????? ???????, ???????????? ?????, ????? ??????????????.
10. ????? ? ???????? ???????? ???????: ????????? ? ?????? ?????? ???????????.
?????????? ? ??????? ??????????: ??????????? ?????? ???????.
11. ??????????? ??????????? ????????? ??????????? ? ??????? ?????????????,
???????????? ?? ??????????? ?????????? ??????????:
* ?????????? ???????????? (??????????? ??????????? ? ??????? ???????);
* ??????????? (??????????? ?????????????? ? ???????????);
* ??????????????? (?????? ???????? ????????? ???????);
* ?????????????? (????????????? ????????????? ??????? ? ????????).
12. ?????? ?? ??????? ??????????.
> ??????
??????????? ??????? ??????????? ? ?????????? ? ????????? ???????????
? ??????? ?????? ???????????? ??????, ??????????? ?? ???????? ???????????????
? ?????????? ? ????, ????? ??????? ???? ???????????? ???????? ??? ??? ??????????,
??? ? ??? ??????? ???????????? ?? ?????, ??????? ????? ?????? ???????
????????????? ??????????? ? ????????, ????? ?????????? ?? ???????? ???????????????,
???????? ? ???????? ????????? ? ????? ???????: ????????, ?????????????,
???? ? ????????????? ??????, ??????-???????, ??????????????, ???????? ????????,
???????? ??????? ? ??.
> P????????
* 10.00-17.00
* ?epep?? 13.00-14.00
* Pe??c?p???? c 9.30 ? ?o??epe??-?a?? ????? ??????????.
From isdale at avinc.com Tue Jul 31 19:41:40 2007
From: isdale at avinc.com (Jerry Isdale)
Date: Tue, 31 Jul 2007 16:41:40 -0700
Subject: [Moin-user] Creating a table of contents for subpages?
Message-ID: <6AE4DB17-A03E-452E-960F-3AA9BBF84BCE@avinc.com>
I'm a MoinMoin newbie using the DesktopEdition on my MacBook Pro.
I'm looking into using MoinMoin as a shared system for lots of
Project related stuff (documentation, requirements, design, developer
blogging). My gut says a wiki should be good for some of this and I
like many things about MoinMoin.
Anyway, my issue du jour:
I'm trying to create a TOC or similar navigation aid for subpages, in
a specified or sorted manner.
The Navigation(children) macro makes a box with word wrapped titles.
The Include macro might work but I cant figure out the proper arguments.
For example say I have
MyPage MyPage/Section 1 Scope, /Section 2 Reference Documents, /
Section 3 Requirements, etc.
I'd like to have a simple macro to line them all up as a TOC
/Section1 Scope
/Section 2 Reference Documents
/Section 3 Requirements
etc.
without having to explicitly put them in that way.
Another (better) example might be as a blog...
MyBlog /2007.07.01 /2007.07.02 /2007.07.03 ...
and have a TOC for these, sorted in some ascending/decending order.
Question 1) Is there a way to make Navigation() put things on new
lines? (simple ans: sure write a python patch)
Looking at the Include macro:
The titlesonly parameter looks like it would work but I cant seem
to get it to accept and display.
I created MyNewPage and four sub pages /Page01 /Page02 /Page03 /
Page04
Then on MyNewPage I put in
[[Include(^MyNewPage/Page.*, , sort=ascending)]]
and it included the pages directly.
So I tried
[[Include(^MyNewPage/Page.*, , sort=ascending, titlesonly)]]
and it displays nothing.
Question 2: How do I use Include Macro's titlesonly?
Question 3: What if I wanted generic (template) macro that would
work w/o explicitly putting in full name of current page? explicitly
What is the the 'pagename' regex for that?
I cant find documentation of "regex" anywhere in MoinMoin. Being
geeks, can assume this is short for Regular Expression.
Question 4: Is regex a wrapper on Python's re module such that the
syntax of regex is as defined in http://docs.python.org/lib/re-
syntax.html ? Does anyone else think there should be some reference
page within MoinMoin' s Help where someone can find this syntax or a
reference to external docs for it?
Jerry Isdale
isdale at avinc.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: