From rb.proj at gmail.com Thu Jul 1 04:13:24 2010 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 01 Jul 2010 10:13:24 +0200 Subject: [Moin-user] how do I do hostname redirection in a farm? In-Reply-To: References: Message-ID: Ted Stern schrieb: > Hi all, > > I currently have a wiki farm located on somehost.someplace.com (for > example), with wikis named like this in farmconfig.py: > > # for multiple wikis, do something like this: > ("examplewiki", r"^somehost.somewhere.com/ExampleWiki.*$"), > > We are going to be moving the wiki host to another computer, and I > have anticipated this by creating a hostname alias on our local > nameserver that points 'mywikis.somewhere.com' to > 'somehost.somewhere.com'. > > However, after I change farmconfig.py to point to the new hostname, > anyone going to the old hostname gets an error message. > > Is there a simple way to put up a redirection page or something that > will send my users to the correct new URL? > > Ted You need to set a 301 redirect on the old system. See the config options for your server. e.g. a RewriteRule search by keys for htaccess 301 redirect tutorial Reimar From Christoph-Keller at web.de Thu Jul 1 04:51:22 2010 From: Christoph-Keller at web.de (Christoph Keller) Date: Thu, 1 Jul 2010 10:51:22 +0200 (CEST) Subject: [Moin-user] Replacing spaces in links after update Message-ID: <2002362521.380985.1277974282223.JavaMail.fmail@mwmweb003> An HTML attachment was scrubbed... URL: From tw-public at gmx.de Thu Jul 1 08:26:46 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu, 01 Jul 2010 14:26:46 +0200 Subject: [Moin-user] Replacing spaces in links after update In-Reply-To: <2002362521.380985.1277974282223.JavaMail.fmail@mwmweb003> References: <2002362521.380985.1277974282223.JavaMail.fmail@mwmweb003> Message-ID: <1277987206.18157.40.camel@server.firma.waldmann-edv.de> > i updated from Version 1.5.X to 1.9. Big changes in between (at 1.6). > In the old wiki spaces in links were automatically replaced with '_'. You mean that it replaced spaces in pagenames with _ in the links? > This does not work anymore. Yeah, it was crap. Back then, when that feature was added, I thought it was a good idea (if mediawiki does it, it can't be wrong, right? :) to map blank and underscore to underscore in URLs (and in page names). The problem is that you afterwards don't know any more if it was originally a blank or an underscore, which leads to problems with externally given names (like attachment filenames [solvable, if you rename the attachment or accept another name] or parts of the filesystem made visible via the wiki [this works only with a special hack in moin 1.x, but will be a standard feature of moin2, and this could not be solved with that magic in place]). Thus, we had to revoke that "feature". Current behaviour is that you just get what you have. If your pagename has a blank, you get a blank (escaped to %20 in URLs), if your pagename has an underscore, you get an underscore. No magic, no problems. :) BTW, in the 1.5 -> 1.6 migration there is a step where you can rename pages and files (rename1.txt) - this is mostly for that reason (we can't decide automatically whether you rather want underscores or blanks in the names). So, in short, all magical replacing of some chars by others is gone in current moin, with one small compatibility helper left: If moin processes a request for a URL .../some_page, it will first look, if there is a page called "some_page". If there is none, it will do a second check for "some page". This is to make (old) links from outside not break just because of underscore vs. blank. > Is there any setting to use the old behavior? No, we had to get rid of that troublemaker. BTW, the usage of _ in older moins (< 1.6) was also caused by the bad link markup, you could get into trouble with spaces easily or you were forced to use more complicated link markup if you had a space in the name. After 1.6 this is no issue any more, the new markup can link to [[stuff with spaces]] easily. Also, recent browsers are often not showing the quoted URLs any more, but show the decoded form of them, e.g.: http://.../foo bar < as shown by recent browsers http://.../foo%20bar < as shown by older browsers So the issue of "%20 is ugly" (which was another reason why we initially mapped blank to underscore) is not that much an issue any more. Just be careful when copy&pasting those URLs from browser's URL line to other systems (like email or whatever), so that you get the quoted form of the URL. For Firefox this is right-click into URL line, "select all", "copy". From MGruber at metzler.com Thu Jul 1 10:29:24 2010 From: MGruber at metzler.com (Matthias Gruber) Date: Thu, 1 Jul 2010 16:29:24 +0200 Subject: [Moin-user] Moin 1.9.3 - get 503 Service Unavailable after aprox 16 pages Message-ID: Hi! Just updated our 1.9.2 to 1.9.3 Today I tried to import aprox 50 Pages via xmlrpc with some python 2.5 skript after several puts I get an 503, the Server runs well, also after the xmlrpc terminates, my users can still work with moin. I even tried some sleep etc. after insertion, but with no success Here a litte excerpt of the Code: nmsdoc = xmlrpclib.ServerProxy(Server+"?action=xmlrpc2") if DEBUG > 7: logging.debug("funcSendWikiPage(): ServerProxy") auth_token = nmsdoc.getAuthToken(User,Pass) if DEBUG > 7: logging.debug("funcSendWikiPage(): auth_token") mc = xmlrpclib.MultiCall(nmsdoc) if DEBUG > 7: logging.debug("funcSendWikiPage(): MultiCall") mc.applyAuthToken(auth_token) if DEBUG > 7: logging.debug("funcSendWikiPage(): ApplyAuthToken ") mc.putPage(PageName,PageContend) if DEBUG > 7: logging.debug("funcSendWikiPage(): PutPage") result = mc() print PageName print result mc.close() With log-output 01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): PageName: fooo->wsasp-sws1-hub->wsasp-sws1->gtw 01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): ServerProxy 01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): auth_token 01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): MultiCall 01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): ApplyAuthToken 01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): PutPage And a Stacktrace of: Traceback (most recent call last): File "push2wiki.py", line 777, in funcDeliverPages(QuellPfad) File "push2wiki.py", line 703, in funcDeliverPages funcSendWikiPage(I, Seite, ServerURI, ServerName, ServerPass) File "push2wiki.py", line 297, in funcSendWikiPage result = mc() File "c:\python\lib\xmlrpclib.py", line 1042, in __call__ return MultiCallIterator(self.__server.system.multicall(marshalled_list)) File "c:\python\lib\xmlrpclib.py", line 1199, in __call__ return self.__send(self.__name, args) File "c:\python\lib\xmlrpclib.py", line 1489, in __request verbose=self.__verbose File "c:\python\lib\xmlrpclib.py", line 1243, in request headers xmlrpclib.ProtocolError: Perhaps any clue for that ? cheers Matthias ------------------------------------------------------------------------------------ METZLER IT-Systems - System-/Network-Administration Matthias Gruber Bankhaus B. Metzler seel. Sohn & Co. KGaA Gro?e Gallussta?e. 18 60311 Frankfurt am Main Telefon (0 69) 21 04 - 43 30 Telefax (0 69) 21 04 - 40 40 MGruber at Metzler.com http://www.metzler.com Pers?nlich haftende Gesellschafter: Friedrich von Metzler, Emmerich M?ller Vorsitzender des Aufsichtsrates: Dr. Christoph Sch?cking Sitz der Gesellschaft: Frankfurt am Main, Handelsregisternummer: HRB 27 515 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empf?nger sein, so bitten wir Sie h?flich, dies unverz?glich dem Absender mitzuteilen und die Nachricht zu l?schen. Es ist unzul?ssig, die Nachricht unbefugt weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollst?ndigkeit der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern k?nnen, sind die vorstehenden Ausf?hrungen rechtlich nicht bindend. Eine Haftung hierf?r wird ausgeschlossen. This message is confidential. If you are not the intended recipient, we kindly ask you to inform the sender and delete the information. Any unauthorised dissemination or copying hereof is prohibited. As we cannot guarantee or assure the genuineness or completeness of the information contained in this message, the statements set forth above are not legally binding. Accordingly we cannot accept liability therefore. -------------- next part -------------- An HTML attachment was scrubbed... URL: From dodecatheon at gmail.com Thu Jul 1 15:22:09 2010 From: dodecatheon at gmail.com (Ted Stern) Date: Thu, 01 Jul 2010 12:22:09 -0700 Subject: [Moin-user] how do I do hostname redirection in a farm? In-Reply-To: (Ted Stern's message of "Wed, 30 Jun 2010 12:21:45 -0700") References: Message-ID: On 30 Jun 2010 12:21:45 -0700, Ted Stern wrote: > > Hi all, > > I currently have a wiki farm located on somehost.someplace.com (for > example), with wikis named like this in farmconfig.py: > > # for multiple wikis, do something like this: > ("examplewiki", r"^somehost.somewhere.com/ExampleWiki.*$"), > > We are going to be moving the wiki host to another computer, and I > have anticipated this by creating a hostname alias on our local > nameserver that points 'mywikis.somewhere.com' to > 'somehost.somewhere.com'. > > However, after I change farmconfig.py to point to the new hostname, > anyone going to the old hostname gets an error message. > > Is there a simple way to put up a redirection page or something that > will send my users to the correct new URL? > A simple solution for the short term is to play with regular expressions a little: ("examplewiki", r"^(somehost|mywikis).somewhere.com/ExampleWiki.*$"), and add a message on the main page telling people to update their links. Ted -- Frango ut patefaciam -- I break so that I may reveal From MGruber at metzler.com Fri Jul 2 06:17:21 2010 From: MGruber at metzler.com (Matthias Gruber) Date: Fri, 2 Jul 2010 12:17:21 +0200 Subject: [Moin-user] Moin 1.9.3 - get 503 Service Unavailable after aprox 16 pages In-Reply-To: Message-ID: Hi! So... after roll-back to 1.8.8 and dropping that wsgi-stuff and got back to my mod_python, all went well, just importet 819 Pages in one session without any trouble. cheers Matthias Matthias Gruber schrieb am 01.07.2010 16:29:24: > > Hi! > > Just updated our 1.9.2 to 1.9.3 > Today I tried to import aprox 50 Pages via xmlrpc with some python > 2.5 skript after several puts I get an 503, the Server runs well, > also after the xmlrpc terminates, my users can still work with moin. > I even tried some sleep etc. after insertion, but with no success > > Here a litte excerpt of the Code: > > nmsdoc = xmlrpclib.ServerProxy(Server+"?action=xmlrpc2") > if DEBUG > 7: > logging.debug("funcSendWikiPage(): ServerProxy") > auth_token = nmsdoc.getAuthToken(User,Pass) > if DEBUG > 7: > logging.debug("funcSendWikiPage(): auth_token") > mc = xmlrpclib.MultiCall(nmsdoc) > if DEBUG > 7: > logging.debug("funcSendWikiPage(): MultiCall") > mc.applyAuthToken(auth_token) > if DEBUG > 7: > logging.debug("funcSendWikiPage(): ApplyAuthToken ") > > > mc.putPage(PageName,PageContend) > if DEBUG > 7: > logging.debug("funcSendWikiPage(): PutPage") > result = mc() > print PageName > print result > mc.close() > > > With log-output > 01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): PageName: > fooo->wsasp-sws1-hub->wsasp-sws1->gtw > 01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): ServerProxy > 01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): auth_token > 01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): MultiCall > 01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): ApplyAuthToken > 01.07.2010 - 16:21:18: DEBUG - funcSendWikiPage(): PutPage > > And a Stacktrace of: > Traceback (most recent call last): > File "push2wiki.py", line 777, in > funcDeliverPages(QuellPfad) > File "push2wiki.py", line 703, in funcDeliverPages > funcSendWikiPage(I, Seite, ServerURI, ServerName, ServerPass) > File "push2wiki.py", line 297, in funcSendWikiPage > result = mc() > File "c:\python\lib\xmlrpclib.py", line 1042, in __call__ > return MultiCallIterator(self.__server.system.multicall(marshalled_list)) > File "c:\python\lib\xmlrpclib.py", line 1199, in __call__ > return self.__send(self.__name, args) > File "c:\python\lib\xmlrpclib.py", line 1489, in __request > verbose=self.__verbose > File "c:\python\lib\xmlrpclib.py", line 1243, in request > headers > xmlrpclib.ProtocolError: com/nmsdoku/?action=xmlrpc2: 503 SERVICE UNAVAILABLE> > > Perhaps any clue for that ? > > cheers > Matthias > > > ------------------------------------------------------------------------------------ > METZLER > IT-Systems - System-/Network-Administration > > Matthias Gruber > Bankhaus B. Metzler seel. Sohn & Co. KGaA > Gro?e Gallussta?e. 18 > 60311 Frankfurt am Main > Telefon (0 69) 21 04 - 43 30 > Telefax (0 69) 21 04 - 40 40 > MGruber at Metzler.com > http://www.metzler.com > > > Pers?nlich haftende Gesellschafter: Friedrich von Metzler, Emmerich M?ller > Vorsitzender des Aufsichtsrates: Dr. Christoph Sch?cking > Sitz der Gesellschaft: Frankfurt am Main, Handelsregisternummer: HRB 27 515 > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > Empf?nger sein, so bitten wir Sie h?flich, dies unverz?glich dem > Absender mitzuteilen und die Nachricht zu l?schen. Es ist > unzul?ssig, die Nachricht unbefugt weiterzuleiten oder zu kopieren. > Da wir nicht die Echtheit oder Vollst?ndigkeit der in dieser > Nachricht enthaltenen Informationen garantieren oder zusichern > k?nnen, sind die vorstehenden Ausf?hrungen rechtlich nicht bindend. > Eine Haftung hierf?r wird ausgeschlossen. > > This message is confidential. If you are not the intended recipient, > we kindly ask you to inform the sender and delete the information. > Any unauthorised dissemination or copying hereof is prohibited. As > we cannot guarantee or assure the genuineness or completeness of the > information contained in this message, the statements set forth > above are not legally binding. Accordingly we cannot accept > liability therefore. > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user Pers?nlich haftende Gesellschafter: Friedrich von Metzler, Emmerich M?ller Vorsitzender des Aufsichtsrates: Dr. Christoph Sch?cking Sitz der Gesellschaft: Frankfurt am Main, Handelsregisternummer: HRB 27 515 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empf?nger sein, so bitten wir Sie h?flich, dies unverz?glich dem Absender mitzuteilen und die Nachricht zu l?schen. Es ist unzul?ssig, die Nachricht unbefugt weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollst?ndigkeit der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern k?nnen, sind die vorstehenden Ausf?hrungen rechtlich nicht bindend. Eine Haftung hierf?r wird ausgeschlossen. This message is confidential. If you are not the intended recipient, we kindly ask you to inform the sender and delete the information. Any unauthorised dissemination or copying hereof is prohibited. As we cannot guarantee or assure the genuineness or completeness of the information contained in this message, the statements set forth above are not legally binding. Accordingly we cannot accept liability therefore. -------------- next part -------------- An HTML attachment was scrubbed... URL: From gamesbook at gmail.com Fri Jul 2 08:24:40 2010 From: gamesbook at gmail.com (Derek) Date: Fri, 2 Jul 2010 14:24:40 +0200 Subject: [Moin-user] Help needed with theme customization (Solenoid) Message-ID: I'm a new user of MoinMoin, and would like to customize the appearance.? Right now I am just working on my local machine, with Ubuntu 10.04 and MoinMoin 1.9.3. I have downloaded Solenoid (http://moinmo.in/ThemeMarket/Solenoid) and followed the "recipe" for installing it.? I have subsequently restarted Apache.? However, the theme changes do not seem to show up. Specifically, as a wiki user I can select "solenoid" as my theme, and the layout will change, but none of the styling shows up. I have checked that the files are copied under the /usr/local/lib/python2.6/dist-packages/MoinMoin/web/static/htdocs/solenoid directory. In the HTML source
for the header image shows up fine, and the link to the CSS file shows as: What else do I need to do (or may have done wrong)? Thanks Derek From tw-public at gmx.de Sat Jul 3 06:13:24 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Sat, 03 Jul 2010 12:13:24 +0200 Subject: [Moin-user] Moin 1.9.3 - get 503 Service Unavailable after aprox 16 pages In-Reply-To: References: Message-ID: <1278152004.20999.9.camel@x300.fritz.box> > So... after roll-back to 1.8.8 and dropping that wsgi-stuff and got > back to my mod_python, all went well, just importet 819 Pages in one > session without any trouble. Well, I don't know enough about your 1.9 and wsgi configuration to analyze it, but in my experience mod_python behaved rather crappy and mod_wsgi was very painless and comfortable. If it tells service unavailable, the server log would've been quite more interesting than the clientside log. Anyway, that problem should get more debugging, because 1.8.9 will likely be the last (non-wsgi) 1.8 release, followed by some time of in-repository-only updates for 1.8. BTW: I use xmlrpc to fetch/put all the master19 i18n "po file" pages and didn't see such a problem yet. From gnarlodious at gmail.com Sat Jul 3 09:54:04 2010 From: gnarlodious at gmail.com (Gnarlodious) Date: Sat, 3 Jul 2010 07:54:04 -0600 Subject: [Moin-user] Help needed with theme customization (Solenoid) In-Reply-To: References: Message-ID: This is why I refuse to help anyone on this mailing list, because it is misconfigured in a way that you only reply to the person asking the question. I have complained about it for years and it has never changed and at one point I even got someone to say that it is normal for a mailing list. As a result, you end up having a one-on-one conversation when you should be talking to the whole group. In fact, it makes me so mad I am unsubscribing from this list right now, so I don't waste my time any more. -- Gnarlie On 7/3/10, Derek wrote: > I did look at the logs; nothing obvious showing there. The files have > the same permissions as, for example, the moimoin.png image file (and > that shows up just fine)? > > Thanks > Derek > > > On 2 July 2010 16:40, Gnarlodious wrote: >> You don't need to restart Apache. >> >> Did you look at the server logs? Maybe you forgot to set the files as >> server-readable. >> >> -- Gnarlie >> > From eugen at leitl.org Sat Jul 3 10:59:10 2010 From: eugen at leitl.org (Eugen Leitl) Date: Sat, 3 Jul 2010 16:59:10 +0200 Subject: [Moin-user] Help needed with theme customization (Solenoid) In-Reply-To: References: Message-ID: <20100703145910.GM31956@leitl.org> On Sat, Jul 03, 2010 at 07:54:04AM -0600, Gnarlodious wrote: > This is why I refuse to help anyone on this mailing list, because it Please do not top-post. > is misconfigured in a way that you only reply to the person asking the That's your MUAs problem, not the mailserv's. > question. I have complained about it for years and it has never > changed and at one point I even got someone to say that it is normal > for a mailing list. As a result, you end up having a one-on-one http://www.unicom.com/pw/reply-to-harmful.html > conversation when you should be talking to the whole group. In fact, > it makes me so mad I am unsubscribing from this list right now, so I > don't waste my time any more. Don't let the cyberdoor hit your cyberass on the way out. > -- Gnarlie > > > > On 7/3/10, Derek wrote: > > I did look at the logs; nothing obvious showing there. The files have > > the same permissions as, for example, the moimoin.png image file (and > > that shows up just fine)? > > > > Thanks > > Derek > > > > > > On 2 July 2010 16:40, Gnarlodious wrote: > >> You don't need to restart Apache. > >> > >> Did you look at the server logs? Maybe you forgot to set the files as > >> server-readable. > >> > >> -- Gnarlie > >> > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user -- Eugen* Leitl leitl http://leitl.org ______________________________________________________________ ICBM: 48.07100, 11.36820 http://www.ativel.com http://postbiota.org 8B29F6BE: 099D 78BA 2FD3 B014 B08A 7779 75B0 2443 8B29 F6BE From nicpottier at gmail.com Sat Jul 3 11:26:35 2010 From: nicpottier at gmail.com (Nic Pottier) Date: Sat, 3 Jul 2010 17:26:35 +0200 Subject: [Moin-user] Using Restructured text AND Pygments Message-ID: Howdy, I'm trying to get MoinMoin configured such that I can use ReST for markup and also get Pygments for syntax highlighting in my code blocks. IE, I basically want my wiki to act like Sphinx does by default. Making ReST the default markup is no problem, that works, but I can't get the syntax highlighting to work. Is that supported / known as a limitation? I bet I'm not the only one who'd like a Sphinx play-alike wiki. Cheers, -Nic From tizone at gmail.com Sat Jul 3 12:15:36 2010 From: tizone at gmail.com (tizo) Date: Sat, 3 Jul 2010 13:15:36 -0300 Subject: [Moin-user] MoinMoin markup Message-ID: Hi there, I am developing a site using Drupal, but I am so used to edit content in MoinMoin, that I would love to use the same markup in this new site. I know how to develop a filter in Drupal for user input to be transformed in HTML. What I need is some help in finding (and maybe understanding) the python codes that do this task in MoinMoin. Where could I start? Thanks very much, tizo -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Mon Jul 5 03:58:16 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 05 Jul 2010 09:58:16 +0200 Subject: [Moin-user] MoinMoin markup In-Reply-To: References: Message-ID: <1278316696.30020.3.camel@x300.fritz.box> > I am developing a site using Drupal, but I am so used to edit content > in MoinMoin, that I would love to use the same markup in this new > site. I know how to develop a filter in Drupal for user input to be > transformed in HTML. What I need is some help in finding (and maybe > understanding) the python codes that do this task in MoinMoin. Where > could I start? That's not easy due to 2 reasons: * drupal is php, not python * you can't easily extract the parser/formatter from the moin framework Maybe it would be easier with moin2 converters, but they are not finished yet. From moinmoin at sheep.art.pl Mon Jul 5 05:03:41 2010 From: moinmoin at sheep.art.pl (Radomir Dopieralski) Date: Mon, 5 Jul 2010 11:03:41 +0200 Subject: [Moin-user] MoinMoin markup In-Reply-To: References: Message-ID: You could try developing a plugin for WikiCreole -- it's a markup similar to MoinMoin, only not as specififc. There are already libraries for it, see http://wiki.wikicreole.org/Libraries On Sat, Jul 3, 2010 at 6:15 PM, tizo wrote: > Hi there, > > I am developing a site using Drupal, but I am so used to edit content in > MoinMoin, that I would love to use the same markup in this new site. I know > how to develop a filter in Drupal for user input to be transformed in HTML. > What I need is some help in finding (and maybe understanding) the python > codes that do this task in MoinMoin. Where could I start? > > Thanks very much, > > tizo > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > -- Radomir Dopieralski, http://sheep.art.pl From ivan at ffii.org Mon Jul 5 04:53:37 2010 From: ivan at ffii.org (Ivan F. Villanueva B.) Date: Mon, 5 Jul 2010 10:53:37 +0200 Subject: [Moin-user] Using Restructured text AND Pygments In-Reply-To: References: Message-ID: <20100705085337.GG2147@golemgridmind> * Nic Pottier [2010-07-03 17:27]: > I'm trying to get MoinMoin configured such that I can use ReST for > markup and also get Pygments for syntax highlighting I use a script to generate webpages from rst plaintext files, using also Pygments. Maybe it can inspire you to make MoinMoin do the same. The following page explain the script and it is generated with it: http://ogai.name/software/gridcms/ (I decided to hack a script after testing MoinMoin and some plugins, waiting for MoinMoin 2.0 ...) -- Ivan Villanueva Initiator: http://StopSoftwarePatents.eu From rb.proj at gmail.com Tue Jul 6 11:30:08 2010 From: rb.proj at gmail.com (R.Bauer) Date: Tue, 06 Jul 2010 17:30:08 +0200 Subject: [Moin-user] Moin 1.9.3 - get 503 Service Unavailable after aprox 16 pages In-Reply-To: <1278152004.20999.9.camel@x300.fritz.box> References: <1278152004.20999.9.camel@x300.fritz.box> Message-ID: Thomas Waldmann schrieb: >> So... after roll-back to 1.8.8 and dropping that wsgi-stuff and got >> back to my mod_python, all went well, just importet 819 Pages in one >> session without any trouble. > > Well, I don't know enough about your 1.9 and wsgi configuration to > analyze it, but in my experience mod_python behaved rather crappy and > mod_wsgi was very painless and comfortable. > > If it tells service unavailable, the server log would've been quite more > interesting than the clientside log. > > Anyway, that problem should get more debugging, because 1.8.9 will > likely be the last (non-wsgi) 1.8 release, followed by some time of > in-repository-only updates for 1.8. don't have run in that problem too. regulary I create >50000 pages by xmlrpc once a week. what mod_wsgi version do you have? From rb.proj at gmail.com Tue Jul 6 11:37:33 2010 From: rb.proj at gmail.com (R.Bauer) Date: Tue, 06 Jul 2010 17:37:33 +0200 Subject: [Moin-user] Using Restructured text AND Pygments In-Reply-To: References: Message-ID: Nic Pottier schrieb: > Howdy, > > I'm trying to get MoinMoin configured such that I can use ReST for > markup and also get Pygments for syntax highlighting in my code > blocks. IE, I basically want my wiki to act like Sphinx does by > default. > > Making ReST the default markup is no problem, that works, but I can't > get the syntax highlighting to work. Is that supported / known as a > limitation? > > I bet I'm not the only one who'd like a Sphinx play-alike wiki. > pygments syntax hightlighting is default in moin-1.9 {{{#!highlight python class Example(object): }}} see http://moinmo.in/HelpOnParsers#highlight_parser Which moin version do you run? cheers Reimar > Cheers, > > -Nic > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first From nicpottier at gmail.com Tue Jul 6 12:12:49 2010 From: nicpottier at gmail.com (Nic Pottier) Date: Tue, 6 Jul 2010 18:12:49 +0200 Subject: [Moin-user] Using Restructured text AND Pygments In-Reply-To: References: Message-ID: Using moinmoin markup, yes it is. But I couldn't figure out the right incantation to get it to work with code blocks when using restructured text. I ended up hacking my own version to make it work, which I will share as a gist next time I'm near a computer, but if there's a way to make it work out of the box then even better. Nic On Jul 6, 2010 5:41 PM, "R.Bauer" wrote: > Nic Pottier schrieb: >> Howdy, >> >> I'm trying to get MoinMoin configured such that I can use ReST for >> markup and also get Pygments for syntax highlighting in my code >> blocks. IE, I basically want my wiki to act like Sphinx does by >> default. >> >> Making ReST the default markup is no problem, that works, but I can't >> get the syntax highlighting to work. Is that supported / known as a >> limitation? >> >> I bet I'm not the only one who'd like a Sphinx play-alike wiki. >> > > > pygments syntax hightlighting is default in moin-1.9 > > {{{#!highlight python > class Example(object): > }}} > > see > http://moinmo.in/HelpOnParsers#highlight_parser > > > Which moin version do you run? > > cheers > Reimar > >> Cheers, >> >> -Nic >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > 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 MGruber at metzler.com Wed Jul 7 02:42:16 2010 From: MGruber at metzler.com (Matthias Gruber) Date: Wed, 7 Jul 2010 08:42:16 +0200 Subject: [Moin-user] Antwort: Re: Moin 1.9.3 - get 503 Service Unavailable after aprox 16 pages In-Reply-To: Message-ID: Well I simply used the shown example in moin 1.9.x as config. Anyway... I dropped further investigation, didnt have the time for that, 1.8.x w/mod_python runs reliable for us, never ever had a problem in all the 4 wikis we run in that config since version 1.5.x Cheers Matthias "R.Bauer" schrieb am 06.07.2010 17:30:08: > Thomas Waldmann schrieb: > >> So... after roll-back to 1.8.8 and dropping that wsgi-stuff and got > >> back to my mod_python, all went well, just importet 819 Pages in one > >> session without any trouble. > > > > Well, I don't know enough about your 1.9 and wsgi configuration to > > analyze it, but in my experience mod_python behaved rather crappy and > > mod_wsgi was very painless and comfortable. > > > > If it tells service unavailable, the server log would've been quite more > > interesting than the clientside log. > > > > Anyway, that problem should get more debugging, because 1.8.9 will > > likely be the last (non-wsgi) 1.8 release, followed by some time of > > in-repository-only updates for 1.8. > > > > don't have run in that problem too. regulary I create >50000 pages by > xmlrpc once a week. > > what mod_wsgi version do you have? > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user Pers?nlich haftende Gesellschafter: Friedrich von Metzler, Emmerich M?ller Vorsitzender des Aufsichtsrates: Dr. Christoph Sch?cking Sitz der Gesellschaft: Frankfurt am Main, Handelsregisternummer: HRB 27 515 Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empf?nger sein, so bitten wir Sie h?flich, dies unverz?glich dem Absender mitzuteilen und die Nachricht zu l?schen. Es ist unzul?ssig, die Nachricht unbefugt weiterzuleiten oder zu kopieren. Da wir nicht die Echtheit oder Vollst?ndigkeit der in dieser Nachricht enthaltenen Informationen garantieren oder zusichern k?nnen, sind die vorstehenden Ausf?hrungen rechtlich nicht bindend. Eine Haftung hierf?r wird ausgeschlossen. This message is confidential. If you are not the intended recipient, we kindly ask you to inform the sender and delete the information. Any unauthorised dissemination or copying hereof is prohibited. As we cannot guarantee or assure the genuineness or completeness of the information contained in this message, the statements set forth above are not legally binding. Accordingly we cannot accept liability therefore. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivan at ffii.org Wed Jul 7 04:15:50 2010 From: ivan at ffii.org (Ivan F. Villanueva B.) Date: Wed, 7 Jul 2010 10:15:50 +0200 Subject: [Moin-user] Using Restructured text AND Pygments In-Reply-To: References: Message-ID: <20100707081550.GA2134@golemgridmind> * Nic Pottier [2010-07-06 18:14]: > On Jul 6, 2010 5:41 PM, "R.Bauer" wrote: > > pygments syntax hightlighting is default in moin-1.9 > > > > {{{#!highlight python > > class Example(object): > > }}} > > > > see > > http://moinmo.in/HelpOnParsers#highlight_parser > Using moinmoin markup, yes it is. But I couldn't figure out the right > incantation to get it to work with code blocks when using restructured text. I have the same problem with the latex plugin. It doesn't work when using rst as parser. E.g. {{{ #!latex \gamma \gamma }}} > I ended up hacking my own version to make it work I'm very interested in your hack. Better would be though for the MoinMoin developers to make the rst parser accept {{{ code. I guess it is very easy if you know how the parser works. BTW, writing e.g. {{{#!highlight python is painful long. Isn't there a kind of macro directive, with which you can do something like: #macro p highlight python {{{p a = 2 }}} ? -- Ivan Villanueva Initiator: http://StopSoftwarePatents.eu From gamesbook at gmail.com Tue Jul 13 02:46:54 2010 From: gamesbook at gmail.com (Derek) Date: Tue, 13 Jul 2010 08:46:54 +0200 Subject: [Moin-user] Help needed with theme customization (Solenoid) In-Reply-To: References: Message-ID: #end If you had to identify, in one word, the reason why the human race has not achieved, and never will achieve, its full potential, that word would be "meetings." Dave Barry On 3 July 2010 15:54, Gnarlodious wrote: > This is why I refuse to help anyone on this mailing list, because it > is misconfigured in a way that you only reply to the person asking the > question. I have complained about it for years and it has never > changed and at one point I even got someone to say that it is normal > for a mailing list. As a result, you end up having a one-on-one > conversation when you should be talking to the whole group. In fact, > it makes me so mad I am unsubscribing from this list right now, so I > don't waste my time any more. > > -- Gnarlie > > > > On 7/3/10, Derek wrote: > > I did look at the logs; nothing obvious showing there. The files have > > the same permissions as, for example, the moimoin.png image file (and > > that shows up just fine)? > > > > Thanks > > Derek > > > > > > On 2 July 2010 16:40, Gnarlodious wrote: > >> You don't need to restart Apache. > >> > >> Did you look at the server logs? Maybe you forgot to set the files as > >> server-readable. > >> > >> -- Gnarlie > >> > > I did look at the logs; nothing obvious showing there. The files have the same permissions as, for example, the moimoin.png image file (and that shows up just fine)? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From yantur_v_b at operamail.com Tue Jul 13 18:06:38 2010 From: yantur_v_b at operamail.com (Yantur von_Bergwacht) Date: Tue, 13 Jul 2010 23:06:38 +0100 Subject: [Moin-user] Two beginners questions (template page, data storage) Message-ID: <20100713220638.2396B15F020@c-in3ws--03-03.sv2.lotusliveops.com> Is there any file or page for the moinmoin wiki where I could find help for 1. how to setup a template page, and 2. whether it's possible to store the data on another disc than the one where the wiki is installed, and if so, how to do this? The reason for the second question is that I am planning to modify the wiki data from different PCs, so it would be desirable for me to store the wiki contents on an external hard disc. Thanks for all help from Yantur -- _______________________________________________ Surf the Web in a faster, safer and easier way: Download Opera 9 at http://www.opera.com From tizone at gmail.com Tue Jul 13 19:02:35 2010 From: tizone at gmail.com (tizo) Date: Tue, 13 Jul 2010 20:02:35 -0300 Subject: [Moin-user] Two beginners questions (template page, data storage) In-Reply-To: <20100713220638.2396B15F020@c-in3ws--03-03.sv2.lotusliveops.com> References: <20100713220638.2396B15F020@c-in3ws--03-03.sv2.lotusliveops.com> Message-ID: On Tue, Jul 13, 2010 at 7:06 PM, Yantur von_Bergwacht < yantur_v_b at operamail.com> wrote: > Is there any file or page for the moinmoin wiki where I could find help for > 1. how to setup a template page, and > 2. whether it's possible to store the data on another disc than the one > where the wiki is installed, and if so, how to do this? > > The reason for the second question is that I am planning to modify the wiki > data from different PCs, so it would be desirable for me to store the wiki > contents on an external hard disc. > > Thanks for all help from > > Yantur > > 1- It is very simple, you just have to create a page which name ends in "Template". Then when you create a new page, you can select the template page, and the template content is copied to the new template, letting you editing that (http://moinmo.in/HelpOnTemplates). 2- I don't know, but I guess that you could do that making the data directory a symbolic link to other directory in another disc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rick.vanderveer at gmail.com Tue Jul 13 19:08:20 2010 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Tue, 13 Jul 2010 18:08:20 -0500 Subject: [Moin-user] Two beginners questions (template page, data storage) In-Reply-To: <20100713220638.2396B15F020@c-in3ws--03-03.sv2.lotusliveops.com> References: <20100713220638.2396B15F020@c-in3ws--03-03.sv2.lotusliveops.com> Message-ID: 1. Template pages are set up by merely creating a new page ending in Template, and then calling it from some macro or whatever. If you look under my theme, you'll see that I've trivially customized our wiki so that new pages have a much simpler landing page, and clicking the "create new page" actually calls a Template with a skeleton of a new page (title, some example body text, etc). Scroll to the end of this page: http://moinmo.in/ThemeMarket/Moniker/ServingSuggestions 2. Yes, it's -possible-, but if on Windows maybe not recommended (on Windows, the drive letter likes to change, etc). Maybe better to simply use the standalone option; put the entire thing on the external drive and carry the whole thing with you. Then you can manually copy over the pages/changes to the real server when ready. On Tue, Jul 13, 2010 at 5:06 PM, Yantur von_Bergwacht < yantur_v_b at operamail.com> wrote: > Is there any file or page for the moinmoin wiki where I could find help for > 1. how to setup a template page, and > 2. whether it's possible to store the data on another disc than the one > where the wiki is installed, and if so, how to do this? > > The reason for the second question is that I am planning to modify the wiki > data from different PCs, so it would be desirable for me to store the wiki > contents on an external hard disc. > > Thanks for all help from > > Yantur > > -- > _______________________________________________ > Surf the Web in a faster, safer and easier way: > Download Opera 9 at http://www.opera.com > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > 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 kai at aplteam.com Thu Jul 15 04:47:43 2010 From: kai at aplteam.com (Kai Jaeger) Date: Thu, 15 Jul 2010 09:47:43 +0100 Subject: [Moin-user] WSGI problem Message-ID: I tried to establish a VM which is almost identical with my Internet Server but run into trouble. I installed Python 2.6 and Moin 1.9.3 freshly. When I access the wiki I get a 500 error. The apache log is saying [Thu Jul 15 08:17:57 2010] [error] [client 192.168.209.131] mod_wsgi (pid=2976): Target WSGI script 'D:/Wikis/config/moin.wsgi' cannot be loaded as Python module. [Thu Jul 15 08:17:57 2010] [error] Traceback (most recent call last): [Thu Jul 15 08:17:57 2010] [error] File "D:/Wikis/config/moin.wsgi", line 20, in [Thu Jul 15 08:17:57 2010] [error] import sys, os [Thu Jul 15 08:17:57 2010] [error] ImportError: No module named os I googled for this but found only some reports associated with updating older Moins to 1.9.x - I've installed a fresh copy of 1.9.3, so that doesn't fit. Advice is very welcome. From moinmoin at sheep.art.pl Thu Jul 15 05:51:17 2010 From: moinmoin at sheep.art.pl (Radomir Dopieralski) Date: Thu, 15 Jul 2010 11:51:17 +0200 Subject: [Moin-user] WSGI problem In-Reply-To: References: Message-ID: On Thu, Jul 15, 2010 at 10:47 AM, Kai Jaeger wrote: > I tried to establish a VM which is almost identical with my Internet > Server but run into trouble. > > I installed Python 2.6 and Moin 1.9.3 freshly. When I access the wiki > I get a 500 error. The apache log is saying > > [Thu Jul 15 08:17:57 2010] [error] [client 192.168.209.131] mod_wsgi > (pid=2976): Target WSGI script 'D:/Wikis/config/moin.wsgi' cannot be > loaded as Python module. > [Thu Jul 15 08:17:57 2010] [error] Traceback (most recent call last): > [Thu Jul 15 08:17:57 2010] [error] ? File "D:/Wikis/config/moin.wsgi", > line 20, in > [Thu Jul 15 08:17:57 2010] [error] ? ? import sys, os > [Thu Jul 15 08:17:57 2010] [error] ImportError: No module named os > > I googled for this but found only some reports associated with > updating older Moins to 1.9.x - I've installed a fresh copy of 1.9.3, > so that doesn't fit. Your mod_wsgi is not set up correctly, see http://pradyumnajoshi.wordpress.com/2009/06/09/setting-up-mod_wsgi-for-apache-and-django-on-windows/ -- Radomir Dopieralski, http://sheep.art.pl From kai at aplteam.com Thu Jul 15 06:17:19 2010 From: kai at aplteam.com (Kai Jaeger) Date: Thu, 15 Jul 2010 11:17:19 +0100 Subject: [Moin-user] WSGI problem In-Reply-To: References: Message-ID: Thanks Radomir - that helped! For the records: my PYTHONPATH env vars pointed to C:\Python while it should have been C:\Python26 - everything else was just okay. On Thu, Jul 15, 2010 at 10:51, Radomir Dopieralski wrote: > On Thu, Jul 15, 2010 at 10:47 AM, Kai Jaeger wrote: >> I tried to establish a VM which is almost identical with my Internet >> Server but run into trouble. >> >> I installed Python 2.6 and Moin 1.9.3 freshly. When I access the wiki >> I get a 500 error. The apache log is saying >> >> [Thu Jul 15 08:17:57 2010] [error] [client 192.168.209.131] mod_wsgi >> (pid=2976): Target WSGI script 'D:/Wikis/config/moin.wsgi' cannot be >> loaded as Python module. >> [Thu Jul 15 08:17:57 2010] [error] Traceback (most recent call last): >> [Thu Jul 15 08:17:57 2010] [error] ? File "D:/Wikis/config/moin.wsgi", >> line 20, in >> [Thu Jul 15 08:17:57 2010] [error] ? ? import sys, os >> [Thu Jul 15 08:17:57 2010] [error] ImportError: No module named os >> >> I googled for this but found only some reports associated with >> updating older Moins to 1.9.x - I've installed a fresh copy of 1.9.3, >> so that doesn't fit. > > Your mod_wsgi is not set up correctly, see > http://pradyumnajoshi.wordpress.com/2009/06/09/setting-up-mod_wsgi-for-apache-and-django-on-windows/ > > > -- > Radomir Dopieralski, http://sheep.art.pl > From rb.proj at gmail.com Thu Jul 15 07:02:47 2010 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 15 Jul 2010 13:02:47 +0200 Subject: [Moin-user] Two beginners questions (template page, data storage) In-Reply-To: References: <20100713220638.2396B15F020@c-in3ws--03-03.sv2.lotusliveops.com> Message-ID: tizo schrieb: > On Tue, Jul 13, 2010 at 7:06 PM, Yantur von_Bergwacht < > yantur_v_b at operamail.com> wrote: > >> Is there any file or page for the moinmoin wiki where I could find help for >> 1. how to setup a template page, and >> 2. whether it's possible to store the data on another disc than the one >> where the wiki is installed, and if so, how to do this? You want to do this by xmlrpc calls. for examples see http://moinmo.in/MoinAPI/Beispiele#xmlrpc I am working on a lib collecting all calls I often use https://coconuts.icg.kfa-juelich.de/hg/coconuts-0.4/file/1ec1fd13be8a/Coconuts/xmlrpc/__init__.py cheers Reimar >> >> The reason for the second question is that I am planning to modify the wiki >> data from different PCs, so it would be desirable for me to store the wiki >> contents on an external hard disc. >> >> Thanks for all help from >> >> Yantur >> >> > 1- It is very simple, you just have to create a page which name ends in > "Template". Then when you create a new page, you can select the template > page, and the template content is copied to the new template, letting you > editing that (http://moinmo.in/HelpOnTemplates). > > 2- I don't know, but I guess that you could do that making the data > directory a symbolic link to other directory in another disc. > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > > ------------------------------------------------------------------------ > > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user From Marcus.Fehde at draeger.com Sat Jul 17 05:27:24 2010 From: Marcus.Fehde at draeger.com (Fehde, Marcus) Date: Sat, 17 Jul 2010 11:27:24 +0200 Subject: [Moin-user] Configuration of diff in notification mail Message-ID: Dear all, I'm getting complains from our WIKI users regarding the diff included in the notification email. The diff is hardly readable because of the included formatting codes, particularly within tables where we use highlighting and font scaling. We make "heavy" use of those formatting options in order to provide good usability while working with the page itself. But this turns into a real drawback when using notifications. I went through the docs but I couldn't discover any option to configure the diff. So, my question is, is there any way to configure the notification email and / or the diff output - which I might have missed. Basically it would be perfectly sufficient if only the link to the changed page is included in the notification mail. Mit freundlichen Gr??en / Best regards, Marcus Fehde --- This communication contains confidential information. If you are not the intended recipient please return this email to the sender and delete it from your records. Diese Nachricht enth?lt vertrauliche Informationen. Sollten Sie nicht der beabsichtigte Empf?nger dieser E-mail sein, senden Sie bitte diese an den Absender zur?ck und l?schen Sie die E-mail aus Ihrem System. From kauer at biplane.com.au Sat Jul 17 08:00:09 2010 From: kauer at biplane.com.au (Karl Auer) Date: Sat, 17 Jul 2010 22:00:09 +1000 Subject: [Moin-user] possible to move/upgrade moin data? Message-ID: <1279368009.6971.111.camel@karl> I have an old Ubuntu 7.04 server running MoinMoin 1.8.1 (I think). This wiki is in a private network used only for internal business purposes, and I am 100% happy with the features etc, so I don't really need to upgrade. However, I am virtualising the host that moinmoin is on. Instead of setting up moinmoin manually (as I did on the existing server), I want to use the version that comes prepackaged with Ubuntu 10.04 - namely 1.9.2. Can I just install the distro version, then copy the data from where it is on the exiting server (/usr/local/moin/share/moin/data) to the equivalent directory on the new server? If not, what's the best way to do this? "Best" = lose least data, do least work :-) I have Googled some likely terms, but the answer seems to be to upgrade the existing server, then move the whole installation across. That seems like a lot of work, but I'll do it if I have to. Thanks for any guidance. Regards, K. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Karl Auer (kauer at biplane.com.au) +61-2-64957160 (h) http://www.biplane.com.au/~kauer/ +61-428-957160 (mob) GPG fingerprint: B386 7819 B227 2961 8301 C5A9 2EBC 754B CD97 0156 Old fingerprint: 07F3 1DF9 9D45 8BCD 7DD5 00CE 4A44 6A03 F43A 7DEF From lists at iDIAcomputing.com Sat Jul 17 10:11:48 2010 From: lists at iDIAcomputing.com (George Dinwiddie) Date: Sat, 17 Jul 2010 10:11:48 -0400 Subject: [Moin-user] possible to move/upgrade moin data? In-Reply-To: <1279368009.6971.111.camel@karl> References: <1279368009.6971.111.camel@karl> Message-ID: <4C41BA24.3090608@iDIAcomputing.com> Karl, On 7/17/10 8:00 AM, Karl Auer wrote: > I have an old Ubuntu 7.04 server running MoinMoin 1.8.1 (I think). This > wiki is in a private network used only for internal business purposes, > and I am 100% happy with the features etc, so I don't really need to > upgrade. > > However, I am virtualising the host that moinmoin is on. Instead of > setting up moinmoin manually (as I did on the existing server), I want > to use the version that comes prepackaged with Ubuntu 10.04 - namely > 1.9.2. > > Can I just install the distro version, then copy the data from where it > is on the exiting server (/usr/local/moin/share/moin/data) to the > equivalent directory on the new server? You'll want to run any migration scripts necessary for one version to the other. And you'll want to check the changes in config settings. Basically, that's what I do when I upgrade now. I install the new version (in a separate directory on a shared hosting server), copy & migrate the data, and make sure it all works /before/ changing the public pointer from the old to the new script. It gives me minimal downtime. - George -- ---------------------------------------------------------------------- * George Dinwiddie * http://blog.gdinwiddie.com Software Development http://www.idiacomputing.com Consultant and Coach http://www.agilemaryland.org ---------------------------------------------------------------------- From j.k.wight at ncl.ac.uk Tue Jul 20 07:42:03 2010 From: j.k.wight at ncl.ac.uk (Jim Wight) Date: Tue, 20 Jul 2010 12:42:03 +0100 Subject: [Moin-user] Writing macros Message-ID: <4C458B8B.3090607@ncl.ac.uk> It's only recently I've discovered that macro definitions changed at version 1.7 from def execute(macro, args) to def macro_MacroName(macro, arg1, arg2, ...) My macros haven't stopped working so 'execute' is obviously still being supported. What is its future? Jim From moinmoin at sheep.art.pl Tue Jul 20 12:32:15 2010 From: moinmoin at sheep.art.pl (Radomir Dopieralski) Date: Tue, 20 Jul 2010 18:32:15 +0200 Subject: [Moin-user] Writing macros In-Reply-To: <4C458B8B.3090607@ncl.ac.uk> References: <4C458B8B.3090607@ncl.ac.uk> Message-ID: The future is Moin2 with a completely overhauled plugin system (we didn't decide how exactly yet). It will support i18n, templates, static files per-plugin and bundling of several extensions (eg. macro, parser and action) into one plugin. But that's work in progress. On Tue, Jul 20, 2010 at 1:42 PM, Jim Wight wrote: > It's only recently I've discovered that macro definitions changed at > version 1.7 from > > ? ?def execute(macro, args) > > to > > ? ?def macro_MacroName(macro, arg1, arg2, ...) > > My macros haven't stopped working so 'execute' is obviously still being > supported. What is its future? > > Jim > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -- Radomir Dopieralski, http://sheep.art.pl From tw-public at gmx.de Wed Jul 21 04:00:34 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed, 21 Jul 2010 09:00:34 +0100 Subject: [Moin-user] 10th anniversary of the MoinMoin project Message-ID: <1279699234.2115.12.camel@x300> Happy anniversary! The MoinMoin project was created on Sourceforge exactly 10 years ago! Thanks to Juergen Hermann for creating and developling it and to all people who contributed to it or who use it. If you happen to be at Europython in Birmingham, we try to have a small celebration at the Europython conference dinner today. Happy MoinMoining, Thomas From mikemandarine at gmail.com Wed Jul 21 07:39:50 2010 From: mikemandarine at gmail.com (Mike Ma) Date: Wed, 21 Jul 2010 19:39:50 +0800 Subject: [Moin-user] 10th anniversary of the MoinMoin project In-Reply-To: <1279699234.2115.12.camel@x300> References: <1279699234.2115.12.camel@x300> Message-ID: Happy anniversary Wish moinmoin a bright future On Wed, Jul 21, 2010 at 4:00 PM, Thomas Waldmann wrote: > Happy anniversary! > > The MoinMoin project was created on Sourceforge exactly 10 years ago! > > Thanks to Juergen Hermann for creating and developling it and to all > people who contributed to it or who use it. > > If you happen to be at Europython in Birmingham, we try to have a small > celebration at the Europython conference dinner today. > > Happy MoinMoining, > > Thomas > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -- Forza Milan -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at iDIAcomputing.com Wed Jul 21 08:09:16 2010 From: lists at iDIAcomputing.com (George Dinwiddie) Date: Wed, 21 Jul 2010 08:09:16 -0400 Subject: [Moin-user] 10th anniversary of the MoinMoin project In-Reply-To: <1279699234.2115.12.camel@x300> References: <1279699234.2115.12.camel@x300> Message-ID: <4C46E36C.7050705@iDIAcomputing.com> Happy Anniversary! On 7/21/10 4:00 AM, Thomas Waldmann wrote: > Happy anniversary! > > The MoinMoin project was created on Sourceforge exactly 10 years ago! I've been using it for most of those years (maybe 8?). > Thanks to Juergen Hermann for creating and developing it and to all > people who contributed to it or who use it. Yes, thank you very much! - George -- ---------------------------------------------------------------------- * George Dinwiddie * http://blog.gdinwiddie.com Software Development http://www.idiacomputing.com Consultant and Coach http://www.agilemaryland.org ---------------------------------------------------------------------- From rb.proj at gmail.com Mon Jul 26 06:46:40 2010 From: rb.proj at gmail.com (R.Bauer) Date: Mon, 26 Jul 2010 12:46:40 +0200 Subject: [Moin-user] Writing macros In-Reply-To: <4C458B8B.3090607@ncl.ac.uk> References: <4C458B8B.3090607@ncl.ac.uk> Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jim Wight schrieb: > It's only recently I've discovered that macro definitions changed at > version 1.7 from > > def execute(macro, args) > > to > > def macro_MacroName(macro, arg1, arg2, ...) > > My macros haven't stopped working so 'execute' is obviously still being > supported. What is its future? > > Jim > Well the macro argument parser was completly implemented by this new macrostyle. The old style is valid too. for an example have a look at Hello World http://moinmo.in/MoinAPI/Beispiele#macro cheers Reimar -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkxNZ48ACgkQ5aOc3Q9hk/ktqgCeNSWdpJagiEtdpwtU8Ifkcq// gP0AnRlYSgxRMqmqp/Ui3Zppwn1pYlM9 =vg+i -----END PGP SIGNATURE----- From kai at aplteam.com Thu Jul 29 03:31:53 2010 From: kai at aplteam.com (Kai Jaeger) Date: Thu, 29 Jul 2010 08:31:53 +0100 Subject: [Moin-user] Selecting part of a Moin page with JavaScript Message-ID: Imagine that a Moin wiki is offering code snippets in a given programming language. I've given up the idea to offer a "Copy code" button - that seems to be impossible to achieve with all browsers and JavaScript only, but strictly speaking it's not necessary anyway: The nasty part is selecting the right part of the page, so a button "Select text" would do. Someone interested in programming is certainly to press Ctrl+C afterwards. I wonder whether somebody has solved this already? Kai From moinmoin at sheep.art.pl Thu Jul 29 04:00:06 2010 From: moinmoin at sheep.art.pl (Radomir Dopieralski) Date: Thu, 29 Jul 2010 10:00:06 +0200 Subject: [Moin-user] Selecting part of a Moin page with JavaScript In-Reply-To: References: Message-ID: On Thu, Jul 29, 2010 at 9:31 AM, Kai Jaeger wrote: > Imagine that a Moin wiki is offering code snippets in a given > programming language. > > I've given up the idea to offer a "Copy code" button - that seems to > be impossible to achieve with all browsers and JavaScript only, but With javascript no, but it's possible using flash -- github does it for the repository urls, for example. > strictly speaking it's not necessary anyway: The nasty part is > selecting the right part of the page, so a button "Select text" would > do. Someone interested in programming is certainly to press Ctrl+C > afterwards. > > I wonder whether somebody has solved this already? -- Radomir Dopieralski, http://sheep.art.pl From algone at googlemail.com Thu Jul 29 04:03:41 2010 From: algone at googlemail.com (Moses Gone) Date: Thu, 29 Jul 2010 10:03:41 +0200 Subject: [Moin-user] (no subject) Message-ID: Dear list, We are migrating from Mediawiki to Moinmoin. Using of of the export scripts provided we managed to inport the pages to moinmoin after a few hiccups here and there. However, now all the inter-pages links are gone. Does anyone have a solution for this. If not, what is the best way to do the migration. Regards, Moses From jdd at dodin.org Thu Jul 29 04:00:10 2010 From: jdd at dodin.org (jdd) Date: Thu, 29 Jul 2010 10:00:10 +0200 Subject: [Moin-user] Selecting part of a Moin page with JavaScript In-Reply-To: References: Message-ID: <4C51350A.2000208@dodin.org> Le 29/07/2010 09:31, Kai Jaeger a ?crit : > I wonder whether somebody has solved this already? not Moin related, but Youtube already select the code when you ask for sharing (firefox at least) jdd -- http://www.dodin.net http://pizzanetti.fr From kauer at biplane.com.au Thu Jul 29 04:24:56 2010 From: kauer at biplane.com.au (Karl Auer) Date: Thu, 29 Jul 2010 18:24:56 +1000 Subject: [Moin-user] need to get eGroupWare docs into MoinMoin Message-ID: <1280391896.28305.2351.camel@karl> On the off chance that someone has done it before: Any clues on how I might get an eGroupWare wiki into MoinMoin? Short of exhaustively cut-and-pasting every page... Yours in hope, K. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Karl Auer (kauer at biplane.com.au) +61-2-64957160 (h) http://www.biplane.com.au/kauer/ +61-428-957160 (mob) GPG fingerprint: B386 7819 B227 2961 8301 C5A9 2EBC 754B CD97 0156 Old fingerprint: 07F3 1DF9 9D45 8BCD 7DD5 00CE 4A44 6A03 F43A 7DEF From bleketux at gmail.com Thu Jul 29 07:16:24 2010 From: bleketux at gmail.com (MSulchan Darmawan) Date: Thu, 29 Jul 2010 18:16:24 +0700 Subject: [Moin-user] Unable to delete attachment Message-ID: <20100729181624.46dd6101@mc19> Dear all, Usually I can delete an attachment successfully, but recently I cannot delete it anymore, the message is : Please use the interactive user interface to use action AttachFile.del! Since I didn't change anything on the server side and manage the server by myself, then what should I do to trace the problem ? I use Ubuntu 8.04.4 and a very old moin version 1.5.8 :D Thanks in advance. -- Cheers, [-Sulchan-] -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: not available URL: From rb.proj at gmail.com Thu Jul 29 07:27:14 2010 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 29 Jul 2010 13:27:14 +0200 Subject: [Moin-user] need to get eGroupWare docs into MoinMoin In-Reply-To: <1280391896.28305.2351.camel@karl> References: <1280391896.28305.2351.camel@karl> Message-ID: Karl Auer schrieb: > On the off chance that someone has done it before: > > Any clues on how I might get an eGroupWare wiki into MoinMoin? Short of > exhaustively cut-and-pasting every page... > > Yours in hope, K. > you can do it by html https://coconuts.icg.kfa-juelich.de/documentation/examples.html#html2wiki it uses the text_html_text_moin_wiki convertor from the gui editor (xhtml -> wiki markup) https://coconuts.icg.kfa-juelich.de/documentation/_modules/Coconuts/convertor.html#Convert.convert_in_moin_markup Reimar From nicpottier at gmail.com Thu Jul 29 07:29:32 2010 From: nicpottier at gmail.com (Nic Pottier) Date: Thu, 29 Jul 2010 13:29:32 +0200 Subject: [Moin-user] RST & Pygments & CodeMirror Message-ID: I posted a while back about Pygments not working when you are using RST as a markup language. I ended up patching MoinMoin to make it work, and in the process made a nicer editor using CodeMirror so you get syntax highlighting of the Restructured Text markup. There was some interest from others on this, as it ends up being a reasonably close proxy to a Sphinx 'play alike' Wiki. Anyways, you can find the patches and instructions at: Cheers, -Nic From rb.proj at gmail.com Thu Jul 29 07:30:44 2010 From: rb.proj at gmail.com (R.Bauer) Date: Thu, 29 Jul 2010 13:30:44 +0200 Subject: [Moin-user] Unable to delete attachment In-Reply-To: <20100729181624.46dd6101@mc19> References: <20100729181624.46dd6101@mc19> Message-ID: MSulchan Darmawan schrieb: > Dear all, > > Usually I can delete an attachment successfully, but recently I cannot > delete it anymore, the message is : > > Please use the interactive user interface to use action AttachFile.del! > > Since I didn't change anything on the server side and manage the server > by myself, then what should I do to trace the problem ? Which browser is it? > > I use Ubuntu 8.04.4 and a very old moin version 1.5.8 :D read http://moinmo.in/SecurityFixes and update. Reimar From sandro at e-den.it Thu Jul 29 09:57:00 2010 From: sandro at e-den.it (Alessandro Dentella) Date: Thu, 29 Jul 2010 15:57:00 +0200 Subject: [Moin-user] RST & Pygments & CodeMirror In-Reply-To: References: Message-ID: <20100729135700.GA30358@ubuntu> On Thu, Jul 29, 2010 at 01:29:32PM +0200, Nic Pottier wrote: > I posted a while back about Pygments not working when you are using > RST as a markup language. I ended up patching MoinMoin to make it > work, and in the process made a nicer editor using CodeMirror so you > get syntax highlighting of the Restructured Text markup. > > There was some interest from others on this, as it ends up being a > reasonably close proxy to a Sphinx 'play alike' Wiki. That'd be *really* great!!! And RST is so much better that any other markup system in my opinion... > > Anyways, you can find the patches and instructions at: > I had a look, but wasn't able to find the patch!... %-( sandro *:-) -- Sandro Dentella *:-) http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy From nicpottier at gmail.com Thu Jul 29 10:30:14 2010 From: nicpottier at gmail.com (Nic Pottier) Date: Thu, 29 Jul 2010 16:30:14 +0200 Subject: [Moin-user] RST & Pygments & CodeMirror In-Reply-To: <20100729135700.GA30358@ubuntu> References: <20100729135700.GA30358@ubuntu> Message-ID: It's in a link at the end, pointing to the gist: http://gist.github.com/497582 -Nic On Thu, Jul 29, 2010 at 3:57 PM, Alessandro Dentella wrote: > On Thu, Jul 29, 2010 at 01:29:32PM +0200, Nic Pottier wrote: >> I posted a while back about Pygments not working when you are using >> RST as a markup language. ?I ended up patching MoinMoin to make it >> work, and in the process made a nicer editor using CodeMirror so you >> get syntax highlighting of the Restructured Text markup. >> >> There was some interest from others on this, as it ends up being a >> reasonably close proxy to a Sphinx 'play alike' Wiki. > > > That'd be *really* great!!! > > And RST is so much better that any other markup system in my opinion... >> >> Anyways, you can find the patches and instructions at: >> ? > > I had a look, but wasn't able to find the patch!... %-( > > > sandro > *:-) > > -- > Sandro Dentella ?*:-) > http://sqlkit.argolinux.org ? ? ? ?SQLkit home page - PyGTK/python/sqlalchemy > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From bleketux at gmail.com Fri Jul 30 00:38:32 2010 From: bleketux at gmail.com (MSulchan Darmawan) Date: Fri, 30 Jul 2010 11:38:32 +0700 Subject: [Moin-user] Unable to delete attachment In-Reply-To: References: <20100729181624.46dd6101@mc19> Message-ID: <20100730113832.0b12d414@mc19> On Thu, 29 Jul 2010 13:30:44 +0200 "R.Bauer" wrote: > > Since I didn't change anything on the server side and manage the > > server by myself, then what should I do to trace the problem ? > > Which browser is it? Trying on Chromium browser dev version, and firefox 3.6.8 (on linux and windows XP). The same problem for above browser. > > I use Ubuntu 8.04.4 and a very old moin version 1.5.8 :D > > read http://moinmo.in/SecurityFixes and update. > Hmmm, ok I'll try to apply XSS issues later. Thanks for pointing me. I'll let you know the result. -- Cheers, [-Sulchan-] -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: not available URL: From zoom.quiet at gmail.com Fri Jul 30 05:34:29 2010 From: zoom.quiet at gmail.com (Zoom.Quiet) Date: Fri, 30 Jul 2010 17:34:29 +0800 Subject: [Moin-user] image map support with jQuery (clickable nodes!) Message-ID: for GraphVizForMoin: http://moinmo.in/GraphVizForMoin/Discussion#image_map_support_with_jQuery_.28clickable_nodes.21.29 happy hacking... -- http://zoomquiet.org ????? Pythonic! From scofield at calvin.edu Fri Jul 30 16:02:29 2010 From: scofield at calvin.edu (Thomas Scofield) Date: Fri, 30 Jul 2010 16:02:29 -0400 Subject: [Moin-user] beginner questions Message-ID: <2328C386-7372-4356-AD6A-FB086ADC0E05@calvin.edu> I will soon be helping to administer a moinmoin wiki that has several levels of access (one public, and then several levels of passworded access). Being a novice, I decided to try setting up a moinmoin wiki on my mac laptop, one which eventually will probably remain as little more than a PIM, but may also serve as a staging area for wiki pages that I'll place on a , w(different) server for students in courses I teach. I was going to go with a "desktop" wiki, which I was able to get setup using moinmoin 1.9.3 following the Quickstart instructions, but wasn't happy with that as it did not come with any built-in help pages or the like. I'm sure there is a way to fix that, but I was/am in the the mode of looking for the easiest set of instructions to get going. What I happened on next were the instructions at http://www.pantz.org/software/moinmoin/setup_moinmoin_wiki.html which I am trying to adapt to my situation. The sticking point for me, I think, seems to be how to set up things so that I can access my local wiki through a browser. When I had the desktop wiki set up before, I accessed it via http://localhost:8080 The instructions above provide an example where one adds a moinmoin unix user/group (I did not, as I will be the only one accessing the wiki on my local machine, and I placed the wiki files in a directory within my home space), changing the port to 80 (I didn't do that either), giving a specific ip address for the interface (again, I did not), placing two lines in the wikis = [ ] area of farmconfig.py ("wiki1", r"^wiki1.yourserver.org/.*$"), ("wiki1", r"^wiki1/.*$"), ---what I wrote, instead, are these lines ("personal", r"^personal.localhost/.*$"), ("personal", r"^personal/.*$"), ---and then adding lines wiki.yourserver.org. 86400 IN A 192.168.0.245 wiki1 86400 IN CNAME wiki to /etc/hosts---I, instead, added wiki.localhost. 86400 IN A 192.168.0.245 personal 86400 IN CNAME wiki Obviously, I do not know quite what I am doing, and it is not surprising that, after running the moin.py script, I cannot come up with url that allows my browser to access this personal wiki. Can anyone get me through this? Also, I expected to be able to search the moin-user archives using a keyword. Is that possible? The archive, which I am getting to via http://sourceforge.net/mailarchive/forum.php?forum_name=moin-user , has a rather awkward setup in my browser: You have to scroll past the years/months to get to a list of topics, and all that is repeated if you click on a topic. Thanks. Thomas L. Scofield -------------------------------------------------------- Associate Professor Department of Mathematics and Statistics Calvin College -------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Sat Jul 31 07:14:14 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Sat, 31 Jul 2010 13:14:14 +0200 Subject: [Moin-user] Unable to delete attachment In-Reply-To: <20100729181624.46dd6101@mc19> References: <20100729181624.46dd6101@mc19> Message-ID: <1280574854.12750.13.camel@x300.fritz.box> > Usually I can delete an attachment successfully, but recently I cannot > delete it anymore, the message is : > > Please use the interactive user interface to use action AttachFile.del! That likely means the ticket check has failed somehow. MoinMoin puts a ticket into the form field / into the url of the link to detect if some bot is trying to just directly modifying stuff by posting crap (like spam). But as you have a very old wiki, maybe first do the upgrade and then try to reproduce it with current code. From tw-public at gmx.de Sat Jul 31 07:20:40 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Sat, 31 Jul 2010 13:20:40 +0200 Subject: [Moin-user] beginner questions In-Reply-To: <2328C386-7372-4356-AD6A-FB086ADC0E05@calvin.edu> References: <2328C386-7372-4356-AD6A-FB086ADC0E05@calvin.edu> Message-ID: <1280575240.12750.16.camel@x300.fritz.box> > I was going to go with a "desktop" wiki, which I was able to get setup > using moinmoin 1.9.3 following the Quickstart instructions, but wasn't > happy with that as it did not come with any built-in help pages or the > like. Visit page LanguageSetup and read it. What you have afterwards should be ok for a PIM-like wiki at http://localhost:8080/ - you don't need to do any complex setup. From tw-public at gmx.de Sat Jul 31 07:10:23 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Sat, 31 Jul 2010 13:10:23 +0200 Subject: [Moin-user] (no subject) In-Reply-To: References: Message-ID: <1280574623.12750.10.camel@x300.fritz.box> Hi Moses, > We are migrating from Mediawiki to Moinmoin. Using of of the export > scripts provided we managed to inport the pages to moinmoin after a > few hiccups here and there. However, now all the inter-pages links are > gone. > > Does anyone have a solution for this. If not, what is the best way to > do the migration. MoinMoin is using a different wiki markup than MediaWiki, you need markup conversion. Maybe have a look at ConverterMarket page on our wiki or google for "moin mediawiki converter" or so. Be aware that most of the stuff you might find are quick hacks only solving most of the conversion issue, but not everything. Cheers, Thomas