From jorgen.maillist at gmail.com Mon Feb 1 03:27:46 2010 From: jorgen.maillist at gmail.com (Jorgen Bodde) Date: Mon, 1 Feb 2010 09:27:46 +0100 Subject: [Moin-user] Empty RecentChanges Message-ID: <11e49df11002010027s19315cd8h96fbf247c5a4ac85@mail.gmail.com> Hi All, I have upgraded from MoinMoin 1.7 to 1.9.1 and everything seems to work fine, except the RecentChanges tab. Whenever I click it, it presents me with a "Create new page" option. What can I do to make RecentChanges, the "Recent Changes" again? The upgrade procedure was pretty straight forward... I extracted the moinwiki 1.9.1 archive, then I moved my old content to the wiki/data/pages directory and in the config I set the main page to the name "FrontPage" to get rid of the language settings page. I use the modern theme, I am running python 2.6, Windows Vista with moinmoin through moinserver.py With regards, - Jorgen From tw-public at gmx.de Mon Feb 1 03:54:18 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Mon, 01 Feb 2010 09:54:18 +0100 Subject: [Moin-user] Moin Security Issues Message-ID: <1265014458.13928.49.camel@x300> Moin, in case you're wondering, I recently got some very useful feedback from a japanese guy currently doing MoinMoin security research - he found 3 critical issues yet. If you are interested in moin security, please read (and subscribe to): http://moinmo.in/SecurityFixes One of the issues he found was fixed in 1.9.1 release (only affects 1.9 installations), we are currently working on the more recent 2 issues (which affect all moin versions >=1.5). Likely this will lead to new 1.9 and 1.8 releases, please install them as soon as they are available. We also will patch 1.7 (for some popular linux distributions still having moin 1.7 packages), but considering the easy upgrade from 1.7 to 1.8, there won't be a new 1.7 release. Please note that details about what the issues exactly are and how they could be exploited are intentionally not given NOW, to give developers, package maintainers and site administrators time to fix stuff. Please use the time. If you are running something that's not up-to-date, upgrade to latest 1.8.x or 1.9.x NOW and follow the SecurityFixes page. 1.8.x is still maintained for people who don't want to deal with WSGI stuff right now. If that's not an issue for you, please upgrade to latest 1.9.x. Cheers, Thomas From rb.proj at gmail.com Mon Feb 1 04:17:43 2010 From: rb.proj at gmail.com (R.Bauer) Date: Mon, 01 Feb 2010 10:17:43 +0100 Subject: [Moin-user] Empty RecentChanges In-Reply-To: <11e49df11002010027s19315cd8h96fbf247c5a4ac85@mail.gmail.com> References: <11e49df11002010027s19315cd8h96fbf247c5a4ac85@mail.gmail.com> Message-ID: Jorgen Bodde schrieb: > Hi All, > > I have upgraded from MoinMoin 1.7 to 1.9.1 and everything seems to > work fine, except the RecentChanges tab. Whenever I click it, it > presents me with a "Create new page" option. What can I do to make > RecentChanges, the "Recent Changes" again? > > The upgrade procedure was pretty straight forward... I extracted the > moinwiki 1.9.1 archive, then I moved my old content to the > wiki/data/pages directory and in the config I set the main page to the > name "FrontPage" to get rid of the language settings page. > > I use the modern theme, I am running python 2.6, Windows Vista with > moinmoin through moinserver.py see LanguageSetup and may be read the docs. e.g. CHANGES cheers Reimar From email at pfennigsolutions.de Mon Feb 1 07:02:43 2010 From: email at pfennigsolutions.de (Thilo Pfennig) Date: Mon, 01 Feb 2010 13:02:43 +0100 Subject: [Moin-user] not getting it with OpenID Message-ID: <4B66C2E3.9050204@pfennigsolutions.de> Hi, I still dont get it with Moin OpenID configuration: If I have a Drupal website that allows OpenID logins - what am I supposed to write into Moinconfig if I want Moin to authorize users to this site? The idea is to have a main page ROOT and a linked WIKI who do share users and it would be good if users are created in Drupal. Would this be sufficient: from MoinMoin.auth.openidrp import OpenIDAuth auth = [OpenIDAuth(forced_service='http://www.websi.de/', create_user=True)] My confusion comes from not having any example of the code without the BotBouncer). I understand if I would understand Python code it would be very simple for me, but I dont really code and not really understand whats going on in the code. Maybe somebody can provide some samples or help me understand? Thanks in advance. Regards, Thilo From rb.proj at gmail.com Mon Feb 1 12:58:02 2010 From: rb.proj at gmail.com (R.Bauer) Date: Mon, 01 Feb 2010 18:58:02 +0100 Subject: [Moin-user] not getting it with OpenID In-Reply-To: <4B66C2E3.9050204@pfennigsolutions.de> References: <4B66C2E3.9050204@pfennigsolutions.de> Message-ID: Thilo Pfennig schrieb: > Hi, > > I still dont get it with Moin OpenID configuration: > > If I have a Drupal website that allows OpenID logins - what am I > supposed to write into Moinconfig if I want Moin to authorize users to > this site? The idea is to have a main page ROOT and a linked WIKI who do > share users and it would be good if users are created in Drupal. > > Would this be sufficient: > from MoinMoin.auth.openidrp import OpenIDAuth > auth = [OpenIDAuth(forced_service='http://www.websi.de/', create_user=True)] > > My confusion comes from not having any example of the code without the > BotBouncer). I understand if I would understand Python code it would be > very simple for me, but I dont really code and not really understand > whats going on in the code. Hi Thilo I am not sure if that helps. There are two snippets for openid setup http://hg.moinmo.in/moin/1.9/file/8186aa2c7c9f/wiki/config/more_samples/openid_sreg_wikiconfig_snippet http://hg.moinmo.in/moin/1.9/file/8186aa2c7c9f/wiki/config/more_samples/openid_teams_wikiconfig_snippet cheers Reimar From waqas805 at hotmail.com Wed Feb 3 04:00:24 2010 From: waqas805 at hotmail.com (Tinku Badshah) Date: Wed, 3 Feb 2010 10:00:24 +0100 Subject: [Moin-user] Hiding some contents of a page from SomeUsers Message-ID: Hi, Can i hide some Contents or some links within a page from SomeUsers . Actually i have some pages, in which i have some contents or paragraphs or links and i dont want to show these contents to public users. Is there a way that public user can read X page, but they can not read some specific information within X page? Thanks in advance, Regards, W.Ahmad _________________________________________________________________ Hotmail: Free, trusted and rich email service. https://signup.live.com/signup.aspx?id=60969 -------------- next part -------------- An HTML attachment was scrubbed... URL: From rb.proj at gmail.com Wed Feb 3 08:29:44 2010 From: rb.proj at gmail.com (R.Bauer) Date: Wed, 03 Feb 2010 14:29:44 +0100 Subject: [Moin-user] Hiding some contents of a page from SomeUsers In-Reply-To: References: Message-ID: Tinku Badshah schrieb: > Hi, > > Can i hide some Contents or some links within a page from SomeUsers . > > Actually i have some pages, in which i have some contents or paragraphs or links and i dont want to show these contents to public users. > > > > Is there a way that public user can read X page, but they can not read some specific information within X page? > > > use acls on Included pages. If you don't give All read rights this included content is not shown to anonymous users. cheers Reimar From nicozanf at gmail.com Wed Feb 3 08:40:07 2010 From: nicozanf at gmail.com (Nico Zanferrari) Date: Wed, 3 Feb 2010 14:40:07 +0100 Subject: [Moin-user] New HowTo: An Active Directory authentication example Message-ID: <1be999771002030540w4ca8c4b7q383ec8ccdac1414f@mail.gmail.com> Moin to all. I've just finished to write a new HowTo. This time is an Active Directory authentication example (see http://moinmo.in/HowTo/UbuntuAD ) - based on MoinMoin 1.9.1 and Ubuntu 9.10 Karmic Koala. I hope you'll find it useful ;-)) Nico. From nicozanf at gmail.com Wed Feb 3 09:53:13 2010 From: nicozanf at gmail.com (Nico Zanferrari) Date: Wed, 3 Feb 2010 15:53:13 +0100 Subject: [Moin-user] Hiding some contents of a page from SomeUsers In-Reply-To: References: Message-ID: <1be999771002030653s7ca4284ai13d78f3bee39bcba@mail.gmail.com> Hi, you can look at http://moinmo.in/MoinMoinTips#Read_protect_parts_of_a_page for details. Bye, Nico. 2010/2/3 R.Bauer : > Tinku Badshah schrieb: >> Hi, >> >> Can i hide some Contents or some links within a page from SomeUsers . >> >> Actually i have some pages, in which i have some contents or paragraphs or links and i dont want to show these contents to public users. >> >> >> >> Is there a way that public user can read X page, but they can not read some specific information within X page? >> >> >> > > use acls on Included pages. If you don't give All read rights this > included content is not shown to anonymous users. > > cheers > Reimar > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From dvdhldn at gmail.com Fri Feb 5 08:46:40 2010 From: dvdhldn at gmail.com (David Holden) Date: Fri, 5 Feb 2010 13:46:40 +0000 Subject: [Moin-user] Create empty page failure after upgrade. Message-ID: Hello, I've just upgraded to 1.9.1 and I'm getting "This page does not exist yet. You can create a new empty page, or use one of the page templates. ?Action(edit,Create new empty page) " for a new page but when I click on the "?" the URL just goes to ".../Action(edit%2CCreate new empty page)" with the same " "This page does not exist yet. You can create a new empty page, or use one of the page templates. ?Action(edit,Create new empty page) " Any ideas, Thanks, Dave. From tw-public at gmx.de Fri Feb 5 10:35:26 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Fri, 05 Feb 2010 16:35:26 +0100 Subject: [Moin-user] Create empty page failure after upgrade. In-Reply-To: References: Message-ID: <1265384126.25173.100.camel@x300.fritz.box> > I've just upgraded to 1.9.1 and I'm getting Maybe you missed the step about visiting the LanguageSetup page in your fresh wiki. Just read and follow it. Don't forget to remove superuser afterwards and keep an eye on: http://moinmo.in/SecurityFixes From dvdhldn at gmail.com Fri Feb 5 10:57:56 2010 From: dvdhldn at gmail.com (David Holden) Date: Fri, 5 Feb 2010 15:57:56 +0000 Subject: [Moin-user] Create empty page failure after upgrade. In-Reply-To: <1265384126.25173.100.camel@x300.fritz.box> References: <1265384126.25173.100.camel@x300.fritz.box> Message-ID: On 5 February 2010 15:35, Thomas Waldmann wrote: > >> ?I've just upgraded to 1.9.1 and I'm getting > > Maybe you missed the step about visiting the LanguageSetup page in your > fresh wiki. Just read and follow it. > > Don't forget to remove superuser afterwards and keep an eye on: > > http://moinmo.in/SecurityFixes > > > > Hi Thomas, thanks very much! this worked. Cheers, Dave. From kevin.ch.ha at gmail.com Fri Feb 5 11:36:55 2010 From: kevin.ch.ha at gmail.com (Kevin Ha) Date: Fri, 5 Feb 2010 11:36:55 -0500 Subject: [Moin-user] Collapsing sections of a page Message-ID: (my apologies if this was double-posted) Hi there, Is there an extension or macro available that allows one to dynamically collapse a section of the page? For example, if I have a large page with many sections and subsections, it would be nice to be able to temporarily hide some of them from view. Thanks, Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From GregNoel at tigris.org Fri Feb 5 11:55:40 2010 From: GregNoel at tigris.org (Greg Noel) Date: Fri, 5 Feb 2010 08:55:40 -0800 Subject: [Moin-user] Collapsing sections of a page In-Reply-To: References: Message-ID: <72DF92C8-FE73-45EC-B52C-7C7EF32C0C99@tigris.org> On Feb 5, 2010, at 8:36 AM, Kevin Ha wrote: > Is there an extension or macro available that allows one to > dynamically collapse a section of the page? ... I don't know if Jim Wight's SeeSaw still works in the latest Moin versions, but it's worth a shot. market: http://moinmo.in/MacroMarket/SeeSaw demo: http://seesaw.ncl.ac.uk Hope this helps, -- Greg Noel, retired UNIX guru From kevin.ch.ha at gmail.com Fri Feb 5 14:09:19 2010 From: kevin.ch.ha at gmail.com (Kevin Ha) Date: Fri, 5 Feb 2010 14:09:19 -0500 Subject: [Moin-user] Collapsing sections of a page In-Reply-To: <4B6C660C.5000707@ncl.ac.uk> References: <72DF92C8-FE73-45EC-B52C-7C7EF32C0C99@tigris.org> <4B6C660C.5000707@ncl.ac.uk> Message-ID: On Fri, Feb 5, 2010 at 1:40 PM, Jim Wight wrote: > Greg Noel wrote: > >> On Feb 5, 2010, at 8:36 AM, Kevin Ha wrote: >> >> Is there an extension or macro available that allows one to dynamically >>> collapse a section of the page? ... >>> >> >> I don't know if Jim Wight's SeeSaw still works in the latest Moin >> versions, but it's worth a shot. >> >> market: http://moinmo.in/MacroMarket/SeeSaw >> demo: http://seesaw.ncl.ac.uk >> > > Yes, it works with the latest releases of all versions of MoinMoin from 1.6 > to 1.9. I'm also in the process of checking it with the latest release > (1.4.1) of jQuery. All seems OK so far, and I may well shorlty slot in that > version at http://seesaw.ncl.ac.uk. > > Jim > > I just tried it out and it seems to work very nicely, thanks! Do you have an example of how to hide a preformatted text block? I could not find one in the demo. Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: From j.k.wight at ncl.ac.uk Fri Feb 5 13:40:12 2010 From: j.k.wight at ncl.ac.uk (Jim Wight) Date: Fri, 05 Feb 2010 18:40:12 +0000 Subject: [Moin-user] Collapsing sections of a page In-Reply-To: <72DF92C8-FE73-45EC-B52C-7C7EF32C0C99@tigris.org> References: <72DF92C8-FE73-45EC-B52C-7C7EF32C0C99@tigris.org> Message-ID: <4B6C660C.5000707@ncl.ac.uk> Greg Noel wrote: > On Feb 5, 2010, at 8:36 AM, Kevin Ha wrote: > >> Is there an extension or macro available that allows one to >> dynamically collapse a section of the page? ... > > I don't know if Jim Wight's SeeSaw still works in the latest Moin > versions, but it's worth a shot. > > market: http://moinmo.in/MacroMarket/SeeSaw > demo: http://seesaw.ncl.ac.uk Yes, it works with the latest releases of all versions of MoinMoin from 1.6 to 1.9. I'm also in the process of checking it with the latest release (1.4.1) of jQuery. All seems OK so far, and I may well shorlty slot in that version at http://seesaw.ncl.ac.uk. Jim From j.k.wight at ncl.ac.uk Fri Feb 5 14:25:01 2010 From: j.k.wight at ncl.ac.uk (Jim Wight) Date: Fri, 05 Feb 2010 19:25:01 +0000 Subject: [Moin-user] Collapsing sections of a page In-Reply-To: References: <72DF92C8-FE73-45EC-B52C-7C7EF32C0C99@tigris.org> <4B6C660C.5000707@ncl.ac.uk> Message-ID: <4B6C708D.70109@ncl.ac.uk> Kevin Ha wrote: > On Fri, Feb 5, 2010 at 1:40 PM, Jim Wight > wrote: > > Greg Noel wrote: > > On Feb 5, 2010, at 8:36 AM, Kevin Ha wrote: > > Is there an extension or macro available that allows one to > dynamically collapse a section of the page? ... > > > I don't know if Jim Wight's SeeSaw still works in the latest > Moin versions, but it's worth a shot. > > market: http://moinmo.in/MacroMarket/SeeSaw > demo: http://seesaw.ncl.ac.uk > > > Yes, it works with the latest releases of all versions of MoinMoin > from 1.6 to 1.9. I'm also in the process of checking it with the > latest release (1.4.1) of jQuery. All seems OK so far, and I may > well shorlty slot in that version at http://seesaw.ncl.ac.uk. > > Jim > > > I just tried it out and it seems to work very nicely, thanks! Do you > have an example of how to hide a preformatted text block? I could not > find one in the demo. Example 13 actually shows it, although it was chosen to highlight something else. This is what you want: <> {{{{#!wiki seesaw/pre {{{ This is preformatted text }}} }}}} Jim From kai at aplteam.com Fri Feb 5 14:14:59 2010 From: kai at aplteam.com (Kai Jaeger) Date: Fri, 5 Feb 2010 19:14:59 +0000 Subject: [Moin-user] Collapsing sections of a page In-Reply-To: References: <72DF92C8-FE73-45EC-B52C-7C7EF32C0C99@tigris.org> <4B6C660C.5000707@ncl.ac.uk> Message-ID: <580814a01002051114x34360e1bt3df555f45dc83ff2@mail.gmail.com> I am running Moin 1.9.1 and SeeSaw works just fine. See http://aplwiki.com/SeeSaw for examples. On Fri, Feb 5, 2010 at 19:09, Kevin Ha wrote: > On Fri, Feb 5, 2010 at 1:40 PM, Jim Wight wrote: >> >> Greg Noel wrote: >>> >>> On Feb 5, 2010, at 8:36 AM, Kevin Ha wrote: >>> >>>> Is there an extension or macro available that allows one to ?dynamically >>>> collapse a section of the page? ... >>> >>> I don't know if Jim Wight's SeeSaw still works in the latest Moin >>> ?versions, but it's worth a shot. >>> >>> market: http://moinmo.in/MacroMarket/SeeSaw >>> demo: http://seesaw.ncl.ac.uk >> >> Yes, it works with the latest releases of all versions of MoinMoin from >> 1.6 to 1.9. I'm also in the process of checking it with the latest release >> (1.4.1) of jQuery. All seems OK so far, and I may well shorlty slot in that >> version at http://seesaw.ncl.ac.uk. >> >> Jim >> > > I just tried it out and it seems to work very nicely, thanks! Do you have an > example of how to hide a preformatted text block? I could not find one in > the demo. > > Kevin > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > > From skip at pobox.com Sat Feb 6 13:01:41 2010 From: skip at pobox.com (skip at pobox.com) Date: Sat, 6 Feb 2010 12:01:41 -0600 Subject: [Moin-user] Lots of pages - nothing but empty edit-log??? Message-ID: <19309.44677.815061.123678@montanaro.dyndns.org> A user of the Python Wiki was having trouble renaming a page about Vim and called in the cavalry (webmaster). I found many "pages" related to Vim with all sorts of misspellings and special characters. Most of them were just directories with a single, zero-length edit-log file. I deleted a bunch manually but a quick find showed that most of the "pages" were actually such directories - no content. I suspect these are the remnants of a page deletion. Is it safe to simply delete them? Thanks, -- Skip Montanaro - skip at pobox.com - http://www.smontanaro.net/ From rick.vanderveer at gmail.com Sat Feb 6 13:36:11 2010 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Sat, 6 Feb 2010 12:36:11 -0600 Subject: [Moin-user] Lots of pages - nothing but empty edit-log??? In-Reply-To: <19309.44677.815061.123678@montanaro.dyndns.org> References: <19309.44677.815061.123678@montanaro.dyndns.org> Message-ID: <5c39e1ca1002061036s3ab8a33bu2927294871c8b260@mail.gmail.com> In one word: Yes. Just make sure to restart your wiki process (mod_wsgi or apache) when finished to clear the process cache. Otherwise it will appear that the page still exists and things really get wonky (nothing harmful, just weird behavior until the process is restarted, due to caching). Depending on how old your wiki is, it could've been that some of these were created around (I can't remember exactly which version) 1.7 where there was a bug where these directories were created just by someone touching this potentially new page. Later, I've noticed that I will still get an occasional mystery page; I *think* it might be caused by someone starting to create a new page, but then backing out at the last minute (canceling? or maybe just closing the browser window?). They're totally a non-deal, and I whack them with a vengeance. Also, with our wiki, we have scenerios where we merge the content of two pages into one, leaving behind a deleted orphan page. I suppose there is no harm in leaving the original, but in our case the content is truly moved, and I just assume not have the old page around to back up or sort through when looking at the back end. So again, delete and restart. No harm done. -Rick On Sat, Feb 6, 2010 at 12:01 PM, wrote: > A user of the Python Wiki was having trouble renaming a page about Vim and > called in the cavalry (webmaster). I found many "pages" related to Vim > with > all sorts of misspellings and special characters. Most of them were just > directories with a single, zero-length edit-log file. I deleted a bunch > manually but a quick find showed that most of the "pages" were actually > such > directories - no content. > > I suspect these are the remnants of a page deletion. Is it safe to simply > delete them? > > Thanks, > > -- > Skip Montanaro - skip at pobox.com - http://www.smontanaro.net/ > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From tw-public at gmx.de Sun Feb 7 13:05:19 2010 From: tw-public at gmx.de (Thomas Waldmann) Date: Sun, 07 Feb 2010 19:05:19 +0100 Subject: [Moin-user] Lots of pages - nothing but empty edit-log??? In-Reply-To: <19309.44677.815061.123678@montanaro.dyndns.org> References: <19309.44677.815061.123678@montanaro.dyndns.org> Message-ID: <1265565919.13979.25.camel@x300.fritz.box> On Sat, 2010-02-06 at 12:01 -0600, skip at pobox.com wrote: > A user of the Python Wiki was having trouble renaming a page about Vim and > called in the cavalry (webmaster). I found many "pages" related to Vim with > all sorts of misspellings and special characters. Most of them were just > directories with a single, zero-length edit-log file. I deleted a bunch > manually but a quick find showed that most of the "pages" were actually such > directories - no content. Have a look at "moin ... maint cleanpage" script command. It has a rather safe classifier and outputs a shell script that moves pagedirs from the data directory to "trash/" and "deleted/" directories. Create those dirs, review the script and fire it up. The trash detection makes very sure that there is really just trash. The deleted pages maybe should be kept for a while (maybe use delete-.tar.gz), just in case someone misses something and just wanted to revert it from deleted status. Stop wiki engine before and restart it afterwards. > I suspect these are the remnants of a page deletion. Is it safe to simply > delete them? Yes. From skip at pobox.com Sun Feb 7 20:24:50 2010 From: skip at pobox.com (skip at pobox.com) Date: Sun, 7 Feb 2010 19:24:50 -0600 Subject: [Moin-user] Lots of pages - nothing but empty edit-log??? In-Reply-To: <1265565919.13979.25.camel@x300.fritz.box> References: <19309.44677.815061.123678@montanaro.dyndns.org> <1265565919.13979.25.camel@x300.fritz.box> Message-ID: <19311.26594.794626.103747@montanaro.dyndns.org> Thomas> Have a look at "moin ... maint cleanpage" script command. Thanks. The help output didn't help and I couldn't tell what args it needed. I wound up writing a simple script based on what I saw in Andrew's home directory. My script only removed page directories which had just edit-log or edit-lock and edit-log files. Skip From el.baby at gmail.com Mon Feb 8 09:31:45 2010 From: el.baby at gmail.com (Mariano Absatz) Date: Mon, 8 Feb 2010 11:31:45 -0300 Subject: [Moin-user] multilingual regexes (need expert regex writer) Message-ID: <3d8676e1002080631o2440ae9fuc03e7d337cbd3187@mail.gmail.com> Hi, I have an old moin 1.6 wiki almost abandoned which I had configured to my taste... Now I need another wiki, so I installed (in another server) a fresh 1.9.1. Both wikis are somehow bilingual (Spanish/English)... not in the sense as dual-language-pages but most pages are in Spanish and some are in English. I had originally configured my old wiki to use Spanish regexes like this: page_category_regex = u'^Categor?a[A-Z]' page_dict_regex = u'^Dicc(ionario)[A-Z]' page_form_regex = u'^Form(ulario)?[A-Z]' page_group_regex = u'^Grupo[A-Z]' page_template_regex = u'^Plantilla[A-Z]' After sometime, since some of the people writing in English were used to the English versions of these, I came up with a somehow complex set of bi-lingual regexes: page_category_regex = u'^Categor(y|?a)[A-Z]' page_dict_regex = u'([a-z]Dict$)|(^Dicc(ionario)?[A-Z])' page_form_regex = u'([a-z]Form$)|(^Form(ulario)?[A-Z])' page_group_regex = u'([a-z]Group$)|(^Grupo[A-Z])' page_template_regex = u'([a-z]Template$)|(^Plantilla[A-Z])|([a-z]Plantilla$)' which worked OK. Now, in version 1.9, I see moin is using the (?P) Python regex extension in order to set an "all" and a "key" named groups... I don't know much of Python and even when I write a bit of "regexese", I'm no regex-wizard at all... My first attempt was to mimmick what I had in 1.6: page_group_regex = ur'(?P((?P\S+)Group)|(Grupo(?P\S+)))' However, even when I can see that the left and right side of the '|' are mutually exclusive, the regex-engine can't and yelds the following error: error: redefinition of group name u'key' as group 5; was group 3, referer: https://wiki.example.org/GrupoDeAdministradores?action=fullsearch&value=linkto%3A%22GrupoDeAdministradores%22&context=180 I understand that the named groups are simply putting names to existing numbered groups so my regex is clearly wrong... Now I came with a workaround like this: page_group_regex = ur'(?P(Grupo)?(?P\S+)(Group)?)' which seems to work, but actually matches ANY string starting with an uppercase letter :-( Is there any way to write a regex that matches GrupoKey or KeyGroup where "Key" is matched as the named group "key"? -- Mariano Absatz - El Baby www.clueless.com.ar From cl at isbd.net Mon Feb 8 12:20:09 2010 From: cl at isbd.net (Chris G) Date: Mon, 8 Feb 2010 17:20:09 +0000 Subject: [Moin-user] How to allow editing only by logged in users? Message-ID: <20100208172009.GA17718@chris> I have just installed moinmoin 1.9.1 on my xubuntu linux system. I've gone for the WikiFarm mode as I want to run a couple of personal wikis on it. It went fairly smoothly after a few false starts and I now have it up and running OK. However I have one really silly/fundamental question - how do I set it up so that only logged in users (i.e. those with logins on the wiki) can write/update pages on the system? I also want to set it up so that I have to allow new users onto the system. Currently it's only accessible from the home LAN so there's not a problem but I ultimately want to make it visible to the outside world so that I can get at the information I've put on it when I'm out and about. -- Chris Green From stephen at theboulets.net Mon Feb 8 12:21:15 2010 From: stephen at theboulets.net (stephen at theboulets.net) Date: Mon, 8 Feb 2010 09:21:15 -0800 Subject: [Moin-user] No images after Ubuntu upgrade Message-ID: <7591c5cf792c31a69cd31a8abd87f3c9.squirrel@webmail.theboulets.net> Hello all. I recently upgraded my Ubuntu 9.10, and all icons/graphics are not displayed. Anyone want to guess what might have happened? I've been using apache2 and modfastcgi, though it looks like there is a new preferred method for working with apache2? Here is /etc/apache2/conf.d/wiki file: AddHandler fastcgi-script .fcg FastCgiServer /usr/share/moin/mywiki/moin.fcg -idle-timeout 60 -processes 1 ScriptAlias /stephenswiki "/usr/share/moin/mywiki/moin.fcg" #alias /wiki "/usr/share/moin/htdocs" alias /moin_static182 "/usr/share/moin/htdocs" Stephen From eric at tibco.com Mon Feb 8 12:48:40 2010 From: eric at tibco.com (Eric Johnson) Date: Mon, 08 Feb 2010 09:48:40 -0800 Subject: [Moin-user] No images after Ubuntu upgrade In-Reply-To: <7591c5cf792c31a69cd31a8abd87f3c9.squirrel@webmail.theboulets.net> References: <7591c5cf792c31a69cd31a8abd87f3c9.squirrel@webmail.theboulets.net> Message-ID: <4B704E78.8000101@tibco.com> Hi Stephen, This sounds like a classic case of forgetting to update the "alias" line so that the /moin_static182 string actually corresponds to your version of MoinMoin. What version of MoinMoin is running on your system? If it isn't 1.8.2, then that alias line won't work. "mod_wsgi" is the preferred way of running MoinMoin - at least, that's what I suspect you're referring to. -Eric. On 02/08/2010 09:21 AM, stephen at theboulets.net wrote: > Hello all. I recently upgraded my Ubuntu 9.10, and all icons/graphics are > not displayed. Anyone want to guess what might have happened? > > I've been using apache2 and modfastcgi, though it looks like there is a > new preferred method for working with apache2? Here is > /etc/apache2/conf.d/wiki file: > > > AddHandler fastcgi-script .fcg > FastCgiServer /usr/share/moin/mywiki/moin.fcg -idle-timeout 60 > -processes 1 > ScriptAlias /stephenswiki "/usr/share/moin/mywiki/moin.fcg" > #alias /wiki "/usr/share/moin/htdocs" > alias /moin_static182 "/usr/share/moin/htdocs" > > > Stephen > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > From rick.vanderveer at gmail.com Mon Feb 8 12:52:56 2010 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Mon, 8 Feb 2010 11:52:56 -0600 Subject: [Moin-user] How to allow editing only by logged in users? In-Reply-To: <20100208172009.GA17718@chris> References: <20100208172009.GA17718@chris> Message-ID: <5c39e1ca1002080952n3389b746p245470f6ad6ebc7f@mail.gmail.com> Hey Chris, What you want to do is leverage a couple Moin features: 1. First is cosmetic - in your farmconfig.py file, switch your theme to one of the available *_cms themes. The point is so that non-logged users are not seeing all the edit tools on the wiki. Included in Moin is the modernized_cms, but several of us have also included CMS themes with our custom ones as well (http://moinmo.in/ThemeMarket), such as FixedLeft and Moniker, among others. 2. Second step is to set the ACL so that All:read. That way, even if they're clever enough to append a page name with ?action=edit, it won't let them. Additional reference: http://moinmo.in/HelpOnAccessControlLists 3. finally, controlling account creation. What I've done on one of my wiki's is set the TextCha to something only I know what the answer is. This is my "master password", so to speak. Then, I create the accounts for people and then add them to an 'edit' group that doesn't require TextCha. Add this to your farmconfig.py file: textchas_disabled_group = u"TrustedGroup" And then create a TrustedGroup page (remember to also protect this page so that only you can edit it). see also: http://moinmo.in/HelpOnGroups This is a question that comes up periodically. I've been meaning to make a 'HowTo' about it for a while now. I suppose this is a good start, I think I'll create it now. -Rick On Mon, Feb 8, 2010 at 11:20 AM, Chris G wrote: > I have just installed moinmoin 1.9.1 on my xubuntu linux system. I've > gone for the WikiFarm mode as I want to run a couple of personal wikis > on it. It went fairly smoothly after a few false starts and I now > have it up and running OK. > > However I have one really silly/fundamental question - how do I set it > up so that only logged in users (i.e. those with logins on the wiki) > can write/update pages on the system? I also want to set it up so > that I have to allow new users onto the system. Currently it's only > accessible from the home LAN so there's not a problem but I ultimately > want to make it visible to the outside world so that I can get at the > information I've put on it when I'm out and about. > > -- > Chris Green > > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cl at isbd.net Mon Feb 8 12:55:14 2010 From: cl at isbd.net (Chris G) Date: Mon, 8 Feb 2010 17:55:14 +0000 Subject: [Moin-user] Is it possible to display local images? Message-ID: <20100208175514.GA23338@chris> Is it possible for moinmoin to display 'local' images, i.e. images which are already on the system where moinmoin is running? I'm running version 1.9.1 on xubuntu 9.10. All I want to do is display images which are already on the system as .JPG files. I don't want to upload them into moinmoin as it will be a waste of space and if I edit the original image (in my main photo album) the moinmoin copy won't get changed. -- Chris Green From stephen at theboulets.net Mon Feb 8 12:58:26 2010 From: stephen at theboulets.net (stephen at theboulets.net) Date: Mon, 8 Feb 2010 09:58:26 -0800 Subject: [Moin-user] No images after Ubuntu upgrade In-Reply-To: <4B704E78.8000101@tibco.com> References: <7591c5cf792c31a69cd31a8abd87f3c9.squirrel@webmail.theboulets.net> <4B704E78.8000101@tibco.com> Message-ID: <2298a911fbf0fe74d8bf6c019c0171f8.squirrel@webmail.theboulets.net> Thanks. You're absolutely right. > Hi Stephen, > > This sounds like a classic case of forgetting to update the "alias" line > so that the /moin_static182 string actually corresponds to your version > of MoinMoin. > > What version of MoinMoin is running on your system? If it isn't 1.8.2, > then that alias line won't work. > > "mod_wsgi" is the preferred way of running MoinMoin - at least, that's > what I suspect you're referring to. > > -Eric. > > On 02/08/2010 09:21 AM, stephen at theboulets.net wrote: >> Hello all. I recently upgraded my Ubuntu 9.10, and all icons/graphics >> are >> not displayed. Anyone want to guess what might have happened? >> >> I've been using apache2 and modfastcgi, though it looks like there is a >> new preferred method for working with apache2? Here is >> /etc/apache2/conf.d/wiki file: >> >> >> AddHandler fastcgi-script .fcg >> FastCgiServer /usr/share/moin/mywiki/moin.fcg -idle-timeout 60 >> -processes 1 >> ScriptAlias /stephenswiki "/usr/share/moin/mywiki/moin.fcg" >> #alias /wiki "/usr/share/moin/htdocs" >> alias /moin_static182 "/usr/share/moin/htdocs" >> >> >> Stephen >> >> >> ------------------------------------------------------------------------------ >> The Planet: dedicated and managed hosting, cloud storage, colocation >> Stay online with enterprise data centers and the best network in the >> business >> Choose flexible plans and management services without long-term >> contracts >> Personal 24x7 support from experience hosting pros just a phone call >> away. >> http://p.sf.net/sfu/theplanet-com >> _______________________________________________ >> Moin-user mailing list >> Moin-user at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/moin-user >> > From cl at isbd.net Mon Feb 8 13:30:09 2010 From: cl at isbd.net (Chris G) Date: Mon, 8 Feb 2010 18:30:09 +0000 Subject: [Moin-user] How to allow editing only by logged in users? In-Reply-To: <5c39e1ca1002080952n3389b746p245470f6ad6ebc7f@mail.gmail.com> References: <20100208172009.GA17718@chris> <5c39e1ca1002080952n3389b746p245470f6ad6ebc7f@mail.gmail.com> Message-ID: <20100208183009.GB23338@chris> On Mon, Feb 08, 2010 at 11:52:56AM -0600, Rick Vanderveer wrote: > Hey Chris, > What you want to do is leverage a couple Moin features: > > 1. First is cosmetic - in your farmconfig.py file, switch your theme to > one of the available *_cms themes. The point is so that non-logged users > are not seeing all the edit tools on the wiki. Included in Moin is the > modernized_cms, but several of us have also included CMS themes with our > custom ones as well ([1]http://moinmo.in/ThemeMarket), such as FixedLeft > and Moniker, among others. > OK, that's an easy start. :-) > 2. Second step is to set the ACL so that All:read. That way, even if > they're clever enough to append a page name with ?action=edit, it won't > let them. Additional reference: > [2]http://moinmo.in/HelpOnAccessControlLists > OK, done that now too. It does feel as if there should be an almost 'default' set up where only logged in users can do things though. > 3. finally, controlling account creation. What I've done on one of my > wiki's is set the TextCha to something only I know what the answer is. > This is my "master password", so to speak. Then, I create the accounts > for people and then add them to an 'edit' group that doesn't require > TextCha. Add this to your farmconfig.py file: > textchas_disabled_group = u"TrustedGroup" > And then create a TrustedGroup page (remember to also protect this page so > that only you can edit it). > see also: [3]http://moinmo.in/HelpOnGroups > Again it seems like a bit of a workaround for an omission, but still, it works I guess. > This is a question that comes up periodically. I've been meaning to make > a 'HowTo' about it for a while now. I suppose this is a good start, I > think I'll create it now. > :-) Thanks for the help. -- Chris Green From tcataldo at bham.lib.al.us Mon Feb 8 13:48:25 2010 From: tcataldo at bham.lib.al.us (Tobin Cataldo) Date: Mon, 08 Feb 2010 12:48:25 -0600 Subject: [Moin-user] multilingual regexes (need expert regex writer) In-Reply-To: <3d8676e1002080631o2440ae9fuc03e7d337cbd3187@mail.gmail.com> References: <3d8676e1002080631o2440ae9fuc03e7d337cbd3187@mail.gmail.com> Message-ID: <4B705C79.20505@bham.lib.al.us> Greetings, I am no expert, but I think positive look ahead assertion and positive look behind assertion may be what you are after... #!c:\python26\python.exe import re list = ['OneGroup', 'GrupoDos', 'GrupoMyGroup'] for item in list: m = re.match('(?P(Grupo)?(?P((?<=Grupo)\S+|\S+(?=Group)))(Group)?)', item) if m: print m.group('all') + " : " + m.group('key') + "\n" --Output -- OneGroup : One GrupoDos : Dos GrupoMyGroup : MyGroup Please notice case #3, which matches as Grupo -> MyGroup because the first conditional look behind assertion evaluates to true with a positive look behind assertion on Grupo. Tobin Cataldo Mariano Absatz wrote: > Hi, > > I have an old moin 1.6 wiki almost abandoned which I had configured to > my taste... > > Now I need another wiki, so I installed (in another server) a fresh 1.9.1. > > Both wikis are somehow bilingual (Spanish/English)... not in the sense > as dual-language-pages but most pages are in Spanish and some are in > English. > > I had originally configured my old wiki to use Spanish regexes like this: > > page_category_regex = u'^Categor?a[A-Z]' > page_dict_regex = u'^Dicc(ionario)[A-Z]' > page_form_regex = u'^Form(ulario)?[A-Z]' > page_group_regex = u'^Grupo[A-Z]' > page_template_regex = u'^Plantilla[A-Z]' > > > After sometime, since some of the people writing in English were used > to the English versions of these, I came up with a somehow complex set > of bi-lingual regexes: > > page_category_regex = u'^Categor(y|?a)[A-Z]' > page_dict_regex = u'([a-z]Dict$)|(^Dicc(ionario)?[A-Z])' > page_form_regex = u'([a-z]Form$)|(^Form(ulario)?[A-Z])' > page_group_regex = u'([a-z]Group$)|(^Grupo[A-Z])' > page_template_regex = > u'([a-z]Template$)|(^Plantilla[A-Z])|([a-z]Plantilla$)' > > which worked OK. > > Now, in version 1.9, I see moin is using the (?P) Python regex > extension in order to set an "all" and a "key" named groups... > > I don't know much of Python and even when I write a bit of "regexese", > I'm no regex-wizard at all... > > My first attempt was to mimmick what I had in 1.6: > > page_group_regex = ur'(?P((?P\S+)Group)|(Grupo(?P\S+)))' > > However, even when I can see that the left and right side of the '|' > are mutually exclusive, the regex-engine can't and yelds the following > error: > error: redefinition of group name u'key' as group 5; was group 3, > referer: https://wiki.example.org/GrupoDeAdministradores?action=fullsearch&value=linkto%3A%22GrupoDeAdministradores%22&context=180 > > I understand that the named groups are simply putting names to > existing numbered groups so my regex is clearly wrong... > > Now I came with a workaround like this: > > page_group_regex = ur'(?P(Grupo)?(?P\S+)(Group)?)' > > which seems to work, but actually matches ANY string starting with an > uppercase letter :-( > > Is there any way to write a regex that matches GrupoKey or KeyGroup > where "Key" is matched as the named group "key"? > > > From el.baby at gmail.com Mon Feb 8 14:52:04 2010 From: el.baby at gmail.com (Mariano Absatz) Date: Mon, 8 Feb 2010 16:52:04 -0300 Subject: [Moin-user] multilingual regexes (need expert regex writer) In-Reply-To: <4B705C79.20505@bham.lib.al.us> References: <3d8676e1002080631o2440ae9fuc03e7d337cbd3187@mail.gmail.com> <4B705C79.20505@bham.lib.al.us> Message-ID: <3d8676e1002081152v2b16023dx11367bcbd38db533@mail.gmail.com> On Mon, Feb 8, 2010 at 15:48, Tobin Cataldo wrote: > Greetings, > > I am no expert, but I think positive look ahead assertion and positive look > behind assertion may be what you are after... > Tobin... thanx a lot for your answer... it completely solved my problem... I had forgotten about look aheads (since I had only read about them but never used them)... but had never heard of "lookbehind"s... You've been of great help! -- Mariano Absatz - El Baby www.clueless.com.ar From mail at heavy.ch Mon Feb 8 15:48:25 2010 From: mail at heavy.ch (Mail@Heavy.ch) Date: Mon, 08 Feb 2010 21:48:25 +0100 Subject: [Moin-user] Is it possible to display local images? In-Reply-To: <20100208175514.GA23338@chris> References: <20100208175514.GA23338@chris> Message-ID: <1265662105.3056.13.camel@lestat.vampyre.home> Am Montag, den 08.02.2010, 17:55 +0000 schrieb Chris G: > Is it possible for moinmoin to display 'local' images, i.e. images > which are already on the system where moinmoin is running? > > I'm running version 1.9.1 on xubuntu 9.10. All I want to do is > display images which are already on the system as .JPG files. I don't > want to upload them into moinmoin as it will be a waste of space and > if I edit the original image (in my main photo album) the moinmoin > copy won't get changed. > embending images is easy, just read here: http://moinmo.in/HelpOnImages now the bit complicated part... your images on your filesystem. I would try to do something like this 1. install some apache and 2. configure the webserver in that way that your image directories are accessible over localhost or your local domain like >> http://yourhostname/images/s000023.jpg << (but you have be careful about your apache security configuration, because if your apache server is also from the Internet available, others can also read directly your images, too) 3. then you can write in your moinmoin someting like {{http://yourhostname/images/s000023.jpg}} bye Marcel -------------- next part -------------- An HTML attachment was scrubbed... URL: From cl at isbd.net Mon Feb 8 16:04:01 2010 From: cl at isbd.net (Chris G) Date: Mon, 8 Feb 2010 21:04:01 +0000 Subject: [Moin-user] Is it possible to display local images? In-Reply-To: <1265662105.3056.13.camel@lestat.vampyre.home> References: <20100208175514.GA23338@chris> <1265662105.3056.13.camel@lestat.vampyre.home> Message-ID: <20100208210401.GA29118@chris> On Mon, Feb 08, 2010 at 09:48:25PM +0100, Mail at Heavy.ch wrote: > Am Montag, den 08.02.2010, 17:55 +0000 schrieb Chris G: > > Is it possible for moinmoin to display 'local' images, i.e. images > which are already on the system where moinmoin is running? > > I'm running version 1.9.1 on xubuntu 9.10. All I want to do is > display images which are already on the system as .JPG files. I don't > want to upload them into moinmoin as it will be a waste of space and > if I edit the original image (in my main photo album) the moinmoin > copy won't get changed. > > > embending images is easy, just read here: > [1]http://moinmo.in/HelpOnImages > Yes, I read that, but it doesn't actually work for *any* images that I have tried it with. It may work if you're actually sending an image from a remote system to the system where moinmoin is running but it's total rubbish if you're on the same system. > now the bit complicated part... your images on your filesystem. I would > try to do something like this > > 1. install some apache and > > 2. configure the webserver in that way that your image directories are > accessible over localhost or your local domain like >> > http://yourhostname/images/s000023.jpg << (but you have be careful > about your apache security configuration, because if your apache server is > also from the Internet available, others can also read directly your > images, too) > > 3. then you can write in your moinmoin someting like > {{[2]http://yourhostname/images/s000023.jpg}} > OK, but *why* doesn't something like:- file:///my/home/dir/picture/abc123.jpg work? file:/ is a perfectly valid URL. I don't want to put my whole picture archive on the internet. Not to mention that it would seem that URLs or directories with spaces in their names seem to break things too. -- Chris Green From cl at isbd.net Mon Feb 8 16:24:09 2010 From: cl at isbd.net (Chris G) Date: Mon, 8 Feb 2010 21:24:09 +0000 Subject: [Moin-user] Image problems Message-ID: <20100208212409.GA32575@chris> I'm beginning to think that putting pictures into a wiki is just not the done thing! :-) (or maybe :-( ) I'm trying to use moinmoin (and I have also played with some other wikis without much more success) to create some narratives of holidays and other similar sorts of things. What I want is the ability to create a stream of text with some pictures interleaved in it. This is not (at least to start with) for the world to see, it's for me and other users of the local LAN to look at and use. It's an information resource and a place to store and add notes. So, I have moinmoin up and working on the LAN, I can do all the sorts of things one expects to be able to do, add pages, edit pages, create Categories, etc., etc. ***BUT*** putting pictures into pages is a disaster. The *only* way that works (sort of) is to actually *copy* the picture from the source into moinmoin. Even then (I just tried it) thre result is a bit of a mess because the picture is too big and it hides the page editing links so now I can't change the page at all and, as it's just a picture too big to be displayed, that's a bit of a mess. OK, if I had a library of little thumbnails, I could use them quite happily but for actual photos direct from a camera I really don't see how to use them with moinmoin at all. (OK, for a narrative maybe a blog is the way to go but I want a narrative that starts at the beginning and finishes at the end) ... sorry if this is a bit of a rant but I've been trying to find a solution for my requirements for several weeks now, I've gone from WordPress to Blosxom to DokuWiki to Moinmoin (all installed here on my system) and haven't really found a good answer yet. -- Chris Green From rick.vanderveer at gmail.com Mon Feb 8 17:25:31 2010 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Mon, 8 Feb 2010 16:25:31 -0600 Subject: [Moin-user] Image problems In-Reply-To: <20100208212409.GA32575@chris> References: <20100208212409.GA32575@chris> Message-ID: <5c39e1ca1002081425x7577e792lf36f99a87177f223@mail.gmail.com> Well, Chris, keep in mind that no blogging/wiki tool is going to just magically scale 6~12Mb photos to some arbitrary size that fits your needs. You'll have to either make or scale your own photos. With a simple test, I've confirmed that you can combine multiple variables. So, for example, you should be able to point to a photo on your local machine (say, via an apache alias, as some else pointed out), and then use arguments to specify the width and alignment. Adapting the example on the HelpOnImages page, here's an example. [[attachment:Grand_Tetons.jpg|{{attachment:Grand_Tetons.jpg||width=100,align="right"}}]] There's also a couple gallery macros, which doesn't sound exactly like what you want, but may prove useful anyway. -Rick On Mon, Feb 8, 2010 at 3:24 PM, Chris G wrote: > I'm beginning to think that putting pictures into a wiki is just not > the done thing! :-) (or maybe :-( ) > > I'm trying to use moinmoin (and I have also played with some other > wikis without much more success) to create some narratives of holidays > and other similar sorts of things. What I want is the ability to > create a stream of text with some pictures interleaved in it. > > This is not (at least to start with) for the world to see, it's for me > and other users of the local LAN to look at and use. It's an > information resource and a place to store and add notes. > > So, I have moinmoin up and working on the LAN, I can do all the sorts > of things one expects to be able to do, add pages, edit pages, create > Categories, etc., etc. > > ***BUT*** putting pictures into pages is a disaster. The *only* way > that works (sort of) is to actually *copy* the picture from the source > into moinmoin. Even then (I just tried it) thre result is a bit of a > mess because the picture is too big and it hides the page editing > links so now I can't change the page at all and, as it's just a > picture too big to be displayed, that's a bit of a mess. > > OK, if I had a library of little thumbnails, I could use them quite > happily but for actual photos direct from a camera I really don't see > how to use them with moinmoin at all. > > (OK, for a narrative maybe a blog is the way to go but I want a > narrative that starts at the beginning and finishes at the end) > > ... sorry if this is a bit of a rant but I've been trying to find a > solution for my requirements for several weeks now, I've gone from > WordPress to Blosxom to DokuWiki to Moinmoin (all installed here on my > system) and haven't really found a good answer yet. > > -- > Chris Green > > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cl at isbd.net Mon Feb 8 17:25:50 2010 From: cl at isbd.net (Chris G) Date: Mon, 8 Feb 2010 22:25:50 +0000 Subject: [Moin-user] Image problems In-Reply-To: <20100208212409.GA32575@chris> References: <20100208212409.GA32575@chris> Message-ID: <20100208222550.GB32575@chris> On Mon, Feb 08, 2010 at 09:24:09PM +0000, Chris G wrote: > I'm beginning to think that putting pictures into a wiki is just not > the done thing! :-) (or maybe :-( ) > > I'm trying to use moinmoin (and I have also played with some other > wikis without much more success) to create some narratives of holidays > and other similar sorts of things. What I want is the ability to > create a stream of text with some pictures interleaved in it. > > This is not (at least to start with) for the world to see, it's for me > and other users of the local LAN to look at and use. It's an > information resource and a place to store and add notes. > > So, I have moinmoin up and working on the LAN, I can do all the sorts > of things one expects to be able to do, add pages, edit pages, create > Categories, etc., etc. > > ***BUT*** putting pictures into pages is a disaster. The *only* way > that works (sort of) is to actually *copy* the picture from the source > into moinmoin. Even then (I just tried it) thre result is a bit of a > mess because the picture is too big and it hides the page editing > links so now I can't change the page at all and, as it's just a > picture too big to be displayed, that's a bit of a mess. > > OK, if I had a library of little thumbnails, I could use them quite > happily but for actual photos direct from a camera I really don't see > how to use them with moinmoin at all. > > (OK, for a narrative maybe a blog is the way to go but I want a > narrative that starts at the beginning and finishes at the end) > > ... sorry if this is a bit of a rant but I've been trying to find a > solution for my requirements for several weeks now, I've gone from > WordPress to Blosxom to DokuWiki to Moinmoin (all installed here on my > system) and haven't really found a good answer yet. > ... and then, I can't even get the title, align and width settings for a (copied) image to work all at the same time. Is there anywhere that documents this *properly* rather than in bits and pieces? I.e. I want to have:- ((attachment:/home/abcde/xyx/image.jpg|caption|width=1234|align="left"}} ... but the above doesn't work. What's the syntax for having all the options set? -- Chris Green From lists at iDIAcomputing.com Mon Feb 8 17:02:44 2010 From: lists at iDIAcomputing.com (George Dinwiddie) Date: Mon, 08 Feb 2010 17:02:44 -0500 Subject: [Moin-user] Image problems In-Reply-To: <20100208212409.GA32575@chris> References: <20100208212409.GA32575@chris> Message-ID: <4B708A04.8090907@iDIAcomputing.com> Hi, Chris, I don't use many images in moin pages, but I do what you suggest in HTML pages. I typically use ImageMagick to create the thumbnails, these days. It lets me bulk convert from the commandline. I've used it on Linux, Windows, & OS-X. It also has python bindings, I think, if you or someone wanted to create a moin plugin with it. - George Chris G wrote: > I'm beginning to think that putting pictures into a wiki is just not > the done thing! :-) (or maybe :-( ) > > I'm trying to use moinmoin (and I have also played with some other > wikis without much more success) to create some narratives of holidays > and other similar sorts of things. What I want is the ability to > create a stream of text with some pictures interleaved in it. > > This is not (at least to start with) for the world to see, it's for me > and other users of the local LAN to look at and use. It's an > information resource and a place to store and add notes. > > So, I have moinmoin up and working on the LAN, I can do all the sorts > of things one expects to be able to do, add pages, edit pages, create > Categories, etc., etc. > > ***BUT*** putting pictures into pages is a disaster. The *only* way > that works (sort of) is to actually *copy* the picture from the source > into moinmoin. Even then (I just tried it) thre result is a bit of a > mess because the picture is too big and it hides the page editing > links so now I can't change the page at all and, as it's just a > picture too big to be displayed, that's a bit of a mess. > > OK, if I had a library of little thumbnails, I could use them quite > happily but for actual photos direct from a camera I really don't see > how to use them with moinmoin at all. > > (OK, for a narrative maybe a blog is the way to go but I want a > narrative that starts at the beginning and finishes at the end) > > ... sorry if this is a bit of a rant but I've been trying to find a > solution for my requirements for several weeks now, I've gone from > WordPress to Blosxom to DokuWiki to Moinmoin (all installed here on my > system) and haven't really found a good answer yet. > -- ---------------------------------------------------------------------- * George Dinwiddie * http://blog.gdinwiddie.com Software Development http://www.idiacomputing.com Consultant and Coach http://www.agilemaryland.org ---------------------------------------------------------------------- From rick.vanderveer at gmail.com Mon Feb 8 17:40:59 2010 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Mon, 8 Feb 2010 16:40:59 -0600 Subject: [Moin-user] Image problems In-Reply-To: <20100208222550.GB32575@chris> References: <20100208212409.GA32575@chris> <20100208222550.GB32575@chris> Message-ID: <5c39e1ca1002081440y347f1449n77b3a8401bd7b4a0@mail.gmail.com> Your example: ((attachment:/home/abcde/xyx/image.jpg|caption|width=1234|align="left"}} would be: {{attachment:/home/abcde/xyx/image.jpg|caption|width=1234,align="left"}} -Rick On Mon, Feb 8, 2010 at 4:25 PM, Chris G wrote: > On Mon, Feb 08, 2010 at 09:24:09PM +0000, Chris G wrote: > > I'm beginning to think that putting pictures into a wiki is just not > > the done thing! :-) (or maybe :-( ) > > > > I'm trying to use moinmoin (and I have also played with some other > > wikis without much more success) to create some narratives of holidays > > and other similar sorts of things. What I want is the ability to > > create a stream of text with some pictures interleaved in it. > > > > This is not (at least to start with) for the world to see, it's for me > > and other users of the local LAN to look at and use. It's an > > information resource and a place to store and add notes. > > > > So, I have moinmoin up and working on the LAN, I can do all the sorts > > of things one expects to be able to do, add pages, edit pages, create > > Categories, etc., etc. > > > > ***BUT*** putting pictures into pages is a disaster. The *only* way > > that works (sort of) is to actually *copy* the picture from the source > > into moinmoin. Even then (I just tried it) thre result is a bit of a > > mess because the picture is too big and it hides the page editing > > links so now I can't change the page at all and, as it's just a > > picture too big to be displayed, that's a bit of a mess. > > > > OK, if I had a library of little thumbnails, I could use them quite > > happily but for actual photos direct from a camera I really don't see > > how to use them with moinmoin at all. > > > > (OK, for a narrative maybe a blog is the way to go but I want a > > narrative that starts at the beginning and finishes at the end) > > > > ... sorry if this is a bit of a rant but I've been trying to find a > > solution for my requirements for several weeks now, I've gone from > > WordPress to Blosxom to DokuWiki to Moinmoin (all installed here on my > > system) and haven't really found a good answer yet. > > > ... and then, I can't even get the title, align and width settings for > a (copied) image to work all at the same time. > > Is there anywhere that documents this *properly* rather than in bits > and pieces? I.e. I want to have:- > > ((attachment:/home/abcde/xyx/image.jpg|caption|width=1234|align="left"}} > > ... but the above doesn't work. What's the syntax for having all the > options set? > > -- > Chris Green > > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the > business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user > -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at iDIAcomputing.com Mon Feb 8 17:12:08 2010 From: lists at iDIAcomputing.com (George Dinwiddie) Date: Mon, 08 Feb 2010 17:12:08 -0500 Subject: [Moin-user] Is it possible to display local images? In-Reply-To: <20100208210401.GA29118@chris> References: <20100208175514.GA23338@chris> <1265662105.3056.13.camel@lestat.vampyre.home> <20100208210401.GA29118@chris> Message-ID: <4B708C38.1050009@iDIAcomputing.com> Hi, Chris, Chris G wrote: >> [1]http://moinmo.in/HelpOnImages >> > Yes, I read that, but it doesn't actually work for *any* images that I > have tried it with. It may work if you're actually sending an image > from a remote system to the system where moinmoin is running but it's > total rubbish if you're on the same system. The "attachments" stuff if for moin to store the images relative to the page. That should work for you. Are you running in standalone mode, e.g., only serving to a browser running on the same machine? >> now the bit complicated part... your images on your filesystem. I would >> try to do something like this >> >> 1. install some apache and >> >> 2. configure the webserver in that way that your image directories are >> accessible over localhost or your local domain like >> >> http://yourhostname/images/s000023.jpg << (but you have be careful >> about your apache security configuration, because if your apache server is >> also from the Internet available, others can also read directly your >> images, too) >> >> 3. then you can write in your moinmoin someting like >> {{[2]http://yourhostname/images/s000023.jpg}} >> > OK, but *why* doesn't something like:- > > file:///my/home/dir/picture/abc123.jpg > > work? file:/ is a perfectly valid URL. file:// is a valid protocol only if you're on the local machine. It won't work at all for access from another machine. When you use that protocol, the moin server isn't involved at all. Instead, the brower fetches the file directly from the filesystem. > I don't want to put my whole picture archive on the internet. The file:// protocol won't work on the internet. > Not to mention that it would seem that URLs or directories with spaces > in their names seem to break things too. Yes, you have to URLencode them. A space becomes "%20" in the URL. - George -- ---------------------------------------------------------------------- * George Dinwiddie * http://blog.gdinwiddie.com Software Development http://www.idiacomputing.com Consultant and Coach http://www.agilemaryland.org ---------------------------------------------------------------------- From cl at isbd.net Mon Feb 8 17:44:44 2010 From: cl at isbd.net (Chris G) Date: Mon, 8 Feb 2010 22:44:44 +0000 Subject: [Moin-user] Image problems In-Reply-To: <4B708A04.8090907@iDIAcomputing.com> References: <20100208212409.GA32575@chris> <4B708A04.8090907@iDIAcomputing.com> Message-ID: <20100208224444.GC32575@chris> On Mon, Feb 08, 2010 at 05:02:44PM -0500, George Dinwiddie wrote: > Hi, Chris, > > I don't use many images in moin pages, but I do what you suggest in HTML > pages. I typically use ImageMagick to create the thumbnails, these > days. It lets me bulk convert from the commandline. I've used it on > Linux, Windows, & OS-X. > > It also has python bindings, I think, if you or someone wanted to create > a moin plugin with it. > Not really a solution for what I want to do but it makes me feel a bit less obtuse in that I'm not missing anything really obvious! :-) > - George > > Chris G wrote: > > I'm beginning to think that putting pictures into a wiki is just not > > the done thing! :-) (or maybe :-( ) > > > > I'm trying to use moinmoin (and I have also played with some other > > wikis without much more success) to create some narratives of holidays > > and other similar sorts of things. What I want is the ability to > > create a stream of text with some pictures interleaved in it. > > > > This is not (at least to start with) for the world to see, it's for me > > and other users of the local LAN to look at and use. It's an > > information resource and a place to store and add notes. > > > > So, I have moinmoin up and working on the LAN, I can do all the sorts > > of things one expects to be able to do, add pages, edit pages, create > > Categories, etc., etc. > > > > ***BUT*** putting pictures into pages is a disaster. The *only* way > > that works (sort of) is to actually *copy* the picture from the source > > into moinmoin. Even then (I just tried it) thre result is a bit of a > > mess because the picture is too big and it hides the page editing > > links so now I can't change the page at all and, as it's just a > > picture too big to be displayed, that's a bit of a mess. > > > > OK, if I had a library of little thumbnails, I could use them quite > > happily but for actual photos direct from a camera I really don't see > > how to use them with moinmoin at all. > > > > (OK, for a narrative maybe a blog is the way to go but I want a > > narrative that starts at the beginning and finishes at the end) > > > > ... sorry if this is a bit of a rant but I've been trying to find a > > solution for my requirements for several weeks now, I've gone from > > WordPress to Blosxom to DokuWiki to Moinmoin (all installed here on my > > system) and haven't really found a good answer yet. > > > > -- > ---------------------------------------------------------------------- > * George Dinwiddie * http://blog.gdinwiddie.com > Software Development http://www.idiacomputing.com > Consultant and Coach http://www.agilemaryland.org > ---------------------------------------------------------------------- > > > ------------------------------------------------------------------------------ > The Planet: dedicated and managed hosting, cloud storage, colocation > Stay online with enterprise data centers and the best network in the business > Choose flexible plans and management services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > _______________________________________________ > Moin-user mailing list > Moin-user at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/moin-user -- Chris Green From cl at isbd.net Mon Feb 8 17:47:55 2010 From: cl at isbd.net (Chris G) Date: Mon, 8 Feb 2010 22:47:55 +0000 Subject: [Moin-user] Image problems In-Reply-To: <5c39e1ca1002081425x7577e792lf36f99a87177f223@mail.gmail.com> References: <20100208212409.GA32575@chris> <5c39e1ca1002081425x7577e792lf36f99a87177f223@mail.gmail.com> Message-ID: <20100208224755.GD32575@chris> On Mon, Feb 08, 2010 at 04:25:31PM -0600, Rick Vanderveer wrote: > Well, Chris, keep in mind that no blogging/wiki tool is going to just > magically scale 6~12Mb photos to some arbitrary size that fits your > needs. You'll have to either make or scale your own photos. > > With a simple test, I've confirmed that you can combine multiple > variables. So, for example, you should be able to point to a photo on > your local machine (say, via an apache alias, as some else pointed out), > and then use arguments to specify the width and alignment. Adapting the > example on the HelpOnImages page, here's an example. > > [[attachment:Grand_Tetons.jpg|{{attachment:Grand_Tetons.jpg||width=100,align="right"}}]] > Aaahhh!! How/where did you find that syntax? I'd been playing with trying to get width and align to work together and couldn't work out how to do it. Is it documented anywhere or does one just have to guess? > There's also a couple gallery macros, which doesn't sound exactly like > what you want, but may prove useful anyway. > Yes, they might be useful, thanks. -- Chris Green From cl at isbd.net Mon Feb 8 17:49:00 2010 From: cl at isbd.net (Chris G) Date: Mon, 8 Feb 2010 22:49:00 +0000 Subject: [Moin-user] Image problems In-Reply-To: <5c39e1ca1002081440y347f1449n77b3a8401bd7b4a0@mail.gmail.com> References: <20100208212409.GA32575@chris> <20100208222550.GB32575@chris> <5c39e1ca1002081440y347f1449n77b3a8401bd7b4a0@mail.gmail.com> Message-ID: <20100208224900.GE32575@chris> On Mon, Feb 08, 2010 at 04:40:59PM -0600, Rick Vanderveer wrote: > Your example: > ((attachment:/home/abcde/xyx/image.jpg|caption|width=1234|align="left"}} > > would be: > {{attachment:/home/abcde/xyx/image.jpg|caption|width=1234,align="left"}} > OK, thanks, but I'd really like to be able to find out for myself. Is it documented anywhere? -- Chris Green From cl at isbd.net Mon Feb 8 17:55:14 2010 From: cl at isbd.net (Chris G) Date: Mon, 8 Feb 2010 22:55:14 +0000 Subject: [Moin-user] Is it possible to display local images? In-Reply-To: <4B708C38.1050009@iDIAcomputing.com> References: <20100208175514.GA23338@chris> <1265662105.3056.13.camel@lestat.vampyre.home> <20100208210401.GA29118@chris> <4B708C38.1050009@iDIAcomputing.com> Message-ID: <20100208225514.GF32575@chris> On Mon, Feb 08, 2010 at 05:12:08PM -0500, George Dinwiddie wrote: > Hi, Chris, > > Chris G wrote: > >> [1]http://moinmo.in/HelpOnImages > >> > > Yes, I read that, but it doesn't actually work for *any* images that I > > have tried it with. It may work if you're actually sending an image > > from a remote system to the system where moinmoin is running but it's > > total rubbish if you're on the same system. > > The "attachments" stuff if for moin to store the images relative to the > page. That should work for you. > > Are you running in standalone mode, e.g., only serving to a browser > running on the same machine? > Yes, though it could be that it will serve other users on the same LAN/subnet. > >> now the bit complicated part... your images on your filesystem. I would > >> try to do something like this > >> > >> 1. install some apache and > >> > >> 2. configure the webserver in that way that your image directories are > >> accessible over localhost or your local domain like >> > >> http://yourhostname/images/s000023.jpg << (but you have be careful > >> about your apache security configuration, because if your apache server is > >> also from the Internet available, others can also read directly your > >> images, too) > >> > >> 3. then you can write in your moinmoin someting like > >> {{[2]http://yourhostname/images/s000023.jpg}} > >> > > OK, but *why* doesn't something like:- > > > > file:///my/home/dir/picture/abc123.jpg > > > > work? file:/ is a perfectly valid URL. > > file:// is a valid protocol only if you're on the local machine. It > won't work at all for access from another machine. When you use that > protocol, the moin server isn't involved at all. Instead, the brower > fetches the file directly from the filesystem. > Yes, and that's exactly what I want to do! I could even make it so that the pictures are shared across the LAN with the same pathname so that it *would* work for anyone on the LAN. > > I don't want to put my whole picture archive on the internet. > > The file:// protocol won't work on the internet. > I realise that. > > Not to mention that it would seem that URLs or directories with spaces > > in their names seem to break things too. > > Yes, you have to URLencode them. A space becomes "%20" in the URL. > OK. Using a file:/ URL isn't the ideal answer. What would be much more useful is simply to tell moinmoin that I want to display this image (e.g. /home/abcd/fred/imahe.jpg) without any manipulation at all, no copying, nothing. Presumably moinmoin gets stuff from the 'static' area, can't this ability be extended? I certainly could create a symbolic link from the static area to my pictures directory but I need a way to reference 'static' images in a moinmoin page. -- Chris Green From cl at isbd.net Mon Feb 8 18:02:01 2010 From: cl at isbd.net (Chris G) Date: Mon, 8 Feb 2010 23:02:01 +0000 Subject: [Moin-user] 'Specific link schemes', where are they documented? Message-ID: <20100208230201.GG32575@chris> Since I'm a reStructuredText enthusiast I have looked at the moinmoin reStructuredText instructions and had a play with it, it [mostly] works. The HelpOnParsers section about reStructuredText says (among other things):- The above creates a link to an attachment named Attachment.zip. If the attachment for the page does not exist, the link text will be replaced with the typical MoinMoin replacement text for uploading an attachment. Supported MoinMoin-specific link schemes are: * wiki: * attachment: * inline: * drawing: Is there any (easy) way to find out about these 'link schemes'? Since : is a special character in the search box one can't very easily search for them. In particualar I can;t find anything about inline:, has it gone? Sorry about all the questions, hope I don't sound too ratty, it's not intentional, I realy appreciate all the help I'm getting. -- Chris Green From mail at heavy.ch Mon Feb 8 18:42:31 2010 From: mail at heavy.ch (Mail@Heavy.ch) Date: Tue, 09 Feb 2010 00:42:31 +0100 Subject: [Moin-user] Is it possible to display local images? In-Reply-To: <20100208210401.GA29118@chris> References: <20100208175514.GA23338@chris> <1265662105.3056.13.camel@lestat.vampyre.home> <20100208210401.GA29118@chris> Message-ID: <1265672551.3056.135.camel@lestat.vampyre.home> Am Montag, den 08.02.2010, 21:04 +0000 schrieb Chris G: > On Mon, Feb 08, 2010 at 09:48:25PM +0100, Mail at Heavy.ch wrote: > > Am Montag, den 08.02.2010, 17:55 +0000 schrieb Chris G: > > > > Is it possible for moinmoin to display 'local' images, i.e. images > > which are already on the system where moinmoin is running? > > > > I'm running version 1.9.1 on xubuntu 9.10. All I want to do is > > display images which are already on the system as .JPG files. I don't > > want to upload them into moinmoin as it will be a waste of space and > > if I edit the original image (in my main photo album) the moinmoin > > copy won't get changed. > > > > > > embending images is easy, just read here: > > [1]http://moinmo.in/HelpOnImages > > > Yes, I read that, but it doesn't actually work for *any* images that I > have tried it with. It may work if you're actually sending an image > from a remote system to the system where moinmoin is running but it's > total rubbish if you're on the same system. > > > > now the bit complicated part... your images on your filesystem. I would > > try to do something like this > > > > 1. install some apache and > > > > 2. configure the webserver in that way that your image directories are > > accessible over localhost or your local domain like >> > > http://yourhostname/images/s000023.jpg << (but you have be careful > > about your apache security configuration, because if your apache server is > > also from the Internet available, others can also read directly your > > images, too) > > > > 3. then you can write in your moinmoin someting like > > {{[2]http://yourhostname/images/s000023.jpg}} > > > OK, but *why* doesn't something like:- > > file:///my/home/dir/picture/abc123.jpg > > work? file:/ is a perfectly valid URL. > > I don't want to put my whole picture archive on the internet. > > Not to mention that it would seem that URLs or directories with spaces > in their names seem to break things too. > maybe the transclusion like this {{file://///home/directory/file.png}} could work, you just need to adjust your firefox / browser settings, see here: * http://moinmo.in/FileLinks bye Marcel -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at iDIAcomputing.com Mon Feb 8 19:54:22 2010 From: lists at iDIAcomputing.com (George Dinwiddie) Date: Mon, 08 Feb 2010 19:54:22 -0500 Subject: [Moin-user] Is it possible to display local images? In-Reply-To: <20100208225514.GF32575@chris> References: <20100208175514.GA23338@chris> <1265662105.3056.13.camel@lestat.vampyre.home> <20100208210401.GA29118@chris> <4B708C38.1050009@iDIAcomputing.com> <20100208225514.GF32575@chris> Message-ID: <4B70B23E.4070709@iDIAcomputing.com> Chris G wrote: > What would be much more useful is simply to tell moinmoin that I want > to display this image (e.g. /home/abcd/fred/imahe.jpg) without any > manipulation at all, no copying, nothing. Well, Moin is a wiki app, not a full webserver. That's why Apache was suggested before. But it think you can do [[file:///some/path/to/mypicture.jpg]] I would expect problems trying to get everything mapped the same on all machines, though. > Presumably moinmoin gets stuff from the 'static' area, can't this > ability be extended? I certainly could create a symbolic link from > the static area to my pictures directory but I need a way to reference > 'static' images in a moinmoin page. Sure. Just view the source of your wiki page and look at the URL paths to the javascript files. Compare that with the file paths on your disk. - George -- ---------------------------------------------------------------------- * George Dinwiddie * http://blog.gdinwiddie.com Software Development http://www.idiacomputing.com Consultant and Coach http://www.agilemaryland.org ---------------------------------------------------------------------- From rick.vanderveer at gmail.com Mon Feb 8 20:15:55 2010 From: rick.vanderveer at gmail.com (Rick Vanderveer) Date: Mon, 8 Feb 2010 19:15:55 -0600 Subject: [Moin-user] Image problems In-Reply-To: <20100208224900.GE32575@chris> References: <20100208212409.GA32575@chris> <20100208222550.GB32575@chris> <5c39e1ca1002081440y347f1449n77b3a8401bd7b4a0@mail.gmail.com> <20100208224900.GE32575@chris> Message-ID: <5c39e1ca1002081715l3695c210i8d9ae85c80f629d3@mail.gmail.com> On Mon, Feb 8, 2010 at 4:49 PM, Chris G wrote: > On Mon, Feb 08, 2010 at 04:40:59PM -0600, Rick Vanderveer wrote: > > Your example: > > > ((attachment:/home/abcde/xyx/image.jpg|caption|width=1234|align="left"}} > > > > would be: > > > {{attachment:/home/abcde/xyx/image.jpg|caption|width=1234,align="left"}} > > > OK, thanks, but I'd really like to be able to find out for myself. Is > it documented anywhere? > > > All the basic information is taken straight from http://moinmo.in/HelpOnImages. The only addition not covered *specifically* on that page is combining multiple variables. -Rick -------------- next part -------------- An HTML attachment was scrubbed... URL: From cl at isbd.net Tue Feb 9 05:52:22 2010 From: cl at isbd.net (Chris G) Date: Tue, 9 Feb 2010 10:52:22 +0000 Subject: [Moin-user] Image problems In-Reply-To: <5c39e1ca1002081715l3695c210i8d9ae85c80f629d3@mail.gmail.com> References: <20100208212409.GA32575@chris> <20100208222550.GB32575@chris> <5c39e1ca1002081440y347f1449n77b3a8401bd7b4a0@mail.gmail.com> <20100208224900.GE32575@chris> <5c39e1ca1002081715l3695c210i8d9ae85c80f629d3@mail.gmail.com> Message-ID: <20100209105222.GB3698@chris> On Mon, Feb 08, 2010 at 07:15:55PM -0600, Rick Vanderveer wrote: > On Mon, Feb 8, 2010 at 4:49 PM, Chris G <[1]cl at isbd.net> wrote: > > On Mon, Feb 08, 2010 at 04:40:59PM -0600, Rick Vanderveer wrote: > > Your example: > > > ((attachment:/home/abcde/xyx/image.jpg|caption|width=1234|align="left"}} > > > > would be: > > > {{attachment:/home/abcde/xyx/image.jpg|caption|width=1234,align="left"}} > > > OK, thanks, but I'd really like to be able to find out for myself. Is > it documented anywhere? > > All the basic information is taken straight from > [2]http://moinmo.in/HelpOnImages. The only addition not covered > *specifically* on that page is combining multiple variables. Yes, well that's the case I was having problems with. :-) In general moinmoin seems to document everything just by examples, these are great in a way because you can almost always get *something* working for yourself and then work from there. However it would also be nice to have some 'syntax documentation' to supplement the examples, e.g. for the attachment you'd have something like:- {{attachment:[|caption][|