From markus.liebelt at online.de Sun Oct 2 11:41:35 2005 From: markus.liebelt at online.de (Markus Liebelt) Date: Sun Oct 2 11:41:35 2005 Subject: [Moin-user] reference ot external file possible? In-Reply-To: <2616907E-332F-11DA-99FC-000A95B45AA0@actcom.net.il> References: <250DC5D8-30E4-11DA-AB62-000A95B45AA0@actcom.net.il> <2616907E-332F-11DA-99FC-000A95B45AA0@actcom.net.il> Message-ID: Hello Nir, just copied: external_resources = os.path.abspath("./resources") url_mapping = {"file:///resources/": "file:///%s/" % external_resources} So I think the directory resources should be under the wiki directory, parallel to the data directory. Is that correct? I had to include an import to os, but then the code could be interpreted fine. Bye Markus On Sun, 02 Oct 2005 12:27:35 +0200, Nir Soffer wrote: > What is your url_mapping setting? > > On 2 Oct, 2005, at 13:26, Markus Liebelt wrote: > >> thank you for you tip. I tried it out, but could not tell to what >> effect. What I get is: >> >> 1. I expand the wikiconfig.py like you said >> 2. I define a directory wiki/resources >> 3. I include there a file test.txt >> 4. I enter an URL in a wiki page: file:///resources/test.txt >> >> When I click on the URL, the following happens: >> 1. In the browser, nothing is done >> 2. In the MMDE shell output, noting is seen. >> >> What I think is, that the browser does not accept a link like that. >> >> Then I tried to replace the file: by http: to avoid that, and get the >> following result: >> >> 1. Browser tells me that he has an internal communication error, that >> the resource is not available. The exact output was: >> >> Internal communication error >> >> You tried to access the address http:///resources/test.txt, which is >> currently unavailable. Please make sure that the Web address (URL) is >> correctly spelled and punctuated, then try reloading the page. >> > > Best Regards, > > Nir Soffer > > From markus.liebelt at online.de Sun Oct 2 12:57:17 2005 From: markus.liebelt at online.de (Markus Liebelt) Date: Sun Oct 2 12:57:17 2005 Subject: [Moin-user] reference ot external file possible? In-Reply-To: References: Message-ID: Hello Juergen, On Thu, 29 Sep 2005 19:31:49 +0200, Juergen Hermann wrote: > On Thu, 29 Sep 2005 09:46:09 +0200, Markus Liebelt wrote: > >> 1. Expand the configuration to allow for a variable that denotes the root of > the external ressources file system. >> 2. Write a macro or action, that takes the value of the variable, the > relative path to a ressource, and provides that ressource as a http ressource > to the browser. > > way too much hassle. what you should do is define an Alias in the web browser, > and point an interwiki link to that alias url. I don't understand what you mean be "define an alias in the web browser". Can you explain how to do that with a common browser? > Ciao, J?rgen > Thank's Markus From va.planat at gmail.com Sun Oct 2 13:03:28 2005 From: va.planat at gmail.com (hpvpl) Date: Sun Oct 2 13:03:28 2005 Subject: [Moin-user] Problem with caching theme Message-ID: <8b350cf00510021254w4dbdb136m9d703276638baaa2@mail.gmail.com> Hi, I'm using with great pleasure the latest Desktop edition of moin. I was able to change my default theme (to sand) by following the HelpOnTheme procedure. But recently I've tried to install an other theme. It refuse to take this noew one into account and use instead the "classic" theme. I cannot come back also to the "sand" theme I was previously using. I red and red many time the HelpOnTheme but I don't see what is wrong. Is their a bug on the Desktop edition ? Some one help ... please Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: From markus.liebelt at online.de Sun Oct 2 13:41:29 2005 From: markus.liebelt at online.de (Markus Liebelt) Date: Sun Oct 2 13:41:29 2005 Subject: [Moin-user] reference ot external file possible? In-Reply-To: <250DC5D8-30E4-11DA-AB62-000A95B45AA0@actcom.net.il> References: <250DC5D8-30E4-11DA-AB62-000A95B45AA0@actcom.net.il> Message-ID: Hello Nir, thank you for you tip. I tried it out, but could not tell to what effect. What I get is: 1. I expand the wikiconfig.py like you said 2. I define a directory wiki/resources 3. I include there a file test.txt 4. I enter an URL in a wiki page: file:///resources/test.txt When I click on the URL, the following happens: 1. In the browser, nothing is done 2. In the MMDE shell output, noting is seen. What I think is, that the browser does not accept a link like that. Then I tried to replace the file: by http: to avoid that, and get the following result: 1. Browser tells me that he has an internal communication error, that the resource is not available. The exact output was: Internal communication error You tried to access the address http:///resources/test.txt, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page. Perhaps the whole scheme does not work with the MMDE (Desktop Edition), I don't know. So I stick to the original idea to implement a macro and corresponding action. See my other mail in that thread. Thank you a lot for your help, these are pretty interesting times ... Bye Markus On Thu, 29 Sep 2005 14:25:39 +0200, Nir Soffer wrote: > > On 29 Sep, 2005, at 10:46, Markus Liebelt wrote: > >> I want to get something doing this: >> - I have a setup where the MoinMoin Desktop Edition will be installed >> on a DVD. It is a knowledge repository that may be easily installed on >> every desktop. >> - Together with the wiki come a lot of ressources which are handled >> external to the wiki. There are some reasons for to do that, but just >> believe me, that is necessary. >> - There should be a way to link the external ressources inside the >> wiki. When I use a link like file:///d:/some/stupid/file.exe, it is >> displayed in the browser, but the browser does not open it for >> security reasons. >> >> What I would like to get is the following: >> 1. Expand the configuration to allow for a variable that denotes the >> root of the external ressources file system. >> 2. Write a macro or action, that takes the value of the variable, the >> relative path to a ressource, and provides that ressource as a http >> ressource to the browser. > > You don't need this Windows centric solution. The wiki knows the path > to the data directory, therefore the path to your external resources > directory. > > You just need a way to map urls to the external resources to the > current location. Maybe the url_mapping option will do that for you. > > Try this (untested) code in your wikiconfig: > > # Your external resources are located in wiki/resources > external_resources = os.path.abspath("./resources") > url_mapping = {"file:///resources/": "file:///%s/" % > external_resources} > > > Best Regards, > > Nir Soffer > > From markus.liebelt at online.de Sun Oct 2 15:27:09 2005 From: markus.liebelt at online.de (Markus Liebelt) Date: Sun Oct 2 15:27:09 2005 Subject: [Moin-user] reference ot external file possible? In-Reply-To: References: Message-ID: Hello all together, I now reached something, but am stuck and have no idea how to proceed. My design is: 1. Implement a macro that will output a link in HTML that will call an action. 2. Implement that action (by stealing a lot from AttachFile) to open the external file. The macro is working, I have appended the version that works. So when I use the following on a page: [[LinkFile(show.txt,pb)]] this is emmited: show.txt Then when I click on the link, I get a pretty weird exception (that I cannot locate in the source): =================================== TypeError'NoneType' object is not callable Please include this information in your bug reports!: Python Python 2.4.1: D:\programme\Internet\MMDE\moin.exe Platform: win32 (nt) MoinMoin Release 1.3.4 [Revision patch-723; DesktopEdition Release 1.3.4-2] Sun Oct 02 12:30:14 2005 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. D:\programme\Internet\MMDE\MoinMoin\request.pyo in run(self=) TypeError: 'NoneType' object is not callable __doc__ = 'Inappropriate argument type.' __getitem__ = > __init__ = > __module__ = 'exceptions' __str__ = > args = ("'NoneType' object is not callable",) =============================================== I tried then to rename the file to see if the lookup of the action works. So when I missspell the extfile.py to extfile2.py, I got the following: - The browser is called with that link: http://localhost:8080/SpielWiese?action=extfile&do=get&root=pb&file=show.txt - The output is: Unknown action extfile Exactly what to expect... So I don't know what to do now. Has anyone a tip how to debug MoinMoin? Does anyone have an (internal) action that does something minimal and that works? Are there any things that don't work in the Desktop Edition I don't know? I have appended the macro and the action, so if someone has time to check it ... Thank you all a lot for your patience Markus On Thu, 29 Sep 2005 09:46:09 +0200, Markus Liebelt wrote: > Hello all together, > > I have searched the list for some information on my topic, but found no answer yet. So I send this email, perhaps someone has a tip or even a solution for me. > > I want to get something doing this: > - I have a setup where the MoinMoin Desktop Edition will be installed on a DVD. It is a knowledge repository that may be easily installed on every desktop. > - Together with the wiki come a lot of ressources which are handled external to the wiki. There are some reasons for to do that, but just believe me, that is necessary. > - There should be a way to link the external ressources inside the wiki. When I use a link like file:///d:/some/stupid/file.exe, it is displayed in the browser, but the browser does not open it for security reasons. > > What I would like to get is the following: > 1. Expand the configuration to allow for a variable that denotes the root of the external ressources file system. > 2. Write a macro or action, that takes the value of the variable, the relative path to a ressource, and provides that ressource as a http ressource to the browser. > > I know that are two different questions, but I need answers for both of them to get my solution working. If anyone could point me to some example that does similar things, I will dive again into python (last wrote something in python now 8 years ago) and implement that solution (of cource, with providing it to the community :-)). > > I hope there is a kind soul somewhere out there to help me > > Bye > Markus > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -------------- next part -------------- A non-text attachment was scrubbed... Name: extfile.py Type: application/octet-stream Size: 3029 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: LinkFile.py Type: application/octet-stream Size: 1301 bytes Desc: not available URL: From markus.liebelt at online.de Sun Oct 2 16:28:30 2005 From: markus.liebelt at online.de (Markus Liebelt) Date: Sun Oct 2 16:28:30 2005 Subject: [Moin-user] reference ot external file possible? In-Reply-To: References: Message-ID: What I forgot: In the console of Moin, I find the following message: localhost - - [02/Oct/2005 12:35:04] "GET /SpielWiese?action=extfile&do=get&root=pb&file=show.txt HTTP/1.1" 500 - So a 500 seems to indicate that the server had some error, but that does not help too much. Bye Markus On Sun, 02 Oct 2005 12:38:19 +0200, Markus Liebelt wrote: > Hello all together, > > I now reached something, but am stuck and have no idea how to proceed. > > My design is: > 1. Implement a macro that will output a link in HTML that will call an action. > 2. Implement that action (by stealing a lot from AttachFile) to open the external file. > > The macro is working, I have appended the version that works. So when I use the following on a page: > > [[LinkFile(show.txt,pb)]] this is emmited: > > show.txt > > Then when I click on the link, I get a pretty weird exception (that I cannot locate in the source): > > =================================== > TypeError'NoneType' object is not callable Please include this information in your bug reports!: > Python Python 2.4.1: D:\programme\Internet\MMDE\moin.exe > Platform: win32 (nt) > MoinMoin Release 1.3.4 [Revision patch-723; DesktopEdition Release 1.3.4-2] > Sun Oct 02 12:30:14 2005 > > A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. > > D:\programme\Internet\MMDE\MoinMoin\request.pyo in run(self=) > > TypeError: 'NoneType' object is not callable > __doc__ = 'Inappropriate argument type.' > __getitem__ = > > __init__ = > > __module__ = 'exceptions' > __str__ = > > args = ("'NoneType' object is not callable",) > =============================================== > > I tried then to rename the file to see if the lookup of the action works. So when I missspell the extfile.py to extfile2.py, I got the following: > > - The browser is called with that link: http://localhost:8080/SpielWiese?action=extfile&do=get&root=pb&file=show.txt > - The output is: Unknown action extfile > > Exactly what to expect... > > So I don't know what to do now. Has anyone a tip how to debug MoinMoin? Does anyone have an (internal) action that does something minimal and that works? Are there any things that don't work in the Desktop Edition I don't know? > > I have appended the macro and the action, so if someone has time to check it ... > > Thank you all a lot for your patience > > Markus > > On Thu, 29 Sep 2005 09:46:09 +0200, Markus Liebelt wrote: > >> Hello all together, >> >> I have searched the list for some information on my topic, but found no answer yet. So I send this email, perhaps someone has a tip or even a solution for me. >> >> I want to get something doing this: >> - I have a setup where the MoinMoin Desktop Edition will be installed on a DVD. It is a knowledge repository that may be easily installed on every desktop. >> - Together with the wiki come a lot of ressources which are handled external to the wiki. There are some reasons for to do that, but just believe me, that is necessary. >> - There should be a way to link the external ressources inside the wiki. When I use a link like file:///d:/some/stupid/file.exe, it is displayed in the browser, but the browser does not open it for security reasons. >> >> What I would like to get is the following: >> 1. Expand the configuration to allow for a variable that denotes the root of the external ressources file system. >> 2. Write a macro or action, that takes the value of the variable, the relative path to a ressource, and provides that ressource as a http ressource to the browser. >> >> I know that are two different questions, but I need answers for both of them to get my solution working. If anyone could point me to some example that does similar things, I will dive again into python (last wrote something in python now 8 years ago) and implement that solution (of cource, with providing it to the community :-)). >> >> I hope there is a kind soul somewhere out there to help me >> >> Bye >> Markus >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Power Architecture Resource Center: Free content, downloads, discussions, >> and more. http://solutions.newsforge.com/ibmarch.tmpl >> _______________________________________________ >> Moin-user mailing list >> Moin-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/moin-user >> > > From kenneth.m.mcdonald at sbcglobal.net Sun Oct 2 17:59:11 2005 From: kenneth.m.mcdonald at sbcglobal.net (Kenneth McDonald) Date: Sun Oct 2 17:59:11 2005 Subject: [Moin-user] 'Trusted' special group Message-ID: What defines who appears in the 'Trusted' predefined group? The help page on ACLs says: Trusted is a special group containing all authenticated users who used HTTP-Basic-authentication. but gives no further details. Thanks, Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: From dm at belkam.com Sun Oct 2 23:02:10 2005 From: dm at belkam.com (Dmitry Melekhov) Date: Sun Oct 2 23:02:10 2005 Subject: [Moin-user] Re: how to allow page deletetion? Message-ID: <4340C92A.1010400@belkam.com> > > > Delete is always disabled for underlay pages, so you can safely install > a new underlay directory without changing your wiki pages. > > This code in request.RequestBase.getAvailableActions causes your > problem: > > elif not self.user.valid: > # Prevent rename and delete for non registered users > excluded = [u'RenamePage', u'DeletePage'] > > Try to comment it. > Thank you! This helps. From jh at web.de Mon Oct 3 03:40:33 2005 From: jh at web.de (Juergen Hermann) Date: Mon Oct 3 03:40:33 2005 Subject: [Moin-user] reference ot external file possible? In-Reply-To: Message-ID: On Sun, 02 Oct 2005 12:13:44 +0200, Markus Liebelt wrote: >I don't understand what you mean be "define an alias in the web browser". Can you explain how to do that with a common browser? errr, web server, "Alias" in Apache httpd. Ciao, J?rgen From va.planat at gmail.com Mon Oct 3 10:40:01 2005 From: va.planat at gmail.com (hpvpl) Date: Mon Oct 3 10:40:01 2005 Subject: [Moin-user] max revision Message-ID: <8b350cf00510031039q4ec5139eiafaf3b57950dfbca@mail.gmail.com> Hi, Is it possible to limite the number of revision stored on the Desktop moinmoin edition, flat file db ? I could not find any config value in the wikiconfig.py. Is their a solution ? Thanks for your support Cheer -------------- next part -------------- An HTML attachment was scrubbed... URL: From nirs at actcom.net.il Mon Oct 3 13:46:53 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Mon Oct 3 13:46:53 2005 Subject: [Moin-user] max revision In-Reply-To: <8b350cf00510031039q4ec5139eiafaf3b57950dfbca@mail.gmail.com> References: <8b350cf00510031039q4ec5139eiafaf3b57950dfbca@mail.gmail.com> Message-ID: On 3 Oct, 2005, at 19:39, hpvpl wrote: > > Is it possible to limite the number of revision stored on the Desktop > moinmoin edition, flat file db ? I could not find any config value in > the wikiconfig.py. Is their a solution ? There is no built in way to do this, but its easy to write a small utility that delete or archive old revisions. Best Regards, Nir Soffer From markus.liebelt at online.de Tue Oct 4 10:47:58 2005 From: markus.liebelt at online.de (Markus Liebelt) Date: Tue Oct 4 10:47:58 2005 Subject: [Moin-user] reference ot external file possible? In-Reply-To: References: Message-ID: Hello Juergen, now I understand. My problem is, that I want to use the Desktop Edition without the web server in between, so I need a way to integrate files not served by MoinMoin. I have finished my solution, so stay tuned, I will send it in a few days. But thank you a lot for your help. bye Markus On Mon, 03 Oct 2005 12:39:41 +0200, Juergen Hermann wrote: > On Sun, 02 Oct 2005 12:13:44 +0200, Markus Liebelt wrote: > >> I don't understand what you mean be "define an alias in the web browser". Can > you explain how to do that with a common browser? > > errr, web server, "Alias" in Apache httpd. > > Ciao, J?rgen > > > From markus.liebelt at online.de Tue Oct 4 11:13:25 2005 From: markus.liebelt at online.de (Markus Liebelt) Date: Tue Oct 4 11:13:25 2005 Subject: [Moin-user] reference ot external file possible? In-Reply-To: References: Message-ID: Hello all together, I hope it is not too boring for you, but I wan't to share what I have reached: 1. I implemented a macro that provides a link with the correct arguments to call an action. 2. I implemented that action (it even works). So I can now do the following: - I have a MoinMoin wiki at work where I summarize some knowledge. But the wiki is only the glue code to the knowledge base. - The knowledge base itself (documents, installations, guides, tutorials) are stored on the file system, which is managed by Subversion. - I link the installed files by the macro. - When I zip the wiki and store it in a MoinMoin desktop edition, I can there change the mapping by changing the configuration to the root of the knowledge base. - It even works in windows for different browsers which normally don't serve file-URLS from http adresses. I have appended the (beta) version I currently have. It works for me, but I will test it a little bit and make it more robust. What you have to do is the following: 1. Install LinkFile.py under macro 2. Install extfile.py under action 3. Append to your wikiconfig.py the following line (changed to meet your needs): file_roots = {"pb": "d:/pb/svn/"} That means that I have under the symbolic name "pb" the directory where it is stored locally here. By changing it to something like "http://localhost/pb/", it would be provided by a local webserver (if I had any). So if you include the following in the source of a page: [[LinkFile(pb,java/eclipse/eclipse-SDK-3.1-win32.zip,eclipse)]] if will result in a link like that: eclipse The action will then take the root stored in the configuration, append to it the relative path, and serve it to the request. The result is, that any browser will allow you to open files from a http source. If you have any questions about the implementation, please don't hesitate to ask. And please be nice, it is my first python implementation in the last 8 years after a lot of java (and reasently ruby, yeh!). When I have polished up the work (perhaps with your tips), I will provide it in the MoinMoin wiki so that others will find it. Bye and thank once again for all your help Markus On Sun, 02 Oct 2005 12:38:19 +0200, Markus Liebelt wrote: > Hello all together, > > I now reached something, but am stuck and have no idea how to proceed. > > My design is: > 1. Implement a macro that will output a link in HTML that will call an action. > 2. Implement that action (by stealing a lot from AttachFile) to open the external file. > > The macro is working, I have appended the version that works. So when I use the following on a page: > > [[LinkFile(show.txt,pb)]] this is emmited: > > show.txt > > Then when I click on the link, I get a pretty weird exception (that I cannot locate in the source): > > =================================== > TypeError'NoneType' object is not callable Please include this information in your bug reports!: > Python Python 2.4.1: D:\programme\Internet\MMDE\moin.exe > Platform: win32 (nt) > MoinMoin Release 1.3.4 [Revision patch-723; DesktopEdition Release 1.3.4-2] > Sun Oct 02 12:30:14 2005 > > A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. > > D:\programme\Internet\MMDE\MoinMoin\request.pyo in run(self=) > > TypeError: 'NoneType' object is not callable > __doc__ = 'Inappropriate argument type.' > __getitem__ = > > __init__ = > > __module__ = 'exceptions' > __str__ = > > args = ("'NoneType' object is not callable",) > =============================================== > > I tried then to rename the file to see if the lookup of the action works. So when I missspell the extfile.py to extfile2.py, I got the following: > > - The browser is called with that link: http://localhost:8080/SpielWiese?action=extfile&do=get&root=pb&file=show.txt > - The output is: Unknown action extfile > > Exactly what to expect... > > So I don't know what to do now. Has anyone a tip how to debug MoinMoin? Does anyone have an (internal) action that does something minimal and that works? Are there any things that don't work in the Desktop Edition I don't know? > > I have appended the macro and the action, so if someone has time to check it ... > > Thank you all a lot for your patience > > Markus > > On Thu, 29 Sep 2005 09:46:09 +0200, Markus Liebelt wrote: > >> Hello all together, >> >> I have searched the list for some information on my topic, but found no answer yet. So I send this email, perhaps someone has a tip or even a solution for me. >> >> I want to get something doing this: >> - I have a setup where the MoinMoin Desktop Edition will be installed on a DVD. It is a knowledge repository that may be easily installed on every desktop. >> - Together with the wiki come a lot of ressources which are handled external to the wiki. There are some reasons for to do that, but just believe me, that is necessary. >> - There should be a way to link the external ressources inside the wiki. When I use a link like file:///d:/some/stupid/file.exe, it is displayed in the browser, but the browser does not open it for security reasons. >> >> What I would like to get is the following: >> 1. Expand the configuration to allow for a variable that denotes the root of the external ressources file system. >> 2. Write a macro or action, that takes the value of the variable, the relative path to a ressource, and provides that ressource as a http ressource to the browser. >> >> I know that are two different questions, but I need answers for both of them to get my solution working. If anyone could point me to some example that does similar things, I will dive again into python (last wrote something in python now 8 years ago) and implement that solution (of cource, with providing it to the community :-)). >> >> I hope there is a kind soul somewhere out there to help me >> >> Bye >> Markus >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: >> Power Architecture Resource Center: Free content, downloads, discussions, >> and more. http://solutions.newsforge.com/ibmarch.tmpl >> _______________________________________________ >> Moin-user mailing list >> Moin-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/moin-user >> > > -------------- next part -------------- A non-text attachment was scrubbed... Name: extfile.py Type: application/octet-stream Size: 4199 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: LinkFile.py Type: application/octet-stream Size: 1516 bytes Desc: not available URL: From Richard.Hiers at covenantseminary.edu Tue Oct 4 13:24:12 2005 From: Richard.Hiers at covenantseminary.edu (Hiers, Richard) Date: Tue Oct 4 13:24:12 2005 Subject: [Moin-user] Moinmoin security and exploits Message-ID: With the recent announcement of Twiki exploit being the source of the spreadfirefox.com compromise (http://www.mozillazine.org/articles/article7479.html), I'm wondering more about moin's security. I notice that Twiki has a security page with security alerts and fixes (http://twiki.org/cgi-bin/view/Codev/TWikiSecurityAlerts). Is there anything like that for moinmoin? I general, I need to know what moin's vulnerabilities are and what steps I need to take to guard against them. I would assume that Python would have security issues as well? Thanks Richard Hiers Director of IT Services Covenant Theological Seminary 314.434.4044 From kenneth.m.mcdonald at sbcglobal.net Tue Oct 4 14:01:07 2005 From: kenneth.m.mcdonald at sbcglobal.net (Kenneth McDonald) Date: Tue Oct 4 14:01:07 2005 Subject: [Moin-user] Allowing users to create pages from a temple with write permission? Message-ID: <384CA476-D3F4-4494-9AF8-6C1B1AD3C4F5@sbcglobal.net> This does not seem to work under Moin (it's a bit of a baroque use), but I was wondering if there is some way to get it to work I haven't found yet. Our site will have many pages that are immutable, and many pages that are writeable, so far as general users are concerned. The test site is using acls to enforce read-only access on the specified files, but it would be preferable to have readonly as the default, and to use acls to give write access. However, that prevents users from creating pages. I created a UserTemplate file with the entry #acl Known:read,write In hopes that users (under the more restrictive regime) would be able to create pages using that template. However, that doesn't work. Anyone know of some way to do this? That is, have pages read-only to general users by default, but allow those same users to create new pages? Thanks, Ken From kenneth.m.mcdonald at sbcglobal.net Tue Oct 4 14:03:22 2005 From: kenneth.m.mcdonald at sbcglobal.net (Kenneth McDonald) Date: Tue Oct 4 14:03:22 2005 Subject: [Moin-user] Renaming of page with automatic update of links to that page? Message-ID: <82BF0FFF-7A2D-4CA1-8A28-D1D0FB0A575A@sbcglobal.net> Is there a tool that will not only rename a page, but will also look through the current wiki pages and automatically replace links to the old page with links to the new one? The current 'rename' functionality did not do this for me, at least in the instance I just tried. Thanks, Ken From tw-public at gmx.de Wed Oct 5 02:26:11 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Oct 5 02:26:11 2005 Subject: [Moin-user] Moinmoin security and exploits In-Reply-To: References: Message-ID: <43439A78.7070707@gmx.de> > more about moin's security. I notice that Twiki has a security page > with security alerts and fixes > (http://twiki.org/cgi-bin/view/Codev/TWikiSecurityAlerts). Is there > anything like that for moinmoin? We didn't have reason yet to make such a page. But I think in case of a severe security issue in a current moin release, you would find something on MoinMoin:FrontPage and soon after a new release on Sourceforge. > I general, I need to know what moin's vulnerabilities are and what steps > I need to take to guard against them. We rarely make use of external tools and shell calls, so that kind of problem is quite improbable. In general, it is a good idea to run services on a low priviledge level and with separate users. And to have backups, of course. > I would assume that Python would have security issues as well? The buffer overflow problems often leading to exploits in C code can't happen in moin code, because it is Python and in Python buffers do not overflow, they just grow. But as the Python interpreter and some of its libraries are implemented in C, buffer overflows CAN happen THERE (if there is a bug), but those issues are VERY rare. I think I remember only 1 or 2 security issues in Python or its libs in the last years and afaik moin never was affected. The problems moin had a few times were mostly on a higher level, e.g. ACLs not working in special cases or privacy issues, so you could see a wiki page you shouldn't or an email address of somebody who might not wanted it published. Sometimes, this was due to bugs, sometimes rather due to old code that wasn't written with privacy in mind. From anthony at itia.ntua.gr Wed Oct 5 02:58:17 2005 From: anthony at itia.ntua.gr (Antonios Christofides) Date: Wed Oct 5 02:58:17 2005 Subject: [Moin-user] Moinmoin security and exploits In-Reply-To: <43439A78.7070707@gmx.de> References: <43439A78.7070707@gmx.de> Message-ID: <20051005095719.GE32661@itia.ntua.gr> Thomas Waldmann wrote: > But I think in case of a severe security issue in a current moin > release, you would find something on MoinMoin:FrontPage and soon > after a new release on Sourceforge. This is not sufficient. There must be a security announce mailing list. In fact, the fewer the security problems that are discovered, the more important is the mailing list. You can't expect administrators to visit the mm front page every morning (and the front page of every other software they have installed) to see if there is an advisory. The one time that a serious vulnerability is discovered, you will want to notify all administrators. (I'm administering a twiki, and before they setup that list, I was notified about the vulnerability from the strange behaviour of my compromised machine.) > The buffer overflow problems often leading to exploits in C code > can't happen in moin code, because it is Python and in Python > buffers do not overflow, they just grow. Yes, but web applications suffer from failing to escape input. I feel moinmoin is secure ok, and the quality of its code is good, but eventually the vulnerability will be discovered, and when that happens you will need to have that list. -- Antonios Christofides +30-2661020814 +30-6979924665 From tw-public at gmx.de Wed Oct 5 04:35:44 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Oct 5 04:35:44 2005 Subject: [Moin-user] Moinmoin security and exploits In-Reply-To: <20051005095719.GE32661@itia.ntua.gr> References: <43439A78.7070707@gmx.de> <20051005095719.GE32661@itia.ntua.gr> Message-ID: <4343B8EA.4080704@gmx.de> >> But I think in case of a severe security issue in a current moin >> release, you would find something on MoinMoin:FrontPage and soon >> after a new release on Sourceforge. > > This is not sufficient. There must be a security announce mailing > list. It is. :) Just subscribe to the page and you'll get your email. You will also get an email when we put a new release announcement there or something other of importance. From work at infomaniak.ch Wed Oct 5 05:08:22 2005 From: work at infomaniak.ch (Cedric BRINER) Date: Wed Oct 5 05:08:22 2005 Subject: [Moin-user] install problem(mod_python, debian) In-Reply-To: <20050930124516.GD12996@obs.unige.ch> References: <20050930124516.GD12996@obs.unige.ch> Message-ID: <20051005120708.GH12996@obs.unige.ch> resolved, this is the configuration for mod_python, farmconfig and sarge. # cat /etc/apache2/conf.d/obswiki Alias /wiki/ "/usr/share/moin/htdocs/" # # this is for CGI (quite slow) #ScriptAlias /obswiki "/export/diskA1/WWW/obswiki/moin.cgi" # # this is for mod_python SetHandler python-program PythonPath "['/export/diskA1/WWW/obswiki/','/etc/moin/']+sys.path" # ^-- very important ! do not remove this. PythonHandler MoinMoin.request::RequestModPy.run PythonDebug Off in /etc/moin/farmconfig.py url_prefix = '/wiki' ## if you have the mod_python wikis = [ # wikiname, url regular expression (no protocol) #("moinmaster", r"^moinmaster.wikiwikiweb.de/.*$"), #("moinmoin", r"^moinmoin.wikiwikiweb.de/.*$"), ('obswiki', r"^idas/.*$") ] # cat /etc/moin/obswiki.py ---%<--- sitename = u'ObsWiki' # [Unicode] interwikiname = 'ObsGeWiki' data_dir = '/export/diskA1/WWW/obswiki/data' # begin: not really sur data_underlay_dir = '/export/diskA1/WWW/obswiki/underlay' #end ---%<--- # COLUMNS=150 dpkg -l | grep moin ii moinmoin-common 1.3.4-3 Python clone of WikiWiki - common data ii python-moinmoin 1.3.4-3 Python clone of WikiWiki - dummy library package ii python2.3-moinmoin 1.3.4-3 Python clone of WikiWiki - library Ced. -- Cedric BRINER Geneva - Switzerland From nirs at actcom.net.il Wed Oct 5 05:30:37 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Wed Oct 5 05:30:37 2005 Subject: [Moin-user] Moinmoin security and exploits In-Reply-To: <4343B8EA.4080704@gmx.de> References: <43439A78.7070707@gmx.de> <20051005095719.GE32661@itia.ntua.gr> <4343B8EA.4080704@gmx.de> Message-ID: <5DD0E542-359B-11DA-99FC-000A95B45AA0@actcom.net.il> On 5 Oct, 2005, at 13:28, Thomas Waldmann wrote: >> This is not sufficient. There must be a security announce mailing >> list. > > It is. :) > > Just subscribe to the page and you'll get your email. > > You will also get an email when we put a new release announcement > there or something other of importance. We can simply setup SecurityAnnounces acl protected page, writable by the core team, and update it when we find a security problem. Wiki owners can simply subscribe to the page. Best Regards, Nir Soffer From nirs at actcom.net.il Wed Oct 5 05:37:13 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Wed Oct 5 05:37:13 2005 Subject: [Moin-user] install problem(mod_python, debian) In-Reply-To: <20051005120708.GH12996@obs.unige.ch> References: <20050930124516.GD12996@obs.unige.ch> <20051005120708.GH12996@obs.unige.ch> Message-ID: <71B61B9F-359C-11DA-99FC-000A95B45AA0@actcom.net.il> On 5 Oct, 2005, at 14:07, Cedric BRINER wrote: > resolved, > > this is the configuration for mod_python, farmconfig and sarge. I don't see anything special in the configuration - are you sure that your configuration is different from the configuration in http://moinmaster.wikiwikiweb.de/HelpOnInstalling/ApacheWithModPython ? If you find any difference, maybe the help page should be updated. Best Regards, Nir Soffer From Tony.Garland at fluke.com Wed Oct 5 06:49:49 2005 From: Tony.Garland at fluke.com (Garland, Tony) Date: Wed Oct 5 06:49:49 2005 Subject: [Moin-user] Renaming of page with automatic update Message-ID: <732BE51FE9901143AE04411A11CC4656081D9A43@evtexc02.tc.fluke.com> What Ken mentions is something that I would also very much like to see -- the ability to rename pages and have related links updated. Along similar lines, it would be extremely helpful to have a search-n-replace capability which supports regular expressions, provides a preview of the changes (with checkboxes to disable unwanted instances), and operates on the current revision of pages which contain a match. We are using our wiki for semi-formal project documentation and consistent terminology (or changes in terminology) make for widespread individual edits which is currently somewhat burdensome -- especially if you want to avoid sleuthing around behind the scenes directly in the page files. > To: moin-user at lists.sourceforge.net > From: Kenneth McDonald > Date: Tue, 4 Oct 2005 16:06:09 -0500 > Subject: [Moin-user] Renaming of page with automatic update > of links to that page? > > Is there a tool that will not only rename a page, but will also look > through the current wiki pages and automatically replace > links to the > old page with links to the new one? The current 'rename' > functionality did not do this for me, at least in the > instance I just > tried. > > Thanks, > Ken From nirs at actcom.net.il Wed Oct 5 08:11:29 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Wed Oct 5 08:11:29 2005 Subject: [Moin-user] Renaming of page with automatic update In-Reply-To: <732BE51FE9901143AE04411A11CC4656081D9A43@evtexc02.tc.fluke.com> References: <732BE51FE9901143AE04411A11CC4656081D9A43@evtexc02.tc.fluke.com> Message-ID: <1BC33570-35B2-11DA-99FC-000A95B45AA0@actcom.net.il> I plan to write similar search and replace like you describe for my own use. It will work like this: 1. You select "More Actions: Search and Replace". Get current page with a search and replace message at the top. 2. Enter a search and replacement strings 3. Check a [ ] "Use Regular Expressions" check box if needed 4. Click "Preview" 5. You get a search results of your replacements. I don't know how this will look like, maybe one line for match, one line for result. 6. Click "Replace" to preform the replacement, or change the regular expressions and click Preview again. I do not plan to let you check out results because it will complicate the process, having to remember all matches and skip those you don't want to replace. I hope that improving the search expression will be enough, If not, I'll consider this. The change will be made to all pages, even those that are being edited while you change them, ignoring the edit conflict. The user editing the such page will get a conflict when saving, but it should be an easy to fix. The search and replace will be restricted to admin users, as it too powerful for any user. The search code will reuse moin search module if possible. Maybe someone already did a similar tool? On 5 Oct, 2005, at 15:47, Garland, Tony wrote: > What Ken mentions is something that I would also very much like to see > -- > the ability to rename pages and have related links updated. > > Along similar lines, it would be extremely helpful to have a > search-n-replace capability which supports regular expressions, > provides a > preview of the changes (with checkboxes to disable unwanted > instances), and > operates on the current revision of pages which contain a match. > Best Regards, Nir Soffer From anthony at itia.ntua.gr Wed Oct 5 11:22:48 2005 From: anthony at itia.ntua.gr (Antonios Christofides) Date: Wed Oct 5 11:22:48 2005 Subject: [Moin-user] Customizing the formatting of links Message-ID: <20051005182133.GF32661@itia.ntua.gr> Hi, I want to change some things about how links are displayed, and I'm touching the code in formatter/text_html.py. Can I somehow avoid touching core code? I tried putting a copy of text_html.py in data/plugin/formatter, but it doesn't seem to read it, it reads the core one. Thanks! From nirs at actcom.net.il Wed Oct 5 12:29:45 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Wed Oct 5 12:29:45 2005 Subject: [Moin-user] Customizing the formatting of links In-Reply-To: <20051005182133.GF32661@itia.ntua.gr> References: <20051005182133.GF32661@itia.ntua.gr> Message-ID: <2B13EF02-35D6-11DA-99FC-000A95B45AA0@actcom.net.il> There are some places in the code that import text_html formatter without using the plugin system, which will render your text_html formatter useless. Until it is fixed, you should replace the builtin formatter with yours. On 5 Oct, 2005, at 20:21, Antonios Christofides wrote: > Hi, > > I want to change some things about how links are displayed, and I'm > touching the code in formatter/text_html.py. > > Can I somehow avoid touching core code? I tried putting a copy of > text_html.py in data/plugin/formatter, but it doesn't seem to read it, > it reads the core one. > > Thanks! > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, > discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > Best Regards, Nir Soffer From work at infomaniak.ch Thu Oct 6 01:13:13 2005 From: work at infomaniak.ch (Cedric BRINER) Date: Thu Oct 6 01:13:13 2005 Subject: [Moin-user] install problem(mod_python, debian) In-Reply-To: <71B61B9F-359C-11DA-99FC-000A95B45AA0@actcom.net.il> References: <20050930124516.GD12996@obs.unige.ch> <20051005120708.GH12996@obs.unige.ch> <71B61B9F-359C-11DA-99FC-000A95B45AA0@actcom.net.il> Message-ID: <20051006081154.GJ12996@obs.unige.ch> On Wed, Oct 05, 2005 at 02:34:59PM +0200, Nir Soffer wrote: > > On 5 Oct, 2005, at 14:07, Cedric BRINER wrote: > > >resolved, > > > >this is the configuration for mod_python, farmconfig and sarge. > > I don't see anything special in the configuration - are you sure that > your configuration is different from the configuration in > http://moinmaster.wikiwikiweb.de/HelpOnInstalling/ApacheWithModPython ? > > If you find any difference, maybe the help page should be updated. The fact is that I'm not familiar with the normal installation of moinmoin. I've just do a aptitude install moinmoin-common python-moinmoin I think that the only difference between the HelpOnInstalling/ApacheWithModPython and the way a make it work under debian was to specify where the farmconfig.py, wikiconfig.py and/or specificwiki.py stand. dpkg -L moinmoin-common (which is similar as rpm -ql) /usr/share/doc/moinmoin-common /usr/share/doc/moinmoin-common/buildinfo.gz /usr/share/doc/moinmoin-common/changelog.Debian.gz ---%<--- /usr/share/doc/moinmoin-common/examples/cachecleaner /usr/share/doc/moinmoin-common/examples/globaledit ---%<--- /usr/share/moin /usr/share/moin/config /usr/share/moin/config/farmconfig.py /usr/share/moin/config/moinmaster.py /usr/share/moin/config/wikiconfig.py ---%<--- /usr/share/moin/htdocs/classic /usr/share/moin/htdocs/classic/css /usr/share/moin/htdocs/classic/css/common.css /usr/share/moin/htdocs/classic/css/print.css /usr/share/moin/htdocs/classic/css/projection.css /usr/share/moin/htdocs/classic/css/screen.css ---%<--- /usr/share/moin/underlay/pages/AideDeConfiguration /usr/share/moin/underlay/pages/AideDeConfiguration/current ---%<--- /etc /etc/moin /etc/moin/farmconfig.py /etc/moin/moinmaster.py /usr/share/moin/data/dict/words dpkg -L python2.3-moinmoin /usr/share/doc/python2.3-moinmoin /usr/share/doc/python2.3-moinmoin/buildinfo.gz ---%<--- /usr/share/doc/python2.3-moinmoin/examples/cachecleaner /usr/share/doc/python2.3-moinmoin/examples/globaledit /usr/share/doc/python2.3-moinmoin/examples/moin-dump ---%<--- usr/lib/python2.3/site-packages/MoinMoin /usr/lib/python2.3/site-packages/MoinMoin/Page.py /usr/lib/python2.3/site-packages/MoinMoin/PageEditor.py so as you can see the python2.3-moinmoin package install everything in site-packages and the moinmoin-common are the base install share files. so PythonPath is "['/export/diskA1/WWW/obswiki/','/etc/moin/']+sys.path" where: '/export/diskA1/WWW/obswiki/ : is where the wiki's data stand '/etc/moin/ : is where the config of the differents wiki stand I'll also give some info back to the moinmoin maintainer at debian. > Nir Soffer Regards Ced. -- Cedric BRINER Geneva - Switzerland From Matthew.Warren at eon-uk.com Thu Oct 6 07:19:12 2005 From: Matthew.Warren at eon-uk.com (Warren, Matthew (Corp)) Date: Thu Oct 6 07:19:12 2005 Subject: [Moin-user] CategoryPage problems Message-ID: <33C3DEE7361D394290F8CC76E3866638021C76A2@CORPHNXSEXV01.corp.pg.eon.net> Hallo, Can anyome help me understand why this page, Tsmwiki.com/tsmwiki/select Is clearly indicated as being in CategorySql and CategorySelectStatements But, Tsmwiki.com/tsmwiki/CategorySql Shows No entries (There should be a few) While Tsmwiki.com/tsmwiki/CategorySelectStatements Shows entries as they should be? Thanks, Matthew. -------------------------- Matthew Warren. matthew.warren at eon-uk.com matthew_j_warren at hotmail.com http://tsmwiki.com/tsmwiki/MatthewWarren ___________________________ Disclaimer Notice ____________________ This message and any attachments are confidential and should only be read by those to whom they are addressed. If you are not the intended recipient, please contact us, delete the message from your computer and destroy any copies. Any distribution or copying without our prior permission is prohibited. Internet communications are not always secure and therefore the E.ON Group does not accept legal responsibility for this message. The recipient is responsible for verifying its authenticity before acting on the contents. Any views or opinions presented are solely those of the author and do not necessarily represent those of the E.ON Group. E.ON UK plc, Westwood Way, Westwood Business Park, Coventry, CV4 8LG. Registered in England & Wales No. 2366970 E.ON UK Trading Ltd, Westwood Way, Westwood Business Park, Coventry, CV4 8LG Registered in England & Wales No. 4178314 E.ON UK Trading Ltd is regulated by the Financial Services Authority to carry out investment activities. Telephone +44 (0) 2476 42 4000 Fax +44 (0) 2476 42 5432 -------------- next part -------------- An HTML attachment was scrubbed... URL: From eddie at holyrood.ed.ac.uk Thu Oct 6 07:49:25 2005 From: eddie at holyrood.ed.ac.uk (Eddie Corns) Date: Thu Oct 6 07:49:25 2005 Subject: [Moin-user] CategoryPage problems In-Reply-To: <33C3DEE7361D394290F8CC76E3866638021C76A2@CORPHNXSEXV01.corp.pg.eon.net> (Matthew.Warren@eon-uk.com) References: <33C3DEE7361D394290F8CC76E3866638021C76A2@CORPHNXSEXV01.corp.pg.eon.net> Message-ID: <200510061447.j96ElVXE026813@holyrood.ed.ac.uk> From: "Warren, Matthew (Corp)" Date: Thu, 6 Oct 2005 15:17:17 +0100 X-Spam-Level: This is a multi-part message in MIME format. ------_=_NextPart_001_01C5CA80.A7DE45D7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Hallo, Can anyome help me understand why this page, Tsmwiki.com/tsmwiki/select Is clearly indicated as being in CategorySql and CategorySelectStatements But, Tsmwiki.com/tsmwiki/CategorySql Shows No entries (There should be a few) While Tsmwiki.com/tsmwiki/CategorySelectStatements Shows entries as they should be? Thanks, Matthew. You had edited out the [[FullSearch()]] macro that generates the page content. All fixed now! Eddie From eduardo.mercovich at gmail.com Thu Oct 6 09:18:45 2005 From: eduardo.mercovich at gmail.com (Eduardo Mercovich) Date: Thu Oct 6 09:18:45 2005 Subject: [Moin-user] Customizing the formatting of links In-Reply-To: <20051005182133.GF32661@itia.ntua.gr> References: <20051005182133.GF32661@itia.ntua.gr> Message-ID: <4459f0d30510060917i30e37b9p272ee06b8ac79951@mail.gmail.com> Hello Antonios. > I want to change some things about how links are displayed, and I'm > touching the code in formatter/text_html.py. [...] If it is only about link style, you should edit the stylesheet of your theme. Most probably, in your-tmeme-name/css/screen.css. Regards,,, -- Eduardo Mercovich Buenos Aires - Argentina. From eduardo.mercovich at gmail.com Thu Oct 6 09:21:56 2005 From: eduardo.mercovich at gmail.com (Eduardo Mercovich) Date: Thu Oct 6 09:21:56 2005 Subject: [Moin-user] Renaming of page with automatic update In-Reply-To: <1BC33570-35B2-11DA-99FC-000A95B45AA0@actcom.net.il> References: <732BE51FE9901143AE04411A11CC4656081D9A43@evtexc02.tc.fluke.com> <1BC33570-35B2-11DA-99FC-000A95B45AA0@actcom.net.il> Message-ID: <4459f0d30510060920j5ada0969k47ffdc63995400ee@mail.gmail.com> Hi Nir. [...] > 5. You get a search results of your replacements. I don't know how > this will look like, maybe one line for match, one line for result. > 6. Click "Replace" to preform the replacement, or change the regular > expressions and click Preview again. You could include a chechbox for "Search in titles too", that would take care of page names. Regards... -- Eduardo Mercovich Buenos Aires - Argentina. From pascal.bauermeister at gmail.com Thu Oct 6 09:37:35 2005 From: pascal.bauermeister at gmail.com (Pascal Bauermeister) Date: Thu Oct 6 09:37:35 2005 Subject: [Moin-user] eGroupware (or phpGroupware) XML-RPC Message-ID: <1fccceaf0510060935g2364786aw7ee2f4ca469a1a2e@mail.gmail.com> Hello, has anybody tried to interface with eGroupware using XML-RPC ? I'd like to make a macro to list calendar items from eG. TiA Pascal From kenneth.m.mcdonald at sbcglobal.net Thu Oct 6 13:04:55 2005 From: kenneth.m.mcdonald at sbcglobal.net (Kenneth McDonald) Date: Thu Oct 6 13:04:55 2005 Subject: [Moin-user] questions on spell-checking Message-ID: <125FB819-57C0-4E59-ACBD-34AFBA7C45AC@sbcglobal.net> The MoinMoin spellchecker doesn't recognize _any_ english words until they are checked off. Is there something else I need to install to have this work? Thanks, Ken From skip at pobox.com Thu Oct 6 13:36:04 2005 From: skip at pobox.com (skip at pobox.com) Date: Thu Oct 6 13:36:04 2005 Subject: [Moin-user] questions on spell-checking In-Reply-To: <125FB819-57C0-4E59-ACBD-34AFBA7C45AC@sbcglobal.net> References: <125FB819-57C0-4E59-ACBD-34AFBA7C45AC@sbcglobal.net> Message-ID: <17221.35429.907427.529936@montanaro.dyndns.org> Ken> The MoinMoin spellchecker doesn't recognize _any_ english words Ken> until they are checked off. Is there something else I need to Ken> install to have this work? This threw me for a loop as well. You need to add a symbolic link to your machine's equivalent of /usr/dict or /usr/share/dict. Weirdly enough, that link (it must be named "dict") seems to belong in your MoinMoin package (e.g. /usr/lib/python2.3/site-pacakges/MoinMoin). It seems to me that the MoinMoin install could sniff around a little and establish the link for you. That's not the last step though. Since you've already used the spell check feature, MoinMoin will have already created a hash file that contains the words you've checked already. You need to zap this file. It is named spellchecker.dict and is located in your data/cache directory (one per wiki instance). After you delete this, the next spell check will be a bit slow as it munches on /usr/dict/words. Further spell checks will be faster, since use the hash file. I'm sure this is spelled out somewhere on the MoinMoin site, but I found the bits I needed in site-packages/MoinMoin/action/SpellCheck.py. This is for a Unix-style install. YMMV for Windows. -- Skip Montanaro Katrina Benefit Concerts: http://www.musi-cal.com/katrina skip at pobox.com From Etienne.Chove at crans.org Thu Oct 6 14:52:20 2005 From: Etienne.Chove at crans.org (=?ISO-8859-15?Q?Etienne_Chov=E9?=) Date: Thu Oct 6 14:52:20 2005 Subject: [Moin-user] Graphic editor Message-ID: <43459C4D.5040605@crans.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I'm using MoinMoin 1.3.4 (debian stable), but users don't like text editor. I installed java fnctions to help them on editing (like wikipedia), but I'd like to install them the same editor as the moinmoin.wikiwikiweb.de web site, the graphical editor. Do I need to install 1.3.5 version (by hand because I'm using Debian, and the Debian stable version is 1.3.4) ? I've done so on a testing server but I didin't saw the graphical editor. Is it link to the theme or do I need to install an external plugin or activate an option ? Thanks - -- Bilou -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDRZxNvsnSxJjnYzIRAtBTAJ9g52W0Bb5pyTF64DiGGv5tQy5yRQCeMDJl GGYPzHQUyl2qArIqkfQhleI= =SjCv -----END PGP SIGNATURE----- From nessus at mit.edu Thu Oct 6 15:32:27 2005 From: nessus at mit.edu (Douglas Alan) Date: Thu Oct 6 15:32:27 2005 Subject: [Moin-user] RCS for historical page versions? Message-ID: <20051006222927.3BA783F01E6@lexx.mit.edu> Historical page versions with MoinMoin are stored (at least by default) in separate files -- i.e., one file per page version. I imagine that when a wiki gets a lot of use, this can eventually add up to a lot of wasted disk space. Is there a way to make MoinMoin use RCS (or something like it) for historical page versions? |>oug From anthony at itia.ntua.gr Thu Oct 6 22:29:47 2005 From: anthony at itia.ntua.gr (Antonios Christofides) Date: Thu Oct 6 22:29:47 2005 Subject: [Moin-user] Customizing the formatting of links In-Reply-To: <4459f0d30510060917i30e37b9p272ee06b8ac79951@mail.gmail.com> References: <20051005182133.GF32661@itia.ntua.gr> <4459f0d30510060917i30e37b9p272ee06b8ac79951@mail.gmail.com> Message-ID: <20051007052836.GC3596@itia.ntua.gr> Eduardo Mercovich wrote: > If it is only about link style, you should edit the stylesheet of your > theme. Most probably, in your-tmeme-name/css/screen.css. Thanks, actually I want to get rid of the earth icons for a certain class of URLs (those that match a certain regexp). -- Antonios Christofides +30-2661020814 +30-6979924665 From Matthew.Warren at eon-uk.com Fri Oct 7 07:38:05 2005 From: Matthew.Warren at eon-uk.com (Warren, Matthew (Corp)) Date: Fri Oct 7 07:38:05 2005 Subject: [Moin-user] Caching of search results. Message-ID: <33C3DEE7361D394290F8CC76E3866638033F2207@CORPHNXSEXV01.corp.pg.eon.net> Does MoinMoin perform any caching of search results to speed up the process of full-text and title searches? I was wondering if this happens how it happens, or if not wether it's feasible to implement. I understand searches may quickly become out-of-date, but was thinking along the lines of checking edited and newly created pages against cached searches, and updating or flushing searches from the cache that have been obsoleted by the edit. Matt. -------------------------- Matthew Warren. matthew.warren at eon-uk.com matthew_j_warren at hotmail.com http://tsmwiki.com/tsmwiki/MatthewWarren ___________________________ Disclaimer Notice ____________________ This message and any attachments are confidential and should only be read by those to whom they are addressed. If you are not the intended recipient, please contact us, delete the message from your computer and destroy any copies. Any distribution or copying without our prior permission is prohibited. Internet communications are not always secure and therefore the E.ON Group does not accept legal responsibility for this message. The recipient is responsible for verifying its authenticity before acting on the contents. Any views or opinions presented are solely those of the author and do not necessarily represent those of the E.ON Group. E.ON UK plc, Westwood Way, Westwood Business Park, Coventry, CV4 8LG. Registered in England & Wales No. 2366970 E.ON UK Trading Ltd, Westwood Way, Westwood Business Park, Coventry, CV4 8LG Registered in England & Wales No. 4178314 E.ON UK Trading Ltd is regulated by the Financial Services Authority to carry out investment activities. Telephone +44 (0) 2476 42 4000 Fax +44 (0) 2476 42 5432 -------------- next part -------------- An HTML attachment was scrubbed... URL: From George.Mealy at planitsolutions.com Fri Oct 7 08:47:04 2005 From: George.Mealy at planitsolutions.com (George Mealy) Date: Fri Oct 7 08:47:04 2005 Subject: [Moin-user] WikiWords Message-ID: We are checking out MoinMoin for a C++ development team and are concerned that there is no simple way to prevent a PascalCased word from becoming a WikiWord. Our code and our comments relating to it is repelete with words of this sort. In TWiki one can prefix the word with a !. Is there nothing easier than manually sprinkling '' throughout the word. GeorgeM -------------- next part -------------- An HTML attachment was scrubbed... URL: From p.f.moore at gmail.com Fri Oct 7 08:57:44 2005 From: p.f.moore at gmail.com (Paul Moore) Date: Fri Oct 7 08:57:44 2005 Subject: [Moin-user] WikiWords In-Reply-To: References: Message-ID: <79990c6b0510070851u309c82a7j2bc7650e5a8a7f55@mail.gmail.com> On 10/7/05, George Mealy wrote: > > > We are checking out MoinMoin for a C++ development team and are concerned > that there is no simple way to prevent a PascalCased word from becoming a > WikiWord. Our code and our comments relating to it is repelete with words of > this sort. In TWiki one can prefix the word with a !. Is there nothing > easier than manually sprinkling '' throughout the word. > > GeorgeM You can set the bang_meta preference to true in your configuration file, to give the TWiki behaviour you mention. See HelpOnConfiguration in the help system (under HelpOnAdministration) for full details. Paul. From Richard.Hiers at covenantseminary.edu Fri Oct 7 08:58:57 2005 From: Richard.Hiers at covenantseminary.edu (Hiers, Richard) Date: Fri Oct 7 08:58:57 2005 Subject: [Moin-user] WikiWords Message-ID: http://moinmoin.wikiwikiweb.de/ParserMarket/NoCamelCase http://moinmoin.wikiwikiweb.de/parser/cplusplus.py (the parser page says it was written for 1.1 so it might not work with 1.3) ________________________________ From: moin-user-admin at lists.sourceforge.net [mailto:moin-user-admin at lists.sourceforge.net] On Behalf Of George Mealy Sent: Friday, October 07, 2005 10:39 AM To: moin-user at lists.sourceforge.net Subject: [Moin-user] WikiWords We are checking out MoinMoin for a C++ development team and are concerned that there is no simple way to prevent a PascalCased word from becoming a WikiWord. Our code and our comments relating to it is repelete with words of this sort. In TWiki one can prefix the word with a !. Is there nothing easier than manually sprinkling '' throughout the word. GeorgeM -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Fri Oct 7 09:05:48 2005 From: skip at pobox.com (skip at pobox.com) Date: Fri Oct 7 09:05:48 2005 Subject: [Moin-user] WikiWords In-Reply-To: References: Message-ID: <17222.39555.348508.316867@montanaro.dyndns.org> George> We are checking out MoinMoin for a C++ development team and are George> concerned that there is no simple way to prevent a PascalCased George> word from becoming a WikiWord. Our code and our comments George> relating to it is repelete with words of this sort. In TWiki one George> can prefix the word with a !. Is there nothing easier than George> manually sprinkling '' throughout the word. George, Check out bang_meta in http://moinmoin.wikiwikiweb.de/HelpOnConfiguration -- Skip Montanaro Katrina Benefit Concerts: http://www.musi-cal.com/katrina skip at pobox.com From jensj at fysik.dtu.dk Fri Oct 7 09:16:38 2005 From: jensj at fysik.dtu.dk (Jens Jorgen Mortensen) Date: Fri Oct 7 09:16:38 2005 Subject: [Moin-user] WikiWords In-Reply-To: References: Message-ID: <43469DC8.8050800@fysik.dtu.dk> George Mealy wrote: > We are checking out MoinMoin for a C++ development team and are > concerned that there is no simple way to prevent a PascalCased word from > becoming a WikiWord. Our code and our comments relating to it is > repelete with words of this sort. In TWiki one can prefix the word with > a !. Is there nothing easier than manually sprinkling '' throughout the > word. One option is to use the "rst" format (reStructuredText). Then SimpleExample will not be a wikiword, but SimpleExample_ will. http://moinmoin.wikiwikiweb.de/HelpOnParsers/ReStructuredText Jens J?rgen From nirs at actcom.net.il Fri Oct 7 09:28:25 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Fri Oct 7 09:28:25 2005 Subject: [Moin-user] WikiWords In-Reply-To: References: Message-ID: <66904332-374E-11DA-8EA5-000A95B45AA0@actcom.net.il> You can use NoCamelCase parser for all the wiki or for specific pages. See http://moinmoin.wikiwikiweb.de/ParserMarket/NoCamelCase On 7 Oct, 2005, at 18:38, George Mealy wrote: > We are checking out MoinMoin for a C++ development team and are > concerned that there is no simple way to prevent a PascalCased word > from becoming a WikiWord. Our code and our comments relating to it is > repelete with words of this sort. In TWiki one can prefix the word > with a !. Is there nothing easier than manually sprinkling '' > throughout the word. > > GeorgeM > Best Regards, Nir Soffer From soloturn at gmail.com Fri Oct 7 10:09:50 2005 From: soloturn at gmail.com (solo turn) Date: Fri Oct 7 10:09:50 2005 Subject: [Moin-user] Renaming of page with automatic update of links to that page? In-Reply-To: <82BF0FFF-7A2D-4CA1-8A28-D1D0FB0A575A@sbcglobal.net> References: <82BF0FFF-7A2D-4CA1-8A28-D1D0FB0A575A@sbcglobal.net> Message-ID: this would be a great feature. -solo On 10/4/05, Kenneth McDonald wrote: > > Is there a tool that will not only rename a page, but will also look > through the current wiki pages and automatically replace links to the > old page with links to the new one? The current 'rename' > functionality did not do this for me, at least in the instance I just > tried. > > Thanks, > Ken > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > 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 soloturn at gmail.com Fri Oct 7 10:15:57 2005 From: soloturn at gmail.com (solo turn) Date: Fri Oct 7 10:15:57 2005 Subject: [Moin-user] hotbackup Message-ID: hi, i was wondering if moinmoin supports hot-backup? i.e. you can copy the contents of a wiki while in operation to somewhere else and it is consistent. maximum loss of the last change of a page would be acceptable. -solo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From soloturn at gmail.com Fri Oct 7 10:59:01 2005 From: soloturn at gmail.com (solo turn) Date: Fri Oct 7 10:59:01 2005 Subject: [Moin-user] simpler create pages with the correct acl Message-ID: hi, thanks a lot for the great work with moinmoin. we use it everywhere and are very happy with it. but a few questions i could not solve by searchin the moinmoin website: * "category groups" or "hierarchical groups" we'd like to tell moinmoin that a group a belongs to group c and d. and group b belongs to groups c and e. when setting an acl we just want to specify group c with edit right. this should allow members of a and b to edit. is this possible? * acl on categories is it possible to specify an acl on a category? the effect should be that category right is applied to the page too. * personal/group page templates, language dependent currently every group wants to specify templates, mainly to have the correct access rights set. this has the drawback, that we get a lot of similar templates, and nobody knows any more which one to use. it gets even worse if we add language specific templates. how could we present only the "relevant" tempates, i.e. * his personal/group templates * global templates * just the ones with his preferred language * plus the ones from the language of the predecessing page with empty wikiword which the user now want to fill out. how could we do that? -solo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nirs at actcom.net.il Fri Oct 7 11:12:17 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Fri Oct 7 11:12:17 2005 Subject: [Moin-user] simpler create pages with the correct acl In-Reply-To: References: Message-ID: On 7 Oct, 2005, at 20:51, solo turn wrote: > * "category groups" or "hierarchical groups" > we'd like to tell moinmoin that a group a belongs to group c and d. > and group b belongs to groups c and e. when setting an acl we just > want to specify group c with edit right. this should allow members of > a and b to edit. is this possible? It works like this. Create AGroup page: * BGroup * CGroup Now create BGroup and CGroup and list there the users in those groups. You can now use AGroup:read,write in acls. All the members of BGroup and CGroup will have AGroup rights. > > * acl on categories > is it possible to specify an acl on a category? the effect should be > that category right is applied to the page too. No, use groups. > * personal/group page templates, language dependent > currently every group wants to specify templates, mainly to have the > correct access rights set. this has the drawback, that we get a lot of > similar templates, and nobody knows any more which one to use. it gets > even worse if we add language specific templates. > how could we present only the "relevant" tempates, i.e. > ?* his personal/group templates > ?* global templates > ?* just the ones with his preferred language > ?* plus the ones from the language of the predecessing page with > empty wikiword which the user now want to fill out. > how could we do that? You can have your customized EditTemplates macro, that filter the page list by language, group etc. Best Regards, Nir Soffer From Richard.Hiers at covenantseminary.edu Fri Oct 7 11:47:54 2005 From: Richard.Hiers at covenantseminary.edu (Hiers, Richard) Date: Fri Oct 7 11:47:54 2005 Subject: [Moin-user] questions on spell-checking Message-ID: See also http://moinmoin.wikiwikiweb.de/HelpOnSpellCheck -----Original Message----- From: moin-user-admin at lists.sourceforge.net [mailto:moin-user-admin at lists.sourceforge.net] On Behalf Of skip at pobox.com Sent: Thursday, October 06, 2005 3:35 PM To: Kenneth McDonald Cc: moin-user at lists.sourceforge.net Subject: Re: [Moin-user] questions on spell-checking Ken> The MoinMoin spellchecker doesn't recognize _any_ english words Ken> until they are checked off. Is there something else I need to Ken> install to have this work? This threw me for a loop as well. You need to add a symbolic link to your machine's equivalent of /usr/dict or /usr/share/dict. Weirdly enough, that link (it must be named "dict") seems to belong in your MoinMoin package (e.g. /usr/lib/python2.3/site-pacakges/MoinMoin). It seems to me that the MoinMoin install could sniff around a little and establish the link for you. That's not the last step though. Since you've already used the spell check feature, MoinMoin will have already created a hash file that contains the words you've checked already. You need to zap this file. It is named spellchecker.dict and is located in your data/cache directory (one per wiki instance). After you delete this, the next spell check will be a bit slow as it munches on /usr/dict/words. Further spell checks will be faster, since use the hash file. I'm sure this is spelled out somewhere on the MoinMoin site, but I found the bits I needed in site-packages/MoinMoin/action/SpellCheck.py. This is for a Unix-style install. YMMV for Windows. -- Skip Montanaro Katrina Benefit Concerts: http://www.musi-cal.com/katrina skip at pobox.com ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From sean at dague.net Fri Oct 7 12:26:34 2005 From: sean at dague.net (Sean Dague) Date: Fri Oct 7 12:26:34 2005 Subject: [Moin-user] Re: hotbackup In-Reply-To: References: Message-ID: <20051007192440.GC31240@underhill.no-ip.org> On Fri, Oct 07, 2005 at 07:09:17PM +0200, solo turn wrote: > hi, > > i was wondering if moinmoin supports hot-backup? i.e. you can copy the > contents of a wiki while in operation to somewhere else and it is > consistent. maximum loss of the last change of a page would be acceptable. In practice, it appears to be so. I rsync backup our moin directory hourly, and have used that a hot backup repository, and for migration between moin instances. -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 soloturn at gmail.com Fri Oct 7 13:03:20 2005 From: soloturn at gmail.com (solo turn) Date: Fri Oct 7 13:03:20 2005 Subject: [Moin-user] simpler create pages with the correct acl In-Reply-To: References: Message-ID: thanks a lot! On 10/7/05, Nir Soffer wrote: > > You can have your customized EditTemplates macro, that filter the page > list by language, group etc. how could i do that? you mean me as me, or me as whole wiki? -solo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From kenneth.m.mcdonald at sbcglobal.net Fri Oct 7 13:28:11 2005 From: kenneth.m.mcdonald at sbcglobal.net (Kenneth McDonald) Date: Fri Oct 7 13:28:11 2005 Subject: [Moin-user] thumbnails or clickable images? Message-ID: A search on Moin revealed an old contributed macro called ImageLink, which would seem to allow clickable images, and which I'm going to be trying shortly. I'm wondering if there are newer features in Moin which would be better to use. Our use is pretty simple--we just want to be able to bring up a full- sized image in response to a click on a thumbnail. Suggestions welcome. Cheers, Ken From nirs at actcom.net.il Fri Oct 7 14:06:45 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Fri Oct 7 14:06:45 2005 Subject: [Moin-user] hotbackup In-Reply-To: References: Message-ID: <0F5BDB99-3776-11DA-8EA5-000A95B45AA0@actcom.net.il> On 7 Oct, 2005, at 20:09, solo turn wrote: > > i was wondering if moinmoin supports hot-backup? i.e. you can copy > the contents of a wiki while in operation to somewhere else and it is > consistent. maximum loss of the last change of a page would be > acceptable. In most cases a backup will work with no problem, in rare cases you may have problems, because edit or backup operations are not atomic. You may backup a page that its current revision is 1, and then a user might save revision 2, and update the current file after you copied it. You will be left with a page that points to revision 1. Or you may backup revision 2 of a page, and then a user save revision 3, and you copy the current file after the save, so you have a page that point to revision 3 which you did not copy. Such page is considered a deleted page. The next backup should fix any problem in the previous backup. Best Regards, Nir Soffer From nirs at actcom.net.il Fri Oct 7 14:07:53 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Fri Oct 7 14:07:53 2005 Subject: [Moin-user] simpler create pages with the correct acl In-Reply-To: References: Message-ID: <3BAC15C6-3776-11DA-8EA5-000A95B45AA0@actcom.net.il> On 7 Oct, 2005, at 22:33, solo turn wrote: > > You can have your customized EditTemplates macro, that filter the page > list by language, group etc. > > how could i do that? you mean me as me, or me as whole wiki? You can code such macro, then install it in your wiki/data/plugin/macro/. Moin will use your macro instead of th e builtin macro. Best Regards, Nir Soffer From nirs at actcom.net.il Fri Oct 7 14:11:01 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Fri Oct 7 14:11:01 2005 Subject: [Moin-user] thumbnails or clickable images? In-Reply-To: References: Message-ID: There is a simpler to use macro called IMG that can create a link from an image. If you use a tumbnail image as your src and the full size image as your href, you will get the requested behavior. On 7 Oct, 2005, at 22:44, Kenneth McDonald wrote: > A search on Moin revealed an old contributed macro called ImageLink, > which would seem to allow clickable images, and which I'm going to be > trying shortly. I'm wondering if there are newer features in Moin > which would be better to use. > Best Regards, Nir Soffer From anthony at itia.ntua.gr Sat Oct 8 01:49:03 2005 From: anthony at itia.ntua.gr (Antonios Christofides) Date: Sat Oct 8 01:49:03 2005 Subject: [Moin-user] Custom MissingPage Message-ID: <20051008084807.GD3196@itia.ntua.gr> Hi, I want to customize the page that tells "this page does not exist (yet)". I think it's MissingPage, in underlay. I try to edit MissingPage, but it tells me I'm not allowed to. I'd actually want users to be able to modify that page. How can I do it? From R.Bauer at fz-juelich.de Sat Oct 8 02:27:27 2005 From: R.Bauer at fz-juelich.de (Reimar Bauer) Date: Sat Oct 8 02:27:27 2005 Subject: [Moin-user] re:thumbnails or clickable images? Message-ID: <434792EC.3090700@fz-juelich.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >A search on Moin revealed an old contributed macro called ImageLink, >which would seem to allow clickable images, and which I'm going to be >trying shortly. I'm wondering if there are newer features in Moin >which would be better to use. >Our use is pretty simple--we just want to be able to bring up a full- >sized image in response to a click on a thumbnail. Suggestions welcome. >Cheers, >Ken Dear Ken just use the actual ImageLink macro from http://moinmoin.wikiwikiweb.de/MacroMarket [[ImageLink(plot.png,width=200)]] The thumbnail is shown and on click you get the fullsized other options are described at http://moinmoin.wikiwikiweb.de/MacroMarket/ImageLink cheers Reimar -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDR5Lp5aOc3Q9hk/kRAmZGAJ0U0R2qhsnWsVXo0K+ge/8lXLf1dACeIpCK OS3tFaGfqK9p2UFrsi26zcE= =np0I -----END PGP SIGNATURE----- From anthony at itia.ntua.gr Sat Oct 8 10:32:38 2005 From: anthony at itia.ntua.gr (Antonios Christofides) Date: Sat Oct 8 10:32:38 2005 Subject: [Moin-user] Special RSS for a certain page Message-ID: <20051008173112.GF3196@itia.ntua.gr> Hi, I have page Foo, and I want to create RSS from it. Specifically, I'd want, say, the following: 1. Page Foo.rss to return rss by running a custom script that will provide the rss from the source of page Foo. 2. Page Foo to contain the appropriate header to point to Foo.rss. As an alternative to (1), I could do with somehow triggering a script to run upon update of Foo. Can I achieve these without touching the core code? And how would I go? Thanks! From va.planat at gmail.com Sat Oct 8 16:45:21 2005 From: va.planat at gmail.com (hpvpl) Date: Sat Oct 8 16:45:21 2005 Subject: [Moin-user] insert image in text (right, left etc ...) Message-ID: <8b350cf00510081637y581f2f60xd8cbef81825a8d4f@mail.gmail.com> Hi, I'm currently trying to include image in my text. I run a Desktop wiki and I did not add any plugin yet. I would like the image display at the right of the page, and the rest of the place used by the text. When I use the attachement function of my moinmoin, I write My text before attachment:My_Image.JPG My text after The image is correctly inserted but as it does not take the whole width, I have some blank space in the page. In wikipedia very often they insert image in the right or left of the page and use the rest of the width to write text. They use some syntax like: [[Image:Magellan'sVoyage.jpg|thumb|right|300px|[[Magellan]]'s voyage to the Spice Islands led to Limasawa, [[Cebu]], [[Mactan]], [[Palawan]], [[Brunei]], [[Celebes]] and finally to the [[Spice Islands]] ( Zoom in for detail here: {{coor dm|0|47|N|127|22|E|}} ) ]] Thansk for your support Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: From nirs at actcom.net.il Sat Oct 8 16:56:06 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Sat Oct 8 16:56:06 2005 Subject: [Moin-user] insert image in text (right, left etc ...) In-Reply-To: <8b350cf00510081637y581f2f60xd8cbef81825a8d4f@mail.gmail.com> References: <8b350cf00510081637y581f2f60xd8cbef81825a8d4f@mail.gmail.com> Message-ID: You can use: || attachment:this.jpg || The rest of your text here... If you happen to use this a lot, you may create a css class for those images in your common.css file, and set proper background, border, padding etc. Then you can use code like this: || attachment:this.jpg || On 9 Oct, 2005, at 1:37, hpvpl wrote: > > I'm currently trying to include image in my text. I run a Desktop > wiki and I did not add any plugin yet. > I would like the image display at the right of the page, and the rest > of the place used by the text. > When I use the attachement function of my moinmoin, I write > > My text before > attachment:My_Image.JPG > My text after > > The image is correctly inserted but as it does not take the whole > width, I have some blank space in the page. > In wikipedia very often they insert image in the right or left of the > page and use the rest of the width to write text. > They use some syntax like: > [[Image:Magellan'sVoyage.jpg|thumb|right|300px|[[Magellan]]'s voyage > to the Spice Islands led to Limasawa, [[Cebu]], [[Mactan]], > [[Palawan]], [[Brunei]], [[Celebes]] and finally to the [[Spice > Islands]] ( Zoom in for detail here: {{coor dm|0|47|N|127|22|E|}} ) ]] > > Best Regards, Nir Soffer From nirs at actcom.net.il Sat Oct 8 16:58:03 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Sat Oct 8 16:58:03 2005 Subject: [Moin-user] Custom MissingPage In-Reply-To: <20051008084807.GD3196@itia.ntua.gr> References: <20051008084807.GD3196@itia.ntua.gr> Message-ID: <3717767A-3857-11DA-8EA5-000A95B45AA0@actcom.net.il> To edit underlay pages, give your self 'write' right in your wiki 'acl_rights_before'. See http://moinmoin.wikiwikiweb.de/MoinMoinQuestions/Administration On 8 Oct, 2005, at 11:48, Antonios Christofides wrote: > Hi, I want to customize the page that tells "this page does not exist > (yet)". I think it's MissingPage, in underlay. I try to edit > MissingPage, but it tells me I'm not allowed to. I'd actually want > users to be able to modify that page. How can I do it? Best Regards, Nir Soffer From ubuntu at pusspaws.net Sun Oct 9 01:18:33 2005 From: ubuntu at pusspaws.net (dave s) Date: Sun Oct 9 01:18:33 2005 Subject: [Moin-user] moin is working, but help needed ! Message-ID: <200510090916.48053.ubuntu@pusspaws.net> Hello all, I am running ubuntu, and installed the package 'moin'. I read the howtos and decided on the python standalone option. I have had a lot of problems with the howto referencing files that are not on my system, I ended up doing ... cd /usr/share/doc/moin/examples vi moin_config.py Changed the following ... sitename = 'DavesWiki' interwikiname = 'dave' data_dir = '/home/dave/wiki/' cp -rv /usr/share/moin/configwiki/data /home/dave/wiki cd /home/dave sudo chgrp root wiki and pointing my browser to http://localhost.localdomain:80 It appears to work, but it is just so slow, I am running a PIII 700Mhz, It takes approx 10 seconds to serve up a page. Is this normal or have I got some configuration out of whack ? Thanks in advance Dave From tpfennig at gmail.com Sun Oct 9 07:06:47 2005 From: tpfennig at gmail.com (Thilo Pfennig) Date: Sun Oct 9 07:06:47 2005 Subject: [Moin-user] questions on spell-checking In-Reply-To: References: Message-ID: <2cbc44a0510090705v6441a1eay@mail.gmail.com> BTW: How do I switch off spellchecking? Thilo -- http://www.alternativ.net/asp/ From tpfennig at gmail.com Sun Oct 9 07:49:08 2005 From: tpfennig at gmail.com (Thilo Pfennig) Date: Sun Oct 9 07:49:08 2005 Subject: [Moin-user] disable cookies Message-ID: <2cbc44a0510090748lbcd0b52l@mail.gmail.com> Hi, how do disable "Remember login information" for new users? (so he has to enable it by himself) Thilo -- http://www.alternativ.net/asp/ From ubuntu at pusspaws.net Sun Oct 9 09:21:23 2005 From: ubuntu at pusspaws.net (dave s) Date: Sun Oct 9 09:21:23 2005 Subject: [Moin-user] moin is working, but help needed ! In-Reply-To: <200510090916.48053.ubuntu@pusspaws.net> References: <200510090916.48053.ubuntu@pusspaws.net> Message-ID: <200510091720.19754.ubuntu@pusspaws.net> On Sunday 09 October 2005 09:16, dave s wrote: > Hello all, > > I am running ubuntu, and installed the package 'moin'. I read the howtos > and decided on the python standalone option. I have had a lot of problems > with the howto referencing files that are not on my system, I ended up > doing ... > > cd /usr/share/doc/moin/examples > vi moin_config.py > > Changed the following ... > > sitename = 'DavesWiki' > interwikiname = 'dave' > data_dir = '/home/dave/wiki/' > > cp -rv /usr/share/moin/configwiki/data /home/dave/wiki > cd /home/dave > sudo chgrp root wiki > > and pointing my browser to http://localhost.localdomain:80 > > It appears to work, but it is just so slow, I am running a PIII 700Mhz, It > takes approx 10 seconds to serve up a page. Is this normal or have I got > some configuration out of whack ? > > Thanks in advance > > Dave > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user I gave up on the ubuntu package & grabbed your latest source, works a treat :) Dave From va.planat at gmail.com Sun Oct 9 10:44:07 2005 From: va.planat at gmail.com (hpvpl) Date: Sun Oct 9 10:44:07 2005 Subject: [Moin-user] color text Message-ID: <8b350cf00510091043j6182728dk38932b5a405a3cc6@mail.gmail.com> I've search for a way to color the text of my Desktop moinmoin wiki. Have for example bold text in red, or italic in blue etc .. All the references I get are related to tables. But nowhere something to color just part of a text in a paragraph. Is it supported ? Thanks again -------------- next part -------------- An HTML attachment was scrubbed... URL: From nirs at actcom.net.il Sun Oct 9 12:39:22 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Sun Oct 9 12:39:22 2005 Subject: [Moin-user] color text In-Reply-To: <8b350cf00510091043j6182728dk38932b5a405a3cc6@mail.gmail.com> References: <8b350cf00510091043j6182728dk38932b5a405a3cc6@mail.gmail.com> Message-ID: <381231D0-38FC-11DA-BC9B-000A95B45AA0@actcom.net.il> On 9 Oct, 2005, at 19:43, hpvpl wrote: > I've search for a way to color the text of my Desktop moinmoin wiki. > Have for example bold text in red, or italic in blue etc .. Correct. > > All the references I get are related to tables. But nowhere something > to color just part of a text in a paragraph. Is it supported ? No. Best Regards, Nir Soffer From yong27 at gmail.com Sun Oct 9 17:07:33 2005 From: yong27 at gmail.com (Hyungyong Kim) Date: Sun Oct 9 17:07:33 2005 Subject: [Moin-user] color text In-Reply-To: <8b350cf00510091043j6182728dk38932b5a405a3cc6@mail.gmail.com> References: <8b350cf00510091043j6182728dk38932b5a405a3cc6@mail.gmail.com> Message-ID: I'm using the macro for color text. [[Color(blue:Hello World!)]] or [[Color(#8844aa:Hello World!)]] My macro is as follow: yong27 at bhn:/home/moin/bhn/plugin/macro$ cat Color.py def execute(macro, args): try: color, text = args.split(':') except: return args return """%s"""%(color,text) I wish it helps you. 2005/10/10, hpvpl : > I've search for a way to color the text of my Desktop moinmoin wiki. Have > for example bold text in red, or italic in blue etc .. > > All the references I get are related to tables. But nowhere something to > color just part of a text in a paragraph. Is it supported ? > > Thanks again > -- Hyungyong Kim, http://biohackers.net From carsonalen-moinmoin at yahoo.com Mon Oct 10 01:37:57 2005 From: carsonalen-moinmoin at yahoo.com (carsonalen-moinmoin at yahoo.com) Date: Mon Oct 10 01:37:57 2005 Subject: [Moin-user] Language Preference for guests Message-ID: <20051010083705.40425.qmail@web33611.mail.mud.yahoo.com> Hi all, I am running my MoinMoin Wiki on a Windows 2000 box in my company's Intranet. It's running fine except that it always uses simpified chinese instead of traditional chinese which Hong Kong people get used to. Knowing that MoinMoin will automatically choose language base on the browser setting, could anyone kindly tell me how can I set zh-tw to default no matter what setting the client browser is. Thanks in advance. Yours, alen ----- My diary: http://www.alenwong.com/carson/diary/tackynote.cgi My photo: http://www.alenwong.com/photo/2004 My Wiki : http://wiki.alenwong.com My Calendar: http://calendar.yahoo.com/alenwong (not real-time update) ----- See me fly, I'm proud to fly up high ?????@???????@?O?H???????? Believe me I can fly, I'm singing in the sky ?N?????B???\?@???]???????? ???????????u?O???o???w?g?????F???Y?A?????A???@ ?B?K?O?U?V?`?W?A?????H???C?M???A?N?b?o?@?B???? ?A???a?j?}?A?????j?i?A?t?S?O?@?f???????[?C???D ?N?b?????P?????????A?A???x???A?A???????A?A???M ?_?O?A?D?????A???A???v?A???W?????H???C ???Q?O?a???????????????H?A???V?????a???A???V?? ?????B?Q???Q?]?X?j?F???????Q?P???F???????C ?????`?O???????@???L?e?????h?C ???????????????H?A?????N???@???????A???Y?????A ?o???????????Q???????????????H?A?????S?p???K?? ?B?A?????L?n?A?o?????L???C ===========ref:alenwong at yahoo.com========== From Matthew.Warren at eon-uk.com Mon Oct 10 02:51:34 2005 From: Matthew.Warren at eon-uk.com (Warren, Matthew (Corp)) Date: Mon Oct 10 02:51:34 2005 Subject: [Moin-user] Renaming of page with automatic update of links to that page? Message-ID: <33C3DEE7361D394290F8CC76E3866638033F220B@CORPHNXSEXV01.corp.pg.eon.net> I have code that is very close do doing exactly this. I have no clue as to where or how to plug it into moinmoin. The code I have was used to auto-link wiki pages from a list of index words. It would be fairly trivial to rejig it to relink pages to renamed pages. But, .. I have no idea on where to start to put it into moinmoin. All ive managed to do with moinmoin code objects so far is automatically get and save pages from locally run python scripts. -------------------------- Matthew Warren. matthew.warren at eon-uk.com matthew_j_warren at hotmail.com http://tsmwiki.com/tsmwiki/MatthewWarren -----Original Message----- From: moin-user-admin at lists.sourceforge.net [mailto:moin-user-admin at lists.sourceforge.net] On Behalf Of solo turn Sent: Friday, October 07, 2005 6:04 PM To: moin-user at lists.sourceforge.net Subject: Re: [Moin-user] Renaming of page with automatic update of links to that page? this would be a great feature. -solo On 10/4/05, Kenneth McDonald wrote: Is there a tool that will not only rename a page, but will also look through the current wiki pages and automatically replace links to the old page with links to the new one? The current 'rename' functionality did not do this for me, at least in the instance I just tried. Thanks, Ken ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user ___________________________ Disclaimer Notice ____________________ This message and any attachments are confidential and should only be read by those to whom they are addressed. If you are not the intended recipient, please contact us, delete the message from your computer and destroy any copies. Any distribution or copying without our prior permission is prohibited. Internet communications are not always secure and therefore the E.ON Group does not accept legal responsibility for this message. The recipient is responsible for verifying its authenticity before acting on the contents. Any views or opinions presented are solely those of the author and do not necessarily represent those of the E.ON Group. E.ON UK plc, Westwood Way, Westwood Business Park, Coventry, CV4 8LG. Registered in England & Wales No. 2366970 E.ON UK Trading Ltd, Westwood Way, Westwood Business Park, Coventry, CV4 8LG Registered in England & Wales No. 4178314 E.ON UK Trading Ltd is regulated by the Financial Services Authority to carry out investment activities. Telephone +44 (0) 2476 42 4000 Fax +44 (0) 2476 42 5432 -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.breucking at fernuni-hagen.de Mon Oct 10 04:03:42 2005 From: patrick.breucking at fernuni-hagen.de (Patrick Breucking) Date: Mon Oct 10 04:03:42 2005 Subject: [Moin-user] Automatic Start-Stop script Message-ID: <434A4A4A.4090706@st.fernuni-hagen.de> Hi folks, I run a MoinMoinWiki on my server. I need an auto-start-stop-script for the rc. I searched in the FAQs and HowTos, but I got only information where I can find a script in the tarball. This script is missing in the installed, the head and the manual version. Where can I find a script? Patrick From nirs at actcom.net.il Mon Oct 10 04:50:28 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Mon Oct 10 04:50:28 2005 Subject: [Moin-user] Automatic Start-Stop script In-Reply-To: <434A4A4A.4090706@st.fernuni-hagen.de> References: <434A4A4A.4090706@st.fernuni-hagen.de> Message-ID: You need to write one, using the "moin" script in prefix/share/moin/server/moin or mointwisted these scripts can be used to start, restart, stop and kill the standalone server. e.g ."/moin start" After you write you rc script, please publish in http://moinmoin.wikiwikiweb.de/ScriptMarket On 10 Oct, 2005, at 13:02, Patrick Breucking wrote: > I run a MoinMoinWiki on my server. I need an auto-start-stop-script > for the rc. I searched in the FAQs and HowTos, but I got only > information where I can find a script in the tarball. This script is > missing in the installed, the head and the manual version. Where can I > find a script? > Best Regards, Nir Soffer From tw-public at gmx.de Mon Oct 10 07:54:17 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon Oct 10 07:54:17 2005 Subject: [Moin-user] Graphic editor In-Reply-To: <43459C4D.5040605@crans.org> References: <43459C4D.5040605@crans.org> Message-ID: <434A7E71.6030301@gmx.de> > I'm using MoinMoin 1.3.4 (debian stable), but users don't like text editor. I > installed java fnctions to help them on editing (like wikipedia), but I'd like > to install them the same editor as the moinmoin.wikiwikiweb.de web site, the > graphical editor. We run 1.5.0alpha there. If you can live with the stability and features you see there, you can get it from our tla archive. See also our 1.5 ToDo page on the wiki, maybe you want to wait until it is at least beta and we package a beta release for public tests. From jh at web.de Mon Oct 10 10:03:48 2005 From: jh at web.de (Juergen Hermann) Date: Mon Oct 10 10:03:48 2005 Subject: [Moin-user] color text In-Reply-To: Message-ID: On Mon, 10 Oct 2005 09:06:38 +0900, Hyungyong Kim wrote: color, text = args.split(':', 1) else you get probs when text contains a : >I'm using the macro for color text. >[[Color(blue:Hello World!)]] or [[Color(#8844aa:Hello World!)]] >My macro is as follow: >yong27 at bhn:/home/moin/bhn/plugin/macro$ cat Color.py >def execute(macro, args): > try: > color, text = args.split(':') > except: > return args > return """%s"""%(color,text) >I wish it helps you. >2005/10/10, hpvpl : >> I've search for a way to color the text of my Desktop moinmoin wiki. Have >> for example bold text in red, or italic in blue etc .. >> >> All the references I get are related to tables. But nowhere something to >> color just part of a text in a paragraph. Is it supported ? >> >> Thanks again >> >-- >Hyungyong Kim, >http://biohackers.net >------------------------------------------------------- >This SF.Net email is sponsored by: >Power Architecture Resource Center: Free content, downloads, discussions, >and more. http://solutions.newsforge.com/ibmarch.tmpl >_______________________________________________ >Moin-user mailing list >Moin-user at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/moin-user Ciao, J?rgen From soloturn at gmail.com Mon Oct 10 10:35:40 2005 From: soloturn at gmail.com (solo turn) Date: Mon Oct 10 10:35:40 2005 Subject: [Moin-user] hotbackup In-Reply-To: <0F5BDB99-3776-11DA-8EA5-000A95B45AA0@actcom.net.il> References: <0F5BDB99-3776-11DA-8EA5-000A95B45AA0@actcom.net.il> Message-ID: in case you actually use the backup for restore, what does it mean in the worst case? you have a deleted page? does it also mean that moin does not keep the order: 1. copy the page to old version 2. edit the revision history 3. save the new page which in worst case would just have a revision too much in revision history, but not yet the new page (i.e. you loose your changes, and saving again corrects the revision history). -solo. On 10/7/05, Nir Soffer wrote: > > > On 7 Oct, 2005, at 20:09, solo turn wrote: > > > > > i was wondering if moinmoin supports hot-backup? i.e. you can copy > > the contents of a wiki while in operation to somewhere else and it is > > consistent. maximum loss of the last change of a page would be > > acceptable. > > In most cases a backup will work with no problem, in rare cases you may > have problems, because edit or backup operations are not atomic. > > You may backup a page that its current revision is 1, and then a user > might save revision 2, and update the current file after you copied it. > You will be left with a page that points to revision 1. > > Or you may backup revision 2 of a page, and then a user save revision > 3, and you copy the current file after the save, so you have a page > that point to revision 3 which you did not copy. Such page is > considered a deleted page. > > The next backup should fix any problem in the previous backup. > > > Best Regards, > > Nir Soffer > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From kenneth.m.mcdonald at sbcglobal.net Mon Oct 10 10:37:39 2005 From: kenneth.m.mcdonald at sbcglobal.net (Kenneth McDonald) Date: Mon Oct 10 10:37:39 2005 Subject: [Moin-user] Show chosen page on account creation/login? Message-ID: <26A3A15F-195D-45EC-B537-25CE9E6C5BEA@sbcglobal.net> We're working towards a public release of a documentation site, and one of the comments from a test user indicates that it would be a Good Thing if login or account creation immediately took the user to an 'Introductory Page'. Currently (at least on my installation), login takes the user to the preferences page, and if I recall correctly, account creation does the same thing. Is there a way to set this up? Thanks, Ken From anthony at itia.ntua.gr Mon Oct 10 11:00:31 2005 From: anthony at itia.ntua.gr (Antonios Christofides) Date: Mon Oct 10 11:00:31 2005 Subject: [Moin-user] Macro caching Message-ID: <20051010175921.GJ3196@itia.ntua.gr> Hi, I have the following tricky problem. I need the missing page to say Page not found. Since we have recently reworked our web site, it is possible that the page you are looking for is at http://old.web.site/path/of/this/request [And the usual stuff about create new page, templates, like pages etc.] In order to be able to get the /path/of/this/request, I wrote a macro which gets it from macro.request.request_uri. The macro does work, but its result is being cached, so its result is something like "MissingPage#preview" or so. How can I avoid that? The default MissingPage contains a couple of other macros, that are not cached. From nirs at actcom.net.il Mon Oct 10 11:12:28 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Mon Oct 10 11:12:28 2005 Subject: [Moin-user] Macro caching In-Reply-To: <20051010175921.GJ3196@itia.ntua.gr> References: <20051010175921.GJ3196@itia.ntua.gr> Message-ID: <3C375AC8-39B9-11DA-BC9B-000A95B45AA0@actcom.net.il> To make a macro non-cahced, add this to the macro module: Dependencies = ['time'] On 10 Oct, 2005, at 19:59, Antonios Christofides wrote: > Hi, I have the following tricky problem. I need the missing page to > say > > Page not found. Since we have recently reworked our web site, it > is possible that the page you are looking for is at > http://old.web.site/path/of/this/request > > [And the usual stuff about create new page, templates, like pages > etc.] > > In order to be able to get the /path/of/this/request, I wrote a macro > which gets it from macro.request.request_uri. The macro does work, > but its result is being cached, so its result is something like > "MissingPage#preview" or so. How can I avoid that? The default > MissingPage contains a couple of other macros, that are not cached. > Best Regards, Nir Soffer From vincefn at users.sourceforge.net Mon Oct 10 12:40:41 2005 From: vincefn at users.sourceforge.net (Vincent Favre-Nicolin) Date: Mon Oct 10 12:40:41 2005 Subject: [Moin-user] timeout to show images ? Message-ID: <200510102115.35173.vincefn@users.sourceforge.net> Hi, I'm using moinmoin for the manual of my application on sourceforge. It works all right (a bit slow but...). However there is problem with the loading of images. i.e. when showing : http://objcryst.sourceforge.net/cgi-bin/moin.cgi/FoxScreenshots Most of the time only the title of the images is shown, even if the images *are* there. I initially thought this was a side effect of recovering after the erasing of the data on sourceforge on 2005/08/31, but I also saw that sometimes the www icon put aside out-of-wiki links are replaced by "WWW". And most other images are correctly shown. So are there timeout parameters in moinmoin ? Or is it sourceforge that is just too slow (seems to be giving up quite fast !). Any pointer would be appreciated. And by the way, I can't wait to try out the new graphical editor. It looks great ! Vincent -- Vincent Favre-Nicolin Universit? Joseph Fourier http://v.favrenicolin.free.fr ObjCryst & Fox : http://objcryst.sourceforge.net From nochiel at gmail.com Mon Oct 10 17:11:00 2005 From: nochiel at gmail.com (Nicholas Ochiel) Date: Mon Oct 10 17:11:00 2005 Subject: [Moin-user] Fastest Most Optimal Way to Run MoinMoin Message-ID: <5fb6989b0510101709k17a3e9a6j1a653536dfcde072@mail.gmail.com> What is the fastest, most optimal way to run MoinMoin. I'm currently using moin.cgi and it's not as fast as I'd like (takes 5 seconds to save a page when running on my laptop). -- Nicholas Ochiel, NEO (New Enterprise Objects)(tm) Innovation Machine w: http://www.newenterpriseobjects.com b: http://billionairebusinessman.org "Travelers, it is late. Life's sun is going to set. During these brief days that you have strength, be quick and spare no effort of your wings." -------------- next part -------------- An HTML attachment was scrubbed... URL: From nirs at actcom.net.il Mon Oct 10 17:38:45 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Mon Oct 10 17:38:45 2005 Subject: [Moin-user] Fastest Most Optimal Way to Run MoinMoin In-Reply-To: <5fb6989b0510101709k17a3e9a6j1a653536dfcde072@mail.gmail.com> References: <5fb6989b0510101709k17a3e9a6j1a653536dfcde072@mail.gmail.com> Message-ID: <0994FB0A-39EF-11DA-AD04-000A95B45AA0@actcom.net.il> For running on your laptop for personal use, try the standalone server. For public wiki, try fast cgi, mod python, twisted, standalone or cgi. Save can be slow on all types of servers, specially if you use antispam or lupy indexing search engine. On 11 Oct, 2005, at 2:09, Nicholas Ochiel wrote: > What is the fastest, most optimal way to run MoinMoin. I'm currently > using moin.cgi and it's not as fast as I'd like (takes 5 seconds to > save a page when running on my laptop).? > -- > Nicholas Ochiel, > NEO (New Enterprise Objects)(tm) > Innovation Machine > w: http://www.newenterpriseobjects.com > b:?? http://billionairebusinessman.org > > "Travelers, it is late. Life's sun is going to set. During these brief > days that you have strength, be quick and spare no effort of your > wings." Best Regards, Nir Soffer From yong27 at gmail.com Mon Oct 10 17:53:32 2005 From: yong27 at gmail.com (Hyungyong Kim) Date: Mon Oct 10 17:53:32 2005 Subject: [Moin-user] Fastest Most Optimal Way to Run MoinMoin In-Reply-To: <0994FB0A-39EF-11DA-AD04-000A95B45AA0@actcom.net.il> References: <5fb6989b0510101709k17a3e9a6j1a653536dfcde072@mail.gmail.com> <0994FB0A-39EF-11DA-AD04-000A95B45AA0@actcom.net.il> Message-ID: In my case, I got a faster tip for the time to save a page. I think it may take a lot time because of socket.gethostbyaddr. So, I commented that code. in MoinMoin/logfile/editlog.py #try: # hostname = socket.gethostbyaddr(host)[0] #except socket.error: # hostname = host hostname = host For private usage, I didn't need to get hostname. I hope it helps you. Regards, Hyungyong Kim 2005/10/11, Nir Soffer : > For running on your laptop for personal use, try the standalone server. > > For public wiki, try fast cgi, mod python, twisted, standalone or cgi. > > Save can be slow on all types of servers, specially if you use antispam > or lupy indexing search engine. > > On 11 Oct, 2005, at 2:09, Nicholas Ochiel wrote: > > > What is the fastest, most optimal way to run MoinMoin. I'm currently > > using moin.cgi and it's not as fast as I'd like (takes 5 seconds to > > save a page when running on my laptop). > > -- > > Nicholas Ochiel, > > NEO (New Enterprise Objects)(tm) > > Innovation Machine > > w: http://www.newenterpriseobjects.com > > b: http://billionairebusinessman.org > > > > "Travelers, it is late. Life's sun is going to set. During these brief > > days that you have strength, be quick and spare no effort of your > > wings." > > Best Regards, > > Nir Soffer > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -- Hyungyong Kim, http://biohackers.net From nochiel at gmail.com Tue Oct 11 02:20:28 2005 From: nochiel at gmail.com (Nicholas Ochiel) Date: Tue Oct 11 02:20:28 2005 Subject: [Moin-user] Fastest Most Optimal Way to Run MoinMoin In-Reply-To: <0994FB0A-39EF-11DA-AD04-000A95B45AA0@actcom.net.il> References: <5fb6989b0510101709k17a3e9a6j1a653536dfcde072@mail.gmail.com> <0994FB0A-39EF-11DA-AD04-000A95B45AA0@actcom.net.il> Message-ID: <5fb6989b0510110218p5b74405cm1c3a2190d82c7764@mail.gmail.com> Thanks.... I'll try out your suggestions. On 10/11/05, Nir Soffer wrote: > > For running on your laptop for personal use, try the standalone server. > > For public wiki, try fast cgi, mod python, twisted, standalone or cgi. > > Save can be slow on all types of servers, specially if you use antispam > or lupy indexing search engine. > > On 11 Oct, 2005, at 2:09, Nicholas Ochiel wrote: > > > What is the fastest, most optimal way to run MoinMoin. I'm currently > > using moin.cgi and it's not as fast as I'd like (takes 5 seconds to > > save a page when running on my laptop). > > -- > > Nicholas Ochiel, > > NEO (New Enterprise Objects)(tm) > > Innovation Machine > > w: http://www.newenterpriseobjects.com > > b: http://billionairebusinessman.org > > > > "Travelers, it is late. Life's sun is going to set. During these brief > > days that you have strength, be quick and spare no effort of your > > wings." > > Best Regards, > > Nir Soffer > > -- Nicholas Ochiel, NEO (New Enterprise Objects)(tm) Innovation Machine w: http://www.newenterpriseobjects.com b: http://billionairebusinessman.org "Travelers, it is late. Life's sun is going to set. During these brief days that you have strength, be quick and spare no effort of your wings." -------------- next part -------------- An HTML attachment was scrubbed... URL: From Etienne.Chove at crans.org Tue Oct 11 03:11:47 2005 From: Etienne.Chove at crans.org (=?ISO-8859-15?Q?Etienne_Chov=E9?=) Date: Tue Oct 11 03:11:47 2005 Subject: [Moin-user] Encoding for Macro Message-ID: <434B8FA3.4090000@crans.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 What encoding should I use for writing macro ? utf-8 doesn-t semm to work. Thanks - -- Bilou -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDS4+jvsnSxJjnYzIRAhN/AKCEhnCzNGUgf21WEP8XfX+qC7X4JACfbDGB b1Hge9JR6fixYrM8YW16uc8= =cYHy -----END PGP SIGNATURE----- From nirs at actcom.net.il Tue Oct 11 03:32:57 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Tue Oct 11 03:32:57 2005 Subject: [Moin-user] Encoding for Macro In-Reply-To: <434B8FA3.4090000@crans.org> References: <434B8FA3.4090000@crans.org> Message-ID: <2C82372E-3A42-11DA-AD04-000A95B45AA0@actcom.net.il> You should use either assci, latin1 or utf-8 as your source file encoding, but you must use a proper coding line in the start of the file. For example, if you code in utf-8, your file must start with: # -*- coding: utf-8 -*- As for internal data, you should use only unicode strings or plain ascii strings. For example, in this macro: def execute(macro, pagename): return macro.formatter.text('Foo') * pagename is unicode string. * 'Foo' is plain ascii * The return value will be a unicode string * You could use u'Foo' or u'Etienne Chov?' as well if your coding is latin1 or utf-8. You should NOT try to return encoded value like u'Etienne Chov?'.encode('utf-8'), or 'Etienne Chov?', unless you like tracebacks :) Moin work internally with unicode strings, and encode the output for you using config.charset. You can set config.charset to any charset supported in Python, but only 'utf-8' is tested and supported. On 11 Oct, 2005, at 12:10, Etienne Chov? wrote: > What encoding should I use for writing macro ? > > utf-8 doesn-t semm to work. > Best Regards, Nir Soffer From gia at webde.de Tue Oct 11 06:59:22 2005 From: gia at webde.de (Gisbert Amm) Date: Tue Oct 11 06:59:22 2005 Subject: [Moin-user] Macro/Action to delete all subpages when deleting a certain page Message-ID: <434BC505.909@webde.de> Is there a Macro/Action to delete all subpages when deleting a certain page? Regards, Gisbert From anthony at itia.ntua.gr Tue Oct 11 07:18:58 2005 From: anthony at itia.ntua.gr (Antonios Christofides) Date: Tue Oct 11 07:18:58 2005 Subject: [Moin-user] RCS for historical page versions? In-Reply-To: <20051006222927.3BA783F01E6@lexx.mit.edu> References: <20051006222927.3BA783F01E6@lexx.mit.edu> Message-ID: <20051011141825.GD25950@itia.ntua.gr> Douglas Alan wrote: > Is there a way to make MoinMoin use RCS (or something like it) for > historical page versions? AFAIK there isn't. I was quite shocked when I understood how it saves the files, but one of the developers explained that they had their reasons. RCS has problems (and I happen to be a twiki administrator and I've gone through some RCS-related headaches). He said that CVS works well because of some subtle differences between the way cvs and wikis work. So MoinMoin uses what it uses for simplicity and reliability. I think, of course, that disk consumption must be shocking. The good news is that the compressed size must be about the same as if RCS was used, meaning that it shouldn't make backup too difficult. From anthony at itia.ntua.gr Tue Oct 11 07:28:21 2005 From: anthony at itia.ntua.gr (Antonios Christofides) Date: Tue Oct 11 07:28:21 2005 Subject: [Moin-user] Special RSS for a certain page In-Reply-To: <20051008173112.GF3196@itia.ntua.gr> References: <20051008173112.GF3196@itia.ntua.gr> Message-ID: <20051011142726.GE25950@itia.ntua.gr> Antonios Christofides wrote: > I have page Foo, and I want to create RSS from it. Specifically, I'd > want, say, the following: > > 1. Page Foo.rss to return rss by running a custom script that will > provide the rss from the source of page Foo. > 2. Page Foo to contain the appropriate > header to point to Foo.rss. I think I can do (2) by processing instructions, and if the functionality is not already there I can add a custom #pragma to the theme. > As an alternative to (1), I could do with somehow triggering a script > to run upon update of Foo. I think I can achieve this by creating a macro that executes the RSS creation script. I hope macro caching will cause the macro to not execute on every page viewing; if it does occasionally run unneeded, it's no big deal. From Richard.Hiers at covenantseminary.edu Tue Oct 11 07:40:19 2005 From: Richard.Hiers at covenantseminary.edu (Hiers, Richard) Date: Tue Oct 11 07:40:19 2005 Subject: [Moin-user] Editing the Edit Page Message-ID: I tried to make changes to PageEditor as mentioned below, but any changes I make result in errors in the wiki. If I just add a couple letters to one of the existing lines (make "Tables" "Tableses", then when I edit a page, the formatting tips become plain text. I can see all the [[Verbatim]] code, for example. If I try to add an additional tip line (under tables), even if it is just an exact duplicate of the Lists tip, then instead of the edit page, I get a big ugly "SyntaxErrorinvalid syntax (PageEditor.py, line 442)" page. What am I missing? Richard >It's possible to make changes here by hacking on the MoinMoin.PageEditor module >directly, which is what I ended up doing since I don't have time to play with and >contribute to the CVS head right now, though I think I see how something simple >could be worked out for the help text. > >The MoinMoin.PageEditor module has a string literal in the >sendEditor() method; that's the place to make changes for now. In my case, my >wiki isn't using the classic markup by default, so I simply wrapped the help text >generation with an 'if self.cfg.default_markup == "wiki"' condition. > >-Fred ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From nirs at actcom.net.il Tue Oct 11 08:16:39 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Tue Oct 11 08:16:39 2005 Subject: [Moin-user] Macro/Action to delete all subpages when deleting a certain page In-Reply-To: <434BC505.909@webde.de> References: <434BC505.909@webde.de> Message-ID: On 11 Oct, 2005, at 15:58, Gisbert Amm wrote: > Is there a Macro/Action to delete all subpages when deleting a certain > page? No, but you can do it from the shell with rm -rf wiki/data/pages/PageName/* Best Regards, Nir Soffer From kenneth.m.mcdonald at sbcglobal.net Tue Oct 11 10:22:49 2005 From: kenneth.m.mcdonald at sbcglobal.net (Kenneth McDonald) Date: Tue Oct 11 10:22:49 2005 Subject: [Moin-user] Delays in recognition of adding users to groups even when deleting the cache file Message-ID: <3160900B-0EBD-4DFB-85A7-263415CE7649@sbcglobal.net> I've noticed there seems to be a significant delay between the time I add a user to an "editor" group with higher-level privileges, and the time the user is granted those privileges--sometimes by a day or two. This appears to happen even if I delete the cache file "wiki_dicts". Is it possible there is another caching mechanism that is affecting this. Any suggestions? Thanks, Ken From fdrake at gmail.com Tue Oct 11 10:39:39 2005 From: fdrake at gmail.com (Fred Drake) Date: Tue Oct 11 10:39:39 2005 Subject: [Moin-user] Editing the Edit Page In-Reply-To: References: Message-ID: <9cee7ab80510110807i44333243t88da861ae6358845@mail.gmail.com> On 10/11/05, Hiers, Richard wrote: > I tried to make changes to PageEditor as mentioned below, but any > changes I make result in errors in the wiki. ... > What am I missing? It's hard to tell without more information. Do you know Python? My first suggestions are: 1. Where you added the if... statement I'd suggested in my email, did you indent the following statements? Indentation is semantically important in Python. 2. The if... statement I suggested was quoted in my email, but should not be quoted in the actual code. I've attached the complete PageEditor.py that I'm using, which contains only the one change relative to the MoinMoin 1.3.5 code so you can check your change. 3. The use of inline triple-quoted strings is relatively fragile if you don't know Python. It's possible that the outer quotes have become unbalanced. -Fred -- Fred L. Drake, Jr. "Society attacks early, when the individual is helpless." --B.F. Skinner -------------- next part -------------- A non-text attachment was scrubbed... Name: PageEditor.py Type: text/x-python Size: 44270 bytes Desc: not available URL: From nessus at mit.edu Tue Oct 11 12:51:48 2005 From: nessus at mit.edu (Douglas Alan) Date: Tue Oct 11 12:51:48 2005 Subject: [Moin-user] RCS for historical page versions? In-Reply-To: Your message of Tue, 11 Oct 2005 17:18:25 +0300. <20051011141825.GD25950@itia.ntua.gr> Message-ID: <20051011194920.7D28C3F6B02@lexx.mit.edu> Antonios Christofides wrote: > Douglas Alan wrote: > > Is there a way to make MoinMoin use RCS (or something like it) for > > historical page versions? > AFAIK there isn't. I was quite shocked when I understood how it saves > the files, but one of the developers explained that they had their > reasons. RCS has problems (and I happen to be a twiki administrator > and I've gone through some RCS-related headaches). I'm not sure what you mean by "RCS has problems". I've used it for more than 15 years without any problems whatsoever. > He said that CVS works well because of some subtle differences between > the way cvs and wikis work. So MoinMoin uses what it uses for > simplicity and reliability. Indeed, CVS would certainly not be appropriate for wiki pages, as (1) it is designed for checking in entire directories, not individual files, and a wiki page is an individual file, and (2) CVS is just layered on RCS anyway, so you'd still be using RCS anyway. > I think, of course, that disk consumption must be shocking. The good > news is that the compressed size must be about the same as if RCS was > used, meaning that it shouldn't make backup too difficult. I don't know why you say that "the compressed sized must be about the same as if RCS was used". RCS doesn't do compression -- it stores old versions as file diffs, which means a very small change to a file ends up taking up very little space. Using compression might make a bunch of files a half the size that they would be without compression, but using RCS might make a thousand files take up one five hundredth the amount of space, not one just one half. If you then gzip the RCS file, it might get compressed in half again. |>oug From anthony at itia.ntua.gr Tue Oct 11 13:16:33 2005 From: anthony at itia.ntua.gr (Antonios Christofides) Date: Tue Oct 11 13:16:33 2005 Subject: [Moin-user] RCS for historical page versions? In-Reply-To: <20051011194920.7D28C3F6B02@lexx.mit.edu> References: <20051011141825.GD25950@itia.ntua.gr> <20051011194920.7D28C3F6B02@lexx.mit.edu> Message-ID: <20051011201538.GH25950@itia.ntua.gr> Douglas Alan wrote: > I'm not sure what you mean by "RCS has problems". I've used it for more > than 15 years without any problems whatsoever. I'm far from an expert, and I don't really remember. They were locking-related error messages that I got in twiki. > Indeed, CVS would certainly not be appropriate for wiki pages, as (1) it Yes, I meant something else. I had wondered, if RCS works so well for CVS, why wouldn't it work for wiki? And the developer told me of a subtle difference between the way CVS and wikis work; I think it had to do with concurrency (yes, you see I'm not an expert, and I only replied to your message because no-one else did. In any case the answer to your question is "no, there's no rcs", and our discussion here is academic). > I don't know why you say that "the compressed sized must be about the > same as if RCS was used". RCS doesn't do compression -- it stores old I mean that if you compress a document with all its history, and say that its history is kept with RCS and that the total size of the document and its history is 1 MB, the compressed result might be 300 KB. Now if instead of RCS you keep the document's history in one file per version, and the total size of these files is 50 MB, the compressed result shouldn't be much more than 300 KB (it should be the same order of magnitude), because redundancy is much larger in the second case. From nessus at mit.edu Tue Oct 11 13:40:24 2005 From: nessus at mit.edu (Douglas Alan) Date: Tue Oct 11 13:40:24 2005 Subject: [Moin-user] RCS for historical page versions? In-Reply-To: Your message of Tue, 11 Oct 2005 23:15:38 +0300. <20051011201538.GH25950@itia.ntua.gr> Message-ID: <20051011203755.0EE213F6C4E@lexx.mit.edu> Antonios Christofides wrote: > Douglas Alan wrote: > > I'm not sure what you mean by "RCS has problems". I've used it for more > > than 15 years without any problems whatsoever. > I'm far from an expert, and I don't really remember. They were > locking-related error messages that I got in twiki. That's a problem with twiki, then, not with RCS. Twiki just isn't using RCS properly. Or it didn't give enough consideration to the case that two people are working on a page at the same time. But that's something that all wikis have to worry about anyway. > And the developer told me of a subtle difference between the way CVS > and wikis work; I think it had to do with concurrency Well, yes, a common way of working with RCS is to lock all of the files that you are working on, and then unlock them when you are done working on them. This approach has plusses and minuses. A huge minus is that someone else then can't work on a file at the same time that you are working on it. With CVS, you never lock files -- instead you have to perform a merge if there ends up being a conflict of two people having worked on the same files at the same time. The fact that CVS is layered on top of RCS, however, proves that one doesn't have to use RCS the way that is commonly used. RCS is a versatile tool and can be used in many ways. > (yes, you see I'm not an expert, and I only replied to your message > because no-one else did. In any case the answer to your question is > "no, there's no rcs", and our discussion here is academic). Ah, well, then, thanks for the info. Alas, the info is rather disappointing. > > I don't know why you say that "the compressed sized must be about the > > same as if RCS was used". RCS doesn't do compression -- it stores old > I mean that if you compress a document with all its history, and say > that its history is kept with RCS and that the total size of the > document and its history is 1 MB, the compressed result might be 300 > KB. Now if instead of RCS you keep the document's history in one file > per version, and the total size of these files is 50 MB, the > compressed result shouldn't be much more than 300 KB (it should be the > same order of magnitude), because redundancy is much larger in the > second case. What you say here is not true for the vast majority of compression algorithms, as they are generally not quite as smart as you give them credit for. I think you'll find that that 50 MB of files might compress down to 15 MB. Also, I'm not so concerned about tape backup compression ratios, as I don't compress backups -- I do disk-to-disk backups using rsync. I'm concerned about disk space usage. |>oug From andrea at cpushare.com Tue Oct 11 19:43:48 2005 From: andrea at cpushare.com (Andrea Arcangeli) Date: Tue Oct 11 19:43:48 2005 Subject: [Moin-user] fix for python 2.4.2c1 Message-ID: <20051012024251.GJ13739@opteron.random> Hello, I am trying moinmoin (1.3 branch) with python 2.4.2c1 and the PageHits macro returned an exception. Not sure if this is fully correct but at least it works now. I also had to delete the cache after applying the patch to fixup the pickle. Thanks. * looking for arch at arch.thinkmo.de--2003-archives/moin--main--1.3--patch-935 to compare with * comparing to arch at arch.thinkmo.de--2003-archives/moin--main--1.3--patch-935 M MoinMoin/util/web.py M MoinMoin/macro/PageHits.py * modified files --- orig/MoinMoin/macro/PageHits.py +++ mod/MoinMoin/macro/PageHits.py @@ -20,7 +20,7 @@ # Use protocol 1, binary format compatible with all python versions PICKLE_PROTOCOL = 1 -from MoinMoin import caching +from MoinMoin import caching, config from MoinMoin.Page import Page from MoinMoin.logfile import eventlog, logfile @@ -66,7 +66,7 @@ for event in event_log.reverse(): if event[0] <= cacheDate: break - page = event[2].get('pagename', None) + page = event[2].get('pagename', None).decode(config.charset, 'replace') if page: hits[page] = hits.get(page, 0) + 1 changed = True --- orig/MoinMoin/util/web.py +++ mod/MoinMoin/util/web.py @@ -27,7 +27,7 @@ """ import cgi values = {} - for key, value in cgi.parse_qs(qstr).items(): + for key, value in cgi.parse_qs(qstr.encode('ascii', 'replace')).items(): if len(value) < 2: values[key] = ''.join(value) return values From tw-public at gmx.de Wed Oct 12 09:09:35 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Oct 12 09:09:35 2005 Subject: [Moin-user] Language Preference for guests In-Reply-To: <20051010083705.40425.qmail@web33611.mail.mud.yahoo.com> References: <20051010083705.40425.qmail@web33611.mail.mud.yahoo.com> Message-ID: <434D331A.8040404@gmx.de> > I am running my MoinMoin Wiki on a Windows 2000 box > in my company's Intranet. It's running fine except > that it always uses simpified chinese instead of > traditional chinese which Hong Kong people get used > to. I think this might be a bug (a quite old one), the language detection doesn't work correctly for such cases. Maybe file a bug about that (if there isn't already one) so we don't forget to fix it. > Knowing that MoinMoin will automatically choose > language base on the browser setting, could anyone > kindly tell me how can I set zh-tw to default no > matter what setting the client browser is. I think there might be no easy fix for it, except maybe removing zh from MoinMoin/i18n/meta.py (that disables zh completely). Try it. From nirs at actcom.net.il Wed Oct 12 12:35:53 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Wed Oct 12 12:35:53 2005 Subject: [Moin-user] Language Preference for guests In-Reply-To: <434D331A.8040404@gmx.de> References: <20051010083705.40425.qmail@web33611.mail.mud.yahoo.com> <434D331A.8040404@gmx.de> Message-ID: <374E02EA-3B57-11DA-AD04-000A95B45AA0@actcom.net.il> On 12 Oct, 2005, at 18:00, Thomas Waldmann wrote: >> Knowing that MoinMoin will automatically choose >> language base on the browser setting, could anyone >> kindly tell me how can I set zh-tw to default no >> matter what setting the client browser is. > > I think there might be no easy fix for it, except maybe removing zh > from MoinMoin/i18n/meta.py (that disables zh completely). There is an easy fix here: Using this patch, you can continue to serve zh for your registered users, but have full control of what your visitors get. Best Regards, Nir Soffer From linpage at yahoo.com Wed Oct 12 13:00:25 2005 From: linpage at yahoo.com (bill page) Date: Wed Oct 12 13:00:25 2005 Subject: [Moin-user] installing a parser Message-ID: <20051012195839.19776.qmail@web51301.mail.yahoo.com> Hi, relatively new to MoinMoin here. I like it a lot. I'm using the beta (1.3.4). I've also installed twisted. I am trying to install the html parser so I can get more control over tables and am having trouble doing that. I thought I could just drop the html.py code into both the moin and mywiki parser directories. That doesn't work. I notice that I have an html.py but no html.pyc at this point so I'm guessing it's never calling the code. Is there some registration or configuration change I need to do? I can't find any real discussion on how to install this sort of thing. Oh, I have seen sort discussion that some versions are different in that they are using a 'write' statement vs a 'print' statement. I've changed the download code to try it both ways. But as I said I think the problem is I'm never calling the parser. thanks --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nirs at actcom.net.il Wed Oct 12 13:12:04 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Wed Oct 12 13:12:04 2005 Subject: [Moin-user] installing a parser In-Reply-To: <20051012195839.19776.qmail@web51301.mail.yahoo.com> References: <20051012195839.19776.qmail@web51301.mail.yahoo.com> Message-ID: <4BA4F648-3B5C-11DA-AD04-000A95B45AA0@actcom.net.il> On 12 Oct, 2005, at 21:58, bill page wrote: > relatively new to MoinMoin here.? I like it a lot. I'm using the beta > (1.3.4).? I've also installed twisted. > ? > I am trying to install the html parser so I can get more control over > tables and am having trouble doing that.? I thought I could just drop > the html.py code into both the moin and mywiki?parser directories. > That doesn't work.? I notice that I have an html.py but no html.pyc at > this point so I'm guessing it's never calling the code.? It should work as you described: you drop html.py into your wiki/data/plugin/parser/ and then your can use: {{{ #!html

