From theller at ctypes.org Fri Dec 1 10:43:29 2006 From: theller at ctypes.org (Thomas Heller) Date: Fri, 01 Dec 2006 16:43:29 +0100 Subject: [Moin-user] rst to moin wiki markup Message-ID: Is it possible to let docutils convert rst to moinmoin wiki markup? Thanks, Thomas From mattlist at fastmail.fm Fri Dec 1 11:45:14 2006 From: mattlist at fastmail.fm (matt) Date: Fri, 01 Dec 2006 08:45:14 -0800 Subject: [Moin-user] Raw code on Text Edit page Message-ID: <1164991514.4479.278409055@webmail.messagingengine.com> Instead of seeing formatting examples on the Editing page, I see the following: Emphasis:: [[Verbatim('')]]''italics''[[Verbatim('')]]; [[Verbatim(''')]]'''bold'''[[Verbatim(''')]]; [[Verbatim(''''')]]'''''bold italics'''''[[Verbatim(''''')]]; [[Verbatim('')]]''mixed ''[[Verbatim(''')]]'''''bold'''[[Verbatim(''')]] and italics''[[Verbatim('')]]; [[Verbatim(----)]] horizontal rule. Headings:: [[Verbatim(=)]] Title 1 [[Verbatim(=)]]; [[Verbatim(==)]] Title 2 [[Verbatim(==)]]; [[Verbatim(===)]] Title 3 [[Verbatim(===)]]; [[Verbatim(====)]] Title 4 [[Verbatim(====)]]; [[Verbatim(=====)]] Title 5 [[Verbatim(=====)]]. Lists:: space and one of: * bullets; 1., a., A., i., I. numbered items; 1.#n start numbering at n; space alone indents. Links:: [[Verbatim(JoinCapitalizedWords)]]; [[Verbatim(["brackets and double quotes"])]]; url; [url]; [url label]. Tables:: || cell text |||| cell text spanning 2 columns ||; no trailing white space allowed after tables or titles. (!) For more help, see HelpOnEditing or SyntaxReference. Anyone know what may be causing this? I have no idea where to start looking. I've grep-ed around looking for the source of this code, but came up empty handed. Thanks, Matt -- matt mattlist at fastmail.fm -- http://www.fastmail.fm - Or how I learned to stop worrying and love email again From keith.c.schwols at intel.com Fri Dec 1 12:01:20 2006 From: keith.c.schwols at intel.com (Schwols, Keith C) Date: Fri, 1 Dec 2006 10:01:20 -0700 Subject: [Moin-user] Raw code on Text Edit page In-Reply-To: <1164991514.4479.278409055@webmail.messagingengine.com> Message-ID: You could start with this page http://moinmoin.wikiwikiweb.de/MoinMoinBugs/EditorQuickHelpSentVerbatim ]-----Original Message----- >From: moin-user-bounces at lists.sourceforge.net [mailto:moin-user- >bounces at lists.sourceforge.net] On Behalf Of matt >Sent: Friday, December 01, 2006 9:45 AM >To: moin-user at lists.sourceforge.net >Subject: [Moin-user] Raw code on Text Edit page > >Instead of seeing formatting examples on the Editing page, I see the >following: > >Emphasis:: [[Verbatim('')]]''italics''[[Verbatim('')]]; >[[Verbatim(''')]]'''bold'''[[Verbatim(''')]]; >[[Verbatim(''''')]]'''''bold italics'''''[[Verbatim(''''')]]; >[[Verbatim('')]]''mixed ''[[Verbatim(''')]]'''''bold'''[[Verbatim(''')]] >and italics''[[Verbatim('')]]; [[Verbatim(----)]] horizontal rule. >Headings:: [[Verbatim(=)]] Title 1 [[Verbatim(=)]]; [[Verbatim(==)]] >Title 2 [[Verbatim(==)]]; [[Verbatim(===)]] Title 3 [[Verbatim(===)]]; >[[Verbatim(====)]] Title 4 [[Verbatim(====)]]; [[Verbatim(=====)]] Title >5 [[Verbatim(=====)]]. Lists:: space and one of: * bullets; 1., a., A., >i., I. numbered items; 1.#n start numbering at n; space alone indents. >Links:: [[Verbatim(JoinCapitalizedWords)]]; [[Verbatim(["brackets and >double quotes"])]]; url; [url]; [url label]. Tables:: || cell text |||| >cell text spanning 2 columns ||; no trailing white space allowed after >tables or titles. (!) For more help, see HelpOnEditing or >SyntaxReference. > >Anyone know what may be causing this? I have no idea where to start >looking. I've grep-ed around looking for the source of this code, but >came up empty handed. > >Thanks, >Matt >-- > matt > mattlist at fastmail.fm > >-- >http://www.fastmail.fm - Or how I learned to stop worrying and > love email again > > >----------------------------------------------------------------------- -- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys - and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD EV >_______________________________________________ >Moin-user mailing list >Moin-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/moin-user From tw-public at gmx.de Fri Dec 1 12:02:39 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 01 Dec 2006 18:02:39 +0100 Subject: [Moin-user] New Style Migration - the 1.5.6 data/meta file is 01050500 In-Reply-To: <244313.55742.qm@web36201.mail.mud.yahoo.com> References: <244313.55742.qm@web36201.mail.mud.yahoo.com> Message-ID: <4570602F.7060809@gmx.de> Roger Haase schrieb: > I have just migrated from 1.5.4 to 1.5.6 on Windows/XP and ran the new > style migration script. Unless I have missed something, the script did > not change anything except the data/meta file. > > The 1.5.6 data/meta file now contains: > data_format_revision: 01050500 > > Is the above a bug Yes. But in that case, it doesn't matter, because 1.5.5 and 1.5.6 use the same data format. I put it on my HowToRelease todo to not forget it in future. :) From mattlist at fastmail.fm Fri Dec 1 13:14:59 2006 From: mattlist at fastmail.fm (matt) Date: Fri, 01 Dec 2006 10:14:59 -0800 Subject: [Moin-user] Raw code on Text Edit page In-Reply-To: References: Message-ID: <1164996899.14043.278424507@webmail.messagingengine.com> Keith, That did it! Thanks! Matt On Fri, 1 Dec 2006 10:01:20 -0700, "Schwols, Keith C" said: > You could start with this page > http://moinmoin.wikiwikiweb.de/MoinMoinBugs/EditorQuickHelpSentVerbatim > > ] > > "Divide and rule, a sound motto. Unite and lead, a better one." - Goethe > > > >-----Original Message----- > >From: moin-user-bounces at lists.sourceforge.net [mailto:moin-user- > >bounces at lists.sourceforge.net] On Behalf Of matt > >Sent: Friday, December 01, 2006 9:45 AM > >To: moin-user at lists.sourceforge.net > >Subject: [Moin-user] Raw code on Text Edit page > > > >Instead of seeing formatting examples on the Editing page, I see the > >following: > > > >Emphasis:: [[Verbatim('')]]''italics''[[Verbatim('')]]; > >[[Verbatim(''')]]'''bold'''[[Verbatim(''')]]; > >[[Verbatim(''''')]]'''''bold italics'''''[[Verbatim(''''')]]; > >[[Verbatim('')]]''mixed > ''[[Verbatim(''')]]'''''bold'''[[Verbatim(''')]] > >and italics''[[Verbatim('')]]; [[Verbatim(----)]] horizontal rule. > >Headings:: [[Verbatim(=)]] Title 1 [[Verbatim(=)]]; [[Verbatim(==)]] > >Title 2 [[Verbatim(==)]]; [[Verbatim(===)]] Title 3 [[Verbatim(===)]]; > >[[Verbatim(====)]] Title 4 [[Verbatim(====)]]; [[Verbatim(=====)]] > Title > >5 [[Verbatim(=====)]]. Lists:: space and one of: * bullets; 1., a., A., > >i., I. numbered items; 1.#n start numbering at n; space alone indents. > >Links:: [[Verbatim(JoinCapitalizedWords)]]; [[Verbatim(["brackets and > >double quotes"])]]; url; [url]; [url label]. Tables:: || cell text |||| > >cell text spanning 2 columns ||; no trailing white space allowed after > >tables or titles. (!) For more help, see HelpOnEditing or > >SyntaxReference. > > > >Anyone know what may be causing this? I have no idea where to start > >looking. I've grep-ed around looking for the source of this code, but > >came up empty handed. > > > >Thanks, > >Matt > >-- > > matt > > mattlist at fastmail.fm > > > >-- > >http://www.fastmail.fm - Or how I learned to stop worrying and > > love email again > > > > > >----------------------------------------------------------------------- > -- > >Take Surveys. Earn Cash. Influence the Future of IT > >Join SourceForge.net's Techsay panel and you'll get the chance to share > >your > >opinions on IT & business topics through brief surveys - and earn cash > >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVD > EV > >_______________________________________________ > >Moin-user mailing list > >Moin-user at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/moin-user > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user -- matt mattlist at fastmail.fm -- http://www.fastmail.fm - A no graphics, no pop-ups email service From p.f.moore at gmail.com Fri Dec 1 14:16:56 2006 From: p.f.moore at gmail.com (Paul Moore) Date: Fri, 1 Dec 2006 19:16:56 +0000 Subject: [Moin-user] rst to moin wiki markup In-Reply-To: References: Message-ID: <79990c6b0612011116t7dada02dsc15fa6bfd8a4fa8e@mail.gmail.com> On 12/1/06, Thomas Heller wrote: > Is it possible to let docutils convert rst to moinmoin wiki > markup? It's not what you asked for, but you can use RST format directly in MoinMoin, without conversion - see http://moinmoin.wikiwikiweb.de/HelpOnParsers/ReStructuredText for the details. Paul. From theller at ctypes.org Fri Dec 1 14:30:08 2006 From: theller at ctypes.org (Thomas Heller) Date: Fri, 01 Dec 2006 20:30:08 +0100 Subject: [Moin-user] rst to moin wiki markup In-Reply-To: <79990c6b0612011116t7dada02dsc15fa6bfd8a4fa8e@mail.gmail.com> References: <79990c6b0612011116t7dada02dsc15fa6bfd8a4fa8e@mail.gmail.com> Message-ID: Paul Moore schrieb: > On 12/1/06, Thomas Heller wrote: >> Is it possible to let docutils convert rst to moinmoin wiki >> markup? > > It's not what you asked for, but you can use RST format directly in > MoinMoin, without conversion - see > http://moinmoin.wikiwikiweb.de/HelpOnParsers/ReStructuredText for the > details. Yes, I know. My problem is that I like to write ReST, but the rendering of wiki markup is prettier in moinmoin. Thanks anyway, Thomas From John.Brooker at dfat.gov.au Mon Dec 11 21:41:26 2006 From: John.Brooker at dfat.gov.au (John.Brooker at dfat.gov.au) Date: Tue, 12 Dec 2006 13:41:26 +1100 Subject: [Moin-user] upgrading issue from 1.3.4 [SEC=UNCLASSIFIED] Message-ID: Greetings All, I'm having difficulty upgrading an existing MoinMoin wiki, from version 1.3.4 to 1.5.3 as part of a server migration project. the new system already has two other moinmoin wiki's which have been migrated by my predecessor. sadly he is no longer here to move this last one. anyway, i have managed to get the wiki over and working, except certain pages are showing snippets of what looks like HTML code instead of the inteded text, for example instead off a series of large, red, ">" symbols i see: [[HTML()]]>>>CurrentAlerts <<<[[HTML()]] when i upgraded the data folder i ran the following scripts (in this order): 12_to_13_mig10.py 12_to_13_mig11.py 152_to_1050300.py moin --config-dir:/var/mywiki -- --wiki-url=thisserver/premovedwiki/ migration data any ideas guys? thanks in advance Jonh Brooker ps the OS used is solaris 9. -------------- next part -------------- An HTML attachment was scrubbed... URL: From steveo at syslang.net Mon Dec 11 22:55:14 2006 From: steveo at syslang.net (Steven W. Orr) Date: Mon, 11 Dec 2006 22:55:14 -0500 (EST) Subject: [Moin-user] Question abouit configuring email Message-ID: I'm new so please be gentle. I run the server and I just installed moin-1.5.6 on linux with sendmail. This is the mail setup I have. If I'm logged in and looking at a page I see no button to enable notification if a page is modified. I see nothing regardless of whether the mail_smarthost or the mail_sendmail option is set. Can someone tell me what to do next? TIA # Mail -------------------------------------------------------------- # Configure to enable subscribing to pages (disabled by default) # or sending forgotten passwords. # SMTP server, e.g. "mail.provider.com" (None to disable mail) mail_smarthost = "syslang.net" # mail_sendmail = "/usr/sbin/sendmail -t -i" # The return address, e.g u"Jrgen Wiki " [Unicode] mail_from = u"Frambors Wiki " # "user pwd" if you need to use SMTP AUTH #mail_login = "" -- Time flies like the wind. Fruit flies like a banana. Stranger things have .0. happened but none stranger than this. Does your driver's license say Organ ..0 Donor?Black holes are where God divided by zero. Listen to me! We are all- 000 individuals! What if this weren't a hypothetical question? steveo at syslang.net From rvanderveer at cognitivearts.com Mon Dec 11 23:21:53 2006 From: rvanderveer at cognitivearts.com (Rick Vanderveer) Date: Mon, 11 Dec 2006 22:21:53 -0600 Subject: [Moin-user] Question abouit configuring email In-Reply-To: References: Message-ID: Just taking a stab here: It sounds like you want to use the sendmail install on localhost, but are using the smarthost configuration. If you want to send to a mail server on your network, make sure the name is fully qualified (for example, mail.syslang.net or smtp.syslang.net). Otherwise, comment out that line and uncomment the mail_sendmail. -Rick On Dec 11, 2006, at 9:55 PM, Steven W. Orr wrote: > I'm new so please be gentle. I run the server and I just installed > moin-1.5.6 on linux with sendmail. > > This is the mail setup I have. If I'm logged in and looking at a > page I > see no button to enable notification if a page is modified. I see > nothing > regardless of whether the mail_smarthost or the mail_sendmail > option is > set. > > Can someone tell me what to do next? > > TIA > > # Mail > -------------------------------------------------------------- > > # Configure to enable subscribing to pages (disabled by default) > # or sending forgotten passwords. > > # SMTP server, e.g. "mail.provider.com" (None to disable mail) > mail_smarthost = "syslang.net" > # mail_sendmail = "/usr/sbin/sendmail -t -i" > > # The return address, e.g u"Jrgen Wiki > " [Unicode] > mail_from = u"Frambors Wiki " > > # "user pwd" if you need to use SMTP AUTH > #mail_login = "" > > > -- > Time flies like the wind. Fruit flies like a banana. Stranger > things have .0. > happened but none stranger than this. Does your driver's license > say Organ ..0 > Donor?Black holes are where God divided by zero. Listen to me! We > are all- 000 > individuals! What if this weren't a hypothetical question? > steveo at syslang.net > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From tw-public at gmx.de Tue Dec 12 04:24:33 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 12 Dec 2006 10:24:33 +0100 Subject: [Moin-user] upgrading issue from 1.3.4 [SEC=UNCLASSIFIED] In-Reply-To: References: Message-ID: <457E7551.9040303@gmx.de> > I'm having difficulty upgrading an existing MoinMoin wiki, from version 1.3.4 to 1.5.3 as part of a server migration project. > > the new system already has two other moinmoin wiki's which have been > migrated by my predecessor. sadly he is no longer here to move this > last one. > anyway, i have managed to get the wiki over and working, except > certain pages are showing snippets of what looks like HTML code > instead of the inteded text, > > for example instead off a series of large, red, ">" symbols i see: > [[HTML()]]>>> > CurrentAlerts > <<<[[HTML()]] > This looks like you don't have the HTML macro installed in your data/plugin/macro directory. > Maybe it is also a good idea to clear your wiki cache directory. From steveo at syslang.net Tue Dec 12 09:10:37 2006 From: steveo at syslang.net (Steven W. Orr) Date: Tue, 12 Dec 2006 09:10:37 -0500 (EST) Subject: [Moin-user] Question abouit configuring email In-Reply-To: References: Message-ID: On Monday, Dec 11th 2006 at 22:21 -0600, quoth Rick Vanderveer: =>Just taking a stab here: It sounds like you want to use the sendmail install =>on localhost, but are using the smarthost configuration. If you want to send =>to a mail server on your network, make sure the name is fully qualified (for =>example, mail.syslang.net or smtp.syslang.net). Otherwise, comment out that =>line and uncomment the mail_sendmail. => =>-Rick I tried that. Something else is the problem. =>> I see nothing regardless of whether the mail_smarthost or the =>mail_sendmail option is set. I need something else to debug it further. => => =>On Dec 11, 2006, at 9:55 PM, Steven W. Orr wrote: => =>> I'm new so please be gentle. I run the server and I just installed =>> moin-1.5.6 on linux with sendmail. =>> =>> This is the mail setup I have. If I'm logged in and looking at a page I =>> see no button to enable notification if a page is modified. I see nothing =>> regardless of whether the mail_smarthost or the mail_sendmail option is =>> set. =>> =>> Can someone tell me what to do next? =>> =>> TIA =>> =>> # Mail -------------------------------------------------------------- =>> =>> # Configure to enable subscribing to pages (disabled by default) =>> # or sending forgotten passwords. =>> =>> # SMTP server, e.g. "mail.provider.com" (None to disable mail) =>> mail_smarthost = "syslang.net" =>> # mail_sendmail = "/usr/sbin/sendmail -t -i" =>> =>> # The return address, e.g u"Jrgen Wiki " [Unicode] =>> mail_from = u"Frambors Wiki " =>> =>> # "user pwd" if you need to use SMTP AUTH =>> #mail_login = "" =>> =>> =>> -- =>> Time flies like the wind. Fruit flies like a banana. Stranger things have =>> .0. =>> happened but none stranger than this. Does your driver's license say Organ =>> ..0 =>> Donor?Black holes are where God divided by zero. Listen to me! We are all- =>> 000 =>> individuals! What if this weren't a hypothetical question? =>> steveo at syslang.net =>> =>> ------------------------------------------------------------------------- =>> Take Surveys. Earn Cash. Influence the Future of IT =>> Join SourceForge.net's Techsay panel and you'll get the chance to share your =>> opinions on IT & business topics through brief surveys - and earn cash =>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV =>> _______________________________________________ =>> Moin-user mailing list =>> Moin-user at lists.sourceforge.net =>> https://lists.sourceforge.net/lists/listinfo/moin-user -- Time flies like the wind. Fruit flies like a banana. Stranger things have .0. happened but none stranger than this. Does your driver's license say Organ ..0 Donor?Black holes are where God divided by zero. Listen to me! We are all- 000 individuals! What if this weren't a hypothetical question? steveo at syslang.net From tw-public at gmx.de Tue Dec 12 10:10:39 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue, 12 Dec 2006 16:10:39 +0100 Subject: [Moin-user] Question abouit configuring email In-Reply-To: References: Message-ID: <457EC66F.7020706@gmx.de> > =>> I see nothing regardless of whether the mail_smarthost or the > =>mail_sendmail option is set. > > I need something else to debug it further. > The criteria for the subscribe link in modern theme is: * user must be valid (otherwise we can't know his email) * mail_smarthost is defined or mail_sendmail is defined (otherwise we don't know how to do it) * mail_from is defined (otherwise we don't know what to use as From:) > =>> # SMTP server, e.g. "mail.provider.com" (None to disable mail) > =>> mail_smarthost = "syslang.net" > =>> # mail_sendmail = "/usr/sbin/sendmail -t -i" > =>> > =>> # The return address, e.g u"Jrgen Wiki " [Unicode] > =>> mail_from = u"Frambors Wiki " > =>> > This should be enough to show the subscribe link, when you are logged in - assuming you have that in the config which is really used and indented correctly. :) From steveo at syslang.net Tue Dec 12 11:05:44 2006 From: steveo at syslang.net (Steven W. Orr) Date: Tue, 12 Dec 2006 11:05:44 -0500 (EST) Subject: [Moin-user] Question abouit configuring email In-Reply-To: <457EC66F.7020706@gmx.de> References: <457EC66F.7020706@gmx.de> Message-ID: On Tuesday, Dec 12th 2006 at 16:10 +0100, quoth Thomas Waldmann: => =>> =>> I see nothing regardless of whether the mail_smarthost or the =>> =>mail_sendmail option is set. =>> =>> I need something else to debug it further. =>> =>The criteria for the subscribe link in modern theme is: => * user must be valid (otherwise we can't know his email) => * mail_smarthost is defined or mail_sendmail is defined (otherwise we =>don't know how to do it) => * mail_from is defined (otherwise we don't know what to use as From:) => =>> =>> # SMTP server, e.g. "mail.provider.com" (None to disable mail) =>> =>> mail_smarthost = "syslang.net" =>> =>> # mail_sendmail = "/usr/sbin/sendmail -t -i" =>> =>> =>> =>> # The return address, e.g u"Jrgen Wiki " [Unicode] =>> =>> mail_from = u"Frambors Wiki " =>> =>> =>> =>This should be enough to show the subscribe link, when you are logged in =>- assuming you have that in the config which is really used and indented =>correctly. :) Thanks Thomas, but this doesn't help. It's just not there. If you'd like to actually see it, the wiki is at http://frambors.syslang.net/nicciwiki/moin.cgi/FraminghamWikiFrontPage and I put the wikiconfig.py at http://steveo.syslang.net/wikiconfig.py Like I said, I tried it with both the mail_smarthost and with mail_sendmail. If this help, here's an ls output: [root at saturn nicciwiki]# ls -la total 48 drwxrwxr-x 6 apache apache 4096 Dec 12 10:58 . drwxr-xr-x 34 steveo steveo 12288 Dec 10 13:51 .. drwx------ 3 apache apache 4096 Dec 10 13:52 common drwxrwx--- 7 apache apache 4096 Dec 10 13:53 data drwx------ 4 apache apache 4096 Dec 10 13:52 modern -rwxr-xr-x 1 root root 1127 Dec 10 13:52 moin.cgi drwxrwx--- 3 apache apache 4096 Dec 10 13:51 underlay -rw-rw-rw- 1 apache apache 6129 Dec 12 10:58 wikiconfig.py -rw-rw---- 1 apache apache 2120 Dec 12 10:58 wikiconfig.pyc I'm just wondering what else I can do to debug this or get it working? Anyone? Please? :-) From iisaka.gouichi at scs.co.jp Wed Dec 13 03:14:49 2006 From: iisaka.gouichi at scs.co.jp (Gouichi Iisaka) Date: Wed, 13 Dec 2006 17:14:49 +0900 Subject: [Moin-user] small macro "VarStr" Message-ID: <457FB679.1050806@scs.co.jp> Hi Folks. Here is a small macro "VarStr" . This macro allow to set and reuse string as variable in Wiki document. Example: [[VarStr(RH=ReHat Enterprise Linux 4.0)]] [[VarStr(SL=SuSE Enterprise Linux 9.3)]] Comparison "[[VarStr(RH)]]" and "[[VarStr(SL)]]": || || [VarStr(RH)]] || [[VarStr(SL)]] || || PackageSystem || rpm || rpm || || Distributor || RedHat || Novel || -- Gouichi Iisaka IT Architechture Solution Unit / HPC Solution Engineering Div. Sumisho Computer Systems Corporation http://www.scs.co.jp -------------- next part -------------- A non-text attachment was scrubbed... Name: VarStr.py Type: text/x-python Size: 1255 bytes Desc: not available URL: From eduardo.mercovich at gmail.com Wed Dec 13 10:21:21 2006 From: eduardo.mercovich at gmail.com (Eduardo Mercovich) Date: Wed, 13 Dec 2006 12:21:21 -0300 Subject: [Moin-user] small macro "VarStr" In-Reply-To: <457FB679.1050806@scs.co.jp> References: <457FB679.1050806@scs.co.jp> Message-ID: <4459f0d30612130721r1a6bd80n9ddcee3f5a2899c2@mail.gmail.com> Hello Iisaka. > Here is a small macro "VarStr" . > This macro allow to set and reuse string as variable in Wiki document. I can't see in the wiki. Would you be so kind to publish it there with some short documentation? Probably http://moinmoin.wikiwikiweb.de/MacroMarket is a good place for that. Thanks a lot for your macro. :-) Regards... -- Eduardo Mercovich Buenos Aires - Argentina. From theller at ctypes.org Thu Dec 14 10:55:28 2006 From: theller at ctypes.org (Thomas Heller) Date: Thu, 14 Dec 2006 16:55:28 +0100 Subject: [Moin-user] moinmoin xmlrpc Message-ID: I had the idea to maintain (at least some) pages of my moinmoin wiki in a source code repository. I also want to edit the pages locally, and upload them to the wiki. According to some docs I found this does indeed work: """ import xmlrpclib URL = "http://localhost:8080/" PAGE = "WikiSandbox" srcwiki = xmlrpclib.ServerProxy(URL + "?action=xmlrpc2") text = srcwiki.getPage(PAGE) print text """ And there is even a putPage method, but this doesn't work: """ import xmlrpclib ##URL = "http://starship.python.net/crew/theller/wiki/" URL = "http://localhost:8080/" PAGE = "WikiSandbox" srcwiki = xmlrpclib.ServerProxy(URL + "?action=xmlrpc2") text = srcwiki.getPage(PAGE) print srcwiki.putPage("WikiSandbox", text + "blah blah") """ The script prints: {'faultCode': 1, 'args': [], 'faultString': 'You are not allowed to edit this page'} although I don't have (at least I think so) not set any access limitations. >From the browser I can edit this and other pages without being logged in. Hm, is it possible at all to do this? Thanks, Thomas From John.Brooker at dfat.gov.au Thu Dec 14 19:51:51 2006 From: John.Brooker at dfat.gov.au (John.Brooker at dfat.gov.au) Date: Fri, 15 Dec 2006 11:51:51 +1100 Subject: [Moin-user] Moin-user Digest, Vol 7, Issue 3 - upgrading issue from 1.3.4 [SEC=UNCLASSIFIED] In-Reply-To: Message-ID: >------------------------------ >Message: 2 >Date: Tue, 12 Dec 2006 10:24:33 +0100 >From: Thomas Waldmann >Subject: Re: [Moin-user] upgrading issue from 1.3.4 [SEC=UNCLASSIFIED] >To: moin-user at lists.sourceforge.net >Message-ID: <457E7551.9040303 at gmx.de> >Content-Type: text/plain; charset=ISO-8859-1; format=flowed > I'm having difficulty upgrading an existing MoinMoin wiki, from >version 1.3.4 to 1.5.3 as part of a server migration project. >> >> the new system already has two other moinmoin wiki's which have been >> migrated by my predecessor. sadly he is no longer here to move this >> last one. >> anyway, i have managed to get the wiki over and working, except >> certain pages are showing snippets of what looks like HTML code >> instead of the inteded text, >> >> for example instead off a series of large, red, ">" symbols i see: >> [[HTML()]]>>> >> CurrentAlerts >> <<<[[HTML()]] >> >This looks like you don't have the HTML macro installed in your >data/plugin/macro directory. >> >Maybe it is also a good idea to clear your wiki cache directory. thanks for that Thomas. however the issue remains. I believe you are correct about it being a missing HTML macro, as i checked and the [[html]] format is in all the broken text. is their a more detailed description of how to install a macro? i've pulled down both the HTML.py and HTML2.py macros and placed them in the /var/wikiname/data/plugin/macro directory (one at a time). ensuring they have the same permissions as the __init__.py files. I've even repeated the process above, deleting the cache directory and restarting the webserver each time. is their something else i need to do to get moinmoin to retry rending the pages? i hate to keep harping on about this, but i feel like I'm ereally close to getting this finished. cheers John Brooker -------------- next part -------------- An HTML attachment was scrubbed... URL: From horiemondoraemon368 at yahoo.de Fri Dec 15 14:29:26 2006 From: horiemondoraemon368 at yahoo.de (=?shift-jis?B?cmlla28=?=) Date: Fri, 15 Dec 2006 19:29:26 -0000 Subject: [Moin-user] =?iso-2022-jp?b?GyRCTyJNbUBoOHgzKyJ2GyhC?= Message-ID: SEX???????????????????http://vqlh.com/?fs28 ???????????????? /_/_/_/_/_/_/_/_/_/_/_/_/_/ ????? ever_green_1313 at yahoo.fr /_/_/_/_/_/_/_/_/_/_/_/_/_/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From magoldfish at gmail.com Sat Dec 16 09:48:19 2006 From: magoldfish at gmail.com (Marcus Goldfish) Date: Sat, 16 Dec 2006 09:48:19 -0500 Subject: [Moin-user] howto config for two wikis? Message-ID: <5e183f3d0612160648o1da02b29j775660329ecd33ef@mail.gmail.com> I'm trying to setup two wikis, one public, one private, on the same machine. I've read through the moinmoin docs and this group's archive, but I've not seen a clear discussion on what exactly is involved. In particular, I'm confused about modifying farmconfig.py and using virtual hosts to get this to work. Can someone post a small example of a two-wiki config file, and any associated apache changes that need to be made? -------------- next part -------------- An HTML attachment was scrubbed... URL: From email at pfennigsolutions.de Sat Dec 16 10:53:54 2006 From: email at pfennigsolutions.de (Thilo Pfennig) Date: Sat, 16 Dec 2006 16:53:54 +0100 Subject: [Moin-user] howto config for two wikis? In-Reply-To: <5e183f3d0612160648o1da02b29j775660329ecd33ef@mail.gmail.com> References: <5e183f3d0612160648o1da02b29j775660329ecd33ef@mail.gmail.com> Message-ID: <45841692.2050301@pfennigsolutions.de> Marcus Goldfish wrote: > I'm trying to setup two wikis, one public, one private, on the same > machine. Well it depends on many things. I assume you use Linux and have shell access. Shortly one can describe the setup like this: BasicInstallation (http://moinmaster.wikiwikiweb.de/HelpOnInstalling/BasicInstallation) Best start with a setup.py. I always suggest to not use the default location because then if you install a distribution package all your files get overwritten - so better to use /usr/local As root run: python setup.py install --prefix='/usr/local' --record=install.log This will copy files in different directories under /usr/local. For instance /usr/local/share/moin or /usr/local/lib/python2.x/site-packages/MoinMoin 1. copy the files from /usr/local/share/moin/config/wikifarm/ into the configuration directory you want to use (I use /etc/moin) 2. In farmconfig.py you must setup at least two entries in your case under wikis = . I think you can work from the examples given there. The "mywiki" really links to the file "mywiki.py" in the config directory. So you should then have something like "foowiki" that links to "foowiki.py" and "barwiki" that links to "barwiki.py". So with this you import settings for two wikis and with the domain info you tell the farmconfig what config it should use for what request. 3. Then you want two copies of the mywiki.py that you call like you have chosen to name them (under 2.) 4. It is a good solution if you choose to tweak the settings in farmconfig so that it is usable for one of you wikis without changing (so you would not have to make changes in every file) 5. Inside each wikiconfig you must tweak some settings like sitename, interwikiname, page_front_page, data_dir 6. I would suggest to make the farmconfig fit for your private wiki. This means changing the ACLs (see HelpOnAccessControlLists) under Security in the farmconfig and then put different ACLs in the public wiki. I am not going into detail here. Best you read the docs and play with the settings. A good idea is to have two browser applications: One is logged in and another one anoymous to the wiki - then you can see how things look for guests and for registered users. 7. you propably want to set something like: mail_smarthost = "localhost" mail_from = u"" if you have a mailserver running on the same machine t enable the wiki to send email (enables subscription for pages) This is for the instance. Then you have to choose what setup you want to use. So often people want to use Apache+CGI. then you will have to 1. configure your virtual hosts for both wikis 2. Define either an Alias or work with Rewrites to point special paths to the themes directory and the moin.cgi 3. Copy the moin.cgi to a CGI directory and make it executable and have the right permissions. 4. Edit moin.cgi. * If your config directory is /etc/moin edit in line 16 sys.path.insert(0, '/etc/moin`) * If you want to use another Python version where you have installed the MoinMoin package then you need to change the path in line 20 (like to /usr/local/lib/python2.x/site-packages/MoinMoin ) Be careful about: * That your themes directory is found by the webserver * file permissions. (look in the docs for details) This should give you an idea. The virtual host setup should be done in the manner your distribution suggests it. Otherwise your config will not be loaded or (worse) overwritten ( I recently had that on Gentoo). MoinMoin setup is not really trivial but can be handled. In my view MoinMoin is especially user friendly once it is installed. Some PHP wikis are easier to handle because the put all in one directory and everything is accessable for the web server but that also means that one has to start from scratch for each new wiki. Once you have one wiki running it should be very easy to make as many as you like. Back to the core of your question: * The farmconfig.py contains all information that are common to all your wikis and the wikiconfigs contain those information where one wiki should be served differently. * You might want to choose to share the user_dir ( http://moinmaster.wikiwikiweb.de/HelpOnUserHandling#head-62f1bbf64f15f004e6de90fd0f3fa86944b4196a) Then everybody registered in one wiki can login to your private wiki. But you can say that they can not read anything, except if they are a member of a group you define (again with ACLs)., Think about it. If you have seperated user data this could be more secure, but if you might want to share some pages in your private wiki then people will nit have to make another login.. Thilo -- http://www.pfennigsolutions.de/ From magoldfish at gmail.com Sat Dec 16 20:37:07 2006 From: magoldfish at gmail.com (Marcus Goldfish) Date: Sat, 16 Dec 2006 20:37:07 -0500 Subject: [Moin-user] howto config for two wikis? In-Reply-To: <4584173A.7050504@iDIAcomputing.com> References: <5e183f3d0612160648o1da02b29j775660329ecd33ef@mail.gmail.com> <4584173A.7050504@iDIAcomputing.com> Message-ID: <5e183f3d0612161737n24fcd102lef7f9a086ed8ee93@mail.gmail.com> > > You don't necessarily need to use virtual hosts. Setting up two > different ScriptAlias directives will be sufficient. > > The farmconfig.py sets all the settings that are in common between the > wikis. Then the specific configs set the things that are not in common. > There are examples included in the distribution. Ok, I have two ScriptAlias directives. I don't see the relevant farmconfig.py examples you are referring to-- can you please point me to these, or post a snippet of relevant code? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at iDIAcomputing.com Sat Dec 16 21:34:30 2006 From: lists at iDIAcomputing.com (George Dinwiddie) Date: Sat, 16 Dec 2006 21:34:30 -0500 Subject: [Moin-user] howto config for two wikis? In-Reply-To: <5e183f3d0612161737n24fcd102lef7f9a086ed8ee93@mail.gmail.com> References: <5e183f3d0612160648o1da02b29j775660329ecd33ef@mail.gmail.com> <4584173A.7050504@iDIAcomputing.com> <5e183f3d0612161737n24fcd102lef7f9a086ed8ee93@mail.gmail.com> Message-ID: <4584ACB6.3010805@iDIAcomputing.com> Marcus Goldfish wrote: > You don't necessarily need to use virtual hosts. Setting up two > different ScriptAlias directives will be sufficient. > > The farmconfig.py sets all the settings that are in common between the > wikis. Then the specific configs set the things that are not in common. > There are examples included in the distribution. > > > Ok, I have two ScriptAlias directives. > > I don't see the relevant farmconfig.py examples you are referring to-- > can you please point me to these, or post a snippet of relevant code? Look at /share/moin/config/wikifarm/farmconfig.py (if you took the default install). You'll want to copy that for a starting point. Then for each wiki, add a line under "wikis - [" in farmconfig.py. Each of these will have the name of the wiki, and the url pattern used for that wiki. For each of these, you'll need another config file named for that wiki. -- ---------------------------------------------------------------------- * George Dinwiddie * http://blog.gdinwiddie.com Software Development http://www.idiacomputing.com Consultant and Coach http://www.agilemaryland.org ---------------------------------------------------------------------- From magoldfish at gmail.com Sat Dec 16 23:23:17 2006 From: magoldfish at gmail.com (Marcus Goldfish) Date: Sat, 16 Dec 2006 23:23:17 -0500 Subject: [Moin-user] howto config for two wikis? In-Reply-To: <4584ACB6.3010805@iDIAcomputing.com> References: <5e183f3d0612160648o1da02b29j775660329ecd33ef@mail.gmail.com> <4584173A.7050504@iDIAcomputing.com> <5e183f3d0612161737n24fcd102lef7f9a086ed8ee93@mail.gmail.com> <4584ACB6.3010805@iDIAcomputing.com> Message-ID: <5e183f3d0612162023t1a62d9a6j5376b63364b3fab3@mail.gmail.com> On 12/16/06, George Dinwiddie wrote: > > Marcus Goldfish wrote: > > You don't necessarily need to use virtual hosts. Setting up two > > different ScriptAlias directives will be sufficient. > > > > The farmconfig.py sets all the settings that are in common between > the > > wikis. Then the specific configs set the things that are not in > common. > > There are examples included in the distribution. > > > > > > Ok, I have two ScriptAlias directives. > > > > I don't see the relevant farmconfig.py examples you are referring to-- > > can you please point me to these, or post a snippet of relevant code? > > Look at /share/moin/config/wikifarm/farmconfig.py (if you took the > default install). You'll want to copy that for a starting point. Then > for each wiki, add a line under "wikis - [" in farmconfig.py. Each of > these will have the name of the wiki, and the url pattern used for that > wiki. For each of these, you'll need another config file named for that > wiki. Thanks George. I think I that I may have twiddled it into working (start pages seem to be ok). The problem seemed to lie in my regexes in farmconfig.py. Of course this might be expected since it's not clearly documented on the moinmoin pages (nor in farmconfig.py) that these *do not* need to be for virtual hosts. Three quick questions: 1. Does this apache config excerpt look ok? ### moinmoin config ScriptAlias /wiki1 "/usr/share/moin/wiki1/moin.cgi" ScriptAlias /wiki2 "/usr/share/moin/wiki2/moin.cgi" alias /wiki "/usr/share/moin/htdocs" Order allow,deny allow from all ### end moinmoin 2. Should wiki1.py, wiki2.py, and my modified farmconfig.py all be located in /usr/share/moin/config/wikifarm ? 3. Does this excerpt look ok for farmconfig.py? ("wiki1", r".{3,30}/wiki1.*$"), ("wiki2", r".{3,30}/wiki2.*$"), Thanks again for the help! Marcus -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at iDIAcomputing.com Sun Dec 17 12:13:16 2006 From: lists at iDIAcomputing.com (George Dinwiddie) Date: Sun, 17 Dec 2006 12:13:16 -0500 Subject: [Moin-user] howto config for two wikis? In-Reply-To: <5e183f3d0612162023t1a62d9a6j5376b63364b3fab3@mail.gmail.com> References: <5e183f3d0612160648o1da02b29j775660329ecd33ef@mail.gmail.com> <4584173A.7050504@iDIAcomputing.com> <5e183f3d0612161737n24fcd102lef7f9a086ed8ee93@mail.gmail.com> <4584ACB6.3010805@iDIAcomputing.com> <5e183f3d0612162023t1a62d9a6j5376b63364b3fab3@mail.gmail.com> Message-ID: <45857AAC.1050402@iDIAcomputing.com> Marcus Goldfish wrote: > On 12/16/06, *George Dinwiddie* > wrote: > > Marcus Goldfish wrote: > > You don't necessarily need to use virtual hosts. Setting up two > > different ScriptAlias directives will be sufficient. > > > > The farmconfig.py sets all the settings that are in common > between the > > wikis. Then the specific configs set the things that are not > in common. > > There are examples included in the distribution. > > > > > > Ok, I have two ScriptAlias directives. > > > > I don't see the relevant farmconfig.py examples you are referring > to-- > > can you please point me to these, or post a snippet of relevant code? > > Look at /share/moin/config/wikifarm/farmconfig.py (if you took the > default install). You'll want to copy that for a starting point. Then > for each wiki, add a line under "wikis - [" in farmconfig.py. Each of > these will have the name of the wiki, and the url pattern used for that > wiki. For each of these, you'll need another config file named for that > wiki. > > > Thanks George. I think I that I may have twiddled it into working > (start pages seem to be ok). > > The problem seemed to lie in my regexes in farmconfig.py. Of course > this might be expected since it's not clearly documented on the moinmoin > pages (nor in farmconfig.py) that these *do not* need to be for virtual > hosts. > > Three quick questions: > > 1. Does this apache config excerpt look ok? > > ### moinmoin config > ScriptAlias /wiki1 "/usr/share/moin/wiki1/moin.cgi" > ScriptAlias /wiki2 "/usr/share/moin/wiki2/moin.cgi" You don't need two copies of moin.cgi. MoinMoin will differentiate them based on the URL, using the regex in farmconfig.py. > alias /wiki "/usr/share/moin/htdocs" > > Order allow,deny > allow from all > > ### end moinmoin > > 2. Should wiki1.py, wiki2.py, and my modified farmconfig.py all be > located in /usr/share/moin/config/wikifarm ? If you look inside moin.cgi, you'll see the suggestion to add the location of farmconfig.py to the python path, using sys.path.insert(). You can use whatever location you want, but yes, put your farmconfig.py and your wiki*.py files together there. > > 3. Does this excerpt look ok for farmconfig.py? > > ("wiki1", r".{3,30}/wiki1.*$"), > ("wiki2", r".{3,30}/wiki2.*$"), That looks a little strange, to me. It seems to say that the wikis can move around. Both "mydomain.com/xyz/wiki1" and "mydomain.com/wiki1" would match the same way. It would match "mydomain.com/wiki12345/FrontPage", too. I would suggest ("wiki1", r"^([A-Za-z0-9-]*\.)*mydomain.com/wiki1(/.*)?$"), This would allow things like: http://mydomain.com/wiki1/FrontPage http://www.mydomain.com/wiki1/FrontPage http://mydomain.com/wiki1/ http://mydomain.com/wiki1 Hope that helps, George -- ---------------------------------------------------------------------- * George Dinwiddie * http://blog.gdinwiddie.com Software Development http://www.idiacomputing.com Consultant and Coach http://www.agilemaryland.org ---------------------------------------------------------------------- From email at pfennigsolutions.de Sun Dec 17 12:14:16 2006 From: email at pfennigsolutions.de (Thilo Pfennig) Date: Sun, 17 Dec 2006 18:14:16 +0100 Subject: [Moin-user] howto config for two wikis? In-Reply-To: <5e183f3d0612162023t1a62d9a6j5376b63364b3fab3@mail.gmail.com> References: <5e183f3d0612160648o1da02b29j775660329ecd33ef@mail.gmail.com> <4584173A.7050504@iDIAcomputing.com> <5e183f3d0612161737n24fcd102lef7f9a086ed8ee93@mail.gmail.com> <4584ACB6.3010805@iDIAcomputing.com> <5e183f3d0612162023t1a62d9a6j5376b63364b3fab3@mail.gmail.com> Message-ID: <45857AE8.9040201@pfennigsolutions.de> Marcus Goldfish schrieb: > > ScriptAlias /wiki1 "/usr/share/moin/wiki1/moin.cgi" > ScriptAlias /wiki2 "/usr/share/moin/wiki2/moin.cgi"2. Should > wiki1.py, wiki2.py, and my modified farmconfig.py all be located in > /usr/share/moin/config/wikifarm ? > 2. Should wiki1.py, wiki2.py, and my modified farmconfig.py all be > located in /usr/share/moin/config/wikifarm ? That's usually wrong. You will only need one CGI because the CGI only sets up ypur Python environment and has a setting of wer your configs are. So this is not anything that is specific to one wiki. And also you have to be careful that this links to a CGI dir where you tell your Apache that it may execute the CGIs. Otherwise that wont work. > alias /wiki "/usr/share/moin/htdocs" Ok. > > 3. Does this excerpt look ok for farmconfig.py? > > ("wiki1", r".{3,30}/wiki1.*$"), > ("wiki2", r".{3,30}/wiki2.*$"), not sure what {3,30} should do, but I am not a RegExpert ;-). But I think you are much closer to your goal, now. Thilo -- Thilo Pfennig PfennigSolutions - Wiki-Systeme http://www.pfennigsolutions.de/ From tom.chance at bioregional.com Mon Dec 18 04:53:24 2006 From: tom.chance at bioregional.com (Tom Chance) Date: Mon, 18 Dec 2006 09:53:24 -0000 Subject: [Moin-user] Config error - default editor Message-ID: <0DEB8ADFA4454241BE6856151DF1418F01BA8BE4@BIO01.bioregional.local> Ahoy, I've just installed the latest version of Moin and it's running nicely on Windows + MySQL + Apache. But I keep getting the following error when setting this option, as suggested in the help section: Option: editor_default = 'gui' Error: SyntaxError: invalid syntax (wikiconfig.py, line 142) The full trace follows. How can I fix this? Kind regards, Tom Chance Communications & IT Officer BioRegional Development Group A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. 1. c:\Python24\Lib\site-packages\MoinMoin\request.py in __init__ (self=, properties={}) 1. 1380 2. 1381 self._setup_vars_from_std_env(os.environ) 3. 1382 RequestBase.__init__(self, properties) 4. 1383 5. 1384 except Exception, err: * global RequestBase = * RequestBase.__init__ = * self = * properties = {} 2. c:\Python24\Lib\site-packages\MoinMoin\request.py in __init__ (self=, properties={}) 1. 139 self.__dict__.update(properties) 2. 140 try: 3. 141 self._load_multi_cfg() 4. 142 except error.NoConfigMatchedError: 5. 143 self.makeForbidden(404, 'No wiki configuration matching the URL found!\r\n') * self = * self._load_multi_cfg = > 3. c:\Python24\Lib\site-packages\MoinMoin\request.py in _load_multi_cfg (self=) 1. 296 if not hasattr(self, 'cfg'): 2. 297 self.clock.start('load_multi_cfg') 3. 298 self.cfg = multiconfig.getConfig(self.url) 4. 299 self.clock.stop('load_multi_cfg') 5. 300 * self = * self.cfg undefined * global multiconfig = * multiconfig.getConfig = * self.url = 'bio01:81/policy' 4. c:\Python24\Lib\site-packages\MoinMoin\multiconfig.py in getConfig (url='bio01:81/policy') 1. 160 config = _config_cache[configName] 2. 161 except KeyError: 3. 162 config = _makeConfig(configName) 4. 163 config = _config_cache.setdefault(configName, config) 5. 164 return config * config undefined * global _makeConfig = * configName = 'wikiconfig' 5. c:\Python24\Lib\site-packages\MoinMoin\multiconfig.py in _makeConfig (name='wikiconfig') 1. 95 global _farmconfig_mtime 2. 96 try: 3. 97 module, mtime = _importConfigModule(name) 4. 98 configClass = getattr(module, 'Config') 5. 99 cfg = configClass(name) * module undefined * mtime undefined * global _importConfigModule = * name = 'wikiconfig' 6. c:\Python24\Lib\site-packages\MoinMoin\multiconfig.py in _importConfigModule (name='wikiconfig') 1. 45 except Exception, err: 2. 46 msg = '%s: %s' % (err.__class__.__name__, str(err)) 3. 47 raise error.ConfigurationError(msg) 4. 48 return module, mtime 5. 49 * global error = * error.ConfigurationError = * msg = 'SyntaxError: invalid syntax (wikiconfig.py, line 142)' ConfigurationError SyntaxError: invalid syntax (wikiconfig.py, line 142) * exceptions = > * innerException = (, , ) * message = 'SyntaxError: invalid syntax (wikiconfig.py, line 142)' Traceback A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. 1. c:\Python24\Lib\site-packages\MoinMoin\multiconfig.py in _importConfigModule (name='wikiconfig') 1. 29 # FIXME if someone calls his config module stats.py, it gets confused 2. 30 # with MoinMoin.stats built-in statistics module and fails. 3. 31 module = __import__(name, globals(), {}) 4. 32 mtime = os.path.getmtime(module.__file__) 5. 33 except ImportError: * module undefined * builtin __import__ = * name = 'wikiconfig' * builtin globals = SyntaxError invalid syntax (wikiconfig.py, line 142) * args = ('invalid syntax', (r'E:\moin-1.5\intranet\wikiconfig.py', 142, 1, "\teditor_default = 'gui'\n")) * filename = r'E:\moin-1.5\intranet\wikiconfig.py' * lineno = 142 * msg = 'invalid syntax' * offset = 1 * print_file_and_line = None * text = "\teditor_default = 'gui'\n" System Details * Date: Mon, 18 Dec 2006 09:46:18 +0000 * Platform: win32 (nt) * Python: Python 2.4.3 (C:\Python24\python.exe) * MoinMoin: Release 1.5.6 (release) -- BioRegional Development Group, BedZED Centre, 24 Helios Road, Wallington, SM6 7BZ, UK t. 020 8404 4880 direct. 020 8404 4884 w. www.bioregional.com BioRegional - solutions for sustainability From p.f.moore at gmail.com Mon Dec 18 05:32:37 2006 From: p.f.moore at gmail.com (Paul Moore) Date: Mon, 18 Dec 2006 10:32:37 +0000 Subject: [Moin-user] Config error - default editor In-Reply-To: <0DEB8ADFA4454241BE6856151DF1418F01BA8BE4@BIO01.bioregional.local> References: <0DEB8ADFA4454241BE6856151DF1418F01BA8BE4@BIO01.bioregional.local> Message-ID: <79990c6b0612180232u175bfeebp468cf5e97227986b@mail.gmail.com> On 12/18/06, Tom Chance wrote: > Ahoy, > > I've just installed the latest version of Moin and it's running nicely > on Windows + MySQL + Apache. But I keep getting the following error when > setting this option, as suggested in the help section: > > Option: > editor_default = 'gui' > > Error: > SyntaxError: invalid syntax (wikiconfig.py, line 142) > Check the wikiconfig.py file for tab characters in line 142. Python is indentation sensitive and treats tabs as 8 characters. So if you're using a tab setting of 4 characters, the file will *look* lined up, but will not be to Python - and indentation errors are syntax errors to Python. Best bet is to never use hard tab characters in Python code. Paul. PS Apologies if you're a Python programmer, and this is all obvious to you and your issue is entirely different... :-) From tom.chance at bioregional.com Mon Dec 18 05:40:42 2006 From: tom.chance at bioregional.com (Tom Chance) Date: Mon, 18 Dec 2006 10:40:42 -0000 Subject: [Moin-user] Config error - default editor In-Reply-To: <79990c6b0612180232u175bfeebp468cf5e97227986b@mail.gmail.com> Message-ID: <0DEB8ADFA4454241BE6856151DF1418F01BA8C0F@BIO01.bioregional.local> Ahoy, > From: Paul Moore [mailto:p.f.moore at gmail.com] > On 12/18/06, Tom Chance wrote: > > I've just installed the latest version of Moin and it's > running nicely > > on Windows + MySQL + Apache. But I keep getting the following error > > when setting this option, as suggested in the help section: > > > > Option: > > editor_default = 'gui' > > > > Error: > > SyntaxError: invalid syntax (wikiconfig.py, line 142) > > Check the wikiconfig.py file for tab characters in line 142. > Python is indentation sensitive and treats tabs as 8 > characters. So if you're using a tab setting of 4 characters, > the file will *look* lined up, but will not be to Python - > and indentation errors are syntax errors to Python. Ahh, blast, it's ages since I last used Python and that never crossed my mind. PHP has rotted my brain. Thanks! Kind regards, Tom Chance Communications & IT Officer From magoldfish at gmail.com Mon Dec 18 09:05:41 2006 From: magoldfish at gmail.com (Marcus Goldfish) Date: Mon, 18 Dec 2006 09:05:41 -0500 Subject: [Moin-user] making a semi-public wiki Message-ID: <5e183f3d0612180605s1ac8a47g447acf6dffae306e@mail.gmail.com> Soliciting comments for this tip-- is it accurate? Note: semi-public is used in this context to mean a generally private wiki which exposes some pages publicly. --- Suppose you have a wiki which contains private data (e.g., a company wiki for developers-only), but you would like some pages to be public (e.g., the latest bug fixes, releases, etc.). You can accomplish this using ACL. In your wikiconfig: acl_rights_before = u"YourName:read,write,delete,revert,admin" acl_rights_default = "+Known:read,write All:" This makes the wiki private to anonymous users. However, users can still create a wiki account, and then edit pages. To prevent this, login with your admin account and edit the UserPreferencespage to the following: #acl MoinPagesEditorGroup:read,write,delete,revert Now the wiki is private, by default. To release a page publicly, simply add #acl +All:read to the top when editing (you can also add write features). -------------- next part -------------- An HTML attachment was scrubbed... URL: From eduardo.mercovich at gmail.com Mon Dec 18 15:06:08 2006 From: eduardo.mercovich at gmail.com (Eduardo Mercovich) Date: Mon, 18 Dec 2006 17:06:08 -0300 Subject: [Moin-user] making a semi-public wiki In-Reply-To: <5e183f3d0612180605s1ac8a47g447acf6dffae306e@mail.gmail.com> References: <5e183f3d0612180605s1ac8a47g447acf6dffae306e@mail.gmail.com> Message-ID: <4459f0d30612181206m61a1551aue0ad7c967f56add6@mail.gmail.com> Hello Marcus. [...] > Suppose you have a wiki which contains private data (e.g., a company wiki > for developers-only), but you would like some pages to be public (e.g., the > latest bug fixes, releases, etc.). You can accomplish this using ACL. [...] Following your words, I would do it differentely. Default ACL could be: * DevelopersGroup:read,write,revert,admin,rename * All: none The pages that you want to expose could have a special ACL: * DevelopersGroup:read,write,revert,admin,rename * All: read In this case, you must make a change from the default when you want to publish something and this will improve the odds of not publish what you don't want to. However, care must be taken in order not to show links that go to unpublished pages: it can be hard on users to send them to some place only to banish them on it's door. A different approach would be to make 2 wikis in a wikifarm (like moinmoin and moinmaster). In this way, some work can be duplicated, but each one will be safer and more adapted to it's targeted users. Just my half cent. :-) Regards... -- Eduardo Mercovich Buenos Aires - Argentina. From mail at heavy.ch Mon Dec 18 17:32:15 2006 From: mail at heavy.ch (mail at heavy.ch) Date: Mon, 18 Dec 2006 23:32:15 +0100 Subject: [Moin-user] Question 'bout Windows2003/IIS with ADS Message-ID: <1166481135.3213.46.camel@lestat.vampyre.home> Hi... Since a few weeks I'm a huge fan of MoinMoin. I've also got a running MoinMoin 1.5 with Fedora Linux on Apache (mod_python). Now I would like to install this Wiki to a Windows 2003 Server with IIS and also include some necessary LDAP/ADS integration. About the installing on a Windows/IIS I found some great docs on the main website. So I'll give a try them frist, before "yelling" for help.... But searching for an LDAP/Active Directory 101 HowTO like "Dummies for MoinMoin with Microsoft Active Directory) gives me no useful results :-( Well maybe it's coz I just do not only want an authentication to grant access to some users. I'm more looking for an Page-ACL integration with the Groups managed by the Microsoft Active Directory System. So say if I have (on the AD) a group called "ProjectX", first I would create a page (on the MoinMoin) with "#ACL Projectx:read,write,revert". But now, I do not want to create/manage this Group "ProjectX" by "hand" on the MoinMoin (it doesn't matter if a script would automatic generate and update this on the MoinMoin Wiki or on every user-login the groups will be grabbed from the ActiveDirecotry and saved in a temporary Cache/Cookie by the MoinMoin). Is this scenario possible? I'm not Python developer, so evolve the python code would be not an possible option (well for the moment, hope so). Any Inputs or Information?. Thankx! cya Marcel Links what I found and maybe helps... http://moinmoin.wikiwikiweb.de/MoinMoinPatch/LdapAuth http://moinmoin.wikiwikiweb.de/MikeyP/LdapConfiguration http://moinmoin.wikiwikiweb.de/SebastianBreier/LdapCheck3 And some Source... http://hg.thinkmo.de/moin/1.6?f=5b1f115769cf;file=MoinMoin/auth/ldap_login.py From hodelas at mac.com Tue Dec 19 17:33:42 2006 From: hodelas at mac.com (A. Scottedward Hodel) Date: Tue, 19 Dec 2006 16:33:42 -0600 Subject: [Moin-user] NewPage macro question Message-ID: I'm setting up a wiki for a student design project and I'd like to have a weekly report format with page title LastnameYYYYMMMDD, e.g. Hodel2007Jan01 or Hodel2007Jan1 Setting up the button is easily done, [[NewPage(Weekly_report_format,Click here, Weekly_reports)]] but I don't understand how to set up the template. Is there a way to automatically take the user's login name and insert it into the page title? Thanks, A S H From tw-public at gmx.de Fri Dec 22 10:24:10 2006 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 22 Dec 2006 16:24:10 +0100 Subject: [Moin-user] NewPage macro question In-Reply-To: References: Message-ID: <458BF89A.90202@gmx.de> A. Scottedward Hodel schrieb: > LastnameYYYYMMMDD, e.g. > > Hodel2007Jan01 > or > Hodel2007Jan1 > I suggest using UserName/2006-12-31 format. This is the same format as a MonthCalendar macro placed on page UserName would also use, so you can use that for navigation or creation of these pages. From kaithomasmax at googlemail.com Fri Dec 22 14:46:47 2006 From: kaithomasmax at googlemail.com (Kai Jaeger) Date: Fri, 22 Dec 2006 19:46:47 +0000 Subject: [Moin-user] Problem with Font in Edit Window and Problem with the help pages Message-ID: <99f673360612221146x23849c00t6cab843d494bf7d1@mail.gmail.com> Hello there I am using MoinMoin as a knowledge database for a really exotic programming language which is using symbols instead of keywords. For the symbols, a Unicode font has to be used. With UTF8, the pages are displayed correctly. However, when it comes to editing, not the particular Unicode font I have specified is used. Although the characters are displayed anyway because the font used in the edit window is a Unicode font, too, it looks terrible. I tried to find out how MoinMoin is told which font to use in the Edit window - no success. Help greatly appriciated. Just encountered another problem: When I click on the "HelpPages" link while editing a page, I get a 404. The problem is obviously related with a rename operation: After having created the Wiki's shared directory, I have renamed it. Everything worked fine in the Wiki itself, but the link to the help pages is still using the old name. I tried to find the string representing the old name in the MoinMoin directory as well as in the Wiki directory and also in IIS (yes, I'm using, hrrmmmmm, Windows 2003 Server, sorry :) but not hit. Thanks in advance, Kai From eduardo.mercovich at gmail.com Fri Dec 22 15:10:09 2006 From: eduardo.mercovich at gmail.com (Eduardo Mercovich) Date: Fri, 22 Dec 2006 17:10:09 -0300 Subject: [Moin-user] Problem with Font in Edit Window and Problem with the help pages In-Reply-To: <99f673360612221146x23849c00t6cab843d494bf7d1@mail.gmail.com> References: <99f673360612221146x23849c00t6cab843d494bf7d1@mail.gmail.com> Message-ID: <4459f0d30612221210g76960e2bt45214cdd44f07ee3@mail.gmail.com> Hello Kai. [...] > I tried to find out how MoinMoin is told which font to use in the Edit > window - no success. Look in you theme, in css/screen.css for this: textarea { font-size: 1em; font-family: monospace; } Add, before "monospace" your desired font, separated with a comma. If your font name has spaces, enclose it between ' (same char for italic and bold in Moin). Regards... -- Eduardo Mercovich Buenos Aires - Argentina. From riel at surriel.com Tue Dec 26 14:36:25 2006 From: riel at surriel.com (Rik van Riel) Date: Tue, 26 Dec 2006 14:36:25 -0500 Subject: [Moin-user] BadPages broken Message-ID: <459179B9.1080507@surriel.com> The master BadPages URL is giving a traceback, which is no doubt upsetting wikis all over the net since they are no longer able to update their local copy of BadPages. It certainly broke editing on my wikis :( http://moinmaster.wikiwikiweb.de:8000/BadContent?action=raw -- Politics is the struggle between those who want to make their country the best in the world, and those who believe it already is. Each group calls the other unpatriotic. From lists at iDIAcomputing.com Tue Dec 26 19:27:53 2006 From: lists at iDIAcomputing.com (George Dinwiddie) Date: Tue, 26 Dec 2006 19:27:53 -0500 Subject: [Moin-user] BadPages broken In-Reply-To: <459179B9.1080507@surriel.com> References: <459179B9.1080507@surriel.com> Message-ID: <4591BE09.10906@iDIAcomputing.com> Thanks, much, for that note. I thought something was broken on my server. Anyway, I've made a quick hack on my server, changing line 145 of lib/python2.3/site-packages/MoinMoin/util/antispam.py from except Error, err: to except (Error, xmlrpclib.Fault), err: This allows me to save pages, again. I don't know if this is the best fix, but certainly some patch should be made to the code to make this fail more gracefully. - George Rik van Riel wrote: > The master BadPages URL is giving a traceback, which is no doubt > upsetting wikis all over the net since they are no longer able to > update their local copy of BadPages. It certainly broke editing > on my wikis :( > > http://moinmaster.wikiwikiweb.de:8000/BadContent?action=raw > -- ---------------------------------------------------------------------- * George Dinwiddie * http://blog.gdinwiddie.com Software Development http://www.idiacomputing.com Consultant and Coach http://www.agilemaryland.org ---------------------------------------------------------------------- From mehdi.public at gmail.com Wed Dec 27 01:57:54 2006 From: mehdi.public at gmail.com (Mehdi Hassanpour) Date: Wed, 27 Dec 2006 10:27:54 +0330 Subject: [Moin-user] [Moin-User] error in saving pages Message-ID: <1abd6b930612262257q521b3a31p6a20bbca2e291435@mail.gmail.com> Hi I get an error like this while I want to save a page in our MM wiki.... any help ? ################################## : maximum recursion depth exceeded in cmp\n File "/srv/moin_tw/moin-productive/MoinMoin/wikirpc.py", line 420, in process\n response = fn(*params)\n\n File "/srv/moin_tw/moin-productive/MoinMoin/wikirpc.py", line 184, in xmlrpc_getPageInfo\n return self.xmlrpc_getPageInfoVersion(pagename, rev=None)\n\n File "/srv/moin_tw/moin-productive/MoinMoin/wikirpc.py", line 202, in xmlrpc_getPageInfoVersion\n if not self.request.user.may.read(pn):\n\n File "/srv/moin_tw/moin-productive/MoinMoin/security.py", line 52, in \n return lambda pagename, Page=Page, request=request, attr=attr: Page(request, pagename).getACL(request).may(request, self.name, attr)\n\n File "/srv/moin_tw/moin-productive/MoinMoin/wikiacl.py", line 184, in may\n is_group_member = request.dicts.has_member\n\n . . . ################################## -- ******************************************************** Yours Sincerely, Mehdi Hassanpour ---------------------------------------------------------------------- /* Of one Essence is the human race, Thusly has Creation put the Base; One Limb impacted is sufficient, For all Others to feel the Mace. ~Saadi (persian poet) -1258 */ ---------------------------------------------------------------------- http://ImPersian.com | http://Hezardastan.org ******************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From R.Bauer at fz-juelich.de Wed Dec 27 05:21:51 2006 From: R.Bauer at fz-juelich.de (Reimar Bauer) Date: Wed, 27 Dec 2006 11:21:51 +0100 Subject: [Moin-user] NewPage macro question In-Reply-To: References: Message-ID: <4592493F.7010807@fz-juelich.de> > I'm setting up a wiki for a student design project and I'd like to > have a weekly report format with page title > > LastnameYYYYMMMDD, e.g. > > Hodel2007Jan01 > or > Hodel2007Jan1 > > Setting up the button is easily done, > [[NewPage(Weekly_report_format,Click here, Weekly_reports)]] > but I don't understand how to set up the template. > > Is there a way to automatically take the user's login name and insert > it into the page title? > > Thanks, > > A S H > Hi, in 1.6 this patch is added http://moinmoin.wikiwikiweb.de/FeatureRequests/NewPageBelowUsersHomePage further documentation on MoinMaster [[NewPage(ThisTemplate, add a page below my HomePage, @ME)]] cheers Reimar From soloturn at gmail.com Wed Dec 27 07:20:18 2006 From: soloturn at gmail.com (solo turn) Date: Wed, 27 Dec 2006 13:20:18 +0100 Subject: [Moin-user] google map support Message-ID: i'm wondering if moinmoin supports google maps (http://goc.grid.sinica.edu.tw/gocwiki/GoogleMapHowTo) like on http://www.burkina.at/Koudougou. -solo From hodelas at mac.com Wed Dec 27 08:48:06 2006 From: hodelas at mac.com (A S Hodel) Date: Wed, 27 Dec 2006 07:48:06 -0600 Subject: [Moin-user] NewPage macro question In-Reply-To: <4592493F.7010807@fz-juelich.de> References: <4592493F.7010807@fz-juelich.de> Message-ID: Thanks. I've currently got it set up as [[NewPage(WeeklyReportFormat,Click here, Weekly_Report_Archive,% s2007-01-08)]] where WeeklyReportFormat is = Weekly report format = ||SPaRC ||Name || || ||Date || || ||Project name || ||Objectives || || || ||list of your current approved objectives. If possible, refer to task names in the project Gantt Chart. || ||Achievements this week || || || ||list of achievements this week, compared to goals set last week || ||Goals for next week || || || ||Goals that you plan to achieve by the next report. || ||Hours worked || || || || Total hours: (sum of above) || These weekly reports will be available for the entire team to see. --- # Do not change below this line ---- WeeklyReportCategory and they are all listed on the Weekly Report Archive page with = Weekly reports = [[FullSearch(WeeklyReportCategory)]] It's a bit kludgy, but it's easy for the students to use and (I hope) it gets the job done. I'll try the patch later on. Thanks for your help! On Dec 27, 2006, at 4:21 AM, Reimar Bauer wrote: >> I'm setting up a wiki for a student design project and I'd like to >> have a weekly report format with page title >> >> LastnameYYYYMMMDD, e.g. >> >> Hodel2007Jan01 >> or >> Hodel2007Jan1 >> >> Setting up the button is easily done, >> [[NewPage(Weekly_report_format,Click here, Weekly_reports)]] >> but I don't understand how to set up the template. >> >> Is there a way to automatically take the user's login name and insert >> it into the page title? >> >> Thanks, >> >> A S H >> > > Hi, > > in 1.6 this patch is added > http://moinmoin.wikiwikiweb.de/FeatureRequests/ > NewPageBelowUsersHomePage > > further documentation on MoinMaster > > [[NewPage(ThisTemplate, add a page below my HomePage, @ME)]] > > > cheers > Reimar > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user A. Scottedward Hodel hodelas at mac.com http://homepage.mac.com/hodelas/tar -------------- next part -------------- An HTML attachment was scrubbed... URL: From eduardo.mercovich at gmail.com Wed Dec 27 09:34:01 2006 From: eduardo.mercovich at gmail.com (Eduardo Mercovich) Date: Wed, 27 Dec 2006 11:34:01 -0300 Subject: [Moin-user] [Moin-User] error in saving pages In-Reply-To: <1abd6b930612262257q521b3a31p6a20bbca2e291435@mail.gmail.com> References: <1abd6b930612262257q521b3a31p6a20bbca2e291435@mail.gmail.com> Message-ID: <4459f0d30612270634u493f96dbsc00a0afeb60b6a8d@mail.gmail.com> On 12/27/06, Mehdi Hassanpour wrote: > I get an error like this while I want to save a page in our MM wiki.... > any help ? > > ################################## > : maximum recursion depth > exceeded in cmp\n [...] It seems that something is recursing too deep (names, directories, whatever). Of course, with more information we could help more... Regards. -- Eduardo Mercovich Buenos Aires - Argentina. From email at pfennigsolutions.de Wed Dec 27 09:55:07 2006 From: email at pfennigsolutions.de (Thilo Pfennig) Date: Wed, 27 Dec 2006 15:55:07 +0100 Subject: [Moin-user] MoinLive appliance and/or Live CD Message-ID: <1167231307.4199.11.camel@localhost.localdomain> Hi, I have created an account and a project at rPath/rBuilder for creating MoinMoin appliances or Live CDs. I am quite new to rPath but it looks promising. What I want to do is: * Build a general moin package for rPath/Foresight * create different flavours (Vmware Player image, Xen, ...) to test MoinMoin. The idea is to include everything that is needed by MoinMoin and to be able to either run this similar to DesktopEdition or as a live medium. I have installed Foresight Linux on my laptop only a few days ago and am just starting to experiment. Whoever likes to play can join. The project name is MoinLive: * rBuilder page http://www.rpath.org/rbuilder/project/moinlive/ * Wiki Info: http://wiki.pfennigsolutions.de/MoinLive * mailing list: http://lists.rpath.org/mailman/listinfo/moinlive rBuilder help: http://wiki.rpath.com/wiki/rBuilder:rBO rpath is a relative new linux distribution that (like Mercurial) emphasizes distributed systems over centralistic distribution. Read more about it at Wikipedia: http://en.wikipedia.org/wiki/RPath Thilo From mehdi.public at gmail.com Wed Dec 27 13:10:19 2006 From: mehdi.public at gmail.com (Mehdi Hassanpour) Date: Wed, 27 Dec 2006 21:40:19 +0330 Subject: [Moin-user] [Moin-User] error in saving pages In-Reply-To: <4459f0d30612270634u493f96dbsc00a0afeb60b6a8d@mail.gmail.com> References: <1abd6b930612262257q521b3a31p6a20bbca2e291435@mail.gmail.com> <4459f0d30612270634u493f96dbsc00a0afeb60b6a8d@mail.gmail.com> Message-ID: <1abd6b930612271010t7bdac45ek7db51675a7501e72@mail.gmail.com> Solved! This was a public problem, MM site had this issue too... I think antispam system caused the issue On 27/12/06, Eduardo Mercovich wrote: > > On 12/27/06, Mehdi Hassanpour wrote: > > > I get an error like this while I want to save a page in our MM wiki.... > > any help ? > > > > ################################## > > : maximum recursion depth > > exceeded in cmp\n [...] > > It seems that something is recursing too deep (names, directories, > whatever). Of course, with more information we could help more... > > Regards. > > > -- > Eduardo Mercovich > Buenos Aires - Argentina. > -- ******************************************************** Yours Sincerely, Mehdi Hassanpour ---------------------------------------------------------------------- /* Of one Essence is the human race, Thusly has Creation put the Base; One Limb impacted is sufficient, For all Others to feel the Mace. ~Saadi (persian poet) -1258 */ ---------------------------------------------------------------------- http://ImPersian.com | http://Hezardastan.org ******************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From sean at dague.net Sat Dec 30 21:43:41 2006 From: sean at dague.net (Sean Dague) Date: Sat, 30 Dec 2006 21:43:41 -0500 Subject: [Moin-user] broken/changed behavior for RecentChanges in 1.5.6 Message-ID: <20061231024341.GM26622@underhill.no-ip.org> The RecentChanges page in Moin 1.5.6 appears to only be providing the *last* change on each page in the listing. A good example of this is here: http://mhvlug.org/RecentChanges?max_days=14. The page http://mhvlug.org/Welcome has been modified many times in the window shown, but only the most recent one is listed. Is there an easy change to get the previous behavior where multiple changes per page are shown? -Sean -- __________________________________________________________________ Sean Dague Mid-Hudson Valley sean at dague dot net Linux Users Group http://dague.net http://mhvlug.org There is no silver bullet. Plus, werewolves make better neighbors than zombies, and they tend to keep the vampire population down. __________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From lists at bpsw.biz Sun Dec 31 00:26:57 2006 From: lists at bpsw.biz (Max Campos) Date: Sat, 30 Dec 2006 21:26:57 -0800 Subject: [Moin-user] broken/changed behavior for RecentChanges in 1.5.6 In-Reply-To: <20061231024341.GM26622@underhill.no-ip.org> References: <20061231024341.GM26622@underhill.no-ip.org> Message-ID: On Dec 30, 2006, at 6:43pm, Sean Dague wrote: > The RecentChanges page in Moin 1.5.6 appears to only be providing > the *last* > change on each page in the listing. A good example of this is here: > http://mhvlug.org/RecentChanges?max_days=14. The page > http://mhvlug.org/Welcome has been modified many times in the > window shown, > but only the most recent one is listed. > > Is there an easy change to get the previous behavior where multiple > changes > per page are shown? This was intended. See the discussion here: http://moinmoin.wikiwikiweb.de/MoinMoinBugs/RecentChangesIsBroken ... and my patch (if you desire) here: http://moinmoin.wikiwikiweb.de/MoinMoinPatch/LessConfusingRecentChanges - Max From sean at dague.net Sun Dec 31 08:12:27 2006 From: sean at dague.net (Sean Dague) Date: Sun, 31 Dec 2006 08:12:27 -0500 Subject: [Moin-user] broken/changed behavior for RecentChanges in 1.5.6 In-Reply-To: References: <20061231024341.GM26622@underhill.no-ip.org> Message-ID: <20061231131227.GN26622@underhill.no-ip.org> On Sat, Dec 30, 2006 at 09:26:57PM -0800, Max Campos wrote: > On Dec 30, 2006, at 6:43pm, Sean Dague wrote: > > The RecentChanges page in Moin 1.5.6 appears to only be providing > > the *last* > > change on each page in the listing. A good example of this is here: > > http://mhvlug.org/RecentChanges?max_days=14. The page > > http://mhvlug.org/Welcome has been modified many times in the > > window shown, > > but only the most recent one is listed. > > > > Is there an easy change to get the previous behavior where multiple > > changes > > per page are shown? > > This was intended. See the discussion here: > http://moinmoin.wikiwikiweb.de/MoinMoinBugs/RecentChangesIsBroken > > ... and my patch (if you desire) here: > http://moinmoin.wikiwikiweb.de/MoinMoinPatch/LessConfusingRecentChanges Thanks very much. The current RecentChanges behavior was driving me nuts, as I use RecentChanges like a source code management system's "history" command. I'm sad to see the maintainers appear to be wed to the current behavior, as I've gotten plenty of user complaints from my wikis (beyond just me) after this change occurred. :( -Sean -- __________________________________________________________________ Sean Dague Mid-Hudson Valley sean at dague dot net Linux Users Group http://dague.net http://mhvlug.org There is no silver bullet. Plus, werewolves make better neighbors than zombies, and they tend to keep the vampire population down. __________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From skip at pobox.com Sun Dec 31 09:57:20 2006 From: skip at pobox.com (skip at pobox.com) Date: Sun, 31 Dec 2006 08:57:20 -0600 Subject: [Moin-user] Anti-spam suggestion: use SpamBayes Message-ID: <17815.53200.145985.282181@montanaro.dyndns.org> We all know wikis get spammed. I'm not up-to-speed on the latest versions of MoinMoin, but I think the concept used at least through the 1.3 series (the use of BadContent and LocalBadContent pages) is fundamentally flawed since it relies on the users to manually update "bad" words. You're always trying to catch up with the spammers. Instead, let me suggest that you incorporate a SpamBayes-based classifier into MoinMoin. I did this recently for a couple other websites I manage (Mojam and Musi-Cal - not wikis). It worked marvelously there. I now reject 100% of the spam submissions and also catch submission mistakes by good users that I would never have caught before. Here's how I envision it working. Whenever a form submission happens the new page is scored against the current SpamBayes database. If it scores as possible or probable spam, it is automatically reverted back to the last revision that scores as okay, and the full URL for that revision is mailed to all people in AdminGroup. An admin reviews that URL. If it's okay, the URL is added to the HamPages page. If not, it's added to the SpamPages page (both suitably protected for AdminGroup write only and not themselves checked by SpamBayes). Whenever those pages are saved the entire database is retrained from scratch. This should not generally be a problem, as there will probably only be a few pages in the database, so retraining should be quick. It should also be a relatively rare occurrence. If the suspect page was actually ham, after retraining, score it again. It should score as ham now. If so, just revert to it. If not, add it to the HamPages page a second time. I'm not entirely sure how to handle new pages which are spam, but I think you should be able to automatically DeletePage them, then revive them later if they turn out to be good. This all said, I can help from the SpamBayes side of things (write the tokenizer, suggest some synthetic tokens that might help improve the discrimination of ham and spam), but I'm not familiar with the MoinMoin code base, certainly not the latest versions. It's unlikely that I could implement it quickly on that side of things. If someone familiar with MoinMoin's code base would like to team up with me on this, let me know. Together we should be able to knock this off very quickly. -- Skip Montanaro - skip at pobox.com - http://www.mojam.com/ "The hippies and the hipsters did some great stuff in the sixties, but the geeks pulled their weight too." -- Billy Bragg