From minsukim at jikji.org Thu Apr 1 04:44:23 2004 From: minsukim at jikji.org (Min-Soo Kim) Date: Thu Apr 1 04:44:23 2004 Subject: [Moin-user] UserPreferences / Access Control References: <3FCB656B.6080002@uni-paderborn.de> <3FCB6A46.6020705@gmx.de> <3FCB71CC.4050307@uni-paderborn.de> Message-ID: <001101c417e8$47c28b40$9fff1e18@ce1.client2.attbi.com> Hello, Is there any outcome of IRC or ICQ you'd like to share? I have the exact same problem here. I used "require valid user", and the only way to avoid the issue is comment it out. Regards, Minsoo. ----- Original Message ----- From: "Oliver St?ker" To: "Thomas Waldmann" Cc: Sent: Tuesday, December 02, 2003 1:52 AM Subject: Re: [Moin-user] UserPreferences / Access Control > > > Thomas Waldmann wrote: > > >> I've just updated MoinMoin 1.1 from Revision 1.173 to 1.178 on SuSE Linux > >> 8.2 (Apache 2.xx) and want to protect it from external access. But when I > >> add the follwing lines to the httpd.conf : > >> > >> ScriptAlias /test_wiki "/home/httpd/test_wiki/moin.cgi" > >> > >> [...] > >> require user test > >> > > > > That should be rather "require valid user" or similar, so that all users > > (or all of a certain group) can login. > > Usually I have a group. "test" is just a Test-Login. ;-) > > >> MoinMoin doesn't remember my User-Login. > >> The Moin-Account ist properly created and the cookie saved by the browser > >> (Netscape FireBird and IE6). > >> But: the cookie-information is not read by MoinMoin. > > > > Strange. But maybe there is something wrong. A user "test" should not > > get accepted by a moin with ACLs switched on. IIRC, it requires you to > > enter a CamelCase WikiName as username (and also password and email). > > > > So maybe try with "TestUser" (both in httpd.users and MoinMoin account > > data). > > Yes, when I have a TestUser in "httpd.users" MoinMoin remembers the login > of "TestUser". > > Does MoinMoin really interact with the Apache users? Do they have to be the > same? Is there a way to switch it of (in the config)? > > I'd like to have the Users authenticate with their Unix-login-Name (it is > used for some other non-public parts on the server) and have a different > CamelCase Name in the Wiki. Is that possible? > > > If it doesnt work, modify your config to know "TestUser" so we can try > > from externally - or meet us on IRC for debugging ;) > > What about ICQ? > > > ...Oliver > -- > -= Computers are not intelligent - they only think they are. =- > > Oliver St?ker > =============================================================== > [privat] Grimmestr. 20 * 33098 Paderborn * Tel: 05251/8728755 > [dienstlich] W1.111 * revilo at chemie.upb.de * Tel: 05251/60-5466 > =============================================================== > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From revilo at uni-paderborn.de Thu Apr 1 06:14:00 2004 From: revilo at uni-paderborn.de (=?ISO-8859-15?Q?Oliver_St=FCker?=) Date: Thu Apr 1 06:14:00 2004 Subject: [Moin-user] UserPreferences / Access Control In-Reply-To: <001101c417e8$47c28b40$9fff1e18@ce1.client2.attbi.com> References: <3FCB656B.6080002@uni-paderborn.de> <3FCB6A46.6020705@gmx.de> <3FCB71CC.4050307@uni-paderborn.de> <001101c417e8$47c28b40$9fff1e18@ce1.client2.attbi.com> Message-ID: <406C2361.9040905@uni-paderborn.de> It's not a bug, it's a feature. ;-) The Usernames on the Web-server and in MoinMoin have to be the same. Off-list I discussed with Thomas: Thomas Waldmann wrote: > Oliver St?ker wrote: >> Does MoinMoin really interact with the Apache users? > > The web server tells moin that "TestUser" is already authenticated, > Moin just believes that and gives out the cookie with the ID. > >> Do they have to be the same? > > Name has to be the same, password needs not to be the same. > >> Is there a way to switch it of (in the config)? > > Not yet. I think that hasn't changed since version 1.1 (I haven't tried 1.2.x). @Thomas: This Issue should be added to the FAQ and/or Install-Guide Bye... ...Oliver Min-Soo Kim schrieb: > Hello, > > Is there any outcome of IRC or ICQ you'd like to share? I have the exact same problem here. > > I used "require valid user", and the only way to avoid the issue is comment it out. > > Regards, Minsoo. > ----- Original Message ----- > From: "Oliver St?ker" > To: "Thomas Waldmann" > Cc: > Sent: Tuesday, December 02, 2003 1:52 AM > Subject: Re: [Moin-user] UserPreferences / Access Control > >> >>Thomas Waldmann wrote: >> >>>>I've just updated MoinMoin 1.1 from Revision 1.173 to 1.178 on SuSE Linux >>>>8.2 (Apache 2.xx) and want to protect it from external access. But when I >>>>add the follwing lines to the httpd.conf : >>>> >>>>ScriptAlias /test_wiki "/home/httpd/test_wiki/moin.cgi" >>>> >>>>[...] >>>> require user test >>>> >>> >>>That should be rather "require valid user" or similar, so that all users >>>(or all of a certain group) can login. >> >>Usually I have a group. "test" is just a Test-Login. ;-) >> >> >>>>MoinMoin doesn't remember my User-Login. >>>>The Moin-Account ist properly created and the cookie saved by the browser >>>>(Netscape FireBird and IE6). >>>>But: the cookie-information is not read by MoinMoin. >>> >>>Strange. But maybe there is something wrong. A user "test" should not >>>get accepted by a moin with ACLs switched on. IIRC, it requires you to >>>enter a CamelCase WikiName as username (and also password and email). >>> >>>So maybe try with "TestUser" (both in httpd.users and MoinMoin account >>>data). >> >>Yes, when I have a TestUser in "httpd.users" MoinMoin remembers the login >>of "TestUser". >> >>Does MoinMoin really interact with the Apache users? Do they have to be the >>same? Is there a way to switch it of (in the config)? >> >>I'd like to have the Users authenticate with their Unix-login-Name (it is >>used for some other non-public parts on the server) and have a different >>CamelCase Name in the Wiki. Is that possible? >> >> >>>If it doesnt work, modify your config to know "TestUser" so we can try >>>from externally - or meet us on IRC for debugging ;) -- /"\ Am Anfang war das Wort, und das Wort war Content Type text/plain \ / x ACSII Ribbon Campaign - / \ Sag NEIN zu HTML in E-Mail und News Oliver St?ker =============================================================== [privat] Grimmestr. 20 * 33098 Paderborn * Tel: 05251/8728755 [dienstlich] W1.111 * revilo at chemie.upb.de * Tel: 05251/60-5466 =============================================================== From sysadmin at ywlgroup.com Mon Apr 5 03:05:42 2004 From: sysadmin at ywlgroup.com (Systems Administrator (Tan Kee Wee)) Date: Mon Apr 5 03:05:42 2004 Subject: [Moin-user] Attachment links showing wrong server name Message-ID: <40712F28.6030503@ywlgroup.com> Hi all, I'm running moin wiki on my internet gateway. After upgrading from version 1 to 1.21, the links to the attachments are showing the internal servername. For example, external users accessing http://www.externalname.com/mymoin/maf are seeing: http://internalname.mydomain/mymoin/maf?action=AttachFile&do=get&target=myfile.xls instead of http://www.externalname.com/mymoin/maf?action=AttachFile&do=get&target=myfile.xls This does not seem to be a problem with the apache server. I am not running on port 80. Is there anyway to fix this? Thanks, Tan Kee Wee From yaghani at mac.com Mon Apr 5 14:40:08 2004 From: yaghani at mac.com (Yusuf Abdulghani) Date: Mon Apr 5 14:40:08 2004 Subject: [Moin-user] (no subject) Message-ID: Hi, If I try to link a file on my server using the following: [file://serveraddress/Directory/Starting/From/Root/filename.txt filename.txt] and then click on the link in the browse mode, a dialog box pops up saying that there is no such file on the server even though there is indeed a file on the server "serveraddress" located at "/Directory/Starting/From/Root/filename.txt" Any ideas why this could be happening. Any help is really appreciated. Thank you. Regards, Yusuf From toh at fuji-climb.org Mon Apr 5 20:55:01 2004 From: toh at fuji-climb.org (Fujio Nobori) Date: Mon Apr 5 20:55:01 2004 Subject: [Moin-user] (no subject) In-Reply-To: References: Message-ID: <20040406035400.GA9382@deshi.net.sony.co.jp> Hello, On Mon, Apr 05, 2004 at 02:39:49PM -0700, Yusuf Abdulghani wrote: > If I try to link a file on my server using the following: > > [file://serveraddress/Directory/Starting/From/Root/filename.txt > filename.txt] > > and then click on the link in the browse mode, a dialog box pops up > saying that there is no such file on the server even though there is > indeed a file on the server "serveraddress" located at > "/Directory/Starting/From/Root/filename.txt" > > Any ideas why this could be happening. Any help is really appreciated. I encountered the same problem and found that it was 'cache' which was causing this. The link should be right once you click 'Refresh cache', but this problem appears again and again if you change your network often. So, I decided I wouldn't use cache by setting: caching_formats = [] in moin_config.py. If you really need caching, I have no idea how you can solve this... -- Fujio Nobori il|li email: toh at fuji-climb.org q|@.@|p m. ( o ) .m ~~~~~~~~~~~~~ From toh at fuji-climb.org Mon Apr 5 21:24:04 2004 From: toh at fuji-climb.org (Fujio Nobori) Date: Mon Apr 5 21:24:04 2004 Subject: [Moin-user] (no subject) In-Reply-To: <20040406035400.GA9382@deshi.net.sony.co.jp> References: <20040406035400.GA9382@deshi.net.sony.co.jp> Message-ID: <20040406040335.GB9382@deshi.net.sony.co.jp> Hello, Sorry, I replied to a wrong email... Everybody in the world now knows how stupid I am... On Tue, Apr 06, 2004 at 12:54:00PM +0900, Fujio Nobori wrote: > Hello, > > On Mon, Apr 05, 2004 at 02:39:49PM -0700, Yusuf Abdulghani wrote: > > If I try to link a file on my server using the following: > > > > [file://serveraddress/Directory/Starting/From/Root/filename.txt > > filename.txt] > > > > and then click on the link in the browse mode, a dialog box pops up > > saying that there is no such file on the server even though there is > > indeed a file on the server "serveraddress" located at > > "/Directory/Starting/From/Root/filename.txt" > > > > Any ideas why this could be happening. Any help is really appreciated. > > I encountered the same problem and found that it was 'cache' > which was causing this. ---snip -- Fujio Nobori il|li email: toh at fuji-climb.org q|@.@|p m. ( o ) .m ~~~~~~~~~~~~~ From R.Bauer at fz-juelich.de Tue Apr 6 00:05:01 2004 From: R.Bauer at fz-juelich.de (Reimar Bauer) Date: Tue Apr 6 00:05:01 2004 Subject: [Moin-user] RandomQuote Message-ID: <4072566D.7010602@fz-juelich.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear all is it possible to set the input var of RandomQuote to the page where it is. Something like self? Reimar - -- Reimar Bauer Institut fuer Stratosphaerische Chemie (ICG-I) Forschungszentrum Juelich email: R.Bauer at fz-juelich.de - ------------------------------------------------------------------- ~ a IDL library at ForschungsZentrum Juelich ~ http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro.html =================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQFAclZr5aOc3Q9hk/kRAtQcAJ41IPGzjCx/ROJEVk8i1b5+G+LsOwCghXlp uFMj+v6j5thZE+oTHEzTmOU= =MNYi -----END PGP SIGNATURE----- From yaghani at mac.com Tue Apr 6 11:16:01 2004 From: yaghani at mac.com (Yusuf Abdulghani) Date: Tue Apr 6 11:16:01 2004 Subject: [Moin-user] (no subject) In-Reply-To: <20040406035400.GA9382@deshi.net.sony.co.jp> References: <20040406035400.GA9382@deshi.net.sony.co.jp> Message-ID: <59D57FA4-87F6-11D8-8A0B-0050E4506249@mac.com> Fuji, I am not sure if the cache is indeed the problem. The error message is: "You dont' have permission to view " This looks more like a permissions issue. I checked the permissions for this file and it is 755. I dont know why the wiki page does not allow me to even "look at" (or download) this file. Thanks. Yusuf On Apr 5, 2004, at 8:54 PM, Fujio Nobori wrote: > Hello, > > On Mon, Apr 05, 2004 at 02:39:49PM -0700, Yusuf Abdulghani wrote: >> If I try to link a file on my server using the following: >> >> [file://serveraddress/Directory/Starting/From/Root/filename.txt >> filename.txt] >> >> and then click on the link in the browse mode, a dialog box pops up >> saying that there is no such file on the server even though there is >> indeed a file on the server "serveraddress" located at >> "/Directory/Starting/From/Root/filename.txt" >> >> Any ideas why this could be happening. Any help is really appreciated. > > I encountered the same problem and found that it was 'cache' > which was causing this. > > The link should be right once you click 'Refresh cache', but > this problem appears again and again if you change your > network often. > > So, I decided I wouldn't use cache by setting: > > caching_formats = [] > > in moin_config.py. > > If you really need caching, I have no idea how you can solve > this... > > -- > Fujio Nobori il|li > email: toh at fuji-climb.org q|@.@|p > m. ( o ) .m > ~~~~~~~~~~~~~ > Yusuf Abdulghani Architecture and Performance Group Apple Computer 408-974-5100 There are 10 kinds of people: those who understand binary and those who don't! From toh at fuji-climb.org Tue Apr 6 19:15:01 2004 From: toh at fuji-climb.org (Fujio Nobori) Date: Tue Apr 6 19:15:01 2004 Subject: [Moin-user] Attachment links showing wrong server name In-Reply-To: <40712F28.6030503@ywlgroup.com> References: <40712F28.6030503@ywlgroup.com> Message-ID: <20040407021411.GA7996@deshi.net.sony.co.jp> Hello, On Mon, Apr 05, 2004 at 06:04:24PM +0800, Systems Administrator (Tan Kee Wee) wrote: > Hi all, > > I'm running moin wiki on my internet gateway. After upgrading from > version 1 to 1.21, the links > to the attachments are showing the internal servername. > > For example, external users accessing > http://www.externalname.com/mymoin/maf are seeing: > > > http://internalname.mydomain/mymoin/maf?action=AttachFile&do=get&target=myfile.xls > > instead of > > > http://www.externalname.com/mymoin/maf?action=AttachFile&do=get&target=myfile.xls > > This does not seem to be a problem with the apache server. I am not > running on port 80. Is there > anyway to fix this? I encountered the same problem and found that it was 'cache' which was causing this. The link should be right once you click 'Refresh cache', but this problem appears again and again if you change your network often. So, I decided I wouldn't use cache by setting: caching_formats = [] in moin_config.py. If you really need caching, I have no idea how you can solve this... -- Fujio Nobori il|li email: toh at fuji-climb.org q|@.@|p m. ( o ) .m ~~~~~~~~~~~~~ From toh at fuji-climb.org Tue Apr 6 19:23:04 2004 From: toh at fuji-climb.org (Fujio Nobori) Date: Tue Apr 6 19:23:04 2004 Subject: [Moin-user] (no subject) In-Reply-To: <59D57FA4-87F6-11D8-8A0B-0050E4506249@mac.com> References: <20040406035400.GA9382@deshi.net.sony.co.jp> <59D57FA4-87F6-11D8-8A0B-0050E4506249@mac.com> Message-ID: <20040407022238.GB7996@deshi.net.sony.co.jp> Hello, On Tue, Apr 06, 2004 at 11:15:14AM -0700, Yusuf Abdulghani wrote: > Fuji, > > I am not sure if the cache is indeed the problem. The error message is: > > "You dont' have permission to view " Sorry, my previous mail was intended to be a reply of another email. Silly me... > This looks more like a permissions issue. I checked the permissions for > this file and it is 755. I dont know why the wiki page does not allow > me to even "look at" (or download) this file. Regarding of your issue, I would check the permissons of directories. Does your web server have permission to change into the directory in which your file exists? All the directories has to have 'x' permission for the web server to go into them. -- Fujio Nobori il|li email: toh at fuji-climb.org q|@.@|p m. ( o ) .m ~~~~~~~~~~~~~ From rademacher at bartsch.de Wed Apr 7 00:52:02 2004 From: rademacher at bartsch.de (Christoph Rademacher) Date: Wed Apr 7 00:52:02 2004 Subject: [Moin-user] IE + Wiki 1.2.1 doesn't look very nice Message-ID: <4073B461.1070503@bartsch.de> Hi, i have upgraded my wiki to version 1.2.1 but now, the the logo in Internet Explorer is on the right side and and the quicklinks on the left, side, i know that the problem comes from the style sheets, the damn IE can't interpret them correctly, is there a way arround this? Thanks Christoph Rademacher -------------- next part -------------- A non-text attachment was scrubbed... Name: rademacher.vcf Type: text/x-vcard Size: 331 bytes Desc: not available URL: From tw-public at gmx.de Wed Apr 7 05:14:03 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Apr 7 05:14:03 2004 Subject: [Moin-user] IE + Wiki 1.2.1 doesn't look very nice In-Reply-To: <4073B461.1070503@bartsch.de> References: <4073B461.1070503@bartsch.de> Message-ID: <4073F05D.9090508@gmx.de> > i have upgraded my wiki to version 1.2.1 but now, the the logo in > Internet Explorer is > on the right side and and the quicklinks on the left, side, i know that > the problem comes > from the style sheets, the damn IE can't interpret them correctly, is > there a way arround this? First make sure you use the CSS that comes with moin 1.2.1. Then check if you have latest IE 6.0 + Updates (you should do that because of security reasons anyway). If it still doesn't work, search the CSS for [dir=rtl] (or similar stuff, right-to-left) and try to move that to come first (relating to the ltr, left-to-right stuff). If it still doesnt work remove rtl stuff (breaks rtl languages like hebrew). Another option would be to use a non-broken browser like Mozilla or flood microsoft with bug reports so they fix their stuff and make it compliant to W3C standards ;) From sbauer230 at hotmail.com Wed Apr 7 05:26:10 2004 From: sbauer230 at hotmail.com (Scott Bauer) Date: Wed Apr 7 05:26:10 2004 Subject: [Moin-user] Users HomePages Message-ID: Just wondering how a user is suppose to get to their homepage. Currently when a user registers, They have to manually go to http://server/wiki/UserName to create and view their homepage. I thought I read somewhere that there is suppose to be an icon when the user logs in to take them to theri homepage, but I can't find that. thanks for your help sb _________________________________________________________________ Persistent heartburn? Check out Digestive Health & Wellness for information and advice. http://gerd.msn.com/default.asp From sbauer230 at hotmail.com Wed Apr 7 05:29:02 2004 From: sbauer230 at hotmail.com (Scott Bauer) Date: Wed Apr 7 05:29:02 2004 Subject: [Moin-user] Admin user Message-ID: Is there such a thing as an Admin user? And if so, where can I find the username and password. I was trying out the ACL feature, and when I tried to grant myself admin rights to a page, it gave the following error message... "You can't change ACLs on this page since you have no admin rights on it!" This was on a page that I had created earlier. I had edit the page on the filesystem, in order to grant rights. Is there an Admin user that is able to grant rights on any page? thanks for your help sb _________________________________________________________________ Free up your inbox with MSN Hotmail Extra Storage! Multiple plans available. http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/ From yaghani at mac.com Wed Apr 7 10:59:01 2004 From: yaghani at mac.com (Yusuf Abdulghani) Date: Wed Apr 7 10:59:01 2004 Subject: [Moin-user] Users HomePages In-Reply-To: References: Message-ID: <1869441C-88BD-11D8-A6A1-0050E4506249@mac.com> On Apr 7, 2004, at 5:25 AM, Scott Bauer wrote: > Just wondering how a user is suppose to get to their homepage. > > Currently when a user registers, They have to manually go to > http://server/wiki/UserName to create and view their homepage. I > thought I read somewhere that there is suppose to be an icon when the > user logs in to take them to theri homepage, but I can't find that. > In the UserPreferences panel, check the "Show icon toolbar" box to show icons toolbar on the top right hand side of the page. If the user has created his homepage, then when (s)he logs in, they will see a home page icon in the icon toolbar. If their home page does not exist, then this icon will not be displayed. Clicking on this homepage icon takes them directory to their homepage. -------------- next part -------------- A non-text attachment was scrubbed... Name: moin-home.png Type: image/png Size: 135 bytes Desc: not available URL: -------------- next part -------------- <--- HOME page icon on right hand side of the page I hope this helps. Yusuf > thanks for your help > sb > > _________________________________________________________________ > Persistent heartburn? Check out Digestive Health & Wellness for > information and advice. http://gerd.msn.com/default.asp > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From crosseyedpenguin at yahoo.com Wed Apr 7 15:09:02 2004 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Wed Apr 7 15:09:02 2004 Subject: [Moin-user] IE + Wiki 1.2.1 doesn't look very nice In-Reply-To: <4073F05D.9090508@gmx.de> Message-ID: <20040407220834.49187.qmail@web14310.mail.yahoo.com> --- Thomas Waldmann wrote: > > i have upgraded my wiki to version 1.2.1 but now, the the logo in > > Internet Explorer is > > on the right side and and the quicklinks on the left, side, i know > that > > the problem comes > > from the style sheets, the damn IE can't interpret them correctly, > is > > there a way arround this? > > First make sure you use the CSS that comes with moin 1.2.1. > > Then check if you have latest IE 6.0 + Updates (you should do that > because of security reasons anyway). > > If it still doesn't work, search the CSS for [dir=rtl] (or similar > stuff, right-to-left) and try to move that to come first (relating to > > the ltr, left-to-right stuff). If it still doesnt work remove rtl > stuff > (breaks rtl languages like hebrew). > > Another option would be to use a non-broken browser like Mozilla or > flood microsoft with bug reports so they fix their stuff and make it > compliant to W3C standards ;) > I use both IE 6 and Mozilla, they look the same except for font sizes. I suspect your installation may be the cause with the sytle sheets not properly placed. Roger Haase __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From crosseyedpenguin at yahoo.com Wed Apr 7 15:16:08 2004 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Wed Apr 7 15:16:08 2004 Subject: [Moin-user] Users HomePages In-Reply-To: <1869441C-88BD-11D8-A6A1-0050E4506249@mac.com> Message-ID: <20040407221550.23176.qmail@web14302.mail.yahoo.com> --- Yusuf Abdulghani wrote: > > On Apr 7, 2004, at 5:25 AM, Scott Bauer wrote: > > > Just wondering how a user is suppose to get to their homepage. > > > > Currently when a user registers, They have to manually go to > > http://server/wiki/UserName to create and view their homepage. I > > thought I read somewhere that there is suppose to be an icon when > the > > user logs in to take them to theri homepage, but I can't find that. > > > > In the UserPreferences panel, check the "Show icon toolbar" box to > show > icons toolbar on the top right hand side of the page. If the user has > > created his homepage, then when (s)he logs in, they will see a home > page icon in the icon toolbar. If their home page does not exist, > then > this icon will not be displayed. Clicking on this homepage icon takes > > them directory to their homepage. > > > ATTACHMENT part 2 image/png x-unix-mode=0666; name=moin-home.png > <--- HOME page icon on right hand side of the page > > I hope this helps. > > Yusuf > > > thanks for your help > > sb > > The easiest way to create any new page without a reference from another page is to click on FindPage (in any page footer) and enter the pagename in the bottom text area. Then choose the homepage template if you want a home page. Roger Haase __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From crosseyedpenguin at yahoo.com Wed Apr 7 15:24:10 2004 From: crosseyedpenguin at yahoo.com (Roger Haase) Date: Wed Apr 7 15:24:10 2004 Subject: [Moin-user] Admin user In-Reply-To: Message-ID: <20040407222352.24076.qmail@web14302.mail.yahoo.com> --- Scott Bauer wrote: > Is there such a thing as an Admin user? And if so, where can I find > the > username and password. > > I was trying out the ACL feature, and when I tried to grant myself > admin > rights to a page, it gave the following error message... "You can't > change > ACLs on this page since you have no admin rights on it!" This was on > a page > that I had created earlier. > > I had edit the page on the filesystem, in order to grant rights. > > Is there an Admin user that is able to grant rights on any page? > > thanks for your help > sb > You probably want to edit acl_rights_default or acl_default in your moin_config.py and give specific rights to your user ID or any other user ID who should have admin rights. Roger Haase __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ From toh at fuji-climb.org Wed Apr 7 18:42:03 2004 From: toh at fuji-climb.org (Fujio Nobori) Date: Wed Apr 7 18:42:03 2004 Subject: [Moin-user] editlog and RecentChanges RSS In-Reply-To: References: Message-ID: <20040408014102.GA6582@deshi.net.sony.co.jp> Hello, I encountered this issue, too. I know the attached patch solves this issue, but I am not sure if this is the right fix... What I did is to override startElementNS() method of XMLGenerator class in python2.3/xml/sax/saxutils.py, because it cannot handle attr like: {(None, 'link'): 'http://someurl'} I mean, the first value in tuple cannot be None. This value is set in action/rss_rc.py, so this might be where the problem resides. Thomas (or some other developer), would you please give us the right fix? The RSS feature is, I think, really important for many people. -- Fujio Nobori il|li email: toh at fuji-climb.org q|@.@|p m. ( o ) .m ~~~~~~~~~~~~~ On Thu, Feb 26, 2004 at 06:16:26PM -0800, ms419 at freezone.co.uk wrote: > I've two Moin installations, one for which the RecentChanges RSS works > and one for which it doesn't ... > > Accessing the broken RSS feed - > /RecentChanges?action=macro¯o=RecentChanges&do=rss_rc - reports the > following: > > Please include this information in your bug reports!: > Python 2.2.1 (#1, Aug 10 2002, 15:08:14) [GCC 2.95.3 20010315 (release) > [FreeBSD]] - /usr/local/bin/python > FreeBSD ren.resnet.sfu.ca 4.6-RELEASE FreeBSD 4.6-RELEASE #2: Mon Sep > i386 > MoinMoin Release 1.1 [Revision 1.178] > > A problem occurred while running a Python script. Here is the sequence > of function calls leading up to the error, with the most recent > (innermost) call first. The exception attributes are: > ??????__doc__?= 'Mapping key not found.' > ??????__getitem__?= > > ??????__init__?= > > ??????__module__?= 'exceptions' > ??????__str__?= instance at 0x82a054c>> > ??????args?= () > > /usr/local/lib/python2.2/xml/sax/saxutils.py in > startElementNS(self=, > name=(None, 'link'), qname='rdf:Description', attrs={(None, 'link'): > 'http://rha.resnet.sfu.ca/rha/JackBates', > ('http://purl.org/rss/1.0/modules/wiki/', 'host'): > u'sfpirg6.stdntsvcs.sfu.ca'}) > ??101? > ??102?????????for?(name,?value)?in?attrs.items(): > > > ??103?????????????name?=?self._current_context[name[0]]?+?":"?+?name[1] > > ?????? name?= (None, 'link'), self?= > , global > _current_context?= undefined > ??104?????????????self._out.write('?%s=%s'?%?(name,?quoteattr(value))) > ??105?????????self._out.write('>') > > > /home/rha/lib/python/MoinMoin/wikixml/util.py in > startNode(self=, > tag=('http://www.w3.org/1999/02/22-rdf-syntax-ns#', 'Description'), > attr={(None, 'link'): 'http://rha.resnet.sfu.ca/rha/JackBates', > ('http://purl.org/rss/1.0/modules/wiki/', 'host'): > u'sfpirg6.stdntsvcs.sfu.ca'}) > ???32?????def?startNode(self,?tag,?attr={}): > ???33?????????tag,?qname?=?self._build_tag(tag) > > > ???34?????????self.startElementNS(tag,?qname,?attr) > > ?????? self?= , global > startElementNS?= undefined, tag?= > ('http://www.w3.org/1999/02/22-rdf-syntax-ns#', 'Description'), qname?= > 'rdf:Description', attr?= {(None, 'link'): > 'http://rha.resnet.sfu.ca/rha/JackBates', > ('http://purl.org/rss/1.0/modules/wiki/', 'host'): > u'sfpirg6.stdntsvcs.sfu.ca'} > ???35? > ???36?????def?endNode(self,?tag): > > > /home/rha/lib/python/MoinMoin/macro/RecentChanges.py in > do_rss_rc(pagename='RecentChanges', request= instance>) > ??460?????????????????##edattr[(None,?'link')]?=?link?+?"?action=info" > ??461?????????????handler.startNode(('dc',?'contributor')) > > > ??462?????????????handler.startNode(('rdf',?'Description'),?attr=edattr) > > ?????? handler?= , global > startNode?= undefined, global attr?= undefined, edattr?= {(None, > 'link'): 'http://rha.resnet.sfu.ca/rha/JackBates', > ('http://purl.org/rss/1.0/modules/wiki/', 'host'): > u'sfpirg6.stdntsvcs.sfu.ca'} > ??463?????????????handler.simpleNode(('rdf',?'value'),?edname) > ??464?????????????handler.endNode(('rdf',?'Description')) > > > /home/rha/lib/python/MoinMoin/wikimacro.py in > execute_external_macro(macro_name='RecentChanges', > function='do_rss_rc', args=('RecentChanges', instance>)) > ???69?????if?macro_name?in?macro.extension_macros: > > ???70?????????execute?=?pysupport.importName("MoinMoin.macro."?+?macro_n > ame,?function) > > > ???71?????????return?execute(*args) > > ?????? execute?= , args?= ('RecentChanges', > ) > ???72? > ???73?????#?try?plugin?dir > > > /home/rha/lib/python/MoinMoin/wikiaction.py in > do_macro(pagename='RecentChanges', request= instance>) > ??687?????function?=?'do_'?+?request.form["do"].value > ??688? > > > ??689?????wikimacro.execute_external_macro(macro_name,?function,?(pagena > me,?request)) > > ?????? wikimacro?= '/home/rha/lib/python/MoinMoin/wikimacro.pyc'>, global > execute_external_macro?= undefined, macro_name?= 'RecentChanges', > function?= 'do_rss_rc', pagename?= 'RecentChanges', request?= > > ??690? > ??691? > > > /home/rha/lib/python/MoinMoin/cgimain.py in run(properties={}) > ??210?????????else: > ??211?????????????try: > > > ??212?????????????????cgitb.handler() > > ?????? cgitb?= '/home/rha/lib/python/MoinMoin/support/cgitb.pyc'>, handler?= do_macro> > ??213?????????????except: > ??214?????????????????cgi.print_exception(*saved_exc) > > As far as I can tell, the important difference between the two is the > fifth field of the edit log: > > FrontPage 65.110.29.189 1077509118.3026841 cust-65-110-29-189.sfu- > resnet.connectwest.net 1077471682.08.79218 executive.jpg ATTNEW > Calendar 65.110.29.189 1077510724 cust-65-110-29-189.sfu- > resnet.connectwest.net 1077471682.08.79218 SAVE > FrontPage 65.110.29.189 1077510761 cust-65-110-29-189.sfu- > resnet.connectwest.net 1077471682.08.79218 SAVE > > If I remove it, the RecentChanges RSS works ... > > Why's it there? In only one case? > > Thanks! > > Jack > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id56&alloc_id438&op=click > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -------------- next part -------------- --- orig/MoinMoin/wikixml/util.py +++ mod/MoinMoin/wikixml/util.py @@ -50,6 +50,32 @@ self.endPrefixMapping(prefix or None) saxutils.XMLGenerator.endDocument(self) + def startElementNS(self, name, qname, attrs): + # this code is a bit modified version of python2.3/xml/sax/saxutils.py + # i needed this because startElementNS() in saxutils.py + # cannot handle attr whose name[0] is None, and action/rss_rc.py + # set this to None (ex. name = (None, 'link')). + if name[0] is None: + # if the name was not namespace-scoped, use the unqualified part + name = name[1] + else: + # else try to restore the original prefix from the namespace + name = self._current_context[name[0]] + ":" + name[1] + self._out.write('<' + name) + + for pair in self._undeclared_ns_maps: + self._out.write(' xmlns:%s="%s"' % pair) + self._undeclared_ns_maps = [] + + for (name, value) in attrs.items(): + if name[0] is None: + # if the name was not namespace-scoped, use the unqualified part + name = name[1] + else: + name = self._current_context[name[0]] + ":" + name[1] + self._out.write(' %s=%s' % (name, saxutils.quoteattr(value))) + self._out.write('>') + class RssGenerator(XMLGenerator): default_xmlns = { From sbauer230 at hotmail.com Wed Apr 7 18:46:07 2004 From: sbauer230 at hotmail.com (Scott Bauer) Date: Wed Apr 7 18:46:07 2004 Subject: [Moin-user] Users HomePages Message-ID: Perfect! thanks so much for your help! sb >From: Yusuf Abdulghani >To: Scott Bauer >CC: moin-user at lists.sourceforge.net >Subject: Re: [Moin-user] Users HomePages >Date: Wed, 7 Apr 2004 10:57:54 -0700 > > >On Apr 7, 2004, at 5:25 AM, Scott Bauer wrote: > >>Just wondering how a user is suppose to get to their homepage. >> >>Currently when a user registers, They have to manually go to >>http://server/wiki/UserName to create and view their homepage. I thought >>I read somewhere that there is suppose to be an icon when the user logs in >>to take them to theri homepage, but I can't find that. >> > >In the UserPreferences panel, check the "Show icon toolbar" box to show >icons toolbar on the top right hand side of the page. If the user has >created his homepage, then when (s)he logs in, they will see a home page >icon in the icon toolbar. If their home page does not exist, then this icon >will not be displayed. Clicking on this homepage icon takes them directory >to their homepage. > ><< moin-home.png >> ><--- HOME page icon on right hand side of the page > >I hope this helps. > >Yusuf > >>thanks for your help >>sb >> >>_________________________________________________________________ >>Persistent heartburn? Check out Digestive Health & Wellness for >>information and advice. http://gerd.msn.com/default.asp >> >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IBM Linux Tutorials >>Free Linux tutorial presented by Daniel Robbins, President and CEO of >>GenToo technologies. Learn everything from fundamentals to system >>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >>_______________________________________________ >>Moin-user mailing list >>Moin-user at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/moin-user >> > _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar ? get it now! http://toolbar.msn.com/go/onm00200415ave/direct/01/ From tw at waldmann-edv.de Thu Apr 8 02:55:19 2004 From: tw at waldmann-edv.de (Thomas Waldmann) Date: Thu Apr 8 02:55:19 2004 Subject: [Moin-user] Users HomePages In-Reply-To: References: Message-ID: <4075215D.4030300@waldmann-edv.de> > Just wondering how a user is suppose to get to their homepage. > > Currently when a user registers, They have to manually go to > http://server/wiki/UserName to create Yes. Maybe we could collect opinions whether to use the "home icon" for creation, too. We just would have to drop the check for existance and display it also if it doesnt exist yet. Moin would then offer to create the page. Pro: * easier to make a homepage Con: * more homepages with no content * accidently created homepages > and view their homepage. No. After creation there will be a home icon if they are logged in. From tw-public at gmx.de Thu Apr 8 02:58:10 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu Apr 8 02:58:10 2004 Subject: [Moin-user] Admin user In-Reply-To: References: Message-ID: <407521F9.7030809@gmx.de> > Is there an Admin user that is able to grant rights on any page? acl_rights_before and reading MoinMaster:HelpOnAccessControlLists should help. From toh at fuji-climb.org Thu Apr 8 03:27:06 2004 From: toh at fuji-climb.org (Fujio Nobori) Date: Thu Apr 8 03:27:06 2004 Subject: [Moin-user] PATCH - RSS to work Message-ID: <20040408102601.GA16970@deshi.net.sony.co.jp> Hello, Here is a patch (against moin-1.2--patch-279 from tla) for RSS feature to work right. RSS feature right now does not work if (at least for me): 1. rdf:Description element has 'link' attribute 1. there is a page whose title is in utf-8 This patch should solve this issue. I remember Thomas wrote somewhere that we should use StringIO instead of cStringIO in action/rss_rc.py. But this doesn't work for me. Insted, changing a line in wikixml/util.py solved the issue. How do you think about this, Thomas? -- Fujio Nobori il|li email: toh at fuji-climb.org q|@.@|p m. ( o ) .m ~~~~~~~~~~~~~ -------------- next part -------------- --- orig/MoinMoin/action/rss_rc.py +++ mod/MoinMoin/action/rss_rc.py @@ -10,7 +10,7 @@ from MoinMoin import wikixml, config, wikiutil, util from MoinMoin.logfile import editlog from MoinMoin.Page import Page -import StringIO, re +import cStringIO, re from MoinMoin.wikixml.util import RssGenerator def execute(pagename, request): @@ -45,7 +45,7 @@ ddiffs = 0 # prepare output - out = StringIO.StringIO() + out = cStringIO.StringIO() handler = RssGenerator(out) # get data --- orig/MoinMoin/wikixml/util.py +++ mod/MoinMoin/wikixml/util.py @@ -37,7 +37,7 @@ def simpleNode(self, tag, value, attr={}): self.startNode(tag, attr) - if value: self.characters(unicode(value, config.charset)) + if value: self.characters(value) self.endNode(tag) def startDocument(self): @@ -50,6 +50,32 @@ self.endPrefixMapping(prefix or None) saxutils.XMLGenerator.endDocument(self) + def startElementNS(self, name, qname, attrs): + # this code is a bit modified version of python2.3/xml/sax/saxutils.py + # i needed this because startElementNS() in saxutils.py + # cannot handle attr whose name[0] is None, and action/rss_rc.py + # set this to None (ex. name = (None, 'link')). + if name[0] is None: + # if the name was not namespace-scoped, use the unqualified part + name = name[1] + else: + # else try to restore the original prefix from the namespace + name = self._current_context[name[0]] + ":" + name[1] + self._out.write('<' + name) + + for pair in self._undeclared_ns_maps: + self._out.write(' xmlns:%s="%s"' % pair) + self._undeclared_ns_maps = [] + + for (name, value) in attrs.items(): + if name[0] is None: + # if the name was not namespace-scoped, use the unqualified part + name = name[1] + else: + name = self._current_context[name[0]] + ":" + name[1] + self._out.write(' %s=%s' % (name, saxutils.quoteattr(value))) + self._out.write('>') + class RssGenerator(XMLGenerator): default_xmlns = { From toh at fuji-climb.org Thu Apr 8 03:51:01 2004 From: toh at fuji-climb.org (Fujio Nobori) Date: Thu Apr 8 03:51:01 2004 Subject: [Moin-user] PATCH - Include and TableOfContents to go well with each other Message-ID: <20040408105013.GB16970@deshi.net.sony.co.jp> Hello, Here is a patch (against moin-1.2--patch-279 from tla) for Include and TableOfContents to go well with each other. I found that: 1. TableOfContents doesn't work right for pages included by Include macro. 1. The section numbers of Included pages are wrong if you set section-numbers to 'on'. 1. The links of table of contents are wrong if there are the same titles (headings) in different pages included by Include macro. 1. Include macro doesn't work right if level parameter is not set and from parameter is set. For example: [[Include(PageName, , , from="^----$")]] This patch should fix these issues. I would appriciate any comment. Thank you very much in advance. -- Fujio Nobori il|li email: toh at fuji-climb.org q|@.@|p m. ( o ) .m ~~~~~~~~~~~~~ -------------- next part -------------- --- orig/MoinMoin/formatter/text_html.py +++ mod/MoinMoin/formatter/text_html.py @@ -31,6 +31,7 @@ self._in_code = 0 self._base_depth = 0 self._show_section_numbers = None + self._is_included = False if not hasattr(request, '_fmt_hd_counters'): request._fmt_hd_counters = [] @@ -197,7 +198,11 @@ # remember depth of first heading, and adapt counting depth accordingly if not self._base_depth: self._base_depth = depth - count_depth = max(depth - (self._base_depth - 1), 1) + + if not self._is_included: + count_depth = max(depth - (self._base_depth - 1), 1) + else: + count_depth = self._base_depth # check numbering, possibly changing the default if self._show_section_numbers is None: --- orig/MoinMoin/macro/Include.py +++ mod/MoinMoin/macro/Include.py @@ -19,7 +19,7 @@ _sysmsg = '