It works!

}}} > Is there some registration or configuration change I need to do? No. > Oh, I have seen sort discussion that some versions are different in > that they are using a 'write' statement vs a 'print' statement. Yes, you should never print. A parser should use self.request.write() Best Regards, Nir Soffer From Richard.Hiers at covenantseminary.edu Wed Oct 12 15:25:43 2005 From: Richard.Hiers at covenantseminary.edu (Hiers, Richard) Date: Wed Oct 12 15:25:43 2005 Subject: [Moin-user] Editing the Edit Page Message-ID: Well I don't know Python. The little I've messed with it so far seem pretty intuitive and forgiving. I think I'm beyond my ability on this one. Thanks for the suggestions though. Richard -----Original Message----- From: Fred Drake [mailto:fdrake at gmail.com] Sent: Tuesday, October 11, 2005 10:08 AM To: Hiers, Richard Cc: moin-user at lists.sourceforge.net Subject: Re: [Moin-user] Editing the Edit Page On 10/11/05, Hiers, Richard wrote: > I tried to make changes to PageEditor as mentioned below, but any > changes I make result in errors in the wiki. ... > What am I missing? It's hard to tell without more information. Do you know Python? My first suggestions are: 1. Where you added the if... statement I'd suggested in my email, did you indent the following statements? Indentation is semantically important in Python. 2. The if... statement I suggested was quoted in my email, but should not be quoted in the actual code. I've attached the complete PageEditor.py that I'm using, which contains only the one change relative to the MoinMoin 1.3.5 code so you can check your change. 3. The use of inline triple-quoted strings is relatively fragile if you don't know Python. It's possible that the outer quotes have become unbalanced. -Fred -- Fred L. Drake, Jr. "Society attacks early, when the individual is helpless." --B.F. Skinner From work at infomaniak.ch Fri Oct 14 01:57:04 2005 From: work at infomaniak.ch (Cedric BRINER) Date: Fri Oct 14 01:57:04 2005 Subject: [Moin-user] FullSearch macro Message-ID: <20051014085538.GB12498@obs.unige.ch> hi, I'm strongly using the CategoryFields. So I used them as keys. My problems come from the fullsearch macro. Because it search for strings and catch even the parameters of other macros. for eg. at my work, people belongs to groups (research, system, administration...) so for each person I have a homepage: FirstnameLastname lets' introduce myself,... blah, blah ---- CategoryHomepage CategoryPeople CategorySystem and then in the WikiPage System, I'd like to give a list of every people who belongs to this group SystemGroup this is the list of the people working in the group: * [[FullSearch(CategoryPeople CategorySystem)]] ---- CategorySystem but unfortunately the FullSearch macro catch also the page SystemGroup, because of the FullSearch parameters at the line (*). and so on... so I thought that the best will be that FullSearch will do a fullsearch except on the parameters gived to macros. something like which will not catch parameters inside the FullSearch Macro regex_pattern='\[\[FullSeach\([^\]\)]*text-to-catch[^\]\)]*\)\]\]' or which will not catch anything in a macro regex_pattern='\[\[[^\]\[]*text-to-catch[^\]\[]*\]\]' what about it ? Ced. -- Cedric BRINER Geneva - Switzerland From nirs at actcom.net.il Fri Oct 14 05:34:16 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Fri Oct 14 05:34:16 2005 Subject: [Moin-user] FullSearch macro In-Reply-To: <20051014085538.GB12498@obs.unige.ch> References: <20051014085538.GB12498@obs.unige.ch> Message-ID: <8E280D2E-3CAE-11DA-B909-000A95B45AA0@actcom.net.il> You will probably be more happy with linkto:search, which search only for links to pages. [[FullSearch(linkto:CategoryFoo linkto:CategoryBar)]] It will match only links like CategoryFoo ["CategoryFoo"] [:CategoryFoo: Foo Category] and not text like [[FullSearch(CategoryFoo)]]. On 14 Oct, 2005, at 10:55, Cedric BRINER wrote: > I'm strongly using the CategoryFields. So I used them as keys. My > problems come from the fullsearch macro. Because it search for strings > and catch even the parameters of other macros. > > for eg. > at my work, people belongs to groups (research, system, > administration...) > > so for each person I have a homepage: > > FirstnameLastname > lets' introduce myself,... blah, blah > > ---- > CategoryHomepage CategoryPeople CategorySystem > > and then in the WikiPage System, I'd like to give a list of every > people who belongs to this group > > SystemGroup > this is the list of the people working in the group: > * [[FullSearch(CategoryPeople CategorySystem)]] > > ---- > CategorySystem > > but unfortunately the FullSearch macro catch also the page > SystemGroup, because of the FullSearch parameters at the line (*). > and so on... > > so I thought that the best will be that FullSearch will do a > fullsearch except on the parameters gived to macros. something like > > which will not catch parameters inside the FullSearch Macro > regex_pattern='\[\[FullSeach\([^\]\)]*text-to-catch[^\]\)]*\)\]\]' > > or which will not catch anything in a macro > regex_pattern='\[\[[^\]\[]*text-to-catch[^\]\[]*\]\]' > > what about it ? > Best Regards, Nir Soffer From tw-public at gmx.de Fri Oct 14 09:21:13 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri Oct 14 09:21:13 2005 Subject: [Moin-user] installing a parser In-Reply-To: <20051012195839.19776.qmail@web51301.mail.yahoo.com> References: <20051012195839.19776.qmail@web51301.mail.yahoo.com> Message-ID: <434FD86E.5000903@gmx.de> > relatively new to MoinMoin here. I like it a lot. I'm using the beta > (1.3.4). I've also installed twisted. 1.3.4 was released long ago and even 1.3.5, too. If you want to run something unreleased, use 1.5 :) > I am trying to install the html parser so I can get more control over > tables and am having trouble doing that. I thought I could just drop > the html.py code into both the moin and mywiki parser directories. That > doesn't work. I notice that I have an html.py but no html.pyc at this > point so I'm guessing it's never calling the code. Or it has no write rights as the web server user. > Is there some registration or configuration change I need to do? I > can't find any real discussion on how to install this sort of thing. > Oh, I have seen sort discussion that some versions are different in that > they are using a 'write' statement vs a 'print' statement. request.write for outputting stuff and using the formatter for formatting stuff is the way to go. From linpage at yahoo.com Fri Oct 14 11:02:11 2005 From: linpage at yahoo.com (bill page) Date: Fri Oct 14 11:02:11 2005 Subject: [Moin-user] installing a parser In-Reply-To: <434FD86E.5000903@gmx.de> Message-ID: <20051014180103.35684.qmail@web51308.mail.yahoo.com> thanks to all. Not sure what I did, but it suddenly started working. I'm sure I had taken twisted down in prior tests, but that is the closest thing that would appear to be a variable. Unfortunately, wasn't really what I wanted. I was looking to use html for the table but use wiki for other stuff (link wikinames). Make sense that it didn't work, Oh well. Does anyone know of something gives a little more table control but still within the 'standard' playground? At least at the moment all I wanted to do was to force a column width. It is a table with 3 cols; a wikiname link, date, description. As the description can be long the rendering wraps the link and date. The date ends up particularly ugly. tia bill page Thomas Waldmann wrote: > relatively new to MoinMoin here. I like it a lot. I'm using the beta > (1.3.4). I've also installed twisted. 1.3.4 was released long ago and even 1.3.5, too. If you want to run something unreleased, use 1.5 :) > I am trying to install the html parser so I can get more control over > tables and am having trouble doing that. I thought I could just drop > the html.py code into both the moin and mywiki parser directories. That > doesn't work. I notice that I have an html.py but no html.pyc at this > point so I'm guessing it's never calling the code. Or it has no write rights as the web server user. > Is there some registration or configuration change I need to do? I > can't find any real discussion on how to install this sort of thing. > Oh, I have seen sort discussion that some versions are different in that > they are using a 'write' statement vs a 'print' statement. request.write for outputting stuff and using the formatter for formatting stuff is the way to go. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomasz at grobelny.oswiecenia.net Fri Oct 14 12:23:58 2005 From: tomasz at grobelny.oswiecenia.net (Tomasz Grobelny) Date: Fri Oct 14 12:23:58 2005 Subject: [Moin-user] Include problem Message-ID: <200510142121.04270.tomasz@grobelny.oswiecenia.net> When I use such a code fragment: [[Include(^news.*,, to="---", sort=descending, items=3)]] I get "Include: Nothing found for "---"!" error (this is translation from Polish so may be not exact). Is the above code incorrect or is it moinmoin bug? -- Regards, Tomasz Grobelny From skip at pobox.com Sat Oct 15 07:16:30 2005 From: skip at pobox.com (skip at pobox.com) Date: Sat Oct 15 07:16:30 2005 Subject: [Moin-user] Traceback when antispam enabled Message-ID: <17233.3815.557018.44961@montanaro.dyndns.org> When I enable the antispam line in wikiconfig.py I get a traceback: TypeError: can't compare datetime.datetime to instance The cgitb stuff makes it a bit challenging to assemble a normal Python traceback, but here's what I came up with: /usr/local/mojam/lib/python2.3/site-packages/MoinMoin/request.py in run(self=) cgitb.Hook(file=self).handle(saved_exc) /usr/local/mojam/lib/python2.3/site-packages/MoinMoin/wikiaction.py in do_savepage(pagename=u'SkipMontanaro', request=) savemsg = unicode(msg) /usr/local/mojam/lib/python2.3/site-packages/MoinMoin/PageEditor.py in saveText(self=, newtext=u'Skip manages the Mojam and Musi-Cal websites of which this wiki is a part.\n', rev=0, **kw={'comment': u'', 'trivial': 0}) if not self.request.user.may.save(self, newtext, rev, **kw): /usr/local/mojam/lib/python2.3/site-packages/MoinMoin/util/antispam.py in save(self=, editor=, newtext=u'Skip manages the Mojam and Musi-Cal websites of which this wiki is a part.\n', rev=0, **kw={'comment': u'', 'trivial': 0}) blacklist += getblacklist(request, pn, do_update) /usr/local/mojam/lib/python2.3/site-packages/MoinMoin/util/antispam.py in getblacklist(request=, pagename='BadContent', do_update=True) dprint(str(err)) My configuration is: Python Python 2.3.4: /usr/bin/python Linux orca.mojam.com 2.6.9-11.ELsmp #1 SMP Wed Jun 8 17:54:20 CDT 2005 i686 MoinMoin Release 1.3.4 [Revision 1.3.4 release] Sat Oct 15 08:07:50 2005 Any thoughts on a fix/workaround? A wiki spammer created about 200 pages on the Mojam wiki overnight. I sort of assume the global bad content page probably has enough mojo to have prevented that. Thx, -- Skip Montanaro Katrina Benefit Concerts: http://www.musi-cal.com/katrina skip at pobox.com From moin at pusspaws.net Sun Oct 16 10:14:03 2005 From: moin at pusspaws.net (dave s) Date: Sun Oct 16 10:14:03 2005 Subject: [Moin-user] problem installing moin as standalone on gentoo Message-ID: <435289B4.5040102@pusspaws.net> Hi all, I got my standalone server working on ubnutu by downloading the package from the moin website, un tarring it etc and following ... http://moinmoin.wikiwikiweb.de/HelpOnInstalling/WikiInstanceCreation it worked a treat. I now need to do the following on my gentoo box, I did the same but got the following problem ... dave_comp moin # ls -al total 32 drwxr-xr-x 8 root root 4096 Oct 16 16:31 . drwxr-xr-x 187 root root 4096 Sep 18 13:46 .. drwxr-xr-x 2 root root 4096 Oct 16 16:30 config drwxr-xr-x 6 root root 4096 Oct 16 16:30 data drwxr-xr-x 6 root root 4096 Oct 16 16:30 htdocs drwxrwxrwx 4 root root 4096 Oct 16 16:43 mywiki drwxr-xr-x 2 root root 4096 Oct 16 16:30 server drwxr-xr-x 3 root root 4096 Oct 16 16:30 underlay dave_comp moin # PREFIX=/usr dave_comp moin # SHARE=$PREFIX/share/moin dave_comp moin # WIKILOCATION=$SHARE dave_comp moin # INSTANCE=mywiki dave_comp moin # USER=www-data dave_comp moin # GROUP=www-data dave_comp moin # cd $WIKILOCATION dave_comp moin # mkdir $INSTANCE dave_comp moin # cp -R $SHARE/data $INSTANCE dave_comp moin # cp -R $SHARE/underlay $INSTANCE dave_comp moin # cp $SHARE/config/wikiconfig.py $INSTANCE dave_comp moin # chown -R $USER.$GROUP $INSTANCE chown: `www-data.www-data' syntax is obsolete; use `:' since this will be removed in the future chown: `www-data.www-data': invalid user dave_comp moin # OK I am stuck, can anyone help me ? Cheers Dave PS I am using the package from the moin website because all I want is a standalone server, I am not confident in setting up apache securely :) From moinmoin at scottatron.com Sun Oct 16 20:01:49 2005 From: moinmoin at scottatron.com (Scott Arthur) Date: Sun Oct 16 20:01:49 2005 Subject: [Moin-user] Apache FTP install - Nice URLs Message-ID: Hi I've managed to get MoinMoin up and working on my Dreamhost shared hosting using the Apache/FTP method. My directory structure is ~/wiki.domain.com |- /config |- /config/wikiconfig.py |- /data |- /moin.fcgi |- /MoinMoin |- /underlay |- /wiki I can't however seem to get apache to give me nice URL's with mod_rewrite. I've tried the Apache Voodoo here and here with no luck. It keeps giving me this error in my error.log mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary. Can any mod_rewrite masters out there shed any light my way?? Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From gia at webde.de Mon Oct 17 01:57:25 2005 From: gia at webde.de (Gisbert Amm) Date: Mon Oct 17 01:57:25 2005 Subject: [Moin-user] How to hide Includes in [[TableOfContents]] Message-ID: <4353671E.6040903@webde.de> I did not get any reply to this post. Therefore a second try: One of our Wiki pages has some Includes like the following [[Include(ArchitekturZirkel/PersistenzKapselung, , 3, from="^## next milestone", to="^## next milestone end")]] and a table of contents like this: [[TableOfContents(")]] Unfortunaltely the includes are shown in the toc at the same level as the heading preceeding them; Moin uses the respective pagename as toc entry - e.g. "ArchitekturZirkel/PersistenzKapselung". That is not the expected behavior. One does not think of pagenames of included pages as titles at the same level as the heading above them. They are not expected to be headings at all. Is it possible to change this behavoir of the TableOfContents macro in the current Moin release? I did not find any hint in the docs. Probably it was intended to incorporate the headings of the included page, but that should IMHO not be the default but turned on by a certain switch. However, even if that was the desired behaviour there are not anchors generated and therefore klicking on this wrong "headings" has no effect either. Regards, Gisbert Amm From nirs at actcom.net.il Mon Oct 17 05:31:41 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Mon Oct 17 05:31:41 2005 Subject: [Moin-user] problem installing moin as standalone on gentoo In-Reply-To: <435289B4.5040102@pusspaws.net> References: <435289B4.5040102@pusspaws.net> Message-ID: <9B490198-3F09-11DA-B909-000A95B45AA0@actcom.net.il> On 16 Oct, 2005, at 19:11, dave s wrote: > chown: `www-data.www-data' syntax is obsolete; use `:' since this will > be removed in the future > chown: `www-data.www-data': invalid user > dave_comp moin # www-data is correct for Debian, it may be another name for your system. You can check the correct user name in Apache configuration file, usually at /etc/httpd/httpd.conf. Search for "user" and "group". > PS I am using the package from the moin website because all I want is > a standalone server, I am not confident in setting up apache securely > :) In this case there is no reason to use the Apache user and group names. You can use any user, probably it will be safe to use a special user that can do nothing on the system except serve your wiki pages. Best Regards, Nir Soffer From nirs at actcom.net.il Mon Oct 17 05:37:52 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Mon Oct 17 05:37:52 2005 Subject: [Moin-user] How to hide Includes in [[TableOfContents]] In-Reply-To: <4353671E.6040903@webde.de> References: <4353671E.6040903@webde.de> Message-ID: <740BECE9-3F0A-11DA-B909-000A95B45AA0@actcom.net.il> On 17 Oct, 2005, at 10:55, Gisbert Amm wrote: > One of our Wiki pages has some Includes like the following > > [[Include(ArchitekturZirkel/PersistenzKapselung, , 3, from="^## next > milestone", to="^## next milestone end")]] > > and a table of contents like this: > > [[TableOfContents(")]] > > Unfortunaltely the includes are shown in the toc at the same level as > the heading preceeding them; Moin uses the respective pagename as toc > entry - e.g. "ArchitekturZirkel/PersistenzKapselung". Its not clear what is the problem. Please show the created output and the expected output. Then check Include macro documentation, probably in Include.py. Best Regards, Nir Soffer From gia at webde.de Mon Oct 17 06:52:30 2005 From: gia at webde.de (Gisbert Amm) Date: Mon Oct 17 06:52:30 2005 Subject: [Moin-user] How to hide Includes in [[TableOfContents]] In-Reply-To: <740BECE9-3F0A-11DA-B909-000A95B45AA0@actcom.net.il> References: <4353671E.6040903@webde.de> <740BECE9-3F0A-11DA-B909-000A95B45AA0@actcom.net.il> Message-ID: <4353AC40.8040707@webde.de> Nir Soffer wrote: > > On 17 Oct, 2005, at 10:55, Gisbert Amm wrote: > >> One of our Wiki pages has some Includes like the following >> >> [[Include(ArchitekturZirkel/PersistenzKapselung, , 3, from="^## next >> milestone", to="^## next milestone end")]] >> >> and a table of contents like this: >> >> [[TableOfContents(")]] >> >> Unfortunaltely the includes are shown in the toc at the same level as >> the heading preceeding them; Moin uses the respective pagename as toc >> entry - e.g. "ArchitekturZirkel/PersistenzKapselung". > > Its not clear what is the problem. Please show the created output and > the expected output. Then check Include macro documentation, probably in > Include.py. Found it out: The problem lies the line # 100 of TableOfContents.py A short snippet might show what I mean: # this is an [[Include()]] line. # now parse the included page and do the work on it. ## get heading and level from Include() line. tmp = self.arg_re.match(match.group(1)) if tmp and tmp.group("name"): inc_pagename = tmp.group("name") else: # no pagename? ignore it continue if tmp.group("heading"): if tmp.group("htext"): heading = tmp.group("htext") else: #heading = inc_pagename continue You see the line I commented out after the last else. This else means: In the included page there is no heading found. Therefore the pagename of the included page is set as heading. You don't want this when you only include a small part of that page within the *main text* of your including page. You can also see my quick fix for the problem: Simply ignore the include and continue. However, this might not be the desired behaviour in other cases when one wants the included page to show up in the toc. OTOH, then one can simply provide a heading within the included page to get it into the toc of the including page. IMHO it feels much more natural and logical this way. A better fix might be to look if there is "from" and "to" in the include definition and continue in this case and set heading = inc_pagename only if there is no "from" and "to". Regards, Gisbert Amm From skip at pobox.com Mon Oct 17 07:09:38 2005 From: skip at pobox.com (skip at pobox.com) Date: Mon Oct 17 07:09:38 2005 Subject: [Moin-user] Unable to stop this cretin Message-ID: <17235.45067.257181.556828@montanaro.dyndns.org> The last three mornings I have awakened to something like 200 new pages and a handful of changed pages on the Mojam Wiki filled with the usual crap. I added a number of regular expressions to LocalBadContent: http://orca.mojam.com/mojamwiki/LocalBadContent and manually reverted all changes and deleted all new crappy pages. That didn't help. Sunday I awoke to a similar mess. I couldn't figure out why the changes had been allowed. I double-checked LocalBadContent, reverted the changes, then routed his network to the loopback address. This morning, it's the same thing. Of course, he approached from a different network, so I've routed that network to the bit bucket as well. Today I simply reverted the few changed pages and deleted all the new page directories instead of manually deleting each new page through the we. I just don't have the time. I suspect I will wake up to the same crap tomorrow. I can't uncomment the security policy setting in wikiconfig.py (is that required to use LocalBadContent?) because I get a traceback whenever I try to change a page if it's enabled. (I filed a bug report on the MoinMoin wiki about this.) I'm using 1.3.5. Any help would be gratefully appreciated. Thanks, -- Skip Montanaro Katrina Benefit Concerts: http://www.musi-cal.com/katrina skip at pobox.com From jimpop at yahoo.com Mon Oct 17 07:19:24 2005 From: jimpop at yahoo.com (Jim Popovitch) Date: Mon Oct 17 07:19:24 2005 Subject: [Moin-user] Unable to stop this cretin In-Reply-To: <17235.45067.257181.556828@montanaro.dyndns.org> References: <17235.45067.257181.556828@montanaro.dyndns.org> Message-ID: <4353B283.8080407@yahoo.com> Temporarily add an ACL to the top of every page and setup acl_enabled, allowed_actions, etc in wikiconfig.py. Wikis do serve a purpose, but I question putting a wide-open wiki on the public Internet for the exact reasons you cite. Good luck, -Jim P. skip at pobox.com wrote: > The last three mornings I have awakened to something like 200 new pages and > a handful of changed pages on the Mojam Wiki filled with the usual crap. I > added a number of regular expressions to LocalBadContent: > > http://orca.mojam.com/mojamwiki/LocalBadContent > > and manually reverted all changes and deleted all new crappy pages. That > didn't help. Sunday I awoke to a similar mess. I couldn't figure out why > the changes had been allowed. I double-checked LocalBadContent, reverted > the changes, then routed his network to the loopback address. This morning, > it's the same thing. Of course, he approached from a different network, so > I've routed that network to the bit bucket as well. Today I simply reverted > the few changed pages and deleted all the new page directories instead of > manually deleting each new page through the we. I just don't have the time. > I suspect I will wake up to the same crap tomorrow. > > I can't uncomment the security policy setting in wikiconfig.py (is that > required to use LocalBadContent?) because I get a traceback whenever I try > to change a page if it's enabled. (I filed a bug report on the MoinMoin > wiki about this.) > > I'm using 1.3.5. Any help would be gratefully appreciated. > > Thanks, > From nirs at actcom.net.il Mon Oct 17 07:40:45 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Mon Oct 17 07:40:45 2005 Subject: [Moin-user] Unable to stop this cretin In-Reply-To: <17235.45067.257181.556828@montanaro.dyndns.org> References: <17235.45067.257181.556828@montanaro.dyndns.org> Message-ID: Very annoying, but antispam works for other people. I suggest making the wiki editable only to known users as a temporary fix: acl_rights_default = 'Known:read,write,revert,delete All:read' And if the spammer register and continue, set it to: acl_rights_default = 'EditorsGroup:read,write,revert,delete All:read' And list your trusted user names to the page EditorsGroup. Then the best solution will be to investigate why antispam does not work on your system, since it seems that no other developer has time for this now. On 17 Oct, 2005, at 16:07, skip at pobox.com wrote: > > The last three mornings I have awakened to something like 200 new > pages and > a handful of changed pages on the Mojam Wiki filled with the usual > crap. I > added a number of regular expressions to LocalBadContent: > > http://orca.mojam.com/mojamwiki/LocalBadContent > > and manually reverted all changes and deleted all new crappy pages. > That > didn't help. Sunday I awoke to a similar mess. I couldn't figure out > why > the changes had been allowed. I double-checked LocalBadContent, > reverted > the changes, then routed his network to the loopback address. This > morning, > it's the same thing. Of course, he approached from a different > network, so > I've routed that network to the bit bucket as well. Today I simply > reverted > the few changed pages and deleted all the new page directories instead > of > manually deleting each new page through the we. I just don't have the > time. > I suspect I will wake up to the same crap tomorrow. > > I can't uncomment the security policy setting in wikiconfig.py (is that > required to use LocalBadContent?) because I get a traceback whenever I > try > to change a page if it's enabled. (I filed a bug report on the > MoinMoin > wiki about this.) > > I'm using 1.3.5. Any help would be gratefully appreciated. > > Thanks, > > -- > Skip Montanaro > Katrina Benefit Concerts: http://www.musi-cal.com/katrina > skip at pobox.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, > discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > Best Regards, Nir Soffer From skip at pobox.com Mon Oct 17 08:36:35 2005 From: skip at pobox.com (skip at pobox.com) Date: Mon Oct 17 08:36:35 2005 Subject: [Moin-user] Unable to stop this cretin In-Reply-To: References: <17235.45067.257181.556828@montanaro.dyndns.org> Message-ID: <17235.50336.821136.635121@montanaro.dyndns.org> Nir> I suggest making the wiki editable only to known users as a Nir> temporary fix: Nir> acl_rights_default = 'Known:read,write,revert,delete All:read' Thanks, I've done that. Is it possible to get a more helpful message than You are not allowed to edit this page. when people who aren't logged in try to create pages? I do have a potentially boundless supply of page creators, mostly musicians or their representatives (that is, not propeller heads like us). They will come from the main Mojam site. In essence, I'm automatically creating the wiki page links for the yet-to-be-created pages. They follow them then create the page. I need some way to tell them nicely (as early as possible) that they need to create a userid on the wiki. Perhaps 1.5 will be structured a bit differently so I can customize that initial edit page? Nir> Then the best solution will be to investigate why antispam does not Nir> work on your system, since it seems that no other developer has Nir> time for this now. I'll try to take a look at this when I have a chance. Skip From nirs at actcom.net.il Mon Oct 17 08:40:21 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Mon Oct 17 08:40:21 2005 Subject: [Moin-user] Unable to stop this cretin In-Reply-To: <17235.50336.821136.635121@montanaro.dyndns.org> References: <17235.45067.257181.556828@montanaro.dyndns.org> <17235.50336.821136.635121@montanaro.dyndns.org> Message-ID: <1C48F658-3F24-11DA-B909-000A95B45AA0@actcom.net.il> This souds like common situation, you want to allow only some users to edit parts of the wiki, and you want to make it easy for new users to register when they try to edit the protected parts. Please open a feature request for this. On 17 Oct, 2005, at 17:34, skip at pobox.com wrote: > Thanks, I've done that. Is it possible to get a more helpful message > than > > You are not allowed to edit this page. > > when people who aren't logged in try to create pages? I do have a > potentially boundless supply of page creators, mostly musicians or > their > representatives (that is, not propeller heads like us). They will > come from > the main Mojam site. In essence, I'm automatically creating the wiki > page > links for the yet-to-be-created pages. They follow them then create > the > page. I need some way to tell them nicely (as early as possible) that > they > need to create a userid on the wiki. Perhaps 1.5 will be structured a > bit > differently so I can customize that initial edit page? > Best Regards, Nir Soffer From moin at pusspaws.net Mon Oct 17 10:49:54 2005 From: moin at pusspaws.net (dave s) Date: Mon Oct 17 10:49:54 2005 Subject: [Moin-user] problem installing moin as standalone on gentoo In-Reply-To: <9B490198-3F09-11DA-B909-000A95B45AA0@actcom.net.il> References: <435289B4.5040102@pusspaws.net> <9B490198-3F09-11DA-B909-000A95B45AA0@actcom.net.il> Message-ID: <4353E3CB.1080501@pusspaws.net> Nir Soffer wrote: > > On 16 Oct, 2005, at 19:11, dave s wrote: > >> chown: `www-data.www-data' syntax is obsolete; use `:' since this >> will be removed in the future >> chown: `www-data.www-data': invalid user >> dave_comp moin # > > > www-data is correct for Debian, it may be another name for your > system. You can check the correct user name in Apache configuration > file, usually at /etc/httpd/httpd.conf. Search for "user" and "group". > >> PS I am using the package from the moin website because all I want is >> a standalone server, I am not confident in setting up apache securely :) > > > In this case there is no reason to use the Apache user and group > names. You can use any user, probably it will be safe to use a special > user that can do nothing on the system except serve your wiki pages. > > > Best Regards, > > Nir Soffer > > Many thanks for your input, I will have a go at setting up a special user & see what happens :) Cheers Dave From skip at pobox.com Mon Oct 17 20:40:54 2005 From: skip at pobox.com (skip at pobox.com) Date: Mon Oct 17 20:40:54 2005 Subject: [Moin-user] Unable to stop this cretin In-Reply-To: <1C48F658-3F24-11DA-B909-000A95B45AA0@actcom.net.il> References: <17235.45067.257181.556828@montanaro.dyndns.org> <17235.50336.821136.635121@montanaro.dyndns.org> <1C48F658-3F24-11DA-B909-000A95B45AA0@actcom.net.il> Message-ID: <17236.28291.574814.204760@montanaro.dyndns.org> Nir> Then the best solution will be to investigate why antispam does not Nir> work on your system, since it seems that no other developer has Nir> time for this now. Skip> I'll try to take a look at this when I have a chance. I poked around in antispam.py a little. At line 121 there is an if statement: if mydate < masterdate: That comparison is between a datetime.datetime object (masterdate) and an xmlrpclib.DateTime object (mydate). My system has a version of xmlrpclib that's more like what's going to be in 2.5. It generates datetime objects when possible. (*) I fiddled around a bit, but couldn't figure out how to import Python's datetime module from antispam.py without changing MoinMoin. MoinMoin has a datetime module in its utils package that obscures the core datetime module. I wound up renaming it to datefuncs.py and changed all references. Then in antispam.py I checked the type of masterdate and set mydate accordingly: if isinstance(masterdate, datetime.datetime): mydate = datetime.datetime(*tuple(time.gmtime(mymtime))[0:6]) else: mydate = xmlrpclib.DateTime(tuple(time.gmtime(mymtime))) I know that's crude, but it did get antispam.py working for me. Skip (*) It appears the datetime mods to xmlrpclib.py for 2.5 are going to cause some compatibility problems if left as-is. Now would be the time to test MoinMoin against Python's CVS version (a.k.a. 2.5a0) and/or suggest ways the xmlrpclib module might be modified in a more backwards-compatible way. From tom at tompurl.com Tue Oct 18 07:40:52 2005 From: tom at tompurl.com (tom at tompurl.com) Date: Tue Oct 18 07:40:52 2005 Subject: [Moin-user] Wiki Blog Message-ID: <40995.159.53.78.143.1129646416.squirrel@mail.zoper.com> Hi, I've recently become very interested in the idea of a wiki blog/bliki. Here's the basic functionality that I'm looking for: A wiki blog is simply a wiki with a blog-style interface. Authors can create regular wiki content using any taxonomy that they please, and their new content is displayed on the "blog" page/portlet using a familiar blog-ish look-and-feel. This interface is easy and intuitive for non-wiki users, and the author can use a robust, easy-to-use publishing environment. Does any plugin like this exists for MoinMoin? Thanks in advance! Tom Purl From Richard.Hiers at covenantseminary.edu Tue Oct 18 08:33:33 2005 From: Richard.Hiers at covenantseminary.edu (Hiers, Richard) Date: Tue Oct 18 08:33:33 2005 Subject: [Moin-user] Wiki Blog Message-ID: I experimented with this a little using the MonthCalendar macro to create new blog entries, and then used an include on the front page to list the last 3 or 4 days of blog entries, like this: [[Include(^FirstnameLastname/20..-..-..,,to="^----",sort=descending,item s=3)]] There are also a couple of options for enabling comments. One is to create a comment page like http://moinmoin.wikiwikiweb.de/SimpleBlog, the other is to use Seungik Lee's PageComment macro: http://moinmoin.wikiwikiweb.de/MacroMarket/PageComment Richard -----Original Message----- From: moin-user-admin at lists.sourceforge.net [mailto:moin-user-admin at lists.sourceforge.net] On Behalf Of tom at tompurl.com Sent: Tuesday, October 18, 2005 9:40 AM To: moin-user at lists.sourceforge.net Subject: [Moin-user] Wiki Blog Hi, I've recently become very interested in the idea of a wiki blog/bliki. Here's the basic functionality that I'm looking for: A wiki blog is simply a wiki with a blog-style interface. Authors can create regular wiki content using any taxonomy that they please, and their new content is displayed on the "blog" page/portlet using a familiar blog-ish look-and-feel. This interface is easy and intuitive for non-wiki users, and the author can use a robust, easy-to-use publishing environment. Does any plugin like this exists for MoinMoin? Thanks in advance! Tom Purl ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From moin.askthem at gmail.com Tue Oct 18 11:27:48 2005 From: moin.askthem at gmail.com (Arp) Date: Tue Oct 18 11:27:48 2005 Subject: [Moin-user] Discussion/Comments and section editing? Message-ID: <4910b3df0510181126k67b92e4ep18a09f52391838e9@mail.gmail.com> Hi All, I'm a total MoinMoin and Python newbie, did spend a few days reading and trying out stuff, and it seems MoinMoin has a lot to offer - especially the modularity is appealing. As I'm at the moment only evaluating _if_ MoinMoin might fit my purposes maybe some of you can answer my questions faster than I can figure it out. I'm looking into using a Wiki (MoinMoin?) for a community website to share ideas for educational materials. This will have to be a very internationally oriented project that heavily relies on images (and other media) as well as text. I want people to be able to present a model or idea for some learning aide on one page and then have a discussion/comment page with that and possibly in the end a whole pile of translated versions of the initial page. After the community effort has 'finalized' a page and various experts have condoned that the contents are valid and of acceptable quality a page should be locked for editing (but the discussion page with it should stay open). I know this is not the true WikiWay but at the moment we feel we need the safeguard to insure quality of content as it's all aimed at training medical students and we don't want some cretins to mess with their heads at the cost of future patients. This means we will also probably want a possibility to have a header on each page that states something like "Accepted Version" or "Work In Progress" - this header should _not_ be editable by those who contribute new content while the page is still being worked on. So here are some initial questions: * I've found the 'include' example to include a seperate discussion page at the bottom of the 'article' page. However I would rather have the 'article' clean for copy/print purposes and have discussion/comment on a seperate page linked through an extra Tab next to 'Edit' or such (much like Wikipedia). - Possible? Easy/Medium/Hard? Needs: JustMarkup/PythonHacking * Possibly related: will it be possible/easy to have one other tab with an index page to all translated versions. - Possible? Easy/Medium/Hard? Needs: JustMarkup/PythonHacking * Will it be possible to have a 'locked' header with displayable content on otherwise editable pages other than throug an include/subpage combination or so? - Possible? Easy/Medium/Hard? Needs: JustMarkup/PythonHacking * Each image/attachment on a page should get it's own linked subpage where a larger / higher quality version might be available and where a discussion on the (improvement of) the image/attachment can be started. These should however be global pages to be linked to used from many article pages and their translations (and should possibly have their own translated/localized versions as in images with text content or so). It seems a lot is possible with macro's and having all attachments in a global directory rather than in article subpages. - Possible? Easy/Medium/Hard? Needs: JustMarkup/PythonHacking Thanks a lot in advance for your input and time !! -- Arp From kenneth.m.mcdonald at sbcglobal.net Tue Oct 18 13:05:05 2005 From: kenneth.m.mcdonald at sbcglobal.net (Kenneth McDonald) Date: Tue Oct 18 13:05:05 2005 Subject: [Moin-user] inline vs. attached movies, and potential for DoS attacks. Message-ID: <3EFE62E9-25C8-47C8-A057-A60E4D060B93@sbcglobal.net> I've a question about inlining vs. attaching movies, and as a result of experimenting with this, also want to report a potential Denial of Service attack, one that can't be easily rectified (at least not in my browser) by reversions or editing. Our site is likely to have a large number of small tutorial videos. At the moment, I'm using attachment:file.mov to include them. Clicking on this link brings up (in the two browsers I've tried, at least) another browser window that plays the movie back in a movie player. Ideally, I'd like the movie player to appear right in the Moin page, so the user need merely click on the "play" button to view the movie. I seem to recall seeing this sort of thing on other sites, so believe it should be possible at the HTML level. Now the DoS attach. I tried the obvious, "inline:file.mov". After this, attempting to view the page resulted in the omission of anything after that entry, but attempting to _edit_ the page, or view page differences, seemed to hang my browser (Safari). I tried this a couple of times, and then went into my site via terminal and fixed the problem in emacs. Thanks, Ken From tw-public at gmx.de Wed Oct 19 04:01:57 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Oct 19 04:01:57 2005 Subject: [Moin-user] Discussion/Comments and section editing? In-Reply-To: <4910b3df0510181126k67b92e4ep18a09f52391838e9@mail.gmail.com> References: <4910b3df0510181126k67b92e4ep18a09f52391838e9@mail.gmail.com> Message-ID: <435624D7.9020200@gmx.de> > discussion/comment page Moin doesn't have special "comment" pages. We usually use the real page to comment or make a subpage /Comments. > of translated versions of the initial page. You can use a moin wiki farm (one wiki per language) and interwiki links (like En:PageInEnglish) for that. Currently, this is a quite manual method. > page should be locked for editing (but the discussion page with it > should stay open). You can use access control lists for that: page with #acl All:read page/Comments with no acl > This means we will also probably want a possibility to have a header > on each page that states something like "Accepted Version" or "Work In > Progress" - this header should _not_ be editable by those who > contribute new content while the page is still being worked on. There is currently someone working on code for using moin in a ISO9xxx process, who needs "approved" versions of pages, too. Maybe you can use his code, search the mm wiki for it. > * I've found the 'include' example to include a seperate discussion > page at the bottom of the 'article' page. However I would rather have > the 'article' clean for copy/print purposes and have > discussion/comment on a seperate page linked through an extra Tab next > to 'Edit' or such (much like Wikipedia). > - Possible? Easy/Medium/Hard? Needs: JustMarkup/PythonHacking Needs an easy modification of a theme. Few lines of python. > * Possibly related: will it be possible/easy to have one other tab > with an index page to all translated versions. > - Possible? Easy/Medium/Hard? Needs: JustMarkup/PythonHacking I am not sure I understand what you want exactly, maybe give an example. > * Will it be possible to have a 'locked' header with displayable > content on otherwise editable pages other than throug an > include/subpage combination or so? > - Possible? Easy/Medium/Hard? Needs: JustMarkup/PythonHacking There is a possibility to configure some header and footer html in the config. Easy, but not sure if that is what you want. > * Each image/attachment on a page should get it's own linked subpage > where a larger / higher quality version might be available and where a > discussion on the (improvement of) the image/attachment can be > started. These should however be global pages to be linked to used > from many article pages and their translations (and should possibly > have their own translated/localized versions as in images with text > content or so). It seems a lot is possible with macro's and having all > attachments in a global directory rather than in article subpages. > - Possible? Easy/Medium/Hard? Needs: JustMarkup/PythonHacking Translation -> wiki farm / interwiki (see above) For special image features you maybe need to locate an already written thing on the market pages or write your own think, not too hard, but takes time. Attachments are always under some specific page, but you should be able to link to it from other pages. You could also link to external images, not stored in the wiki. From tw-public at gmx.de Wed Oct 19 04:04:43 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Oct 19 04:04:43 2005 Subject: [Moin-user] inline vs. attached movies, and potential for DoS attacks. In-Reply-To: <3EFE62E9-25C8-47C8-A057-A60E4D060B93@sbcglobal.net> References: <3EFE62E9-25C8-47C8-A057-A60E4D060B93@sbcglobal.net> Message-ID: <43562595.4080305@gmx.de> > the moment, I'm using attachment:file.mov to include them. Clicking on > this link brings up (in the two browsers I've tried, at least) another > browser window that plays the movie back in a movie player. Moin doesn't open new windows, it is your browser who does that. > Ideally, I'd like the movie player to appear right in the Moin page, so > the user need merely click on the "play" button to view the movie. I > seem to recall seeing this sort of thing on other sites, so believe it > should be possible at the HTML level. If you find out how other sites do that, you could write a macro for it. > Now the DoS attach. I tried the obvious, "inline:file.mov". After this, > attempting to view the page resulted in the omission of anything after > that entry, but attempting to _edit_ the page, or view page differences, > seemed to hang my browser (Safari). I tried this a couple of times, and > then went into my site via terminal and fixed the problem in emacs. Maybe moin tried to read (and inline) the file as if it was text. X-) I have to check that. From CPJohnson at edcon.co.za Wed Oct 19 04:20:20 2005 From: CPJohnson at edcon.co.za (Craig Johnson) Date: Wed Oct 19 04:20:20 2005 Subject: [Moin-user] Discussion/Comments and section editing? Message-ID: > * Each image/attachment on a page should get it's own linked subpage > where a larger / higher quality version might be available > and where a > discussion on the (improvement of) the image/attachment can be > started. These should however be global pages to be linked to used > from many article pages and their translations (and should possibly > have their own translated/localized versions as in images with text > content or so). It seems a lot is possible with macro's and > having all > attachments in a global directory rather than in article subpages. > - Possible? Easy/Medium/Hard? Needs: JustMarkup/PythonHacking The ImageLink macro by Reimar Bauer will do this manually with the appropriate mark-up on the index page. Your mail suggests that you want this to be automatic. That would be Medium/Hard involving new Moin extensions. It seems to me that the requirement is quite specialised and would require some coding no matter where you start from. Maybe use WikiRPC to generate some pre-canned pages with the links already in place. Both the Gallery macros are quite automatic, but only show the images in slide-show format. Craig This message is subject to certain restrictions and qualifications which are contained in our email disclaimer which is available on our website at www.edcon.co.za/Edcon/Disclaimer or from the Group Secretary on (011) 495-6176. The disclaimer also provides our corporate information and names of our directors as required by law. The disclaimer is deemed to form part of this message in terms of Section 11 of the Electronic Communications and Transactions Act, 2002. From CPJohnson at edcon.co.za Wed Oct 19 04:46:33 2005 From: CPJohnson at edcon.co.za (Craig Johnson) Date: Wed Oct 19 04:46:33 2005 Subject: [Moin-user] Discussion/Comments and section editing? Message-ID: > discussion/comment page The PageComment macro might be of use here. This message is subject to certain restrictions and qualifications which are contained in our email disclaimer which is available on our website at www.edcon.co.za/Edcon/Disclaimer or from the Group Secretary on (011) 495-6176. The disclaimer also provides our corporate information and names of our directors as required by law. The disclaimer is deemed to form part of this message in terms of Section 11 of the Electronic Communications and Transactions Act, 2002. From p.f.moore at gmail.com Wed Oct 19 06:30:47 2005 From: p.f.moore at gmail.com (Paul Moore) Date: Wed Oct 19 06:30:47 2005 Subject: [Moin-user] Running MoinMoin as a Windows service Message-ID: <79990c6b0510190629m6808a8dcwf00bcfccb7627df6@mail.gmail.com> This is something I've often wanted to do - to run MoinMoin as a service under Windows. The twisted server should be doable - there are a number of recipes available to run Twisted applications as services - but I thought I'd try setting up the standalone server (perfect for a personal Wiki). This is the result. It's a little script using pywin32 to make a MoinMoin service. Put it alongside your (standalone server) moin.py, and run moinservice.py install and you're away. Some minor points: 1. All your paths in moin.py need to be absolute paths - relative paths won't work, as the current directory of the service won't be what you think. 2. There's some ugly hacking at the start, to get round some environment issues with services (signal handling and stdout/stderr). The need for these could probably be removed by patching the moin source code - I didn't do that here to make the script standalone. I can look at creating a patch for Moin if there's any interest. 3. I've tested this with the current Moin 1.5 snapshot. I've checked the 1.3 source, and it looks like it would work there as well, but I haven't tested it. If this is sufficiently useful that it might be worth adding into the MoinMoin distribution, I have no objections at all... Paul. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: moinservice.py URL: From p.f.moore at gmail.com Wed Oct 19 06:34:02 2005 From: p.f.moore at gmail.com (Paul Moore) Date: Wed Oct 19 06:34:02 2005 Subject: [Moin-user] Re: Running MoinMoin as a Windows service In-Reply-To: <79990c6b0510190629m6808a8dcwf00bcfccb7627df6@mail.gmail.com> References: <79990c6b0510190629m6808a8dcwf00bcfccb7627df6@mail.gmail.com> Message-ID: <79990c6b0510190633l5b0f9056wdddb218b20f30f12@mail.gmail.com> On 10/19/05, Paul Moore wrote: > This is something I've often wanted to do - to run MoinMoin as a > service under Windows. [...] > This is the result. Blast - a last-minute edit removed an "import sys" line. Add it just before the sys.stdout hacking and you should be fine. Sorry about that. Paul. From geek+ at cmu.edu Wed Oct 19 19:31:22 2005 From: geek+ at cmu.edu (Brian Gallew) Date: Wed Oct 19 19:31:22 2005 Subject: [Moin-user] MoinMoin, twisted, and multiple wikis Message-ID: <4357010B.4040703@cmu.edu> So, I want to do something that apparently no one has thought of before: I want to be able to serve standard websites as well as multiple wikis from a single twisted application. Using mointwisted.py as a starting point, I can trivially server a wiki. Using either mktap or writing some simple Python, I can serve websites. By modifying mointwisted, I can pretty easily serve *one* wiki by making it virtual host. Unfortunately, serving a 2nd wiki doesn't seem to work right. What I get is the last wiki configured is served off all of the wiki virtual hosts. Surely I'm not the only person doing this kind of thing? It seems like I really want to use some spread mechanism and have a mointwisted variant serving each wiki via spread to the main server, but I don't see how to really make that work, either. Any hints? From saku+moinmoin at ytti.fi Wed Oct 19 23:57:49 2005 From: saku+moinmoin at ytti.fi (Saku Ytti) Date: Wed Oct 19 23:57:49 2005 Subject: [Moin-user] passing usernames via apache authentication Message-ID: <20051020065703.GB28346@ytti.fi> Hello, Will 1.5 support ability to create usernames on-demand? There is patch for this in 1.3.4, probably easily portable but if someone has already seen the trouble I'd be glad to hear about it :) http://moinmoin.wikiwikiweb.de/MoinMoinPatch?action=AttachFile&do=get&target=moin-1.3.4_auth_http_user.patch But would be nice to have that in distribution. It's very nice for intranet sites. Thanks, -- ++ytti From CPJohnson at edcon.co.za Thu Oct 20 03:22:08 2005 From: CPJohnson at edcon.co.za (Craig Johnson) Date: Thu Oct 20 03:22:08 2005 Subject: [Moin-user] Running MoinMoin as a Windows service Message-ID: > -----Original Message----- > From: Paul Moore > Sent: 19 October 2005 03:30 PM > To: Moin > Subject: [Moin-user] Running MoinMoin as a Windows service > > > This is something I've often wanted to do - to run MoinMoin as a > service under Windows. The twisted server should be doable - there are > a number of recipes available to run Twisted applications as services > - but I thought I'd try setting up the standalone server (perfect for > a personal Wiki). > Interesting, more from the point of view that you managed to do it. Any reason why you did not use FireDeamon or equivalent? Craig This message is subject to certain restrictions and qualifications which are contained in our email disclaimer which is available on our website at www.edcon.co.za/Edcon/Disclaimer or from the Group Secretary on (011) 495-6176. The disclaimer also provides our corporate information and names of our directors as required by law. The disclaimer is deemed to form part of this message in terms of Section 11 of the Electronic Communications and Transactions Act, 2002. From p.f.moore at gmail.com Thu Oct 20 05:28:54 2005 From: p.f.moore at gmail.com (Paul Moore) Date: Thu Oct 20 05:28:54 2005 Subject: [Moin-user] Running MoinMoin as a Windows service In-Reply-To: References: Message-ID: <79990c6b0510200526i43eee2ccyd07cdc82e9a7694d@mail.gmail.com> On 10/20/05, Craig Johnson wrote: > Interesting, more from the point of view that you managed to do it. > Any reason why you did not use FireDeamon or equivalent? Simply because I don't have it (or equivalent) installed. This script requires nothing extra to be installed (OK, I need pywin32, but I don't believe in the existence of Windows boxes with Python installed but not pywin32 :-)) Also, it seems a common requirement to me, and I'd like to see a solution shipped with Moin. I can imagine that happening with a Python script, but not with something that requires additional software. Paul. From robert.seeger at orsoft.de Thu Oct 20 08:33:39 2005 From: robert.seeger at orsoft.de (Robert Seeger) Date: Thu Oct 20 08:33:39 2005 Subject: [Moin-user] How to use a wiki page as the shared_intermap in moin 1.3.5? Message-ID: <000001c5d58c$d421f4a0$ed02a8c0@orsoft.de> Dear MoinMoin Masters, I'm still in the migration from 1.1 to 1.3.5 and am puzzled with regard to InterWiki configuration. In 1.1. you could easily use shared_intermap to point to a text file that was also a wiki page, as pages had a static file name an location. This was described in the HelpMiscellaneous for 1.1.: If you want your users to easily add new InterWiki monikers, change your moin_config.py to contain an entry like this: shared_intermap = ['/usr/local/moin/mywiki/data/text/intermap_2etxt'] Then create a page named intermap.txt (see intermap.txt for an example) with the following content: .... This allowed easy maintenance of interwiki definitions in the usual Wiki way. As we use InterWiki a lot to make our IntraNet flexible (not only for various wikis in a farm, but also to bug trackers, databases, file server, mail repository...) this is a very convenient way. Now in 1.3.5 we have a completely different physical storage of the pages and each revision gets a different file name, so I'm not sure how it is now possible to point to the newest revision. As I've seen the central http://moinmoin.wikiwikiweb.de/InterWikiMap I was wondering if you serve the InterWiki directly from there? If 'Yes' then I would like to know how you do this by configuration? If 'No' then I will think about a way to patch this in wikiutil.resolve_wiki - should not be too difficult. I am thinking alog the line of if filename.startswith("wiki:"): #parse page instead of file I live in the Windows/NTFS world, so "wiki:" could never be the start of a valid file name, but how about other os/filesystems? Or should I better introduce a second config parameter? Kind Regards, Robert Seeger Senior Consultant OR Soft Jaenicke GmbH From kenneth.m.mcdonald at sbcglobal.net Thu Oct 20 13:52:46 2005 From: kenneth.m.mcdonald at sbcglobal.net (Kenneth McDonald) Date: Thu Oct 20 13:52:46 2005 Subject: [Moin-user] Making custom images available across an entire site? Message-ID: <17BB52A2-884D-4DE2-8CFA-C6B604310453@sbcglobal.net> Is there a standard place (or a way to direct Moin to a place) to put custom site icons, i.e. ones that would be available via the 'Icon' macro across an entire site? I have a couple of different Moin sites on the same server, so don't want to put them in the global moin dir structure (and also don't want to worry about losing them when I install a new version). I can't find anything in the conf file (perhaps I'm overlooking it), haven't found it by looking through the doc site, and doing searches gives a little too much info to go through. Sorry if I'm asking a question to which there is a simple answer. Thanks, Ken From nirs at actcom.net.il Thu Oct 20 14:04:49 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Thu Oct 20 14:04:49 2005 Subject: [Moin-user] Making custom images available across an entire site? In-Reply-To: <17BB52A2-884D-4DE2-8CFA-C6B604310453@sbcglobal.net> References: <17BB52A2-884D-4DE2-8CFA-C6B604310453@sbcglobal.net> Message-ID: <0D0E58C6-41AD-11DA-B909-000A95B45AA0@actcom.net.il> On 20 Oct, 2005, at 22:55, Kenneth McDonald wrote: > Is there a standard place (or a way to direct Moin to a place) to put > custom site icons, i.e. ones that would be available via the 'Icon' > macro across an entire site? I have a couple of different Moin sites > on the same server, so don't want to put them in the global moin dir > structure (and also don't want to worry about losing them when I > install a new version). I can't find anything in the conf file > (perhaps I'm overlooking it), haven't found it by looking through the > doc site, and doing searches gives a little too much info to go > through. Sorry if I'm asking a question to which there is a simple > answer. Icon get the image from the theme img directory. In a standard install, it is located in prefix/share/moin/htdocs/theme/, and ALL the wikis share the same directory. There is no need to install moin multiple times, one install for each wiki, unless you want to run different versions of moin in the same time, for example, serve your production wiki with the current release, and play with a development version in an internal wiki. In this case, the wiki will use the theme directory of the moin version that run it. If you want to share one theme with multiple versions of moin, you can install the theme only in one htdocs directory, and symlink the directory to the other htdocs directories. But note that the theme might not work with older or newer version of moin. In other words, don't do that. Best Regards, Nir Soffer From skip at pobox.com Thu Oct 20 19:48:56 2005 From: skip at pobox.com (skip at pobox.com) Date: Thu Oct 20 19:48:56 2005 Subject: [Moin-user] Unable to stop this cretin In-Reply-To: <1C48F658-3F24-11DA-B909-000A95B45AA0@actcom.net.il> References: <17235.45067.257181.556828@montanaro.dyndns.org> <17235.50336.821136.635121@montanaro.dyndns.org> <1C48F658-3F24-11DA-B909-000A95B45AA0@actcom.net.il> Message-ID: <17240.22318.85604.397472@montanaro.dyndns.org> Skip> That comparison is between a datetime.datetime object (masterdate) Skip> and an xmlrpclib.DateTime object (mydate). My system has a Skip> version of xmlrpclib that's more like what's going to be in 2.5. Skip> It generates datetime objects when possible. Nir> [something about the evilness of using a test version of xmlrpclib Nir> in a production environment and making xmlrpclib.DateTime and Nir> datetime objects comparable ...] I modified xmlrpclib.DateTime to compare properly with datetime objects. Now no mods to Moin are required. There's a patch here: http://sourceforge.net/tracker/index.php?func=detail&aid=1330538&group_id=5470&atid=305470 If someone would like to review it, feel free to add a comment to the patch. I'll eventually get it checked in. -- Skip Montanaro Katrina Benefit Concerts: http://www.musi-cal.com/katrina skip at pobox.com From kenneth.m.mcdonald at sbcglobal.net Thu Oct 20 21:47:51 2005 From: kenneth.m.mcdonald at sbcglobal.net (Kenneth McDonald) Date: Thu Oct 20 21:47:51 2005 Subject: [Moin-user] How to get [[Icon(icon.png)]] on same line as following text? Message-ID: <712F67A8-3655-4FA5-AC88-2E83A7302963@sbcglobal.net> The following markup: [[Icon(attention.png)]] '''''New to the site? Please start here.''''' correctly inserts the attention icon. Unfortunately, the text after it ends up on the next line. Is there any way to keep the text on the same line? Thanks, Ken From nirs at actcom.net.il Thu Oct 20 21:58:34 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Thu Oct 20 21:58:34 2005 Subject: [Moin-user] How to get [[Icon(icon.png)]] on same line as following text? In-Reply-To: <712F67A8-3655-4FA5-AC88-2E83A7302963@sbcglobal.net> References: <712F67A8-3655-4FA5-AC88-2E83A7302963@sbcglobal.net> Message-ID: <325BA972-41EF-11DA-B909-000A95B45AA0@actcom.net.il> On 21 Oct, 2005, at 6:50, Kenneth McDonald wrote: > [[Icon(attention.png)]] '''''New to the site? Please start here.''''' > > correctly inserts the attention icon. Unfortunately, the text after it > ends up on the next line. Is there any way to keep the text on the > same line? Please report a bug about that. This will work correctly: [http://domain/wiki/modern/img/attention.png] '''''New to the site? Please start here.''''' Best Regards, Nir Soffer From kenneth.m.mcdonald at sbcglobal.net Thu Oct 20 22:08:58 2005 From: kenneth.m.mcdonald at sbcglobal.net (Kenneth McDonald) Date: Thu Oct 20 22:08:58 2005 Subject: [Moin-user] Alternate text for [" "] style links? Message-ID: <0FEEA5F0-9B74-4C04-A1A9-136D1D545C2F@sbcglobal.net> Is there a way to give alternate text for a link to a [" "] style page name? For example, something like ["About Markers" Markers] would point to to the same page as the link ["Lesson: Markers"], but would show up onscreen as 'Markers'. I imagine I could use an http:// style reference, but something shorter and more transportable across sites would be nice. And I admit this is a fairly baroque use of custom page names :-) Thanks, Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: From moin.askthem at gmail.com Thu Oct 20 23:23:12 2005 From: moin.askthem at gmail.com (Arp) Date: Thu Oct 20 23:23:12 2005 Subject: [Moin-user] Discussion/Comments and section editing? In-Reply-To: <435624D7.9020200@gmx.de> References: <4910b3df0510181126k67b92e4ep18a09f52391838e9@mail.gmail.com> <435624D7.9020200@gmx.de> Message-ID: <4910b3df0510202322v1d34eabbie6bdcd4bafab3171@mail.gmail.com> [[ I bodged this reply yesterday by only sending it to Thomas - sorry ]] This reply is foremost to thank Thomas and Craig for their informative replies /!\ I'll need some time to play around with it and had to spend most of today's time on looking for an affordable hosting solution - many hostingproviders seem to have given up on Python (something about processor load? - but that's probaly best left for another thread). Some quick reactions: > > * Possibly related: will it be possible/easy to have one other tab > > with an index page to all translated versions. > > - Possible? Easy/Medium/Hard? Needs: JustMarkup/PythonHacking > > I am not sure I understand what you want exactly, maybe give an example. Something like so (in monobook theme): _[article]_[edit]_[comments]_[translations]_[showchanges]_[info]_____ |.... article content here .... | where the [translations]-tab would lead to an index/category like page listing all translations of the page and/or possible dead links to not yet existing translations for supported languages. I guess the answer would be same as for my Comments page question - make /Translations a subpage - figure out how to hack the theme - CategoryDoable ;) Although I'll have to get better understanding of subpages first (working on that). I had found the PageComment macro but as it appends the comments to the page it will probably make for messy printing if one only wants to print the article - so I figured it'd be nicer in a seperate page/tab. Thanks so far ... back to playing more with Moin now. Cheers! From crelisr at gmail.com Thu Oct 20 23:53:12 2005 From: crelisr at gmail.com (Crelis Rammelt) Date: Thu Oct 20 23:53:12 2005 Subject: [Moin-user] Macros for MoinX Message-ID: Hi all, I'm new to MoinMoin. Great stuff. I am using MoinX and I have been trying to install new Macros (IncludeUrlContent and IncludeExternalFile) from http://moinmoin.wikiwikiweb.de/MacroMarket/ But they do not seem to work (I get an error message), any ideas why? Cheers! Crelis From j.k.wight at ncl.ac.uk Fri Oct 21 00:39:40 2005 From: j.k.wight at ncl.ac.uk (Jim Wight) Date: Fri Oct 21 00:39:40 2005 Subject: [Moin-user] Discussion/Comments and section editing? In-Reply-To: <4910b3df0510202322v1d34eabbie6bdcd4bafab3171@mail.gmail.com> References: <4910b3df0510181126k67b92e4ep18a09f52391838e9@mail.gmail.com> <435624D7.9020200@gmx.de> <4910b3df0510202322v1d34eabbie6bdcd4bafab3171@mail.gmail.com> Message-ID: <1129880270.27774.130.camel@beadnell.ncl.ac.uk> On Fri, 2005-10-21 at 08:22 +0200, Arp wrote: > I had found the PageComment macro but as it appends the comments to > the page it will probably make for messy printing if one only wants to > print the article - so I figured it'd be nicer in a seperate page/tab. I've made the following addition to .../MoinMoin/theme/__init__.py in order to achieve that : # Format items = '\n'.join(['
  • %s
  • ' % item for item in links if item != '']) + if not quotedname.endswith('/Comment'): + if Page(request, quotedname + '/Comment').isStandardPage(False): + items= items + '\n
  • %s
  • ' % link(request, quotedname + '/Comment', _('Comment', formatted=False)) + else: + items= items + '\n
  • %s
  • ' % link(request, quotedname + '/Comment', _('Comment', formatted=False)) html = u'
      \n%s\n
    \n' % items This gives a 'Comment' tab to the right of the 'More Actions' menu for accessing a '/Comment' subpage. CSS is used to show the text in red as in MediaWiki if the page doesn't exist (class=nocomment). Jim From saku at ytti.fi Fri Oct 21 01:54:43 2005 From: saku at ytti.fi (Saku Ytti) Date: Fri Oct 21 01:54:43 2005 Subject: [Moin-user] passing usernames via apache authentication In-Reply-To: <20051020065703.GB28346@ytti.fi> References: <20051020065703.GB28346@ytti.fi> Message-ID: <20051021085340.GA22001@ytti.fi> On (2005-10-20 09:57 +0300), Saku Ytti wrote:' > Will 1.5 support ability to create usernames on-demand? There is patch for > this in 1.3.4, probably easily portable but if someone has already seen the > trouble I'd be glad to hear about it :) > http://moinmoin.wikiwikiweb.de/MoinMoinPatch?action=AttachFile&do=get&target=moin-1.3.4_auth_http_user.patch I made very very ugly port of the patch, which basicly includes refetching the username from environment variable because I didn't have it in self.name in saveHttpAuthUser for some reason. I'm hoping to get some of our coders fix it to something that we don't have to be ashamed off. It seems that 1.5 has lot of the stuff already in place, like ability to hide/remove username/password change boxes etc. I don't really see any reason why 1.5 couldn't support something like create_accounts = 1 out-of-the-box. > But would be nice to have that in distribution. It's very nice for intranet > sites. > > Thanks, > -- > ++ytti > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -- ++ytti From wang.donghua at gmail.com Fri Oct 21 03:48:12 2005 From: wang.donghua at gmail.com (wangdonghua) Date: Fri Oct 21 03:48:12 2005 Subject: [Moin-user] Hello!Does moinmoinwiki support eps figures? Message-ID: <20051021184529.6A8A.WANG.DONGHUA@gmail.com> Hello! I find MoinMoinwiki support *.png , *.gif, *.jpg figures. But it seems not support eps figures. How can i do to make eps figures directly appear in the browser, not downloading it from my wiki web? Please help me. Thanks in advance~~~:-) hitluckyfox From wang.donghua at gmail.com Fri Oct 21 03:49:18 2005 From: wang.donghua at gmail.com (hitluckyfox) Date: Fri Oct 21 03:49:18 2005 Subject: [Moin-user] Hello!Does moinmoinwiki support eps figures? Message-ID: <20051021184822.6A8D.WANG.DONGHUA@gmail.com> Hello! I find MoinMoinwiki support *.png , *.gif, *.jpg figures. But it seems not support eps figures. How can i do to make eps figures directly appear in the browser, not downloading it from my wiki web? Please help me. Thanks in advance~~~:-) hitluckyfox From nigel.metheringham at dev.intechnology.co.uk Fri Oct 21 04:06:04 2005 From: nigel.metheringham at dev.intechnology.co.uk (Nigel Metheringham) Date: Fri Oct 21 04:06:04 2005 Subject: [Moin-user] Hello!Does moinmoinwiki support eps figures? In-Reply-To: <20051021184822.6A8D.WANG.DONGHUA@gmail.com> References: <20051021184822.6A8D.WANG.DONGHUA@gmail.com> Message-ID: <1129892695.20734.2.camel@localhost.localdomain> On Fri, 2005-10-21 at 18:49 +0800, hitluckyfox wrote: > I find MoinMoinwiki support *.png , *.gif, *.jpg figures. But it > seems not support eps figures. How can i do to make eps figures directly > appear in the browser, not downloading it from my wiki web? Please help > me. Are there any browsers which will in-line EPS? I don't know of any which would mean you have to push this out to a plugin of some form, which is likely to be hard. Nigel. -- [ Nigel Metheringham Nigel.Metheringham at InTechnology.co.uk ] [ - Comments in this message are my own and not ITO opinion/policy - ] From gregwh at gmail.com Fri Oct 21 05:58:45 2005 From: gregwh at gmail.com (greg whittier) Date: Fri Oct 21 05:58:45 2005 Subject: [Moin-user] Show chosen page on account creation/login? In-Reply-To: <26A3A15F-195D-45EC-B537-25CE9E6C5BEA@sbcglobal.net> References: <26A3A15F-195D-45EC-B537-25CE9E6C5BEA@sbcglobal.net> Message-ID: There's a discussion of this problem at http://moinmoin.wikiwikiweb.de/UsabilityObservation/User_confused_by_preferences_on_first_login Another related page is at http://moinmoin.wikiwikiweb.de/UsabilityObservation/Click_login_instead_of_create_profile There isn't a configuration setting I know of that addresses these, so some change to the code would be needed. On 10/10/05, Kenneth McDonald wrote: > We're working towards a public release of a documentation site, and > one of the comments from a test user indicates that it would be a > Good Thing if login or account creation immediately took the user to > an 'Introductory Page'. Currently (at least on my installation), > login takes the user to the preferences page, and if I recall > correctly, account creation does the same thing. > > Is there a way to set this up? > > > Thanks, > Ken > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Power Architecture Resource Center: Free content, downloads, discussions, > and more. http://solutions.newsforge.com/ibmarch.tmpl > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From soloturn at gmail.com Fri Oct 21 07:14:33 2005 From: soloturn at gmail.com (solo turn) Date: Fri Oct 21 07:14:33 2005 Subject: [Moin-user] link directly to presentation Message-ID: hi, is there a possibility to write the wiki link so a presentation would open in presentation mode, if you click on it? e.g. WikiCourse/BasicIntroduction/000_What_is_a_Wiki%3F?action=print&media=projection -solo -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Fri Oct 21 07:14:59 2005 From: skip at pobox.com (skip at pobox.com) Date: Fri Oct 21 07:14:59 2005 Subject: [Moin-user] Macros for MoinX In-Reply-To: References: Message-ID: <17240.63410.84265.877812@montanaro.dyndns.org> Crelis> I'm new to MoinMoin. Great stuff. I am using MoinX and I have been Crelis> trying to install new Macros (IncludeUrlContent and Crelis> IncludeExternalFile) from http://moinmoin.wikiwikiweb.de/MacroMarket/ Crelis> But they do not seem to work (I get an error message), any ideas why? I'm sorry, but this report provides almost no clues as to what went wrong. Unless someone else on the list encountered precisely the same situation you did, it's highly unlikely that a reader of this list can guess what went wrong for you. Here are a couple resources on bug reporting: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html http://www.catb.org/~esr/faqs/smart-questions.html After you're checked those out, please feel free to send another message with more details. Here are some homework questions: * What was the error message? * Does it show up in the web browser or turn up in a server log file? * Is there even a server log file? If so, have you checked it? * Is there a MoinX-specific email address (MoinX being a slight variant of MoinMoin)? Cheers, -- Skip Montanaro Katrina Benefit Concerts: http://www.musi-cal.com/katrina skip at pobox.com From nirs at actcom.net.il Fri Oct 21 08:14:29 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Fri Oct 21 08:14:29 2005 Subject: [Moin-user] Hello!Does moinmoinwiki support eps figures? In-Reply-To: <20051021184529.6A8A.WANG.DONGHUA@gmail.com> References: <20051021184529.6A8A.WANG.DONGHUA@gmail.com> Message-ID: <1AC4F913-4245-11DA-B909-000A95B45AA0@actcom.net.il> On 21 Oct, 2005, at 12:47, wangdonghua wrote: > > Hello! > I find MoinMoinwiki support *.png , *.gif, *.jpg figures. But it > seems not support eps figures. How can i do to make eps figures > directly > appear in the browser, not downloading it from my wiki web? Browsers do not support eps. You will have to convert them to one of the supported formats. Try tool like http://www.imagemagick.org/ or http://www.pythonware.com/products/pil/ Best Regards, Nir Soffer From hfschwing at runbox.com Fri Oct 21 08:22:55 2005 From: hfschwing at runbox.com (Hans F. Schwing) Date: Fri Oct 21 08:22:55 2005 Subject: [Moin-user] Configure GUI MoinMoin Message-ID: Can anyone help me to figure out how to configure and use Edit with GUI? I can't seem to figure out how to do it. I see many Moin site are using GUI. I have Moin installed on Fedora Core 4 with Apache. I can edit with text editor. Thanks. Hans -------------- next part -------------- An HTML attachment was scrubbed... URL: From nirs at actcom.net.il Fri Oct 21 08:29:33 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Fri Oct 21 08:29:33 2005 Subject: [Moin-user] Configure GUI MoinMoin In-Reply-To: References: Message-ID: <48128BE4-4247-11DA-B909-000A95B45AA0@actcom.net.il> On 21 Oct, 2005, at 17:21, Hans F. Schwing wrote: > Can anyone help me to figure out how to configure and use Edit with > GUI? I can't seem to figure out how to do it. I see many Moin site are > using GUI. I have Moin installed on Fedora Core 4 with Apache. I can > edit with text editor. This editor is only in release 1.5 which should be released at the end of the year. Best Regards, Nir Soffer From felciano at ingenuity.com Fri Oct 21 11:57:51 2005 From: felciano at ingenuity.com (Ramon Felciano) Date: Fri Oct 21 11:57:51 2005 Subject: [Moin-user] Newbie: attaching forms / metadata with pages? Message-ID: Hi -- I'd like to try use a wiki -- preferrably MoinMoin -- to track a set of evolving requirements. However, we need a way of associating some forms data with each page (e.g. rankings for difficulty, priority, expense, etc). Is there a straighforward way to set up a page template that includes such fields so that you could write a plug in that would create summary reports (e.g. a list of all requirements, ranked by priority)? I've looked through the 2 wiki pages that mention forms, but neither really indicates if and how this could be implemented today. Thanks, Ramon ----+---- This email message (and any attached document) contains information from Ingenuity Systems Inc. which may be considered confidential by Ingenuity, or which may be privileged or otherwise exempt from disclosure under law, and is for the sole use of the individual or entity to whom it is addressed. Any other dissemination, distribution or copying of this message is strictly prohibited. If you receive this message in error, please notify me and destroy the attached message (and all attached documents) immediately. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Richard.Hiers at covenantseminary.edu Fri Oct 21 12:36:05 2005 From: Richard.Hiers at covenantseminary.edu (Hiers, Richard) Date: Fri Oct 21 12:36:05 2005 Subject: [Moin-user] How to get [[Icon(icon.png)]] on same line as following text? Message-ID: Why would you use the macro when you could just use the smiley mark up: You can put it on the same line as your text also. Richard -----Original Message----- From: moin-user-admin at lists.sourceforge.net [mailto:moin-user-admin at lists.sourceforge.net] On Behalf Of Kenneth McDonald Sent: Thursday, October 20, 2005 11:51 PM To: moin-user at lists.sourceforge.net Subject: [Moin-user] How to get [[Icon(icon.png)]] on same line as following text? The following markup: [[Icon(attention.png)]] '''''New to the site? Please start here.''''' correctly inserts the attention icon. Unfortunately, the text after it ends up on the next line. Is there any way to keep the text on the same line? Thanks, Ken ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From nirs at actcom.net.il Fri Oct 21 12:41:30 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Fri Oct 21 12:41:30 2005 Subject: [Moin-user] Newbie: attaching forms / metadata with pages? In-Reply-To: References: Message-ID: <76F06FF4-426A-11DA-B909-000A95B45AA0@actcom.net.il> On 21 Oct, 2005, at 20:56, Ramon Felciano wrote: > I'd like to try use a wiki -- preferrably MoinMoin -- to track a set of > evolving requirements. However, we need a way of associating some forms > data with each page (e.g. rankings for difficulty, priority, expense, > etc). Is there a straighforward way to set up a page template that > includes such fields so that you could write a plug in that would > create > summary reports (e.g. a list of all requirements, ranked by priority)? > I've looked through the 2 wiki pages that mention forms, but neither > really indicates if and how this could be implemented today. There is no builtin way to do this. The simplest solution is to use definition lists for the meta data: key:: value And then use a FullSearch and regular expressions to look for the data. But this will give you very primitive interface. For better system, you will have to write your own search and display code. Another way to add meta data to a page is with #pragma: ## This is the top of the page #pragma key value This is page text... Pragmas are displayed on the page, but you can add some code to display them in your theme. Another way to add meta data to a page is with section parser: {{{ #!meta key:: value }}} Now it will be easier to search for your data, or to change the way it is presented, or to update a cache or an index when you render the page. See http://moinmoin.wikiwikiweb.de/SectionParser In all cases, you will have to write the code that search the meta data and display the results. If you got only 200-300 pages to search, a simple text search will be just fine. If you think about few thousands pages, you need some caching or maybe use indexing search engine like Lupy, which is bundled with release 1.3.5. With little modification, you can add the page meta data to the lupy index, like we already do with page links. Best Regards, Nir Soffer From fdrake at gmail.com Fri Oct 21 17:12:05 2005 From: fdrake at gmail.com (Fred Drake) Date: Fri Oct 21 17:12:05 2005 Subject: [Moin-user] Newbie: attaching forms / metadata with pages? In-Reply-To: <76F06FF4-426A-11DA-B909-000A95B45AA0@actcom.net.il> References: <76F06FF4-426A-11DA-B909-000A95B45AA0@actcom.net.il> Message-ID: <9cee7ab80510211710q6c989a2dk8499d5b3d2de8677@mail.gmail.com> On 10/21/05, Nir Soffer wrote: > Another way to add meta data to a page is with #pragma: > > ## This is the top of the page > #pragma key value ... > Pragmas are displayed on the page, but you can add some code to display > them in your theme. Is this new in 1.5? Or does it require something specific from the theme? I have a 1.3.5 installation, but #pragma doesn't seem to have any effect on the displayed result with either the wiki or rst parsers. -Fred -- Fred L. Drake, Jr. "Society attacks early, when the individual is helpless." --B.F. Skinner From nirs at actcom.net.il Fri Oct 21 17:25:58 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Fri Oct 21 17:25:58 2005 Subject: [Moin-user] Newbie: attaching forms / metadata with pages? In-Reply-To: <9cee7ab80510211710q6c989a2dk8499d5b3d2de8677@mail.gmail.com> References: <76F06FF4-426A-11DA-B909-000A95B45AA0@actcom.net.il> <9cee7ab80510211710q6c989a2dk8499d5b3d2de8677@mail.gmail.com> Message-ID: <1D626344-4292-11DA-B909-000A95B45AA0@actcom.net.il> On 22 Oct, 2005, at 2:10, Fred Drake wrote: >> Pragmas are displayed on the page, but you can add some code to >> display >> them in your theme. Sorry, I forgot the "not" :-) Pragmas are not displayed on the page, but you can add some code to display them in your theme. Best Regards, Nir Soffer From fdrake at gmail.com Fri Oct 21 18:58:41 2005 From: fdrake at gmail.com (Fred Drake) Date: Fri Oct 21 18:58:41 2005 Subject: [Moin-user] Newbie: attaching forms / metadata with pages? In-Reply-To: <1D626344-4292-11DA-B909-000A95B45AA0@actcom.net.il> References: <76F06FF4-426A-11DA-B909-000A95B45AA0@actcom.net.il> <9cee7ab80510211710q6c989a2dk8499d5b3d2de8677@mail.gmail.com> <1D626344-4292-11DA-B909-000A95B45AA0@actcom.net.il> Message-ID: <9cee7ab80510211857y6a6ff9d3ye1f259f394581455@mail.gmail.com> On 10/21/05, Nir Soffer wrote: > Sorry, I forgot the "not" :-) Ok, now I'm not feeling as much urge to upgrade, though I do want to test with the new version soon. I see how to pull them pragma values from the request, too; they'll be pretty easy to work with. Thanks for following up! -Fred -- Fred L. Drake, Jr. "Society attacks early, when the individual is helpless." --B.F. Skinner From keith.c.schwols at intel.com Sat Oct 22 06:42:31 2005 From: keith.c.schwols at intel.com (Schwols, Keith C) Date: Sat Oct 22 06:42:31 2005 Subject: [Moin-user] Links to anchors (on other pages) Message-ID: <0ADF78C6DF64D84CA1F8BDD3CC8C439802191CA3@cssmsx401.amr.corp.intel.com> Is there is a wiki link syntax to make a link to an anchor in another page on the wiki? This doesn't work -- ["ToolsLabMachines#anchorname"] [:ToolsLabMachines#achorname:Other Machines] I've been resorting to fully specify [http://...#anchorname]; which shows up with the external link icon. I'm (still) using 1.2 MoinMoin. Keith If a cute saying or a pretty poster is all it takes to motivate you, you probably have a very easy job. The kind that robots will be doing soon. From moin.askthem at gmail.com Sat Oct 22 11:29:22 2005 From: moin.askthem at gmail.com (Arp) Date: Sat Oct 22 11:29:22 2005 Subject: [Moin-user] I18N wordlists and memory usage Message-ID: <4910b3df0510221128q36be802ch9a460041b97b5619@mail.gmail.com> As I'm currently deciding on a webhosting contract I would like to take into consideration what the memory demands would be for running a system with say 10-15 languages each with their own wordlists for spellchecking. Any quick hints on calculating this (hashsize versus wordlist size)?? Thanks in advance for any pointers -- Arp From Richard.Hiers at covenantseminary.edu Sat Oct 22 11:32:53 2005 From: Richard.Hiers at covenantseminary.edu (Hiers, Richard) Date: Sat Oct 22 11:32:53 2005 Subject: [Moin-user] Links to anchors (on other pages) Message-ID: To link to an anchor on another wiki page write [wiki:Self:PageName#anchorname] or [wiki:Self:PageName#anchorname label text], where "PageName" is the name of the other page and "anchorname" is the identifier of the anchor on that page. -----Original Message----- From: moin-user-admin at lists.sourceforge.net [mailto:moin-user-admin at lists.sourceforge.net] On Behalf Of Schwols, Keith C Sent: Saturday, October 22, 2005 8:39 AM To: moin-user at lists.sourceforge.net Subject: [Moin-user] Links to anchors (on other pages) Is there is a wiki link syntax to make a link to an anchor in another page on the wiki? This doesn't work -- ["ToolsLabMachines#anchorname"] [:ToolsLabMachines#achorname:Other Machines] I've been resorting to fully specify [http://...#anchorname]; which shows up with the external link icon. I'm (still) using 1.2 MoinMoin. Keith If a cute saying or a pretty poster is all it takes to motivate you, you probably have a very easy job. The kind that robots will be doing soon. ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ Moin-user mailing list Moin-user at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user From jh at web.de Sat Oct 22 12:30:08 2005 From: jh at web.de (Juergen Hermann) Date: Sat Oct 22 12:30:08 2005 Subject: [Moin-user] I18N wordlists and memory usage In-Reply-To: <4910b3df0510221128q36be802ch9a460041b97b5619@mail.gmail.com> Message-ID: On Sat, 22 Oct 2005 20:28:02 +0200, Arp wrote: >As I'm currently deciding on a webhosting contract I would like to >take into consideration what the memory demands would be for running a >system with say 10-15 languages each with their own wordlists for >spellchecking. Any quick hints on calculating this (hashsize versus >wordlist size)?? Spellchecking is dbhash-based, i.e. has a rather low memory footprint. Ciao, J?rgen From jh at web.de Sat Oct 22 14:31:26 2005 From: jh at web.de (Juergen Hermann) Date: Sat Oct 22 14:31:26 2005 Subject: [Moin-user] I18N wordlists and memory usage In-Reply-To: <4910b3df0510221330g4e87f760xb82a92443a080fff@mail.gmail.com> Message-ID: On Sat, 22 Oct 2005 22:30:47 +0200, Arp wrote: >So by calculating c.a. 2-4MB per wordlist it would be safe to asume >worst case c.a. 5MB memory usage per dictionary? Meaning 50-100MB for >all languages ... ?? Again, the words are stored on DISC, and only the disc pages for words appearing in a checked page are loaded into memory at all. >Any experience with memory size needed for a minimum MoinMoin on >Linux, Python and Apache / (or Twisted). Would a virtual server with >256MB be possible or _way_ to little memory considering the wordlists? >(The next step up would be 512MB virtual server) Thomas can answer that probably, he runs enough wikis. Anyway, you should care about CPU much more than about memory ressources. Ciao, J?rgen From moin.askthem at gmail.com Sat Oct 22 15:35:32 2005 From: moin.askthem at gmail.com (Arp) Date: Sat Oct 22 15:35:32 2005 Subject: [Moin-user] I18N wordlists and memory usage In-Reply-To: References: <4910b3df0510221330g4e87f760xb82a92443a080fff@mail.gmail.com> Message-ID: <4910b3df0510221534v127088eeif44e6d71d6fa4625@mail.gmail.com> > >So by calculating c.a. 2-4MB per wordlist it would be safe to asume > >worst case c.a. 5MB memory usage per dictionary? Meaning 50-100MB for > >all languages ... ?? > > Again, the words are stored on DISC, and only the disc pages for words > appearing in a checked page are loaded into memory at all. Thanks again Juergen for your quick reply. The HelpOnSpellCheck ( http://moinmoin.wikiwikiweb.de/HelpOnSpellCheck ) states: } If the "dbhash" module is available with your Python installation, } the files in "dict" are read only once and stored in a hash table. } This speeds up the spell checking process because the number } of words in the checked page determines the time needed for the } checking, not the number of words in the dictionary (with 250000 } words, some hundred milliseconds instead of several seconds). So I figured installing dbhash would give the users a more responsive system, but wanted to know about memory footprint implications - hence my question. > Anyway, you should care about CPU much more than about memory ressources. This is an interesting point, as some of the providers I talked too said they stopped supporting python on their webhosting offers because they could always point directly at websites running python just by looking at the CPU usage stats. So I had some trouble finding a reliable provider that would offer python in the first place. How bad is this effect really and/or how badly does running MoinMoin affect the CPU load as compared to other Wiki systems that are maybe PHP or Perl based ?? I still have a choice althoug I _do_ like Moin a lot in the days I've played around with it now (Desktop Edition still however), but if I'm bound to get into all sorts of provider/performance trouble I should pobably be considering something else ... ? Anyone any experience / ideas on the matter ? -- Arp From p.f.moore at gmail.com Sun Oct 23 05:24:49 2005 From: p.f.moore at gmail.com (Paul Moore) Date: Sun Oct 23 05:24:49 2005 Subject: [Moin-user] Links to anchors (on other pages) In-Reply-To: References: Message-ID: <79990c6b0510230523w6b548de9o8ec11e58cac68528@mail.gmail.com> On 10/22/05, Hiers, Richard wrote: > To link to an anchor on another wiki page write > [wiki:Self:PageName#anchorname] or [wiki:Self:PageName#anchorname label > text], where "PageName" is the name of the other page and "anchorname" > is the identifier of the anchor on that page. That puts the little "external link" world icon on the link. Is it possible to do this without making the link look external? Thanks, Paul From gregwh at gmail.com Sun Oct 23 12:44:04 2005 From: gregwh at gmail.com (greg whittier) Date: Sun Oct 23 12:44:04 2005 Subject: [Moin-user] Alternate text for [" "] style links? In-Reply-To: <0FEEA5F0-9B74-4C04-A1A9-136D1D545C2F@sbcglobal.net> References: <0FEEA5F0-9B74-4C04-A1A9-136D1D545C2F@sbcglobal.net> Message-ID: You can use [:About Markers:Markers] Greg On 10/21/05, Kenneth McDonald wrote: > Is there a way to give alternate text for a link to a [" "] style page name? For example, something like > > > ["About Markers" Markers] > > > would point to to the same page as the link ["Lesson: Markers"], but would show up onscreen as 'Markers'. > > > I imagine I could use an http:// style reference, but something shorter and more transportable across sites would be nice. And I admit this is a fairly baroque use of custom page names :-) > > > Thanks, > Ken > > From brockn at gmail.com Sun Oct 23 15:11:43 2005 From: brockn at gmail.com (Brock Noland) Date: Sun Oct 23 15:11:43 2005 Subject: [Moin-user] Borders on images? Message-ID: <741dcbb80510231510x158b69d8scf0064b0bbf5497f@mail.gmail.com> Is there a way to create a border around an image in a list? Putting a table around it does not seem to work since it needs a newline to be interpreted as a table. Brock From tw-public at gmx.de Mon Oct 24 04:19:03 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon Oct 24 04:19:03 2005 Subject: [Moin-user] How to use a wiki page as the shared_intermap in moin 1.3.5? In-Reply-To: <000001c5d58c$d421f4a0$ed02a8c0@orsoft.de> References: <000001c5d58c$d421f4a0$ed02a8c0@orsoft.de> Message-ID: <435CBFDE.1020300@gmx.de> Hi Robert, > In 1.1. you could easily use shared_intermap to point to a text file You can do that with 1.3.5, too, but ... > was also a wiki page, as pages had a static file name an location. ... this isn't any more the case. > This allowed easy maintenance of interwiki definitions in the usual Wiki > way. With 1.3+ you can just use a wget call to the raw action of the interwiki wiki page. Maybe using cron. > As I've seen the central http://moinmoin.wikiwikiweb.de/InterWikiMap I was > wondering if you serve the InterWiki directly from there? We use wget to make the dist version of the file. > If 'Yes' then I would like to know how you do this by configuration? > If 'No' then I will think about a way to patch this in > wikiutil.resolve_wiki - should not be too difficult. I am thinking alog the > line of > > if filename.startswith("wiki:"): > #parse page instead of file The point why I didn't already do that, is that using a local file is worse for a wiki farm than using a (common) file. greetings, Thomas From tw-public at gmx.de Mon Oct 24 04:32:15 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon Oct 24 04:32:15 2005 Subject: [Moin-user] Discussion/Comments and section editing? In-Reply-To: <4910b3df0510202322v1d34eabbie6bdcd4bafab3171@mail.gmail.com> References: <4910b3df0510181126k67b92e4ep18a09f52391838e9@mail.gmail.com> <435624D7.9020200@gmx.de> <4910b3df0510202322v1d34eabbie6bdcd4bafab3171@mail.gmail.com> Message-ID: <435CC326.5000500@gmx.de> > I'll need some time to play around with it and had to spend most of > today's time on looking for an affordable hosting solution - many > hostingproviders seem to have given up on Python (something about > processor load? - but that's probaly best left for another thread). You can produce as much or as low processor load in python as in perl or php, so I think this is just nonsense by some bad providers. From tw-public at gmx.de Mon Oct 24 04:43:50 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon Oct 24 04:43:50 2005 Subject: [Moin-user] I18N wordlists and memory usage In-Reply-To: <4910b3df0510221534v127088eeif44e6d71d6fa4625@mail.gmail.com> References: <4910b3df0510221330g4e87f760xb82a92443a080fff@mail.gmail.com> <4910b3df0510221534v127088eeif44e6d71d6fa4625@mail.gmail.com> Message-ID: <435CC5C5.4080508@gmx.de> >> Anyway, you should care about CPU much more than about memory ressources. > This is an interesting point, as some of the providers I talked too > said they stopped supporting python on their webhosting offers because > they could always point directly at websites running python just by > looking at the CPU usage stats. Maybe this is because perl and php are ugly enough most people don't do really big stuff with them. > So I had some trouble finding a > reliable provider that would offer python in the first place. Maybe get a root server so you won't have a whining provider. If that's too expensive, get a root server together with some other people. What exactly do you want to do with your wiki install? Topics? Expected traffic? Expected space usage? Count of wikis? You know, we are hosting moin wikis. > How bad is this effect really and/or how badly does running MoinMoin > affect the CPU load as compared to other Wiki systems that are maybe > PHP or Perl based ?? Some moin operations are using more CPU than a wiki like usemod or phpwiki, not being as capable as moin, would do. Every feature has its price, some more, some less. But again, this is not python related. I can tell you, I also had to disable emacswiki on our server due to extremely high cpu load - and that is in perl, using much less code than moin. From moin.askthem at gmail.com Mon Oct 24 05:00:03 2005 From: moin.askthem at gmail.com (Arp) Date: Mon Oct 24 05:00:03 2005 Subject: [Moin-user] Discussion/Comments and section editing? In-Reply-To: <435CC326.5000500@gmx.de> References: <4910b3df0510181126k67b92e4ep18a09f52391838e9@mail.gmail.com> <435624D7.9020200@gmx.de> <4910b3df0510202322v1d34eabbie6bdcd4bafab3171@mail.gmail.com> <435CC326.5000500@gmx.de> Message-ID: <4910b3df0510240458j1759ce38wb32f61f8e143f80d@mail.gmail.com> Thomas wrote > You can produce as much or as low processor load in python as in perl or > php, so I think this is just nonsense by some bad providers. It seems you should know - so I'll take that as enough info to relief my mind; Thanks ;o) -- Arp From moin.askthem at gmail.com Mon Oct 24 05:37:33 2005 From: moin.askthem at gmail.com (Arp) Date: Mon Oct 24 05:37:33 2005 Subject: [Moin-user] I18N wordlists and memory usage In-Reply-To: <435CC5C5.4080508@gmx.de> References: <4910b3df0510221330g4e87f760xb82a92443a080fff@mail.gmail.com> <4910b3df0510221534v127088eeif44e6d71d6fa4625@mail.gmail.com> <435CC5C5.4080508@gmx.de> Message-ID: <4910b3df0510240534u75d03e50q824e4b9d6f05fffb@mail.gmail.com> On 10/24/05, Thomas Waldmann wrote: > Maybe this is because perl and php are ugly enough most people don't do > really big stuff with them. lol ;o) > Maybe get a root server so you won't have a whining provider. > If that's too expensive, get a root server together with some other people. > > What exactly do you want to do with your wiki install? Topics? Expected > traffic? Expected space usage? Count of wikis? It's a site for sharing ideas for low-cost educational materials for skills training during health professions education. Many less-resourced universities (especially in so called "underdeveloped" *duh* countries) have trouble aquiering expensive models for their students to do practical training sessions on and develop brillant alternatives that cost a few dollars and work just as well as the multi-$1000 models for sale by specialized companies. We want to offer a platform/repository for these universities to share their ideas for models and methods etc. As this is only a pilot/demo it will still be hard to "guesstimate" numbers for usage depending on how well the proposal is recieved at a conference in Vietnam in november. My best guess for the comming 3-6 months will be: - c.a. 20-100 topic pages with c.a. 1-5MB 'media' load (pix/vids) average each (50-500MB storage) - maybe 5-20 visitors/day reading 5-10 pages each (traffic probably < 5GB/mnth but could grow quickly, also depending on savyness of users when it comes to compressed media formats) Probably just _one_ wiki, but _very_ internationalized. I don't like the idea of having a farm with a wiki for every language as I feel it will incourage the different language threads to quickly grow appart and make things/ideas harder to track/find. >You know, we are hosting moin wikis. Yes, and please believe I considered that, but as you don't allow other languages than en/de to be used it was a no-go from the start. Also, as we are probably paying for this from our own pockets for the first year or so (to give it chance) cost _is_ a factor and I seem to remember something about 800 Euros/mnth for an offer with ample diskspace/bandwith. That, plus the fact that the law situation in Germany is somwhat daunting for a site that would be open enough for some lawyers friend to first upload NastyStuff (tm) and then quickly let his pal send an "Abmahnung" just to make a quick buck is a headache we don't want. If the project takes off and if/when we get funding for it, I'll be sure to route some back to the MoinMoin project too though ;) I'm beginning to understand that I probably will need full root access even to get Moin installed properly/efficiently so I'm currently considering an offer for a Virtual Dedicated Server (on 3GHz/P4) with 4GBdisk, 256MBmem and 50GBtraffic/mnth. I'm most worried about the 256MBmem and can upgrade in steps of 4G/256M to 8GB/512MB, 12G/768 etc for an extra 10Euro/mnth, but wouldn't mind if I can keep it at the standard offer. Any notes on that would be appreciated. > But again, this is not python related. I can tell you, I also had to > disable emacswiki on our server due to extremely high cpu load - and > that is in perl, using much less code than moin. Thanks for the explanation - I'll probably just have to go for it and see what happens, after all that is why we call this a pilot/test period ;o) -- Arp From soloturn at gmail.com Mon Oct 24 06:32:07 2005 From: soloturn at gmail.com (solo turn) Date: Mon Oct 24 06:32:07 2005 Subject: [Moin-user] how to store global attachments Message-ID: what would be the best way to store images, attachements useable: * for a whole wiki (standard attachment behaviour in mediawiki) * for a wiki farm (like mediawiki commons) -solo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From soloturn at gmail.com Mon Oct 24 09:13:00 2005 From: soloturn at gmail.com (solo turn) Date: Mon Oct 24 09:13:00 2005 Subject: [Moin-user] single page slide show Message-ID: hi, i tried single page slide show (downloaded your 0.3 version including technical theme), and it just works if i change the user preferences to "technical" style. but if i leave the user theme to "modern" or something else, it displays the bottom navigation wrong, and it does not switch to technical. i also tried to install the "theme" macro. no change. if i try this on your site http://nirs.dyndns.org/fix/SinglePageSlideShow i do not change any default style and it anyway works out of the box. it switches to technical layout for the presentation. what is missing, resp. what did you do additionally? i noticed that if i press "view source" your page somehow includes "slideshow.css", which mine does not. -solo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From urehse at gmx.de Mon Oct 24 16:25:43 2005 From: urehse at gmx.de (Uwe Rehse) Date: Mon Oct 24 16:25:43 2005 Subject: [Moin-user] Howto disable 'remember_me' ? Message-ID: <435D6D64.2060804@gmx.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have installed several wiki instances on the same computer. Now the users of one wiki ask me to disable the remember_me function for all users (the already known users as well as the new ones) of this specific wiki for security reasons. What would be the most appropriate way to do this ? According to the file CHANGES in version 1.2 exist the function config.cookie_lifetime, which was used to define the lifetime of the MOIN_ID cookie: a value < 0 has disabled (ignored) the remember_me function. What is the pen- dant in moin 1.3.5 and is it possible to setup such a behavior for one of several wikis, only ? Is there any way to realize an "automatic log out" after a defined period ? Thanks. Uwe - -- Uwe Rehse / urehse(at)gmx(dot)de -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDXW1kgKx90mHas58RAgIMAKCAUxnVGqZ3dCDIl/9B+HyK/Az99ACdFwHg N/DNjHRmS9DlDOe9V7xT+Jo= =FI17 -----END PGP SIGNATURE----- From nirs at actcom.net.il Mon Oct 24 23:37:37 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Mon Oct 24 23:37:37 2005 Subject: [Moin-user] Howto disable 'remember_me' ? In-Reply-To: <435D6D64.2060804@gmx.de> References: <435D6D64.2060804@gmx.de> Message-ID: <933EC01D-4521-11DA-9A9E-000A95B45AA0@actcom.net.il> On 25 Oct, 2005, at 1:25, Uwe Rehse wrote: > I have installed several wiki instances on the same computer. Now the > users of one wiki ask me to disable the remember_me function for all > users (the already known users as well as the new ones) of this > specific > wiki for security reasons. > > What would be the most appropriate way to do this ? According to the > file CHANGES in version 1.2 exist the function config.cookie_lifetime, > which was used to define the lifetime of the MOIN_ID cookie: a value > < 0 has disabled (ignored) the remember_me function. What is the pen- > dant in moin 1.3.5 and is it possible to setup such a behavior for one > of several wikis, only ? Is there any way to realize an "automatic log > out" after a defined period ? Yes, there is a cookie lifetime config option, check HelpOnConfiguration in your wiki. Best Regards, Nir Soffer From nirs at actcom.net.il Tue Oct 25 00:11:47 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Tue Oct 25 00:11:47 2005 Subject: [Moin-user] Re: single page slide show In-Reply-To: References: Message-ID: <4D2AE766-4526-11DA-9A9E-000A95B45AA0@actcom.net.il> On 24 Oct, 2005, at 18:11, solo turn wrote: > > i tried single page slide show (downloaded your 0.3 version including > technical theme), and it just works if i change the user preferences > to "technical" style. but if i leave the user theme to "modern" or > something else, it displays the bottom navigation wrong, and it does > not switch to technical. True, this is a design limit of that version, it works only with certain theme. > i also tried to install the "theme" macro. no change. Of course :-) > > if i try this on your site > http://nirs.dyndns.org/fix/SinglePageSlideShow i do not change any > default style and it anyway works out of the box. it switches to > technical layout for the presentation. True, I have a better version here, that use its own css file, so it will work with any theme you use, or actually any theme you add the slideshow css. The idea is that each theme can have a different slideshow design, to match the site design to the slideshow design. I will publish this improved version soon. Best Regards, Nir Soffer From nirs at actcom.net.il Tue Oct 25 00:17:45 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Tue Oct 25 00:17:45 2005 Subject: [Moin-user] Re: single page slide show In-Reply-To: References: Message-ID: On 24 Oct, 2005, at 18:11, solo turn wrote: I forgot to mention that if you have tla you can get my latest code from my public archive here: . Best Regards, Nir Soffer From gia at webde.de Tue Oct 25 01:01:15 2005 From: gia at webde.de (Gisbert Amm) Date: Tue Oct 25 01:01:15 2005 Subject: [Moin-user] isStandardPage() returns true on deleted pages Message-ID: <435DE603.7030109@webde.de> The isStandardPage() method of the PageEditor object returns "true" on deleted pages. The reason is probably that the page directory in the filesystem remains when a page is deleted (why?). Is this the intended behaviour? I'd rather consider it a bug. I want to create a page only if it doesn't exist. This is also the case if the page has been deleted before: it is not visible from the UI any more. When I use the exists() method of PageEditor all works like expected. However, the docstring of the exists() method states that I should rather use the higher level method isStandardPage(). Why does it behave different then? Regards, Gisbert Amm From nirs at actcom.net.il Tue Oct 25 01:34:08 2005 From: nirs at actcom.net.il (Nir Soffer) Date: Tue Oct 25 01:34:08 2005 Subject: [Moin-user] isStandardPage() returns true on deleted pages In-Reply-To: <435DE603.7030109@webde.de> References: <435DE603.7030109@webde.de> Message-ID: On 25 Oct, 2005, at 10:00, Gisbert Amm wrote: > The isStandardPage() method of the PageEditor object returns "true" on > deleted pages. The reason is probably that the page directory in the > filesystem remains when a page is deleted (why?). Because the deleted page is a standard page. > > Is this the intended behaviour? I'd rather consider it a bug. Yes, I don't consider it as a bug. > > I want to create a page only if it doesn't exist. This is also the > case if the page has been deleted before: it is not visible from the > UI any more. > When I use the exists() method of PageEditor all works like expected. > However, the docstring of the exists() method states that I should > rather use the higher level method isStandardPage(). The isStandard or isUnderlay are easier to use if you want to know if a page is a standard page or underlay page. If you want to know if a page exists, use exists. The strange behavior, returning True for deleted page, is cause by the delete implementation, which does not delete the page, and even does not make its name free, so you can't rename another page to that name. Some developers prefer this behavior. I think that moving a deleted page to a trash directory is a better solution. In this case, after you delete a page, isStandardPage will return False. Best Regards, Nir Soffer From robert.seeger at orsoft.de Tue Oct 25 05:59:05 2005 From: robert.seeger at orsoft.de (Robert Seeger) Date: Tue Oct 25 05:59:05 2005 Subject: [Moin-user] How to use a wiki page as the shared_intermap in moin 1.3.5 In-Reply-To: <20051025040406.B1FA8128AA@sc8-sf-spam2.sourceforge.net> Message-ID: <002a01c5d965$099e9800$ed02a8c0@orsoft.de> Hi Thomas, > > With 1.3+ you can just use a wget call to the raw action of the > interwiki wiki page. Maybe using cron. > thanks for the info. I'm an old Windows user who has not come near any Unix prompt since Linux and the WWW were invented (I used to be an OS/2 freak for many years ;-)), thus I'm not familiar with wget and don't like cron jobs etc. very much. I prefer that my edit of a page has immediate effect. However your mentioning of the raw action and wget pointed me in the right direction and I tried a different solution inspired by a function in MoinMoin\scripts\xmlrpc-tools\getmasterpages2 (I think it is yours?). It seems to work well, but I haven't done much testing yet. I created two wiki pages, one as a copy of moinmaster's InterWikiMap and one with my (Intranet) additions. Then I simply put the http URL with the raw action in shared_intermap: shared_intermap = ['http://ors-x-know/master13cgi/moin.cgi/InterWikiMap?action=raw','http://or s-x-know/master13cgi/moin.cgi/InterWikiMapOrs?action=raw'] Then I patched wikiutil.resolve_wiki: for filename in intermap_files: if filename and os.path.isfile(filename): f = open(filename, "r") lines.extend(f.readlines()) f.close() #RS elif filename and filename.startswith("http:"): #maybe this is an URL to get a raw page? pagedata = urllib.urlopen(filename).read() lines.extend(pagedata.split("\n")) #RS end I'm not sure about unicode and encoding issues, but at least page InterWiki in any wiki of my farm now shows all my InterWiki additions. Of course your solution using wget is much better from the performance point of view. Thanx and kind regards, Robert From tw-public at gmx.de Tue Oct 25 09:16:24 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue Oct 25 09:16:24 2005 Subject: [Moin-user] I18N wordlists and memory usage In-Reply-To: <4910b3df0510240534u75d03e50q824e4b9d6f05fffb@mail.gmail.com> References: <4910b3df0510221330g4e87f760xb82a92443a080fff@mail.gmail.com> <4910b3df0510221534v127088eeif44e6d71d6fa4625@mail.gmail.com> <435CC5C5.4080508@gmx.de> <4910b3df0510240534u75d03e50q824e4b9d6f05fffb@mail.gmail.com> Message-ID: <435E5705.1050301@gmx.de> > a platform/repository for these universities to share their ideas for > models and methods etc. Hmm, universities usually have good internet connectivity. Couldn't you just host some wiki machine there? Or use some of their machines? > Probably just _one_ wiki, but _very_ internationalized. I don't like > the idea of having a farm with a wiki for every language as I feel it > will incourage the different language threads to quickly grow appart > and make things/ideas harder to track/find. If you don't have many pages, you can do this in a single wiki using some naming convention like PageNameEn PageNameDe etc. - not pretty, but works. > Yes, and please believe I considered that, but as you don't allow > other languages than en/de to be used it was a no-go from the start. Ah, ok. Law is a bit of a problem sometimes. Too many bored lawyers here. > Also, as we are probably paying for this from our own pockets for the > first year or so (to give it chance) cost _is_ a factor and I seem to > remember something about 800 Euros/mnth for an offer with ample > diskspace/bandwith. That was the upper price for big commercial use, I think yours is rather educational. :) > sure to route some back to the MoinMoin project too though ;) Thanks. :) > I'm beginning to understand that I probably will need full root access > even to get Moin installed properly/efficiently so I'm currently > considering an offer for a Virtual Dedicated Server (on 3GHz/P4) with > 4GBdisk, 256MBmem and 50GBtraffic/mnth. I'm most worried about the > 256MBmem and can upgrade in steps of 4G/256M to 8GB/512MB, 12G/768 etc > for an extra 10Euro/mnth, but wouldn't mind if I can keep it at the > standard offer. 256MB should be ok if you don't run much else. Maybe ask them about CPU resources you get and whether they limit it. If they limit, you won't have a whining provider (or other people on that machine), but you will rather get 3GHz/x cpu power, where x is unknown. Make x known. If they don't limit and you do cpu expensive stuff, there might be similar trouble as on standard shared hosting. From ken at pixologic.com Tue Oct 25 12:38:59 2005 From: ken at pixologic.com (Pixologic Mail) Date: Tue Oct 25 12:38:59 2005 Subject: [Moin-user] Best way to disable 'short form' interwiki links? Message-ID: <8E338B06-EFF8-4C5E-A385-F5F22E38D3F0@pixologic.com> In other words, I want to make sure that 'SomeName:AnotherName' is _not_ taken to be an interwiki link; such links will only be given manually (i.e. wiki:someinterwikilink), since we need the ':' notation for a previously existing convention. There's no apparent way to disable this in the config file. I'm assuming for the time being that I'll have to go in and hack the "big ugly regular expression", but was wondering if anyone could suggest a more elegant way to do this. Thanks, Ken From moin.askthem at gmail.com Tue Oct 25 12:52:07 2005 From: moin.askthem at gmail.com (Arp) Date: Tue Oct 25 12:52:07 2005 Subject: [Moin-user] I18N wordlists and memory usage In-Reply-To: <435E5705.1050301@gmx.de> References: <4910b3df0510221330g4e87f760xb82a92443a080fff@mail.gmail.com> <4910b3df0510221534v127088eeif44e6d71d6fa4625@mail.gmail.com> <435CC5C5.4080508@gmx.de> <4910b3df0510240534u75d03e50q824e4b9d6f05fffb@mail.gmail.com> <435E5705.1050301@gmx.de> Message-ID: <4910b3df0510251250w360ac77fi6cc03382928c605c@mail.gmail.com> > Hmm, universities usually have good internet connectivity. Couldn't you > just host some wiki machine there? Or use some of their machines? Well, the university where the people with the idea for the site work has a somewhat restrictive person in charge of IT (plus it's a ms monoculture which makes it harder for me to run a 'copy' system at home for testing). Eventually we do hope that there will be enough enthousiasm though to host it with some big international org - but we will also have to see how these things work out 'politically', why it's also a good idea to not have one org/uni 'claim' the project from the start, and rather be an independant .org/.edu at first. > If you don't have many pages, you can do this in a single wiki using > some naming convention like PageNameEn PageNameDe etc. - not pretty, but > works. I was thinking subpages myself. It's very comlex material however to find a good/working convention for naming/finding of articles in a multilingual environment :( > Ah, ok. Law is a bit of a problem sometimes. Too many bored lawyers here. Well, let's put it his way: If I were a lawyer I'd probably set up shop in D tomorrow ;o) > 256MB should be ok if you don't run much else. > Maybe ask them about CPU resources you get and whether they limit it. Thanks - will do ... > If they don't limit and you do cpu expensive stuff, there might be > similar trouble as on standard shared hosting. Being a newbie, it's hard for me to guestimate if "running Moin" counts as CPU-expensive and how important it will be to be able (have rights on the server) to do the more optimal Apache mod_whatever configs or Twisted etc. Also, ist there any functions/macros/actions or 'way of setting up the wiki' I should try to avoid in order to keep the CPU cool - I can't seem to remember running in to Help/Info about such things. I mean things like: should or shouldn't I stuff all my pages with neat macros and actions that generate allsorts of list (as oposed to a more static system where I set up lists/indexes by hand).... (?) Thanks again for all the usefull info/hints so far! Cheers -- Arp From email at daveremy.com Tue Oct 25 19:36:23 2005 From: email at daveremy.com (Dave Remy) Date: Tue Oct 25 19:36:23 2005 Subject: [Moin-user] Error sending email from moinmoin standalone ... Message-ID: <000301c5d9d5$d7cc0260$5171379d@redmond.corp.microsoft.com> I am unable to send email from moinmoin standalone (using desktop edition). I am getting this message: Exception happened during processing of request from ('157.55.113.81', 3009) Traceback (most recent call last): File "SocketServer.pyo", line 463, in process_request_thread File "SocketServer.pyo", line 254, in finish_request File "MoinMoin\server\standalone.pyo", line 102, in __init__ File "SocketServer.pyo", line 521, in __init__ File "BaseHTTPServer.pyo", line 314, in handle File "BaseHTTPServer.pyo", line 308, in handle_one_request File "MoinMoin\server\standalone.pyo", line 113, in do_POST File "MoinMoin\server\standalone.pyo", line 166, in serveMoin File "MoinMoin\request.pyo", line 924, in run File "MoinMoin\request.pyo", line 961, in print_exception File "MoinMoin\request.pyo", line 1618, in write File "socket.pyo", line 256, in write File "socket.pyo", line 243, in flush error: (10054, 'Connection reset by peer') Any ideas on how to fix or perhaps debug further? thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fdrake at gmail.com Tue Oct 25 21:51:24 2005 From: fdrake at gmail.com (Fred Drake) Date: Tue Oct 25 21:51:24 2005 Subject: [Moin-user] LanguagePackages Message-ID: <9cee7ab80510252148k677a27a4o75b2c01dbcdb8aee@mail.gmail.com> I finally made a few minutes to look at the LanguagePackages: http://moinmoin.wikiwikiweb.de/LanguagePackages This worked like a charm! Thanks! I especially like that my list of templates has been substantially reduced, so that the templates specific to my site are easier to locate. -Fred -- Fred L. Drake, Jr. "Society attacks early, when the individual is helpless." --B.F. Skinner From Cleveland at winnefox.org Wed Oct 26 08:34:27 2005 From: Cleveland at winnefox.org (Jody Cleveland) Date: Wed Oct 26 08:34:27 2005 Subject: [Moin-user] Error when running ./moin.py Message-ID: <7D3DDF19D93C3642931C3EB8803165A90233118B@mail.winnefox.org> Hello, I just installed MoinMoin Wiki on a redhat 4.0AS server. I performed the BasicInstallation, and then did the WikiInstance. When I go to the directory of the instance and run ./moin.py I get this error: Traceback (most recent call last): File "./moin.py", line 88, in ? run(Config) File "/usr/lib/python2.3/site-packages/MoinMoin/server/standalone.py", line 476, in run config = configClass() File "/usr/lib/python2.3/site-packages/MoinMoin/server/__init__.py", line 82, in __init__ raise RuntimeError("Unknown user: '%s', check user setting" % RuntimeError: Unknown user: 'www-data', check user setting Any ideas what may be wrong? - jody From jh at web.de Wed Oct 26 09:12:49 2005 From: jh at web.de (Juergen Hermann) Date: Wed Oct 26 09:12:49 2005 Subject: [Moin-user] Best way to disable 'short form' interwiki links? In-Reply-To: <8E338B06-EFF8-4C5E-A385-F5F22E38D3F0@pixologic.com> Message-ID: On Tue, 25 Oct 2005 14:41:49 -0500, Pixologic Mail wrote: >There's no apparent way to disable this in the config file. I'm >assuming for the time being that I'll have to go in and hack the "big >ugly regular expression", but was wondering if anyone could suggest a >more elegant way to do this. Delete the line starting with "(?P". Elegant enuf? Ciao, J?rgen From nirs at freeshell.org Wed Oct 26 09:26:47 2005 From: nirs at freeshell.org (Nir Soffer) Date: Wed Oct 26 09:26:47 2005 Subject: [Moin-user] Error when running ./moin.py In-Reply-To: <7D3DDF19D93C3642931C3EB8803165A90233118B@mail.winnefox.org> References: <7D3DDF19D93C3642931C3EB8803165A90233118B@mail.winnefox.org> Message-ID: <030F1E8A-463D-11DA-9204-000A95B45AA0@freeshell.org> On 26 Oct, 2005, at 17:33, Jody Cleveland wrote: > I just installed MoinMoin Wiki on a redhat 4.0AS server. > > I performed the BasicInstallation, and then did the WikiInstance. When > I > go to the directory of the instance and run ./moin.py I get this error: > > Traceback (most recent call last): > File "./moin.py", line 88, in ? > run(Config) > File > "/usr/lib/python2.3/site-packages/MoinMoin/server/standalone.py", > line 476, in run > config = configClass() > File "/usr/lib/python2.3/site-packages/MoinMoin/server/__init__.py", > line 82, in __init__ > raise RuntimeError("Unknown user: '%s', check user setting" % > RuntimeError: Unknown user: 'www-data', check user setting > > Any ideas what may be wrong? The problem is (as the error told you) - you don't have the user www-data. This user exists on Debian and work for many people. You should check what is the name of the user and group used by Apache, usually by doing: egrep '^(User|Group)' /etc/httpd/httpd.conf It would be nice if someone would make an RPM package for red that that contain the correct name, or fetch is from the Apache configuration file. Best Regards, Nir Soffer From Cleveland at winnefox.org Wed Oct 26 12:09:07 2005 From: Cleveland at winnefox.org (Jody Cleveland) Date: Wed Oct 26 12:09:07 2005 Subject: [Moin-user] Error when running ./moin.py Message-ID: <7D3DDF19D93C3642931C3EB8803165A9023311AF@mail.winnefox.org> > The problem is (as the error told you) - you don't have the > user www-data. This user exists on Debian and work for many > people. You should check what is the name of the user and > group used by Apache, usually by doing: > > egrep '^(User|Group)' /etc/httpd/httpd.conf > > It would be nice if someone would make an RPM package for red > that that contain the correct name, or fetch is from the > Apache configuration file. The user and group is apache. I made the change, and it starts fine now. Now, I've got another question. I'd like to start this as a daemon. But, when I run ./moin start I get this error -bash: ./moin: No such file or directory. Running ./moin.py works fine, I'd just rather it be running in the background. Any ideas? - jody From David.Remy at microsoft.com Wed Oct 26 12:44:47 2005 From: David.Remy at microsoft.com (Dave Remy) Date: Wed Oct 26 12:44:47 2005 Subject: [Moin-user] Error sending email from moinmoin standalone ... Message-ID: Following up on this. Is there a way I can start moin (moin.exe, desktop) in a more verbose mode to help diagnose the problem below? ________________________________ From: moin-user-admin at lists.sourceforge.net [mailto:moin-user-admin at lists.sourceforge.net] On Behalf Of Dave Remy Sent: Tuesday, October 25, 2005 7:35 PM To: moin-user at lists.sourceforge.net Subject: [Moin-user] Error sending email from moinmoin standalone ... I am unable to send email from moinmoin standalone (using desktop edition). I am getting this message: Exception happened during processing of request from ('157.55.113.81', 3009) Traceback (most recent call last): File "SocketServer.pyo", line 463, in process_request_thread File "SocketServer.pyo", line 254, in finish_request File "MoinMoin\server\standalone.pyo", line 102, in __init__ File "SocketServer.pyo", line 521, in __init__ File "BaseHTTPServer.pyo", line 314, in handle File "BaseHTTPServer.pyo", line 308, in handle_one_request File "MoinMoin\server\standalone.pyo", line 113, in do_POST File "MoinMoin\server\standalone.pyo", line 166, in serveMoin File "MoinMoin\request.pyo", line 924, in run File "MoinMoin\request.pyo", line 961, in print_exception File "MoinMoin\request.pyo", line 1618, in write File "socket.pyo", line 256, in write File "socket.pyo", line 243, in flush error: (10054, 'Connection reset by peer') Any ideas on how to fix or perhaps debug further? thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Thu Oct 27 07:29:22 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu Oct 27 07:29:22 2005 Subject: [Moin-user] Best way to disable 'short form' interwiki links? In-Reply-To: <8E338B06-EFF8-4C5E-A385-F5F22E38D3F0@pixologic.com> References: <8E338B06-EFF8-4C5E-A385-F5F22E38D3F0@pixologic.com> Message-ID: <4360E0E6.9090509@gmx.de> > In other words, I want to make sure that 'SomeName:AnotherName' is _not_ > taken to be an interwiki link; such links will only be given manually > (i.e. wiki:someinterwikilink), since we need the ':' notation for a > previously existing convention. I changed interwiki markup detection recently to only render a interwiki link when the left side is on the interwiki map (intermap.txt). So it won't trigger when you write what:ever, except when there is a wiki known as "what" in intermap.txt. The change is in current 1.5 code and there will be a beta soon. From tw-public at gmx.de Thu Oct 27 07:39:41 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu Oct 27 07:39:41 2005 Subject: [Moin-user] I18N wordlists and memory usage In-Reply-To: <4910b3df0510251250w360ac77fi6cc03382928c605c@mail.gmail.com> References: <4910b3df0510221330g4e87f760xb82a92443a080fff@mail.gmail.com> <4910b3df0510221534v127088eeif44e6d71d6fa4625@mail.gmail.com> <435CC5C5.4080508@gmx.de> <4910b3df0510240534u75d03e50q824e4b9d6f05fffb@mail.gmail.com> <435E5705.1050301@gmx.de> <4910b3df0510251250w360ac77fi6cc03382928c605c@mail.gmail.com> Message-ID: <4360E346.60600@gmx.de> >> If they don't limit and you do cpu expensive stuff, there might be >> similar trouble as on standard shared hosting. > > Being a newbie, it's hard for me to guestimate if "running Moin" > counts as CPU-expensive and how important it will be to be able (have > rights on the server) to do the more optimal Apache mod_whatever > configs or Twisted etc. Whether moin is cpu intensive or not depends on what you do. If you run a small wiki with not many page and not many visitors, your cpu will be rather bored. If a some dozen of googlebots (or other bots) raid your wiki or some genius of a user thinks he must mirror the wiki with the usual inappropriate tools, your CPU can be at a quite high load. Same for some extensions. I tried that "dot" graph stuff and some of it eats memory chips. The gdchart graphics stuff can also make some load, when abused. CGI is the slowest way to run moin, but can be appropriate for small sites. Everything else is faster, because moin code is persistently in memory. From moin.askthem at gmail.com Thu Oct 27 11:31:38 2005 From: moin.askthem at gmail.com (Arp) Date: Thu Oct 27 11:31:38 2005 Subject: [Moin-user] I18N wordlists and memory usage In-Reply-To: <4360E346.60600@gmx.de> References: <4910b3df0510221330g4e87f760xb82a92443a080fff@mail.gmail.com> <4910b3df0510221534v127088eeif44e6d71d6fa4625@mail.gmail.com> <435CC5C5.4080508@gmx.de> <4910b3df0510240534u75d03e50q824e4b9d6f05fffb@mail.gmail.com> <435E5705.1050301@gmx.de> <4910b3df0510251250w360ac77fi6cc03382928c605c@mail.gmail.com> <4360E346.60600@gmx.de> Message-ID: <4910b3df0510271129x2115e645xec73cdfbc76a203a@mail.gmail.com> Thanks a lot for all the patient answers to Thomas and others! I'm sure I'll run into some more things, but this will help me make some decisions for now ... On 10/27/05, Thomas Waldmann wrote: > >> If they don't limit and you do cpu expensive stuff, there might be > >> similar trouble as on standard shared hosting. > > > > Being a newbie, it's hard for me to guestimate if "running Moin" > > counts as CPU-expensive and how important it will be to be able (have > > rights on the server) to do the more optimal Apache mod_whatever > > configs or Twisted etc. > > Whether moin is cpu intensive or not depends on what you do. > > If you run a small wiki with not many page and not many visitors, your > cpu will be rather bored. > > If a some dozen of googlebots (or other bots) raid your wiki or some > genius of a user thinks he must mirror the wiki with the usual > inappropriate tools, your CPU can be at a quite high load. > > Same for some extensions. I tried that "dot" graph stuff and some of it > eats memory chips. The gdchart graphics stuff can also make some load, > when abused. > > CGI is the slowest way to run moin, but can be appropriate for small sites. > > Everything else is faster, because moin code is persistently in memory. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. > Get Certified Today * Register for a JBoss Training Course > Free Certification Exam for All Training Attendees Through End of 2005 > Visit http://www.jboss.com/services/certification for more information > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -- Arp From oneman at onemanifest.net Sat Oct 29 15:37:53 2005 From: oneman at onemanifest.net (Peter Teunissen) Date: Sat Oct 29 15:37:53 2005 Subject: [Moin-user] NameError in apache's error.log Message-ID: <04E619B0-0880-41C0-B193-3EC6E4FD3112@onemanifest.net> Hi, I'm trying to run moinmoin on debian Sarge PowerPC. All is setup and working (apache2, mod_cgi, mod_python, moinmoin itself) but I can't get the moinmoin instance to run. When accessing my wiki I get an apache internal server error. I see serveral errors in apache's error.log. Most seem to be not critical. But the script stops with a NameError (see below) stating that my wiki is not defined. The onewiki.py file is there however in / etc/moin/ I did some googling, but today google just isn't my friend. What could be causing this error or where could I look for solutions? Thx, Peter In apache's error.log I see this: [Sat Oct 29 23:42:00 2005] [error] [client xxx.xxx.xxx.xxx] sys:1: DeprecationWarning: Non-ASCII character '\\xfc' in file /var/www/ www.onemanifest.net/onewiki/moin.cgi on line 8, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details [Sat Oct 29 23:42:00 2005] [error] [client xxx.xxx.xxx.xxx] /usr/lib/ python2.3/site-packages/MoinMoin/wikiutil.py:11: DeprecationWarning: Non-ASCII character '\\xfc' in file /usr/lib/python2.3/site-packages/ MoinMoin/version.py on line 8, but no encoding declared; see http:// www.python.org/peps/pep-0263.html for details [Sat Oct 29 23:42:00 2005] [error] [client xxx.xxx.xxx.xxx] from MoinMoin import util, version, config [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] Traceback (most recent call last): [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/ var/www/www.onemanifest.net/onewiki/moin.cgi", line 38, in ? [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] request = RequestCGI() [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/ usr/lib/python2.3/site-packages/MoinMoin/request.py", line 1143, in __init__ [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] self._setup_vars_from_std_env(os.environ) [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/ usr/lib/python2.3/site-packages/MoinMoin/request.py", line 281, in _setup_vars_from_std_env [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] self._load_multi_cfg() [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/ usr/lib/python2.3/site-packages/MoinMoin/request.py", line 162, in _load_multi_cfg [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] self.cfg = multiconfig.getConfig(self.url) [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/ usr/lib/python2.3/site-packages/MoinMoin/multiconfig.py", line 59, in getConfig [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] match = url_re().match(url) [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/ usr/lib/python2.3/site-packages/MoinMoin/multiconfig.py", line 34, in url_re [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] farmconfig = __import__('farmconfig', globals(), {}) [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/ etc/moin/farmconfig.py", line 36, in ? [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] wikis = [ [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] NameError [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] : [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] name 'onewiki' is not defined [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] [Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: moin.cgi From nirs at freeshell.org Sat Oct 29 15:50:43 2005 From: nirs at freeshell.org (Nir Soffer) Date: Sat Oct 29 15:50:43 2005 Subject: [Moin-user] NameError in apache's error.log In-Reply-To: <04E619B0-0880-41C0-B193-3EC6E4FD3112@onemanifest.net> References: <04E619B0-0880-41C0-B193-3EC6E4FD3112@onemanifest.net> Message-ID: <14482E6E-48CE-11DA-B6D6-000A95B45AA0@freeshell.org> On 30 Oct, 2005, at 0:36, Peter Teunissen wrote: > I see serveral errors in apache's error.log. Most seem to be not > critical. But the script stops with a NameError (see below) stating > that my wiki is not defined. The onewiki.py file is there however in > /etc/moin/ Looks like you forgot to quote the name: wikis = [('onewiki', r'^foo...')] Do you have more than one wiki? if not, you do not need farmconfig - remove it and name your config file wikiconfig.py. Best Regards, Nir Soffer From wang.donghua at gmail.com Sun Oct 30 00:42:51 2005 From: wang.donghua at gmail.com (hitluckyfox) Date: Sun Oct 30 00:42:51 2005 Subject: [Moin-user] when the new version of moinmoinwiki desktop Message-ID: <20051030152155.22DB.WANG.DONGHUA@gmail.com> Hello! I want to know when the new version of moinmoniwikidesktop release. Can anyone tell me? Thanks. Hitluckyfox From tw-public at gmx.de Mon Oct 31 06:55:15 2005 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon Oct 31 06:55:15 2005 Subject: [Moin-user] Halloween Beta Message-ID: <43662CE0.7070406@gmx.de> Moin :) Just wanted to drop a note that we will have a "Halloween Beta" of MoinMoin 1.5 tonight. See http://moinmoin.wikiwikiweb.de/MoinBeta for details. Have fun, Thomas From om-lists-wiki at omx.ch Mon Oct 31 09:29:03 2005 From: om-lists-wiki at omx.ch (Olivier Mueller) Date: Mon Oct 31 09:29:03 2005 Subject: [Moin-user] Halloween Beta In-Reply-To: <43662CE0.7070406@gmx.de> References: <43662CE0.7070406@gmx.de> Message-ID: <1130779694.1720.3.camel@bigapple.omnis.ch> On Mon, 2005-10-31 at 15:40 +0100, Thomas Waldmann wrote: > Just wanted to drop a note that we will have a "Halloween Beta" of > MoinMoin 1.5 tonight. > See http://moinmoin.wikiwikiweb.de/MoinBeta for details. uhuhuh, scary! :-) Till then I have to find out if there is a safe way to keep 2 different version (1.4 & 1.5) of moinmoin running with same data tree. I guess it shouldn't be a problem... regards, Olivier From bbarker at traxmss.com Mon Oct 31 15:29:34 2005 From: bbarker at traxmss.com (Bill Barker) Date: Mon Oct 31 15:29:34 2005 Subject: [Moin-user] external file link - not working in Firefox Message-ID: <4366A9B6.1010902@traxmss.com> MoinMoin 1.3.5 FireFox 1.0.7 External file link not working in FireFox In the past I have found that the parsing of external file links is pretty flexible - e.g. all of these formats work with Internet Exploder (Ver 6). [file://///machine/share/path/file.htm Click to view] [file:\\machine\path%20with%20spaces\file.txt Click to view] [file:///%5C%5Cmachine%5Cpath%5Cfile.pdf Click to view] [file:///\\machine\path\test.txt Click to view] [file://machine/path/file.htm Click to view] However - they don't work with Firefox 1.0.7 Clicking the link has no result. You can right-click the link, and from the pop-up menu select "copy link location" and paste the url into the Address Bar - then it works OK. What am I missing? -------------- next part -------------- A non-text attachment was scrubbed... Name: bbarker.vcf Type: text/x-vcard Size: 346 bytes Desc: not available URL: From markus.liebelt at online.de Mon Oct 31 23:33:19 2005 From: markus.liebelt at online.de (Markus Liebelt) Date: Mon Oct 31 23:33:19 2005 Subject: [Moin-user] external file link - not working in Firefox In-Reply-To: <4366A9B6.1010902@traxmss.com> References: <4366A9B6.1010902@traxmss.com> Message-ID: Hello Bill, I had the same problem and I think, it has something to do with security. That means allowing a file link in a page provided by HTTP may be a security hole, so modern browser (Opera 7/8, Internet Explorer 6, Firefox 1.0.7) don't allow it by default. Firefox has a way to allow it. See the messages in http://forums.mozillazine.org/viewtopic.php?t=283357&highlight=security+open+local+file There it is explained how to allow Firefox to follow file links. Short summary: 1. You need to open about:config in the address bar of Firefox, 2. scroll down to security.checkloadurl and set it to false. Bye Markus PS: I implemented a combination of macro and action to allow just that, but the syntax for macros is so awful, that it is easier to explain how do that copy/paste to get the contents of a file link. On Tue, 01 Nov 2005 00:33:10 +0100, Bill Barker wrote: > MoinMoin 1.3.5 > FireFox 1.0.7 > > External file link not working in FireFox > In the past I have found that the parsing of external file links is > pretty flexible - e.g. all of these formats work with Internet Exploder > (Ver 6). > > [file://///machine/share/path/file.htm Click to view] > > [file:\\machine\path%20with%20spaces\file.txt Click to view] > > [file:///%5C%5Cmachine%5Cpath%5Cfile.pdf Click to view] > > [file:///\\machine\path\test.txt Click to view] > > [file://machine/path/file.htm Click to view] > > However - they don't work with Firefox 1.0.7 > Clicking the link has no result. You can right-click the link, and from > the pop-up menu select "copy link location" and paste the url into the > Address Bar - then it works OK. > > What am I missing? >