%s

' _arg_heading = r'(?P,)\s*(|(?P[\'"])(?P.+?)(?P=hquote))' -_arg_level = r',\s*(?P\d+)' +_arg_level = r',\s*(?P\d*)' _arg_from = r'(,\s*from=(?P[\'"])(?P.+?)(?P=fquote))?' _arg_to = r'(,\s*to=(?P[\'"])(?P.+?)(?P=tquote))?' _arg_sort = r'(,\s*sort=(?P(ascending|descending)))?' @@ -45,7 +45,7 @@ Dependencies = ["pages"] # included page -def execute(macro, text, args_re=re.compile(_args_re_pattern)): +def execute(macro, text, args_re=re.compile(_args_re_pattern), called_by_toc=0): _ = macro.request.getText # return immediately if getting links for the current page @@ -160,6 +160,10 @@ ##result.append("*** f=%s t=%s ***" % (from_re, to_re)) ##result.append("*** f=%d t=%d ***" % (from_pos, to_pos)) + if called_by_toc: + result.append(inc_page.get_raw_body()) + continue + # edit icon edit_icon = inc_page.link_to(macro.request, macro.request.theme.make_icon("edit"), @@ -177,8 +181,10 @@ if print_mode: result.append(macro.formatter.heading(level, heading)) else: + import sha result.append(macro.formatter.heading(level, inc_page.link_to(macro.request, heading, css_class="include-heading-link"), + id="head-"+sha.new(inc_name + heading).hexdigest(), icons=edit_icon.replace('=+)\s(.*)\s(?P=hmarker)$") + # FIXME this also finds "headlines" in {{{ code sections }}}: + match = heading.search(line) + if not match: return + title_text = match.group(2) + titles.setdefault(pagename + title_text, 0) + titles[pagename + title_text] += 1 + + # Get new indent level + newindent = len(match.group(1)) + if newindent > maxdepth: return + if newindent < mindepth: return + if not indent: + baseindent = newindent - 1 + indent = baseindent + + # Close lists + for i in range(0,indent-newindent): + result.append(macro.formatter.number_list(0)) + + # Open Lists + for i in range(0,newindent-indent): + result.append(macro.formatter.number_list(1)) + + # Add the heading + unique_id = '' + if titles[pagename + title_text] > 1: + unique_id = '-%d' % titles[pagename + title_text] + + result.append(macro.formatter.listitem(1)) + result.append(macro.formatter.anchorlink( + "head-" + sha.new(pagename + title_text).hexdigest() + unique_id, title_text)) + result.append(macro.formatter.listitem(0)) + + # Set new indent level + indent = newindent + +def execute(macro, args): + global result + global baseindent + global indent + global titles + global mindepth + global maxdepth + + include = re.compile(r"^\[\[Include\((.*)\)\]\]") result = [] baseindent = 0 indent = 0 @@ -31,44 +84,43 @@ except (ValueError, TypeError): maxdepth = 99 + pagename = macro.formatter.page.page_name for line in macro.parser.lines: # Filter out the headings lineno = lineno + 1 - # FIXME this also finds "headlines" in {{{ code sections }}}: - match = heading.match(line) - if not match: continue - title_text = match.group(2) - titles.setdefault(title_text, 0) - titles[title_text] += 1 - - # Get new indent level - newindent = len(match.group(1)) - if newindent > maxdepth: continue - if newindent < mindepth: continue - if not indent: - baseindent = newindent - 1 - indent = baseindent - - # Close lists - for i in range(0,indent-newindent): - result.append(macro.formatter.number_list(0)) - - # Open Lists - for i in range(0,newindent-indent): - result.append(macro.formatter.number_list(1)) - - # Add the heading - unique_id = '' - if titles[title_text] > 1: - unique_id = '-%d' % titles[title_text] - - result.append(macro.formatter.listitem(1)) - result.append(macro.formatter.anchorlink( - "head-" + sha.new(title_text).hexdigest() + unique_id, title_text)) - result.append(macro.formatter.listitem(0)) - - # Set new indent level - indent = newindent + match = include.match(line) + if match: + # this is an [[Include()]] line. + # now parse the included page and do the work on it. + + ## get heading and level from Include() line. + args = r'^(?P[^,]+),\s*(|(?P[\'"])(?P.+?)(?P=hquote))' \ + + r',\s*(?P\d*)' + + tmp = re.search(args, match.group(1)) + if tmp and tmp.group("name"): + inc_pagename = tmp.group("name") + else: + # no pagename? ignore it + continue + if tmp.group("htext"): + heading = tmp.group("htext") + if tmp.group("level"): + level = int(tmp.group("level")) + else: + level = 1 + tmp_line = "%s %s %s" % ("=" * level, heading, "=" * level) + inc_page_lines = [tmp_line] + else: + inc_page_lines = [] + + include_macro = wikiutil.importPlugin('macro', "Include") + inc_page_lines = inc_page_lines \ + + include_macro(macro, match.group(1), called_by_toc=1).split("\n") + for inc_page_line in inc_page_lines: + parse_line(inc_page_line, macro, inc_pagename) + else: + parse_line(line, macro, pagename) # Close pending lists for i in range(baseindent, indent): --- orig/MoinMoin/parser/wiki.py +++ mod/MoinMoin/parser/wiki.py @@ -731,15 +731,16 @@ level = level+1 depth = min(5,level) + pagename = self.formatter.page.page_name title_text = h[level:-level].strip() - self.titles.setdefault(title_text, 0) - self.titles[title_text] += 1 + self.titles.setdefault(pagename + title_text, 0) + self.titles[pagename + title_text] += 1 unique_id = '' - if self.titles[title_text] > 1: - unique_id = '-%d' % self.titles[title_text] + if self.titles[pagename + title_text] > 1: + unique_id = '-%d' % self.titles[pagename + title_text] - return self.formatter.heading(depth, self.highlight_text(title_text), icons=icons, id="head-"+sha.new(title_text).hexdigest()+unique_id) + return self.formatter.heading(depth, self.highlight_text(title_text), icons=icons, id="head-"+sha.new(pagename + title_text).hexdigest()+unique_id) def _processor_repl(self, word): From toh at fuji-climb.org Fri Apr 9 03:43:03 2004 From: toh at fuji-climb.org (Fujio Nobori) Date: Fri Apr 9 03:43:03 2004 Subject: [Moin-user] PATCH - Include and TableOfContents to go well with each other In-Reply-To: <20040408105013.GB16970@deshi.net.sony.co.jp> References: <20040408105013.GB16970@deshi.net.sony.co.jp> Message-ID: <20040409104152.GA18542@deshi.net.sony.co.jp> Hello again, I found a small bug in my patch. If you use my original patch, you might see wrong section numbering where the heading level is deep. Here is a new patch. The change is in line 20 of the patch file. By the way, "from" and "to" parameters of Include macro don't go well with moin's cache feature. If you find this issue after using my patch, please remember that that's not my fault :) Thank you very much. On Thu, Apr 08, 2004 at 07:50:13PM +0900, Fujio Nobori wrote: > Hello, > > Here is a patch (against moin-1.2--patch-279 from tla) for > Include and TableOfContents to go well with each other. > > I found that: > > 1. TableOfContents doesn't work right for pages included by > Include macro. > > 1. The section numbers of Included pages are wrong if you > set section-numbers to 'on'. > > 1. The links of table of contents are wrong if there are > the same titles (headings) in different pages included by > Include macro. > > 1. Include macro doesn't work right if level parameter is > not set and from parameter is set. For example: > [[Include(PageName, , , from="^----$")]] > > This patch should fix these issues. > > I would appriciate any comment. > > Thank you very much in advance. -- Fujio Nobori il|li email: toh at fuji-climb.org q|@.@|p m. ( o ) .m ~~~~~~~~~~~~~ -------------- next part -------------- --- orig/MoinMoin/formatter/text_html.py +++ mod/MoinMoin/formatter/text_html.py @@ -31,6 +31,7 @@ self._in_code = 0 self._base_depth = 0 self._show_section_numbers = None + self._is_included = False if not hasattr(request, '_fmt_hd_counters'): request._fmt_hd_counters = [] @@ -197,7 +198,11 @@ # remember depth of first heading, and adapt counting depth accordingly if not self._base_depth: self._base_depth = depth - count_depth = max(depth - (self._base_depth - 1), 1) + + if not self._is_included: + count_depth = max(depth - (self._base_depth - 1), 1) + else: + count_depth = depth # check numbering, possibly changing the default if self._show_section_numbers is None: --- orig/MoinMoin/macro/Include.py +++ mod/MoinMoin/macro/Include.py @@ -19,7 +19,7 @@ _sysmsg = '

%s

' _arg_heading = r'(?P,)\s*(|(?P[\'"])(?P.+?)(?P=hquote))' -_arg_level = r',\s*(?P\d+)' +_arg_level = r',\s*(?P\d*)' _arg_from = r'(,\s*from=(?P[\'"])(?P.+?)(?P=fquote))?' _arg_to = r'(,\s*to=(?P[\'"])(?P.+?)(?P=tquote))?' _arg_sort = r'(,\s*sort=(?P(ascending|descending)))?' @@ -45,7 +45,7 @@ Dependencies = ["pages"] # included page -def execute(macro, text, args_re=re.compile(_args_re_pattern)): +def execute(macro, text, args_re=re.compile(_args_re_pattern), called_by_toc=0): _ = macro.request.getText # return immediately if getting links for the current page @@ -160,6 +160,10 @@ ##result.append("*** f=%s t=%s ***" % (from_re, to_re)) ##result.append("*** f=%d t=%d ***" % (from_pos, to_pos)) + if called_by_toc: + result.append(inc_page.get_raw_body()) + continue + # edit icon edit_icon = inc_page.link_to(macro.request, macro.request.theme.make_icon("edit"), @@ -177,8 +181,10 @@ if print_mode: result.append(macro.formatter.heading(level, heading)) else: + import sha result.append(macro.formatter.heading(level, inc_page.link_to(macro.request, heading, css_class="include-heading-link"), + id="head-"+sha.new(inc_name + heading).hexdigest(), icons=edit_icon.replace('=+)\s(.*)\s(?P=hmarker)$") + # FIXME this also finds "headlines" in {{{ code sections }}}: + match = heading.search(line) + if not match: return + title_text = match.group(2) + titles.setdefault(pagename + title_text, 0) + titles[pagename + title_text] += 1 + + # Get new indent level + newindent = len(match.group(1)) + if newindent > maxdepth: return + if newindent < mindepth: return + if not indent: + baseindent = newindent - 1 + indent = baseindent + + # Close lists + for i in range(0,indent-newindent): + result.append(macro.formatter.number_list(0)) + + # Open Lists + for i in range(0,newindent-indent): + result.append(macro.formatter.number_list(1)) + + # Add the heading + unique_id = '' + if titles[pagename + title_text] > 1: + unique_id = '-%d' % titles[pagename + title_text] + + result.append(macro.formatter.listitem(1)) + result.append(macro.formatter.anchorlink( + "head-" + sha.new(pagename + title_text).hexdigest() + unique_id, title_text)) + result.append(macro.formatter.listitem(0)) + + # Set new indent level + indent = newindent + +def execute(macro, args): + global result + global baseindent + global indent + global titles + global mindepth + global maxdepth + + include = re.compile(r"^\[\[Include\((.*)\)\]\]") result = [] baseindent = 0 indent = 0 @@ -31,44 +84,43 @@ except (ValueError, TypeError): maxdepth = 99 + pagename = macro.formatter.page.page_name for line in macro.parser.lines: # Filter out the headings lineno = lineno + 1 - # FIXME this also finds "headlines" in {{{ code sections }}}: - match = heading.match(line) - if not match: continue - title_text = match.group(2) - titles.setdefault(title_text, 0) - titles[title_text] += 1 - - # Get new indent level - newindent = len(match.group(1)) - if newindent > maxdepth: continue - if newindent < mindepth: continue - if not indent: - baseindent = newindent - 1 - indent = baseindent - - # Close lists - for i in range(0,indent-newindent): - result.append(macro.formatter.number_list(0)) - - # Open Lists - for i in range(0,newindent-indent): - result.append(macro.formatter.number_list(1)) - - # Add the heading - unique_id = '' - if titles[title_text] > 1: - unique_id = '-%d' % titles[title_text] - - result.append(macro.formatter.listitem(1)) - result.append(macro.formatter.anchorlink( - "head-" + sha.new(title_text).hexdigest() + unique_id, title_text)) - result.append(macro.formatter.listitem(0)) - - # Set new indent level - indent = newindent + match = include.match(line) + if match: + # this is an [[Include()]] line. + # now parse the included page and do the work on it. + + ## get heading and level from Include() line. + args = r'^(?P[^,]+),\s*(|(?P[\'"])(?P.+?)(?P=hquote))' \ + + r',\s*(?P\d*)' + + tmp = re.search(args, match.group(1)) + if tmp and tmp.group("name"): + inc_pagename = tmp.group("name") + else: + # no pagename? ignore it + continue + if tmp.group("htext"): + heading = tmp.group("htext") + if tmp.group("level"): + level = int(tmp.group("level")) + else: + level = 1 + tmp_line = "%s %s %s" % ("=" * level, heading, "=" * level) + inc_page_lines = [tmp_line] + else: + inc_page_lines = [] + + include_macro = wikiutil.importPlugin('macro', "Include") + inc_page_lines = inc_page_lines \ + + include_macro(macro, match.group(1), called_by_toc=1).split("\n") + for inc_page_line in inc_page_lines: + parse_line(inc_page_line, macro, inc_pagename) + else: + parse_line(line, macro, pagename) # Close pending lists for i in range(baseindent, indent): --- orig/MoinMoin/parser/wiki.py +++ mod/MoinMoin/parser/wiki.py @@ -731,15 +731,16 @@ level = level+1 depth = min(5,level) + pagename = self.formatter.page.page_name title_text = h[level:-level].strip() - self.titles.setdefault(title_text, 0) - self.titles[title_text] += 1 + self.titles.setdefault(pagename + title_text, 0) + self.titles[pagename + title_text] += 1 unique_id = '' - if self.titles[title_text] > 1: - unique_id = '-%d' % self.titles[title_text] + if self.titles[pagename + title_text] > 1: + unique_id = '-%d' % self.titles[pagename + title_text] - return self.formatter.heading(depth, self.highlight_text(title_text), icons=icons, id="head-"+sha.new(title_text).hexdigest()+unique_id) + return self.formatter.heading(depth, self.highlight_text(title_text), icons=icons, id="head-"+sha.new(pagename + title_text).hexdigest()+unique_id) def _processor_repl(self, word): From bpacquiescing at t-online.de Fri Apr 9 17:27:45 2004 From: bpacquiescing at t-online.de (Hilda) Date: Fri Apr 9 17:27:45 2004 Subject: [Moin-user] CIA^L1S & LEV^ITRA : E~nlarge Your P^e^n^1^s in I Week! Message-ID: An HTML attachment was scrubbed... URL: From brendano at stanford.edu Sun Apr 11 13:29:04 2004 From: brendano at stanford.edu (Brendan O'Connor) Date: Sun Apr 11 13:29:04 2004 Subject: [Moin-user] a packaged-up standalone MoinMoin Message-ID: <00b501c42003$967dbcf0$b7cbafc1@BRENDANSLAPTOP> Hi MoinMoin'ers, I recently was running MoinMoin standalone on my windows laptop for semi-structured note taking, was making a few usability hacks (like automatically launching the webbrowser on startup) and so I thought to package it all up into a download so you can just double-click on an icon and start editing your wiki -- intended for beginners too. If you're interested, I put it at http://piece.stanford.edu/~brendano/standmoin/ . The ultimate thing to have would be a fully offline-able wiki, so that you could mirror the current central wiki onto your laptop, work on it offline, then plug back in and upload/sync to the central wiki server again. (my little thing doesn't do that unless you think manually copying over the wiki texts directory is "synchronization") This is my second moinmoin hack now (after wysimoin http://piece.stanford.edu/cgi-bin/wysimoin/moin.cgi) -- I must say, MoinMoin sure is fun to work with! thanks folks! question comments? thanks, Brendan -- -- Brendan O'Connor brendano at stanford.edu +49 0173-779-8745 -- 18-20 Pacelliallee; 14195 Berlin, Germany -- From aamehl at bezeqint.net Mon Apr 12 16:29:01 2004 From: aamehl at bezeqint.net (Aaron) Date: Mon Apr 12 16:29:01 2004 Subject: [Moin-user] no css no images Message-ID: <1081812473.7078.23.camel@bzq-218-14-208.cablep.bezeqint.net> HI all, I am trying to revamp my wiki and still have no css working or icons on the top right of my pages. I went the install docs and checked my installation but came up empty. Here is a copy of my config file. # basic options (you normally need to change these) sitename = 'Project Nigun Wiki' interwikiname = None data_dir = '/home/aamehl/wiki/data/' url_prefix = '/~aamehl/' logo_url = url_prefix + '/img/moinmoin.gif' maybe I have a permissions problem or a missing directory? Where should the image/ and css/ directories be? Thanks Aaron From toh at fuji-climb.org Mon Apr 12 19:22:02 2004 From: toh at fuji-climb.org (Fujio Nobori) Date: Mon Apr 12 19:22:02 2004 Subject: [Moin-user] no css no images In-Reply-To: <1081812473.7078.23.camel@bzq-218-14-208.cablep.bezeqint.net> References: <1081812473.7078.23.camel@bzq-218-14-208.cablep.bezeqint.net> Message-ID: <20040413022112.GA10165@deshi.net.sony.co.jp> Hello, On Tue, Apr 13, 2004 at 02:27:53AM +0300, Aaron wrote: ----snip > Here is a copy of my config file. > > > # basic options (you normally need to change these) > sitename = 'Project Nigun Wiki' > interwikiname = None > data_dir = '/home/aamehl/wiki/data/' > url_prefix = '/~aamehl/' > logo_url = url_prefix + '/img/moinmoin.gif' I would check the html sources of the pages on browser. It will show you the expected path of icons or css. My guess is that your url_prefix is wrong... -- Fujio Nobori il|li email: toh at fuji-climb.org q|@.@|p m. ( o ) .m ~~~~~~~~~~~~~ From aamehl at bezeqint.net Tue Apr 13 01:10:21 2004 From: aamehl at bezeqint.net (Aaron) Date: Tue Apr 13 01:10:21 2004 Subject: [Moin-user] no css no images In-Reply-To: <20040413022112.GA10165@deshi.net.sony.co.jp> References: <1081812473.7078.23.camel@bzq-218-14-208.cablep.bezeqint.net> <20040413022112.GA10165@deshi.net.sony.co.jp> Message-ID: <1081843777.7082.34.camel@bzq-218-14-208.cablep.bezeqint.net> Thanks And where pray tell are the html sources located? Thanks Aaron On Tue, 2004-04-13 at 05:21, Fujio Nobori wrote: > Hello, > > On Tue, Apr 13, 2004 at 02:27:53AM +0300, Aaron wrote: > ----snip > > Here is a copy of my config file. > > > > > > # basic options (you normally need to change these) > > sitename = 'Project Nigun Wiki' > > interwikiname = None > > data_dir = '/home/aamehl/wiki/data/' > > url_prefix = '/~aamehl/' > > logo_url = url_prefix + '/img/moinmoin.gif' > > I would check the html sources of the pages on browser. It > will show you the expected path of icons or css. > > My guess is that your url_prefix is wrong... From toh at fuji-climb.org Tue Apr 13 01:29:07 2004 From: toh at fuji-climb.org (Fujio Nobori) Date: Tue Apr 13 01:29:07 2004 Subject: [Moin-user] no css no images In-Reply-To: <1081843777.7082.34.camel@bzq-218-14-208.cablep.bezeqint.net> References: <1081812473.7078.23.camel@bzq-218-14-208.cablep.bezeqint.net> <20040413022112.GA10165@deshi.net.sony.co.jp> <1081843777.7082.34.camel@bzq-218-14-208.cablep.bezeqint.net> Message-ID: <20040413082830.GA14020@deshi.net.sony.co.jp> Hi, On Tue, Apr 13, 2004 at 11:09:38AM +0300, Aaron wrote: > Thanks > And where pray tell are the html sources located? I don't know what browser you are using, but your browser must have the ability to let you view the html source of the page. -- Fujio Nobori il|li email: toh at fuji-climb.org q|@.@|p m. ( o ) .m ~~~~~~~~~~~~~ From aamehl at bezeqint.net Tue Apr 13 01:33:06 2004 From: aamehl at bezeqint.net (Aaron) Date: Tue Apr 13 01:33:06 2004 Subject: [Moin-user] no css no images In-Reply-To: <20040413082830.GA14020@deshi.net.sony.co.jp> References: <1081812473.7078.23.camel@bzq-218-14-208.cablep.bezeqint.net> <20040413022112.GA10165@deshi.net.sony.co.jp> <1081843777.7082.34.camel@bzq-218-14-208.cablep.bezeqint.net> <20040413082830.GA14020@deshi.net.sony.co.jp> Message-ID: <1081845142.8140.39.camel@bzq-218-14-208.cablep.bezeqint.net> OH I misunderstood I thought you meant that there is a directory containing html pages. Thanks I will look at the page source. Aaron On Tue, 2004-04-13 at 11:28, Fujio Nobori wrote: > Hi, > > On Tue, Apr 13, 2004 at 11:09:38AM +0300, Aaron wrote: > > Thanks > > And where pray tell are the html sources located? > > I don't know what browser you are using, but your browser > must have the ability to let you view the html source of the > page. From aamehl at bezeqint.net Tue Apr 13 02:09:01 2004 From: aamehl at bezeqint.net (Aaron) Date: Tue Apr 13 02:09:01 2004 Subject: [Moin-user] no css no images In-Reply-To: <20040413082830.GA14020@deshi.net.sony.co.jp> References: <1081812473.7078.23.camel@bzq-218-14-208.cablep.bezeqint.net> <20040413022112.GA10165@deshi.net.sony.co.jp> <1081843777.7082.34.camel@bzq-218-14-208.cablep.bezeqint.net> <20040413082830.GA14020@deshi.net.sony.co.jp> Message-ID: <1081847279.7078.52.camel@bzq-218-14-208.cablep.bezeqint.net> Ok I have tried multiple combinations of path entries to get this working but nothing seems to work. # basic options (you normally need to change these) sitename = 'Project Nigun Wiki' interwikiname = None data_dir = '/home/aamehl/wiki/data/' url_prefix = '/home/aamehl/' logo_url = url_prefix + 'img/moinmoin.gif' HelpContents I also copied the images to the image/ directory in my public_html/ folder and pointed moin_config.py to there but no success. Any ideas? What permissions should the image/ directory have? and the images themselves? Thanks Aaron On Tue, 2004-04-13 at 11:28, Fujio Nobori wrote: > Hi, > > On Tue, Apr 13, 2004 at 11:09:38AM +0300, Aaron wrote: > > Thanks > > And where pray tell are the html sources located? > > I don't know what browser you are using, but your browser > must have the ability to let you view the html source of the > page. From towb at tiscali.de Thu Apr 15 14:08:39 2004 From: towb at tiscali.de (Tobias Weber) Date: Thu Apr 15 14:08:39 2004 Subject: [Moin-user] Safari Workaround In-Reply-To: Message-ID: 25.03.2004 21:53 Uhr Tobias Weber wrote: >> Tobias> problems with Apple's Safari Browser. If I type something and >> Tobias> just hit enter Moin returns "Please use a more selective search >> Tobias> term instead of ''" as if it didn't recieve anything. Clicking >> Tobias> the looking glass or Go button on FindPage works. > Right. My setup is X.3.3, Safari 1.2 (v125.1), local Moin 1.2.1, Python 2.3. > > I assume bugs in the browser, but there should be a workaround. Sniffed showed that Safari is sending image coordinates even if I pressed return in the text field. This should be worked around in wikiaction.py text_title=&button_title.x=0&button_title.y=0&text_full=export+displ Moz text_title=&button_title.x=6&button_title.y=6&text_full=export+displ Safari This results in Moin assuming a title search for the empty string. text_title=disp&button_title.x=0&button_title.y=0&text_full= Mozilla text_title=disp&button_title.x=6&button_title.y=6&text_full= Safari Works with both. > While we're at it, the css causes Safari not to display
at all. > Mozilla renders thin grey lines with the same markup. -- Tobias Weber From moinmoin at nickdafish.com Thu Apr 15 15:33:02 2004 From: moinmoin at nickdafish.com (Nick Fisher) Date: Thu Apr 15 15:33:02 2004 Subject: [Moin-user] Steps to upgrade wiki pages from 1 -> 1.2.1 Message-ID: <3815.216.116.198.104.1082068320.squirrel@mail.nickdafish.com> Hello.... I have a moinmoin wiki that I just upgraded from 1 to 1.2.1...... And now I would like to have the new system pages and I'm trying to work out what the best way of going about that is..... I could simply copy over the top of my current wiki with the new pages but that seems a little slapdash. It could lead to pages that were in 1 and not in 1.2.1 cluttering up the place. I've had a bit of a poke around and I think that this will do it: Delete all files in data/text that don't have a corrosponding file in data/backup. Check what files are left in data/text(Delete accedentally edited help pages ect). Delete all empty data/pages dirs. Delete all data/pages/ dirs for pages that have been deleted in previous steps. Delete data/cache/Page.py/* Delete data/cache/pagelinks/* Copy new-wiki/data/text upgrade-wiki/data/text and don't overwrite (use '-i' with cp) So can anyone tell me if I'm shooting myself in the foot here? Am I missing a step? Has someone already writen a script to do this? Many thanks ;) Nick From sadsouza at yahoo.com Fri Apr 16 06:28:01 2004 From: sadsouza at yahoo.com (S D) Date: Fri Apr 16 06:28:01 2004 Subject: [Moin-user] Usemod Message-ID: <20040416132657.721.qmail@web60705.mail.yahoo.com> Hello, I am not sure if this has been asked before or not, i was not able to find it on the mailing lists. Is there a seamless way to import a wiki from Usemod (www.usemod.com) into MoinMoin? Any input would be appreciated. Thank you Sujay D'Souza --------------------------------- Do you Yahoo!? Yahoo! Tax Center - File online by April 15th -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Fri Apr 16 06:34:01 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri Apr 16 06:34:01 2004 Subject: [Moin-user] Steps to upgrade wiki pages from 1 -> 1.2.1 In-Reply-To: <3815.216.116.198.104.1082068320.squirrel@mail.nickdafish.com> References: <3815.216.116.198.104.1082068320.squirrel@mail.nickdafish.com> Message-ID: <407FE0A1.6040908@gmx.de> > I have a moinmoin wiki that I just upgraded from 1 to 1.2.1...... > And now I would like to have the new system pages and I'm trying to work > out what the best way of going about that is..... Currently simply do it manually. Not nice, but there is no other (proven) way yet. > I could simply copy over the top of my current wiki with the new pages but > that seems a little slapdash. It could lead to pages that were in 1 and > not in 1.2.1 cluttering up the place. I am not aware of any removed pages. And even if there were, it wouldnt do much harm... > Delete all files in data/text that don't have a corrosponding file in > data/backup. Not having a backup doesnt mean much except that it hasnt been edited more than once. > Delete all data/pages/ dirs for pages that have been deleted in previous > steps. I did some pagescleaner script that removes orphan pages dirs. You can get in from the current development version (or search the wiki for it, maybe I attached it there, too). > Delete data/cache/Page.py/* > Delete data/cache/pagelinks/* This is no problem as it will be recreated automatically. > So can anyone tell me if I'm shooting myself in the foot here? Am I > missing a step? Has someone already writen a script to do this? Sound quite good. I simply use midnight commander's compare directory function and then manually deselect what should not get overwritten (e.g. FrontPage or StartSeite for germans). And running pagescleaner from time to time is also a good idea anyway. From moinmoin at nickdafish.com Fri Apr 16 08:15:08 2004 From: moinmoin at nickdafish.com (Nick Fisher) Date: Fri Apr 16 08:15:08 2004 Subject: [Moin-user] Steps to upgrade wiki pages from 1 -> 1.2.1 In-Reply-To: <407FE0A1.6040908@gmx.de> References: <3815.216.116.198.104.1082068320.squirrel@mail.nickdafish.com> <407FE0A1.6040908@gmx.de> Message-ID: <1635.216.116.198.104.1082128451.squirrel@mail.nickdafish.com> >> I have a moinmoin wiki that I just upgraded from 1 to 1.2.1...... >> And now I would like to have the new system pages and I'm trying to work >> out what the best way of going about that is..... > > Currently simply do it manually. Not nice, but there is no other > (proven) way yet. > >> I could simply copy over the top of my current wiki with the new pages >> but >> that seems a little slapdash. It could lead to pages that were in 1 and >> not in 1.2.1 cluttering up the place. > > I am not aware of any removed pages. And even if there were, it wouldnt > do much harm... I'm not either... it's just part of the neatfreak in me..... >> Delete all files in data/text that don't have a corrosponding file in >> data/backup. > > Not having a backup doesnt mean much except that it hasnt been edited > more than once. Damnation! I thought that I had found a way of figuring out what pages had been user created. Perhaps in future we could somehow 'tag' the system pages, perhaps just putting a comment on the page would do..... then I could just use grep. >> Delete all data/pages/ dirs for pages that have been deleted in previous >> steps. > > I did some pagescleaner script that removes orphan pages dirs. You can > get in from the current development version (or search the wiki for it, > maybe I attached it there, too). I can't find it on the wiki..... and the dev downloads are.... confusing... Could you just mail me a copy? No use re-inventing the wheel. >> Delete data/cache/Page.py/* >> Delete data/cache/pagelinks/* > > This is no problem as it will be recreated automatically. I figured as much. >> So can anyone tell me if I'm shooting myself in the foot here? Am I >> missing a step? Has someone already writen a script to do this? > > Sound quite good. > > I simply use midnight commander's compare directory function and then > manually deselect what should not get overwritten (e.g. FrontPage or > StartSeite for germans). > > And running pagescleaner from time to time is also a good idea anyway. > Well sounds like I'm just going to be doing alot of copying...... Thanks.... Nick From jdhom at rehabdocumentation.com Fri Apr 16 10:49:03 2004 From: jdhom at rehabdocumentation.com (John Dhom) Date: Fri Apr 16 10:49:03 2004 Subject: [Moin-user] IIS install cgi-bin path problem Message-ID: <1082137727.10670@ntmail.pwebtech.com> Hey All, My first MoinMoin install, v1.2. I've re-read the install/config docs a few times... must be missing something. Symptom: http://127.0.0.1/zebwiki returns error: C:\Python23\python.exe: can't open file 'C:\Moin\zebwiki\moin.cgi' For whatever reason moin.cgi is not resolving to c:\Moin\zebwiki\cgi-bin\moin.cgi... it's looking in the wiki directory instead. Default.htm has a simple "moin.cgi" reference. Is this a Python, MoinMoin or IIS configuration issue? As a test I copied cgi-bin to the wiki directory and it runs... so I'm close ;) Best, /jhd -------------- next part -------------- An HTML attachment was scrubbed... URL: From mike at nospam.com Fri Apr 16 13:44:04 2004 From: mike at nospam.com (Mike Rovner) Date: Fri Apr 16 13:44:04 2004 Subject: [Moin-user] Re: Steps to upgrade wiki pages from 1 -> 1.2.1 References: <3815.216.116.198.104.1082068320.squirrel@mail.nickdafish.com> <407FE0A1.6040908@gmx.de> <1635.216.116.198.104.1082128451.squirrel@mail.nickdafish.com> Message-ID: Nick Fisher wrote: > Perhaps in future we could somehow 'tag' the system pages, perhaps > just putting a comment on the page would do..... then I could just > use grep. CategorySystem.* ? From matt at overlook.homelinux.net Tue Apr 20 06:04:02 2004 From: matt at overlook.homelinux.net (Matthew Wilson) Date: Tue Apr 20 06:04:02 2004 Subject: [Moin-user] my login goes away immediately. Message-ID: <20040420131412.GA11095@frank.overlook.homelinux.net> Hi - I installed moinmoin on my home machine from the Mandrake RPM. After connecting to localhost/wiki, I clicked on user preferences and created a new login. That worked ok and the userpreferences link was replaced by my username. Then when I went back to the frontpage, I noticed that my username has disappeared and the top right link was back to userpreferences. So I went back to the userpreferences, logged in with the accountname and password i created earlier, and that worked, but then, when I went back to the frontpage, it reverted AGAIN to userpreferences! Grr! I tested this out on the http://moinmoin.wikiwikiweb.de site and I didn't have this problem, so I think that maybe my configuration is a little screwy. Any ideas? -- My public key: gpg --recv-keys --keyserver www.mandrakesecure.net 0x8D10BFD5 From MAugustin at gmx.net Wed Apr 21 02:05:24 2004 From: MAugustin at gmx.net (Michael Augustin) Date: Wed Apr 21 02:05:24 2004 Subject: [Moin-user] table with(out) border doesn't work since 1.2 Message-ID: <32549.1082538244@www61.gmx.net> Hi all, I've updated my moinmoin-installation to 1.2.1 . Before I used 1.1 and had some table with borders: ||table||with border|| ||a row||in this table|| and I had tables without border using: || table || without border || || a second || row || With version 1.2.1 of MoinMoin the tableborder="0" is ignored and only the tablewidth"100%" is transfered into the generated html-language. Where is the tableborder-feature gone? Why is it removed? How to add it again? -- Thanks. Michael Augustin NEU : GMX Internet.FreeDSL Ab sofort DSL-Tarif ohne Grundgeb?hr: http://www.gmx.net/dsl From mikeraz at patch.com Wed Apr 21 12:27:13 2004 From: mikeraz at patch.com (Michael Rasmussen) Date: Wed Apr 21 12:27:13 2004 Subject: [Moin-user] table with(out) border doesn't work since 1.2 In-Reply-To: <32549.1082538244@www61.gmx.net> References: <32549.1082538244@www61.gmx.net> Message-ID: <20040421192131.GB20187@patch.com> On Wed, Apr 21, 2004 at 11:04:04AM +0200, Michael Augustin wrote: > and I had tables without border using: > || table || without border || > || a second || row || > > With version 1.2.1 of MoinMoin the tableborder="0" is ignored and only the > tablewidth"100%" is transfered into the generated html-language. > > Where is the tableborder-feature gone? > Why is it removed? > How to add it again? It's in there, see http://meme.patch.com/memes/BicycleMiles which has a first row of: || Date ||<:> Miles ||<:> YTD Miles ||<(> Comment || -- Michael Rasmussen, Portland Oregon Be appropriate && Follow your curiosity http://meme.patch.com/memes/BicycleRiding Get Fixed: http://www.dampfixie.org The fortune cookie says: In success there's a tendency to keep on doing what you were doing. -- Alan Kay From xuzhang at motorola.com Wed Apr 21 20:25:08 2004 From: xuzhang at motorola.com (Xu Zhang) Date: Wed Apr 21 20:25:08 2004 Subject: [Moin-user] moin-1.1 on Debian 3.0 Message-ID: <40873AB5.60803@motorola.com> My system is IBM ThinkPad 570E with Debian 3.0 (2.6.5 kernel). I installed moin-1.1 under python-2.1.3 and apache 1.3.26-0woody3. The httpd is configured as /etc/apache/conf/httpd.conf: ------ # For my personal Wiki. Alias /wiki/ "/usr/share/moin/htdocs/" ScriptAlias /zhx-wiki "/usr/share/moin/zhx-wiki/moin.cgi/" ------ The strange problem is that moin cgi program does not parse "/" as the path identifier. For instance, when I browse my wiki page at http://xx.xx.xx/zhx-wiki/UserPreferences, the moin will find the page of /UserPreferences but not the UserPreferences. Then, it wrongly posts the page of creating /UserPreferences. I fixed it using the following patch, but why? ------ diff -u -r moin-1.1.orig/MoinMoin/cgimain.py moin-1.1/MoinMoin/cgimain.py --- moin-1.1.orig/MoinMoin/cgimain.py Mon Nov 10 05:00:48 2003 +++ moin-1.1/MoinMoin/cgimain.py Thu Apr 22 09:10:28 2004 @@ -112,7 +112,9 @@ pagename = None if len(path_info) and path_info[0] == '/': - pagename = wikiutil.unquoteWikiname(path_info[1:]) +# pagename = wikiutil.unquoteWikiname(path_info[1:]) +# unknown reason, have to use path_info[2:0] under Debian 3.0 -- zhx + pagename = wikiutil.unquoteWikiname(path_info[2:]) except: # catch and print any exception webapi.http_headers(request) cgi.print_exception() ------ Thanks, Xu Zhang From hendry at cs.helsinki.fi Thu Apr 22 00:11:00 2004 From: hendry at cs.helsinki.fi (Kai Hendry) Date: Thu Apr 22 00:11:00 2004 Subject: [Moin-user] Inlining some text Message-ID: <20040422065108.GB1586@cs.helsinki.fi> I want to inline some text: http://rwiki.dabase.com/WikiSandBox Like it suggests on: http://rwiki.dabase.com/HelpOnActions_2fAttachFile Inlining plain/text for me results as a link, I would like it looking like a code section. Funny how inline python code colourisation works, while plain/text doesn't. :) From R.Bauer at fz-juelich.de Thu Apr 22 00:34:03 2004 From: R.Bauer at fz-juelich.de (Reimar Bauer) Date: Thu Apr 22 00:34:03 2004 Subject: [Moin-user] latex.py In-Reply-To: <20040422064131.GA1586@cs.helsinki.fi> References: <404EC373.70001@fz-juelich.de> <20040422064131.GA1586@cs.helsinki.fi> Message-ID: <40877390.3090102@fz-juelich.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kai Hendry wrote: | This took me ages to get working. All because the 'AttachFile' was | missing from allowed actions. Argh. | | Could this please be noted in some instructions of latex.py? | | Also I had to create the tmp directory and check over the permissions. | Dear Kai, sorry for this trouble. I have set up a description page on: http://moinmoin.wikiwikiweb.de:8000/ProcessorMarket_2fLatexProcessor Reimar - -- Reimar Bauer Institut fuer Stratosphaerische Chemie (ICG-I) Forschungszentrum Juelich email: R.Bauer at fz-juelich.de - ------------------------------------------------------------------- ~ a IDL library at ForschungsZentrum Juelich ~ http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro.html =================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQFAh3ON5aOc3Q9hk/kRAjBwAJwLQZNvX96c9qCxkLZKbufaAuCsIACgoFTx u4b8dDWHl2bw7VwtCOy/ZpA= =loxK -----END PGP SIGNATURE----- From hendry at cs.helsinki.fi Thu Apr 22 00:35:02 2004 From: hendry at cs.helsinki.fi (Kai Hendry) Date: Thu Apr 22 00:35:02 2004 Subject: [Moin-user] latex.py In-Reply-To: <404EC373.70001@fz-juelich.de> References: <404EC373.70001@fz-juelich.de> Message-ID: <20040422064131.GA1586@cs.helsinki.fi> This took me ages to get working. All because the 'AttachFile' was missing from allowed actions. Argh. Could this please be noted in some instructions of latex.py? Also I had to create the tmp directory and check over the permissions. From R.Bauer at fz-juelich.de Thu Apr 22 00:40:02 2004 From: R.Bauer at fz-juelich.de (Reimar Bauer) Date: Thu Apr 22 00:40:02 2004 Subject: [Moin-user] Re: table with(out) border doesn't work since 1.2 (Michael Rasmussen) Message-ID: <40877567.3050402@fz-juelich.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 |On Wed, Apr 21, 2004 at 11:04:04AM +0200, Michael Augustin wrote: |> and I had tables without border using: |> || table || without border || |> || a second || row || |> |> With version 1.2.1 of MoinMoin the tableborder="0" is ignored and only the |> tablewidth"100%" is transfered into the generated html-language. |> |> Where is the tableborder-feature gone? |> Why is it removed? |> How to add it again? |It's in there, see http://meme.patch.com/memes/BicycleMiles |which has a first row of: ||| Date ||<:> Miles ||<:> YTD Miles ||<(> Comment >|| | -- Michael Rasmussen, Portland Oregon The BicycleMiles wiki uses an older moin version. How could be the Tableborder controlled by CSS? Reimar - -- Reimar Bauer Institut fuer Stratosphaerische Chemie (ICG-I) Forschungszentrum Juelich email: R.Bauer at fz-juelich.de - ------------------------------------------------------------------- ~ a IDL library at ForschungsZentrum Juelich ~ http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro.html =================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQFAh3Vk5aOc3Q9hk/kRAiQqAJwM91gDTBB04p497zcOPcrMWpV0XwCgkL7z bZUisfXv5Hy6jtmP/EExqhM= =qt8f -----END PGP SIGNATURE----- From hendry at cs.helsinki.fi Thu Apr 22 00:56:44 2004 From: hendry at cs.helsinki.fi (Kai Hendry) Date: Thu Apr 22 00:56:44 2004 Subject: [Moin-user] Inlining some text Message-ID: <20040422065108.GB1586@cs.helsinki.fi> I want to inline some text: http://rwiki.dabase.com/WikiSandBox Like it suggests on: http://rwiki.dabase.com/HelpOnActions_2fAttachFile Inlining plain/text for me results as a link, I would like it looking like a code section. Funny how inline python code colourisation works, while plain/text doesn't. :) From hendry at cs.helsinki.fi Thu Apr 22 01:00:28 2004 From: hendry at cs.helsinki.fi (Kai Hendry) Date: Thu Apr 22 01:00:28 2004 Subject: [Moin-user] Inlining some text Message-ID: <20040422065108.GB1586@cs.helsinki.fi> I want to inline some text: http://rwiki.dabase.com/WikiSandBox Like it suggests on: http://rwiki.dabase.com/HelpOnActions_2fAttachFile Inlining plain/text for me results as a link, I would like it looking like a code section. Funny how inline python code colourisation works, while plain/text doesn't. :) From hendry at cs.helsinki.fi Thu Apr 22 01:50:04 2004 From: hendry at cs.helsinki.fi (Kai Hendry) Date: Thu Apr 22 01:50:04 2004 Subject: [Moin-user] latex.py In-Reply-To: <404EC373.70001@fz-juelich.de> References: <404EC373.70001@fz-juelich.de> Message-ID: <20040422064131.GA1586@cs.helsinki.fi> This took me ages to get working. All because the 'AttachFile' was missing from allowed actions. Argh. Could this please be noted in some instructions of latex.py? Also I had to create the tmp directory and check over the permissions. From tw-public at gmx.de Thu Apr 22 02:22:58 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Thu Apr 22 02:22:58 2004 Subject: [Moin-user] moin-1.1 on Debian 3.0 In-Reply-To: <40873AB5.60803@motorola.com> References: <40873AB5.60803@motorola.com> Message-ID: <40879B09.305@gmx.de> > ScriptAlias /zhx-wiki "/usr/share/moin/zhx-wiki/moin.cgi/" The slash after moin.cgi has to be removed. From bootleggersteller at charter.net Fri Apr 23 02:42:08 2004 From: bootleggersteller at charter.net (Margaret Julia) Date: Fri Apr 23 02:42:08 2004 Subject: [Moin-user] CIA'L1S & LEV'ITRA : D0CTOR & FDA a_pprova1 ! Message-ID: An HTML attachment was scrubbed... URL: From linux-tw at masquilier.org Mon Apr 26 09:43:24 2004 From: linux-tw at masquilier.org (Anguo) Date: Mon Apr 26 09:43:24 2004 Subject: [Moin-user] Moin stopped working when moving OS Message-ID: <200404270043.00573.linux-tw@masquilier.org> Hello, I use MoinMoin on my local machine for some research work. MoinMoin stopped working: when I try to access a page within the wiki (installed in localhost) I get a "open with" dialog box and a blank browser. This problem came about when I moved the whole operating system from hda2 from an old hard drive (which died) to hda1 of the new hard drive. Using an old boot disk, I moved the whole thing without having started the system. I had to make some additional changes (lilo of course, as well as the nvidia driver that didn't work...) but all in all the move went well. This wiki problem is one of the most bothersome problem I am having since. I use Mandrake linux, and the wiki previously run fine with Apache before. Apache still seems to be running properly. I can only think of one change that occured during the move: /usr was located in the same partition as / in the late drive (RIP) but is now located on its own partition. http://localhost/mywiki?test MoinMoin CGI Diagnosis ====================== Package "MoinMoin" successfully imported. Traceback (innermost last): File "/usr/share/moin/augustinwiki/moin.cgi", line 23, in ? cgimain.test() File "/usr/lib/python2.3/site-packages/MoinMoin/cgimain.py", line 25, in test request = createRequest(properties) File "/usr/lib/python2.3/site-packages/MoinMoin/cgimain.py", line 20, in createRequest return Request(properties) File "/usr/lib/python2.3/site-packages/MoinMoin/request.py", line 54, in __init__ self.groups.scangroups() File "/usr/lib/python2.3/site-packages/MoinMoin/wikigroup.py", line 169, in scangroups pickle.dump(data, open(picklefile, 'w')) IOError: [Errno 13] Permission denied: 'data/groups.pickle' thanks, Augustin -- www.masquilier.org Condorcet, Approval alternative voting. In order to prevent people from receiving viruses that would seem to originate from my email, if you use Microsoft Windows you do not have permission to add this address to your address book. If I am in your address book, please remove me. Of course, this does not apply to GNU/Linux users. Thank you. From tw-public at gmx.de Mon Apr 26 12:20:01 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon Apr 26 12:20:01 2004 Subject: [Moin-user] Moin stopped working when moving OS In-Reply-To: <200404270043.00573.linux-tw@masquilier.org> References: <200404270043.00573.linux-tw@masquilier.org> Message-ID: <408D6D15.2020309@gmx.de> > pickle.dump(data, open(picklefile, 'w')) > IOError: [Errno 13] Permission denied: 'data/groups.pickle' > > You either have permission problems or it doesn't find your data directory (maybe try an absolute path instead a relative one in moin_config.py). Maybe also check if your apache still uses the same userid and if the files and directory have rights allowing it to write. From linux-tw at masquilier.org Mon Apr 26 19:09:01 2004 From: linux-tw at masquilier.org (Anguo) Date: Mon Apr 26 19:09:01 2004 Subject: {solved} Re: [Moin-user] Moin stopped working when moving OS In-Reply-To: <408D6D15.2020309@gmx.de> References: <200404270043.00573.linux-tw@masquilier.org> <408D6D15.2020309@gmx.de> Message-ID: <200404271008.23896.linux-tw@masquilier.org> On Tuesday 27 Apr 2004 4:12 am, Thomas Waldmann wrote: > > pickle.dump(data, open(picklefile, 'w')) > > IOError: [Errno 13] Permission denied: > > 'data/groups.pickle' > > You either have permission problems or it doesn't find > your data directory (maybe try an absolute path instead a > relative one in moin_config.py). Maybe also check if your > apache still uses the same userid and if the files and > directory have rights allowing it to write. > Thank you Thomas for replying. I checked the permission extensively but couldn't find anything amiss. I did the following: $ python -c "import MoinMoin" -c:1: DeprecationWarning: Non-ASCII character '\xfc' in file /usr/lib/python2.3/site-packages/MoinMoin/__init__.py on line 5, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details The culprit was the german name in __init__.py: I changed it to "Juergen" and now everything works again. Blessings, Augustin -- www.masquilier.org Condorcet, Approval alternative voting. In order to prevent people from receiving viruses that would seem to originate from my email, if you use Microsoft Windows you do not have permission to add this address to your address book. If I am in your address book, please remove me. Of course, this does not apply to GNU/Linux users. Thank you. From linux-tw at masquilier.org Mon Apr 26 19:26:04 2004 From: linux-tw at masquilier.org (Anguo) Date: Mon Apr 26 19:26:04 2004 Subject: {solved} Re: [Moin-user] Moin stopped working when moving OS In-Reply-To: <200404271008.23896.linux-tw@masquilier.org> References: <200404270043.00573.linux-tw@masquilier.org> <408D6D15.2020309@gmx.de> <200404271008.23896.linux-tw@masquilier.org> Message-ID: <200404271026.07753.linux-tw@masquilier.org> On Tuesday 27 Apr 2004 10:08 am, Anguo wrote: > I did the following: > > $ python -c "import MoinMoin" > -c:1: DeprecationWarning: Non-ASCII character '\xfc' in > file > /usr/lib/python2.3/site-packages/MoinMoin/__init__.py on > line 5, but no encoding declared; see > http://www.python.org/peps/pep-0263.html for details > > > The culprit was the german name in __init__.py: I changed > it to "Juergen" and now everything works again. I updated the wiki accordingly: http://moinmoin.wikiwikiweb.de/MoinMoin_2fInstallDocs#trouble-shooting -- www.masquilier.org Condorcet, Approval alternative voting. In order to prevent people from receiving viruses that would seem to originate from my email, if you use Microsoft Windows you do not have permission to add this address to your address book. If I am in your address book, please remove me. Of course, this does not apply to GNU/Linux users. Thank you. From tw-public at gmx.de Tue Apr 27 07:49:07 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Tue Apr 27 07:49:07 2004 Subject: {solved} Re: [Moin-user] Moin stopped working when moving OS In-Reply-To: <200404271008.23896.linux-tw@masquilier.org> References: <200404270043.00573.linux-tw@masquilier.org> <408D6D15.2020309@gmx.de> <200404271008.23896.linux-tw@masquilier.org> Message-ID: <408E7F2F.4040905@gmx.de> >>> pickle.dump(data, open(picklefile, 'w')) >>>IOError: [Errno 13] Permission denied: >>>'data/groups.pickle' >>> >>> >>You either have permission problems or it doesn't find >>your data directory (maybe try an absolute path instead a >>relative one in moin_config.py). Maybe also check if your >>apache still uses the same userid and if the files and >>directory have rights allowing it to write. >> >> >Thank you Thomas for replying. > >I checked the permission extensively but couldn't find >anything amiss. > > Strange, the error msg above is quite clear. ;) >I did the following: > >$ python -c "import MoinMoin" >-c:1: DeprecationWarning: Non-ASCII character '\xfc' in file >/usr/lib/python2.3/site-packages/MoinMoin/__init__.py on >line 5, but no encoding declared; see >http://www.python.org/peps/pep-0263.html for details > > >The culprit was the german name in __init__.py: I changed it >to "Juergen" and now everything works again. > > I doubt that this was the source of your problem. You can have tons of those warnings and it will run ok nevertheless. BTW, which version do you run? The current one (1.2.1) shouldn't have those warnings... From jloomis at authentica.com Tue Apr 27 12:04:05 2004 From: jloomis at authentica.com (Jeff Loomis) Date: Tue Apr 27 12:04:05 2004 Subject: [Moin-user] Spell Check on Windows Message-ID: Hi, I'm having a problem getting spell check to work on my installation. It is on a Windows 2000 server using IIS and ActivePython 2.3.2. Everything seems to be working fine except spell check. My knowledge of Python is pretty minimal. My installation is in D:\Moin. My wiki is in D:\Moin\engwiki. I copied a words file into D:\Moin\dict and deleted D:\Moin\engwiki\data\dict.cache and D:\Moin\engwiki\data\dicts.pickle. When I spell check a page, all the words are not found and the message indicates the dictionary of 550 words is only the words in my LocalSpellingWords. The dict.cache and dicts.pickle do get regenerated. No errors occur in the error log when I try the spell check. Does anybody have spell check working with a similar configuration? If not, is there any harm in making LocalDictionaryWords really big by copying in my entire words file? Thanks for any help, Jeff Loomis From linux-tw at masquilier.org Tue Apr 27 18:57:06 2004 From: linux-tw at masquilier.org (Anguo) Date: Tue Apr 27 18:57:06 2004 Subject: {solved} Re: [Moin-user] Moin stopped working when moving OS In-Reply-To: <408E7F2F.4040905@gmx.de> References: <200404270043.00573.linux-tw@masquilier.org> <200404271008.23896.linux-tw@masquilier.org> <408E7F2F.4040905@gmx.de> Message-ID: <200404280956.41282.linux-tw@masquilier.org> Hallo Thomas! On Tuesday 27 Apr 2004 11:41 pm, Thomas Waldmann wrote: > >>> pickle.dump(data, open(picklefile, 'w')) > >>>IOError: [Errno 13] Permission denied: > >>>'data/groups.pickle' > >> > >>You either have permission problems or it doesn't find > >>your data directory (maybe try an absolute path instead > >> a relative one in moin_config.py). Maybe also check if > >> your apache still uses the same userid and if the > >> files and directory have rights allowing it to write. > > > >Thank you Thomas for replying. > > > >I checked the permission extensively but couldn't find > >anything amiss. > > Strange, the error msg above is quite clear. ;) It was not so clear to me: I am not familiar with the inner working of moin: > >>>IOError: [Errno 13] Permission denied: > >>>'data/groups.pickle' What pickles? I don't have pickles in my moinmoin! This error message was supposed to tell me that there is a permission problem where? > >I did the following: > > > >$ python -c "import MoinMoin" > >-c:1: DeprecationWarning: Non-ASCII character '\xfc' in > > file > > /usr/lib/python2.3/site-packages/MoinMoin/__init__.py > > on line 5, but no encoding declared; see > >http://www.python.org/peps/pep-0263.html for details > > > > > >The culprit was the german name in __init__.py: I > > changed it to "Juergen" and now everything works again. > > I doubt that this was the source of your problem. You can > have tons of those warnings and it will run ok > nevertheless. Maybe not, but as far as I know, it's only when I did this minor change that it started working again... > BTW, which version do you run? The current one (1.2.1) > shouldn't have those warnings... moin-apache2-1.1-0.cvs20030824.3mdk moin-1.1-0.cvs20030824.3mdk Gruess Gott! der liebe Augustin. -- www.masquilier.org Condorcet, Approval alternative voting. In order to prevent people from receiving viruses that would seem to originate from my email, if you use Microsoft Windows you do not have permission to add this address to your address book. If I am in your address book, please remove me. Of course, this does not apply to GNU/Linux users. Thank you. From tw-public at gmx.de Wed Apr 28 01:07:02 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Apr 28 01:07:02 2004 Subject: {solved} Re: [Moin-user] Moin stopped working when moving OS In-Reply-To: <200404280956.41282.linux-tw@masquilier.org> References: <200404270043.00573.linux-tw@masquilier.org> <200404271008.23896.linux-tw@masquilier.org> <408E7F2F.4040905@gmx.de> <200404280956.41282.linux-tw@masquilier.org> Message-ID: <408F725C.8040307@gmx.de> >>>>>IOError: [Errno 13] Permission denied: >>>>>'data/groups.pickle' >>>>> >>>>> > >What pickles? I don't have pickles in my moinmoin! >This error message was supposed to tell me that there is a >permission problem where? > > It can't open (create?) data/groups.pickle. This is where moin caches a pre-compiled group list it gets from the *.Group pages. >>BTW, which version do you run? The current one (1.2.1) >>shouldn't have those warnings... >> >> > > >moin-apache2-1.1-0.cvs20030824.3mdk >moin-1.1-0.cvs20030824.3mdk > > You shouldnt use 1.1 - we did a ton of bug fixes and nice new features in 1.2.1. From rademacher at bartsch.de Wed Apr 28 02:56:49 2004 From: rademacher at bartsch.de (Christoph Rademacher) Date: Wed Apr 28 02:56:49 2004 Subject: [Moin-user] Wrong time in DateTime In-Reply-To: <4073B461.1070503@bartsch.de> References: <4073B461.1070503@bartsch.de> Message-ID: <408F80A9.8000409@bartsch.de> Hello, i have noticed, that the wiki DateTime directive works not correctly on my Moinmoin Wiki. Its always 2 hours behind the the clock that is actually set on the system. Is this some kind of timezone problem, and how can i fix it? date prints: Wed Apr 28 11:48:14 CEST 2004 DateTime shows: 2004-04-28 09:53:09 Bye Christoph -------------- next part -------------- A non-text attachment was scrubbed... Name: rademacher.vcf Type: text/x-vcard Size: 331 bytes Desc: not available URL: From tw-public at gmx.de Wed Apr 28 08:18:21 2004 From: tw-public at gmx.de (Thomas Waldmann) Date: Wed Apr 28 08:18:21 2004 Subject: [Moin-user] Wrong time in DateTime In-Reply-To: <408F80A9.8000409@bartsch.de> References: <4073B461.1070503@bartsch.de> <408F80A9.8000409@bartsch.de> Message-ID: <408FD76C.6@gmx.de> > i have noticed, that the wiki DateTime directive works not correctly > on my Moinmoin Wiki. Its always 2 hours behind the the clock that is > actually set on the system. Is this some kind of timezone problem, and > how can i fix it? > > date prints: > > Wed Apr 28 11:48:14 CEST 2004 This is localtime. The wiki internally represents time in UTC. > DateTime shows: > > 2004-04-28 09:53:09 Did you set your UTC time offset (+02:00) in your UserPreferences correctly? If there is still the default (+00:00), the wiki shows UTC time and that currently is 2h less than CEST. If you didn't log in, but use the wiki anonymously, the wiki cannot know from which timezone you are accessing it (you could be anywhere on this planet - or even in space ;) ). In that case, it will simply show UTC. BTW: if we switch back to winter time later this year, you will have to manually correct your UserPreferences time offset to +01:00. From skip at pobox.com Fri Apr 30 06:41:06 2004 From: skip at pobox.com (Skip Montanaro) Date: Fri Apr 30 06:41:06 2004 Subject: [Moin-user] Viewing/editing MoinMoin wikis using a decent editor? Message-ID: <16530.22350.790875.195781@montanaro.dyndns.org> Using HTML