Re: [Moin-user] Can one set the creation and modify dates of an article?
Hi Am Donnerstag, den 11.02.2010, 14:11 + schrieb Chris G: What you maybe want to try is to use e.g. MonthCalendar and create pages with it. They'll have the date in the pagename as CalendarPage/-MM-DD format and thus can be sorted easily. You can also create such pages manually, of course. Hmm, maybe, except that I really want descriptive names for the pages. You can use the macro include to create a list sorted by dated and display the first h1 title for the link name http://moinmo.in/HelpOnMacros/Include or you can use this to display upcoming entries: http://moinmo.in/MacroMarket/MonthCalendarTopList Also, you can of course add DateTime(...) macros to the content. You have to provide some timestamp to the macro as parameter (see what @DATETIME@ creates when saving). Those macros can be used if you need to refer to specific points in time and render them as reader's localtime for international readers (but still refering to the same point in time). But I can't sort output with these timestamps can I? maybe also try this macro http://moinmo.in/MacroMarket/CollectLists witch will collect some information from key:: data and sort them bye Marcel -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Is it possible to display local images?
Am Montag, den 08.02.2010, 21:04 + schrieb Chris G: On Mon, Feb 08, 2010 at 09:48:25PM +0100, m...@heavy.ch wrote: Am Montag, den 08.02.2010, 17:55 + 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/s23.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/s23.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 -- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Users in a farm
Kai Jaeger schrieb: Hi Marcel What do you mean apart from each other. the user homepages, the user files (with all their login, password, ...) itself or both. Literally everything. The wikis are supposed to be completely separated with the exception of the underlay stuff. separate is the default if this is fine, then you want be able to use a FullSearch(cat:CategoryHomepages) because a search works only on the current wiki (that's why some folks prefers to have all user homepages in a separated user homepage wiki) No, it doesn't work. As I said, it lists pages of users not known in that wiki, although these pages do not exist. it doesn't matter if the user exist on this wiki or not... as long as there is a wiki page with the same UserName it will shown up. if you use a cached version of FullSearch try to refresh (delete cach) I did tell the wikis apart from each other by setting the Interwikiname and the user_dir to the same unique name for every single wiki. So how the hell does the FullSearch manage to see the user names from other wikis? it's not possible but you maybe mixing user names (login names) and user homepages (wiki pages) together.. those are two completely different things. It should take same effort to see those if you like to see them across several wikis, but it's exactly the other way round. And I haven't changed anything in the config, or moved files or stuff. sure if you move files on the directory level (via a shell access) and you're using xapian you need to manually update the xapian index,,, bye Marcel -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] ACL to attachments
Stefan Riedel schrieb: Hy, is there a simple way to set acls for attachments? In my wiki I would like authorize a member to download an attachment but a guest will get an error. Hi Stefan At the moment attachment are bound to a wiki page. so if you use some acl for a page they also used/valid for the attachments on the same page. you also can link to attachment directly from a different page. like: [[attachment:download/file.tar.gz]] in this case the acl settings form the page download would be used for the attachment file.tar.gz bye Marcel -- This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Advice on page structure
Christopher MacMinn schrieb: Hi everyone - I'm trying to create a page that includes a list of people, with each entry containing a paragraph of text and a right-aligned photo (see, e.g., here: http://almlab.mit.edu/ALM/Lab_Members/Lab_Members.html). I can't figure out how to do this with MoinMoin syntax... I realize that the wiki syntax is really for page content more than structure, but this is a pretty simple page structure. Any suggestions? Should I give up and use a block of HTML? Thanks! Best, Chris MacMinn yes with the moinmoin engine this is possible, but the moinmoin wiki syntax is not about layout, so you have to modify the css by yourself. (an example of customized themes are here: http://moinmo.in/ThemeMarket) future ideas: it would be possible that you can create only the userhompages and then with some include macro generate automatically a main/overview page. 1. EXAMPLE WIKIPAGE: = Lab Members = == Lastname Surname == [[LastnameSurname|{{attachment:image.png||class=photo right}}]] Text Text Text [[LastNameSurname|Read more...]] -- == Lastname Surname == [[LastnameSurname|{{attachment:image.png||class=photo right}}]] Text Text Text [[LastNameSurname|Read more...]] -- 2. EXAMPLE CSS and into your css (e.g. common.css) you can add those: .photo { border:5px solid gray; margin:10px; width:250px; } .right { float:right; } .hr2 { height: 3px; color: gray; clear: both; } bye Marcel -- ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Users in a farm
Kai Jaeger schrieb: I have a wiki farm. Users are not shared between the wikis. When I go in one of the wikis with only 2 users right now on my personal homepage and click then on CategoryHomepage, I get a list of all users of all the wikis in the farm. Rightly it says that the homepages of those users who belong to a different wiki do not exist, but even providing these pieces of information is not okay. Is this a bug or did I make a configuration error? first if a user create an account then he has to manually create his own user page. with the config variable user_homewiki you can define if the user create his homepage on the current wiki (default) or on a central wiki (e.g. if you using a farmwiki). this is very helpful because then you can have central user homepages and also the links e.g. from RecentChanges (to the username) links automatically to the correct central user homepage. The page CategoryHomepages makes a FullSearch for all pages where belongs to the CategoryHomepages BUT only on the same wiki. A farmwiki wide search is yet not implemented. but as I explained before if you use user_homewiki then all homepages will be created on the same wiki. be aware if users already created homepages on different wikis you need to manually move them to your know user_homewiki. also need to setup correct interwiki names... helpful links to read and study: * http://moinmo.in/HelpOnConfiguration * http://moinmo.in/InterWiki * http://moinmo.in/HelpOnUserHandling * http://moinmo.in/HelpOnSessions (for advanced stuff like single sign on for all wikis) bye Marcel -- ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] After upgrade to 1.8.1, now a second click needed to download a file
Eric Johnson schrieb: We just completed an upgrade to MoinMoin 1.8.1 (from 1.5.8!). Now users are complaining that getting certain attachments requires an extra click. The message they're seeing is: Current configuration does not allow embedding of the file BW570Training_Presentation.ppt because of its mimetype application/vnd.ms-powerpoint Where do I change the configuration to allow the embedding? Hi Eric Check the configuration mimetypes_embed, andmimetypes_xss_protect and see this page: http://moinmo.in/HelpOnMacros/EmbedObject Be aware that emending a proprietary software like powerpoint is no guarantee that it works with all browser/os. Even the embedded pdf documents gives me sometimes a pain-in-the-ass and the need to close/restart my browser, because of that buggie pdf plugins I had once the problem that an apache server doesn't know the correct mimetype and because I couldn't change this on the apache, I had to add the correct filetype into the wikiutil.py directly (search for mimetype support). but that's pity, because with every update you will loose this stuff and need to redo/patch it. bye Marcel -- ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Trying to install /mathtran or /inline_latex
Lettow, Kenneth schrieb: I am a MoinMoin newbie trying to install the /mathtran or /inline_latex parser in my wiki. When I click on the relevant .py file in the parsermarket I am sent to a mercurial repository with no way to download the file. I am sure it is something simple. try this link: http://hg.moinmo.in/moin/extensions/file/ff2e57ddeb68/data/plugin/parser I guess the link changed... from extension-1.7 to extensions bye Marcel -- ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] How can a macro output a wikitext together with another macro...
R.Bauer schrieb: m...@heavy.ch schrieb: Is there an example how I can call from a macro another marco and parse/render this? I was looking in other macros and in the source of moinmoin but couldn't find any examples how to do this. Any hints? :-))) look at bottom of http://moinmo.in/MacroMarket/SvgPlot-1.8 thanks! this helped me to create a working version: http://lotek.heavy.ch/MoinMoinWiki/Development1.8/Macro?action=AttachFiledo=viewtarget=Licence.py but in your SvgPlot you wrote: {{{ 118 macro.formatter = request.html_formatter 119 p = Parser(##\n, request) }}} for what is this needed? Well anyway thanks for your great help. bye Marcel -- ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Useful?!
Kai Jaeger schrieb: I make heavy use of MoinMoin's Category feature. In particular I use category pages which do a (non-chached) FullSearch. As a result these lists are always up-to-date. Nice. However, the page names are not always that clear. I would very much appriciate a feature that allows me to define a kind of short description on a particular page which, if set, could be used automatically by the page performing a FullSearch(category:MyCategory) For example, on a page ThisIsMyExample there could be something like #Description This is my short description of the MyCategory page which then results on the CategoryPage as a dd list: -- MyCategory This is my short description of the MyCategory page -- Hi Kai ReimarBaur created this: http://moinmo.in/MacroMarket/CollectLists ...will create a table column for every subpage of the current page and fills in the data from each key value pair of a definition list I made (and not finished) some small modification to search for Categories. Some examples are here: http://wikiwiki.ch/Test/CollectLists well just what came in my mind as you were talkin' about categories and dd's. bye Marcel -- ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Setting WSGIScriptAlias
Kai Jaeger schrieb: So far I accessed my wiki via http://aplteam.com/aplwiki For this to work I used: WSGIScriptAlias /aplwikiC:/configs/moin.wsgi I would like to change now to http://aplwiki.com but suprisingly I cannot find a way how to change the WSGIScriptAlias statement accordingly. Hi read here: ## in case you want your wiki under the root url (http://server.example.com/), use this instead: #Alias /robots.txt /usr/share/moin/htdocs/robots.txt #Alias /favicon.ico /usr/share/moin/htdocs/favicon.ico #WSGIScriptAlias / /var/www/moin/mywiki/moin.wsg http://moinmo.in/HowTo/ApacheWithModWSGI bye Marcel -- ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
[Moin-user] How can a macro output a wikitext together with another macro...
hi there I made some small macro like: Licence(type=article,source=wikipedia,item=MoinMoin) with should output some FootNote Macro with prefilled automatic generated footnote text/links, well see here for an example http://rock.heavy.ch/Test The problem is that the macro FootNote is not getting rendered/executed. How I can do this? My source looks like this (in short): from MoinMoin.parser.text_moin_wiki import Parser as WikiParser request = macro.request formatter = macro.formatter wikitext = u''' FootNote( Diese Wikiseite basiert auf dem Artikel [[%(urlWikipedia)s/%(item)s|%(item)s]] aus der freien Enzyklopauml;die Wikipedia und steht unter der [[%(urlGFDL)s|GFDL]] In der Wikipedia ist eine Liste der [[%(urlWikipediaAuthor)s/index.php?title=%(item)samp;action=history|Autoren]] verfuuml;gbar. ) ''' % { item: item, urlWikipedia : urlWikipedia, urlGFDL : urlGFDL, urlWikipediaAuthor : urlWikipediaAuthor, } wikitext = wikiutil.escape(wikitext) WikiParser(wikitext,request).format(request.formatter) The output as a normal wiki text works but if you use some @PAGE@, ! or even another Macro it's not working. Is there an example how I can call from a macro another marco and parse/render this? I was looking in other macros and in the source of moinmoin but couldn't find any examples how to do this. Any hints? :-))) Btw. I tried first to directly return the text with a formatter but I was only able to this with text or rawHTML and not moin wiki text. Did I miss something? -- Or would it better to do make this stuff with a parser like {{{#!License type=article,source=wikipedia,item=MoinMoin }}} bye Marcel p.s. sended this already with the wrong from e-mail adress, so this is the right one, the other can be deleted. -- ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Problem with view wiki page with IE7/8
hi Matella, Gunter schrieb: to show an attached image file (format BMP) in a wiki page. well, the bpm format is very old an was designed for windows 3. So if you care that your visitors can see your images never use this kind of prosperity stuff. Save your images as a png or jpg and everything is fine. bye Marcel -- ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Useful?!
m...@heavy.ch schrieb: Kai Jaeger schrieb: I make heavy use of MoinMoin's Category feature. In particular I use category pages which do a (non-chached) FullSearch. As a result these lists are always up-to-date. Nice. However, the page names are not always that clear. I would very much appriciate a feature that allows me to define a kind of short description on a particular page which, if set, could be used automatically by the page performing a FullSearch(category:MyCategory) For example, on a page ThisIsMyExample there could be something like use something like this: Include(^FirstnameLastname/20..-..-..,,to=^,sort=descending,items=4,skipitems=0,titlesonly) more Information under: http://moinmo.in/HelpOnMacros/Include ehm, sorry! this works for pagename but not for fullsearch cat:CategoryFoo bye Marcel -- ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] (ab)Using Admonitions to implement sidebar
Frank Lin PIAT schrieb: Hello, It seems that it is be possible to implement a sidebar using the Admonition logic. You can see an example in [1]. The typical wiki code and CSS are below. What do you think about it? I could work on a patch if you are interested. Franklin ### SAMPLE CODE ### {{{#!wiki sidebar '''New call for test''' Test1 :: Foo Test2 :: Bar. }}} this is not specially a admonitions stuff, you just can use a html or wiki parser and add to the div tag some classes and then give those div's a style with css. I also use css like left, right, fancy, etcetera and then you can write {{{#!wiki sidebar right fancy. btw. this adding css classes also works for embedded / included attachment (like images) {{attachment:images.png|alt text|class=photo left}} I think - if you want to have the same sidebar content on many pages, then it is, in my eyes, better to use some theme based sidebar stuff, like the gugiel theme is using: http:/moinmo.in/ThemeMarket/Gugiel). the benefit is also that you just need to set a #pragma and have single page for the sidebar stuff. it's also even possible to define a default for all pages. Also to know... don't forget to make some print css and maybe take a look how the pages looks without css (so you be sure that you still have some useful structure in your wiki page. Be also aware that this stuff maybe not working together with docbook exporting. soo enough, hope it helps a bit bye Marcel -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Argument order for search
hi Dr. Uwe Werner schrieb: Hello Fellow-MoinMoiners! I was wondering if there is a difference in performance between (1) FullSearch(category:CategoryName title:Prefix-) and (2) FullSearch(title:Prefix- category:CategoryName) ??? if you talk about xapian, I think there is no different, because all keywords/data are stored in a indexes/database... but maybe some core dev knows better. the normal moinmoin search is slow. don't use it for bigger wikies. Does category search actually open the page and read until the last line is reached in order to check the category? If so, then I presume (2) is faster because checking the name of a page (actually most pages) and excluding it from the subsequent is a quicker thing than finding categories. Is this correct? again with xapian search sure not! Because xapian use an own database for the indexes (http://xapian.org/docs/quickstart.html) so no need for open/reading every page. about the question for the querparser I do not know.. some moin-dev should know. What's about the intern slow moinmoin search don't know... it's anyway to slow if you start to have a wiki with more then a few hundred pages. The wiki in question is still small. Does someone have empirical evidence -- or know the internals? it's not only depend on the wiki size (pagecounts), more important is how your users use the wik, how many traffic you will have, how fast is your machine, are your pages full with attachment to download or only single text pages, etcetera. maybe you have to specific how big your wiki will be, how many concurrent users you will have, how many search in a minutes, etc.. so somebody can say someting... the only limit is that some filesystem (like ext3) only supporting 32'000 subdirectorys and I also would say more then 15'/20'000 Pages would be realy heavy. Maybe have a look at the ext4 (http://kernelnewbies.org/Ext4#head-97cbed179e6bcc48e47e645e06b95205ea832a68) or some other filesystems (e.g. xfs) in generaly: 1. use apache (or even a more lighter webserver) with wsgi 2. use xapain for search 3. try to tweak/tune your filesystem 4. add a lot of memory to your machine, 5. use fast harddisk with some raid 6. etcetera... see here: http://moinmo.in/HowTo/Tune%20Performance BTW when is the cache in the Cached search version up-to-date? as far as i know caching means only the result (the page itself), and not the search query. so if somebody add a new page you need to refresh to see this page... btw. there is a page on the wiki http://moinmo.in/PerformanceProposals but it is a bit outdated. hope it helps a bit... bye Marcel -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Double Click Woes
hi there Dr. Uwe Werner schrieb: User satisfaction would grow enormously if Moin was able position the cursor where the double click took place (or close by). yes that would be great idea, but it seems to me quite difficult. because a wiki pages can also contains macros, acl, pragam, comments, etc.. so you can't count just lines and only a search for the clicked keyword would also mostly fail. This should work for the text and gui editor either and what's happen if you click on a included page? should the included page be open? hmmm... bye Marcel -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Editor confused
hi k...@aplteam.com schrieb: You did not read my mail completely I dare say. That was not my point. you right, I was too fast, that's come from reading multitasking e-mails in different languages... in the end you don't understand anything :-( also about your javascript button, it's maybe also possible to use some moinmoin programming, because action=recal if you viewing an old page, so moinmoin could maybe add the class disabled (like the same if a user has no right to edit). but be honestly I do not care :-) is your category problem still exist? bye Marcel -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Category problem
k...@aplteam.com schrieb: I have a category http://aplteam2.com/aplwiki/CategoryBaaLondon There is a page http://aplteam2.com/aplwiki/RunningBAAlondon which belongs to that category but is not listed. What's wrong here?! Kai I made the same test on my wiki: http://www.wikiwiki.ch/CategoryBaaLondon http://www.wikiwiki.ch/RunningBAAlondon and everything seems to work correct. I'm using xapian for search and in my farmwiki/wikiconfig the regex for the category looks like: page_category_regex = ur'(?PallCategory(?Pkey\S+))' soo maybe check your stuff clean the cache, etcetera.. don't know for sure. bye Marcel -- ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] automatism for names of generated pages
hi I doubt a sequence can be done with what Moin provides so far. Am I right? Yes, we don't provide counters. Do I have to customize this macro? (I doubt I can achieve that :-( ) Looks like. Heads up, Python is easy. :) Major problem is Moin and how its different parts works... hmm. I'm a python newbee but if you would need to change something for creating pages (e.g. macro NewPage). I would start to look into the MoinMoin Source under macro. then I would find a NewPage.py [1] file and would copy this file into my own plugin dir and start to hack this file...so I can use some date/random numbers for pagenames, etcetera... it also looks that you're from a german speaking country... so maybe read the guide about moinmoin api [2] and start to write your own code. reading macros from other contributers helped me a lot to - at least - get some understanding what's going on.. writing own macro without copy/paste is a bit harder for a non-geek but also possible. bye marcel [1] http://hg.moinmo.in/moin/1.8/file/716dcfb00e8e/MoinMoin/macro/NewPage.py#l77 [2] http://moinmo.in/MoinAPI/Beispiele Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] FullSearch vs. FullSearchCached
Dennis Benzinger schrieb: Hi! http://moinmo.in/HelpOnMacros says that the results of FullSearchCached may not be up to date. When would that be the case? Can the cache which is used by this macro be invalidated or updated manually? you can use the action clean cache (url looks like ?action=refresh). How long the cache is used I do not know... I was reading something that in 1.9 it could be adjust. don't know for sure! Dennis Benzinger -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Simple workflow / Page approval
Hi: Dennis Benzinger schrieb: Hi! Is there a way to set up a kind of workflow where a) edits to pages b) creation of new pages are not public until some admin user approves them? not 100%. but I think about two possibilities 1. Creation of new Pages = you can use the NewPage(PageTemplate,ButtonLabel,[ParentPage,@ME,@SELF] [,NameTemplate]) macro together with some templates. so creating a new page is a bit structured. (note that you can use template and also put the page directly under another page [ParentPage]). Drawback is maybe that the pages is lost in the wiki and there is no link from another page to this newly created page. 2. Template === That template contains an acl like #acl AdminGroup:read,write,delete,revert,admin. This prevents others (beside the admin) to read the page. Also add some Category (like CategoryApprovesNeeded). 3. Admin / Approves === The admin can have a single page with a search macro like: FullSearchCached(cat:CategoryApprovesNeeded) where all the approves needed wiki pages are shown up. Now the admin (or in this example some user from the AdminGroup) can visit the not yet approved pages and remove the acl and the category stuff. and voila, the page is Public and removed from the Category. (but you have to setup correctly the acl_rights_default in your wikiconfig) sure you can reverse this and say that in the template there is no acl but to make this page viewable to the public the admin need to add some acl like #acl All:read Default 3.1 Hierarchical ACL processing === Another possible whould be to use some Hierarchical ACL. so you can easely move some page FooBar from /ApprovesNeeded/FooBar to Documentation/FooBar. sure you need to verify that the page /ApprovesNeeded and Documentation contains the correct acl settings. geees; hope you understand my blabber about acl and hierarchical stuff. :-) bye Marcel -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] KeyError in Python with 1.8.2
Matt W schrieb: Hi all-- here I go again, upgrading MoinMoin, something that has bitten me before :) We are upgrading from 180 to 182. I really tried to be careful following the guides and didn't see any 'gotchas' in the CHANGES file. I thought I had done everything correctly but loading up the main page I see: KeyError 'en' If you want to report a bug, please save this page and attach it to your bug report. [etc] below report a bug there is normally a traceback, this would be very usefull if you can submit this also. because this shows where the error occure (last item). btw. do you use a moinmoin built in / standard theme or a custom? bye Marcel -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Problem with ACL and groups after migration (1.5.3 = 1.7.0).
Hi there Between 1.5 and 1.7 the regex for page_group_regex, page_group_regex, etc.. changed you should read the docs/ in your moinmoin download carefully or take a look at http://moinmo.in/HelpOnConfiguration#pages and check if your wikiconfig.py looks like this: page_category_regex = ur'(?PallCategory(?Pkey(?!Template)\S+))' page_dict_regex = ur'(?Pall(?Pkey\S+)Dict)' page_group_regex = ur'(?Pall(?Pkey\S+)Group)' page_template_regex = ur'(?Pall(?Pkey\S+)Template)' about migration read the docs under: http://moinmo.in/HelpOnInstalling and maybe http://moinmo.in/HowTo bye Marcel Miguel Da Silva - URI schrieb: Dear users, I'm having problems when trying to get my wikis working again. The problems rise up when setting up ACL and groups. It follows the way I'm setting up ACL's: acl_enabled = 1 acl_rights_before = (uMiguelDaSilva:read,write,revert,delete,admin) acl_rights_default = uAll:read acl_rights_after = u But, the idea is use a group called AdminGroup and set everything up this way: acl_enabled = 1 acl_rights_before = (uAdminGroup:read,write,revert,delete,admin) acl_rights_default = uAll:read acl_rights_after = u And here is where problems appear... I can not edit any page of that wiki, and, just for sure, here goes the AdminGroup file: * MiguelDaSilva (notice the blank space as first character) And the odd thing of it all... this wiki was running very well in Moinmoin 1.5.3. Everything began when I migrated it to 1.7.0 (in fact, the migration was due Debian upgrade from Etch to Lenny some days ago). How did I migrate the wiki? $ moin --config-dir=/path/to/config/dir --wiki-url=wiki.mydomain.com migration data Suggestions? Greetings. PS. I found a message (in the list history) about a problem very similar to this one. The sender got no reply (and it means I searched, but no luck :) ). -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] https with moinmoin
waqas ahmad schrieb: Hi, I configure my apache with ssl and apache is working fine..but when i want to acces moinmoin then it show nothing. It says page can not be displayed. I am using moinmoin182 with apache2.2.8 (mod_wsgi). I added also following line in wikiconfig.py from MoinMoin.auth.sslclientcert import SSLClientCertAuth auth = [SSLClientCertAuth()] I never changed something in the moinmoin stuff, because apache handles the complete ssl stuff. only need if you're running moinmoin in a standalone mode. bye Marcel ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Wiki Theme
Aline Guedes schrieb: Hello, I am using Moinmoin 1.5.8 with a customized theme (sinorca4moin with some modifications) and I noticed that the css files are being sent to the browser in every request. Is this behavior a configuration I could change or maybe something wrong in the code? I really appreciate any help possible. there is nothing wrong. because in the html file the css files get included. see some example: {{{ link href=/wiki/sinorca4moin/css/common.css media=all charset=utf-8 type=text/css rel=stylesheet/ }}} you maybe can optimize the http requests... so the browser do only once load the css file form the server, but it's nothing moinmoin related (atleast if you're running moinmoin with apache or some other webserver). but be aware it's also related how the browser interpret this settings... etcetera. * http://httpd.apache.org/docs/2.0/mod/mod_expires.html or something generaly about performance rules: * http://developer.yahoo.com/performance/rules.html * http://yuiblog.com/blog/2006/11/28/performance-research-part-1/ bye Marcel -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] parameterized include
rupert thurner schrieb: hi, would a parameterized include like http://www.wikimedia.ch/index.php?title=Template:Langaction=edit would be possible on a moinmoin wiki too? this would be a possibility to construct a standardized language bar, and you see if a page is translated or not. rupert. 1. Link A simple solution would something to add some links like: [[../../de/@PAGE@|german]] [[../../en/@PAGE@|english]] The varaibles @foo@ get expanded when you save the pages. But the problems begins if you start to move/rename your pages, so you need to manualy update your links. and also if your translated pages has different names.. because there is no basepagename available :-( 2. Macro and ProcessingInstructions An own macro who read the current pagename and create the links for each language (and maybe also check if the page exist) would be more stable and robust (e.g. if you want to add another language in the future, move the pages around, etc..)... Also together with some ProcessingInstructions (pragma) it maybe would possible to has something like a unique basepagename, so the macro can generate automatically the links to the correct translated page; even the page names are different. pagename = Konfiguration in your wiki = #pragma basepagename setup and the macro BasePageName(languages=de) 3. themebased programming with farmwikis another solution would to be to use separate wikis for each languages so you can link them link [[de:/@p...@]]. and also make some themebased development, where generate the links (to the different languages) on the theme level. 4. Searches and Categories I'm thinking about to use categories together with something else (maybe pragma) for this to start a search like FullSearchCached(#pragma basepagename Installation) witch displays all pages with the same basepagenmae InstallatioN... well not that easy :-( -- Use categories is important but in the end it doesn't help you to generate a multilingual wiki.. I think there should be discuss with the core moin developer, because the got a bit more brain as myself :-) heheh - maybe join them on the irc #moin-dev) hey did you know this page: http://moinmo.in/Creating%20multilingual%20wikis%20and%20wiki%20engines well my 5cents. bye Marcel -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] parameterized include
hi you also maybe look at this example: http://moinmo.in/FeatureRequests/ThisPageInOtherLanguages bye Marcel rupert thurner schrieb: hi, would a parameterized include like http://www.wikimedia.ch/index.php?title=Template:Langaction=edit would be possible on a moinmoin wiki too? this would be a possibility to construct a standardized language bar, and you see if a page is translated or not. rupert. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] parameterized include
rupert thurner schrieb: hi, would a parameterized include like http://www.wikimedia.ch/index.php?title=Template:Langaction=edit would be possible on a moinmoin wiki too? this would be a possibility to construct a standardized language bar, and you see if a page is translated or not. rupert. beside my other ideas... here the last one :-) use some page structure like: Wiki/Setup/de Wiki/Setup/en Wiki/Setup/en On the page Wiki/Bootloader you put a macro like FullSearchCached(title:Wiki/Setup/) and this will displays all subpages / languages another. sure you could also use some includes or some navigation macro. also maybe a simple newpage macro to create a new language subpage easily would work. To move from the de page to the en page you could write [[../en]] if you would not use for a de page the name Setup, you maybe would like to sue Konfiguration you can just create this page and write a redirect to the basepagename like #redirect Wiki/Setup/de well nothing perfect and still needs alot of self discipline. bye Marcel -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] debian wiki structuring: languages, releases, package information
rupert thurner schrieb: hi, how one could best structure http://wiki.debian.org, to easiest cope with: * new releases of debian * general package information * in various languages * debian release specific package information in various languages it would be nice to easy throw away information like debian releases. i.e. if lenny is old in ten years, then the lenny folder might be dropped. i tried to create: http://www.klabs.be/wiki/QuickInfo http://www.klabs.be/wiki/KurzEinführung http://www.klabs.be/wiki/squeeze http://www.klabs.be/wiki/squeeze/ReleaseNotes (in german/englisch??) http://www.klabs.be/wiki/squeeze/WhatsNew http://www.klabs.be/wiki/squeeze/WasIstNeu and entries into: http://www.klabs.be/wiki/GermanDict and ... hit the following problems: * its tedious to maintain the dictionary as separate page. * how to deal with page names which are the same in en, de (like release note)? * if i click and get to a german page, how can i go easily to the english page? what would you suggest? some inputs: a) SUBPAGES use subpages (like you already do)... to group, for the user, related information together. like: ReleaseNotes ReleaseNotes/5.0 Installation Installation/Grub b) CATEGORY you maybe also use a lot of categories for add some tags to the pages like: CategoryLenny CategoryBootmanager CategoryReleaseNotes -- so you can search like cat:CategoryLenny cat:CategoryReleaseNotes. And if you use Category similar like keywords it also helps for searching... c) FAMRCONFIG you can use farmwikis (together with intermap.txt) for separating content more strictly. and with some config stuff for the cookies and a central user dir you can avoid that a use need more then once to login. with some tweaking in the theme it should also possible to always display some links to the same page in other languages. De:/ReleaseNotes/5.0 En:/ReleaseNotes/5.0 drawback is currently that with the default installation is not possible to run a search over all farmwikies. And in the end you're running x-wikis (x for every languages). But this all can mostly be solved with some central plugin-, underlay-, cache- ,user- and index directory. Tweaking on the themen (for the links to pages in other languages) and a additional xapian index for all wikis could help. And.. also the underlay directory can be used for pages where needed automatically to exist on every wiki. bye Marcel rupert. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Changing navibar behavior
Christopher MacMinn schrieb: I grabbed the sidebar function definition from gugiel.py, but I don't understand where the sidebar comes from -- do I need to create my own HTML file named sidebar.html and stick it somewhere? the sidebar itself is another wiki page. so you can add to your current page a pragma command like #pragma sidebar MySideBar and then create a new page named MySideBar. This wiki page MySideBar will be now included in your page (with the pragma). sometimes you can also define a default sidebar. just create a page called SideBar and this page will be displayed/included on every single wiki page. hope it helps bye Marcel - Chris On Wed, Feb 11, 2009 at 12:25 PM, Radomir Dopieralski m...@sheep.art.pl mailto:m...@sheep.art.pl wrote: Wed, Feb 11, 2009 at 12:08:15PM -0500: Hi folks - I'm using MoinMoin to run a non-wiki website, and I would like to customize the behavior of the navibar. In particular, I would like for the current page NOT to be added to the navibar if it is not already in the navibar. I am comfortable (ish) with python, html, css, etc., but I'm not sure which file to modify. Can someone point me in the right direction? You could try replacing the navibar with the sidebar taken from Mandarin or Gugiel themes -- I find them much more flexible and useful for static non-wiki sites, plus you can edit them from the wiki itself. -- Radomir Dopieralski, http://sheep.art.pl -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Configure so as to hide index.cgi
Joe Legner schrieb: Hello, I am new to this mailing list and hopefully am asking this correctly. I am running MoinMoin 1.8.1 on Webfaction, which runs under Apache (.htaccess only). My main script is named index.cgi. hi btw cgi is slow; but lucky webfaction also offer to running an own apache with mod_wsgi behind.. it even works with the lowest memory 80mb limit just tweak your apache/wsgi with serverlimit, to restart after a few hundred requests and going down after some idle time. and move the static stuff to some not counting (for mem usage) cgi/php stuff. i'm running this with 120mb mem limit and stay mostly under 80mb for only 80mb i would decrease the process to 2 or 1 and maby set the max request to 500. WSGIDaemonProcess daemonwiki user=lotek group=lotek processes=3 threads=12 maximum-requests=1000 inactivity-timeout=300 well just some touches. but for me is this the more flexible way.. and i love the guys from webfaction to give me a full ssh access with my own compiled and installed toolos (like xapian search) bye marcel -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Discussion about site
Hi Florian Florian Lindner schrieb: Hello, is there something like the MediaWiki discussions about every wiki site? Thanks, yes; it's called Supplementation http://moinmo.in/HelpOnConfiguration/SupplementationPage hope it helps. bye Marcel -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Page copies don't generate notification emails?
hi s...@pobox.com schrieb: In the Python MoinMoin installation (http://wiki.python.org/moin/) we are not getting notifications about page copies. yes; i could verify this, maybe fill a bug report about this: http://moinmo.in/MoinMoinBugs but be aware the action CopyPage is a bit dangerous well... has questionable behaviour regarding subpages a user can't read, but can copy so I would not use this feature at the moment! I thought this was odd and figured I hadn't set some flag. When I checked my notifications though I saw that I am already subscribed to page copies. also some notes: * if you change something then you will not get any notification * and be sure that you subscribe with a regex to a subpages (e.g.: .* )... because if you copy - say page FOO to BAR and you subscribed only to FOO then you will never get any message about the new page BAR. but sure with regex it should work (like it works with creating new pages)... If you check the RecentChanges page on the Python wiki you'll see that we've been inundated with page copy spam. I received not one email though I receive plenty of page modification emails. We are, I believe, running MoinMoin 1.7. Is there some bug in that version or some server-side setting we need to adjust to see these changes? (We've disabled the copy page action to stem the flow of spam.) Version 1.8.1 and soon 1.8.2. is the current version, so you maybe should update or check atleast the security stuff under http://moinmo.in/SecurityFixes Thanks, bye Marcel -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] 'module' object has no attribute 'expat' whensavingfrom gui editor
David Cramer schrieb: Ok, using a newer python is possible (unfortunately switching platforms would be harder...IT is making me move the wiki into their datacenter because it's got so much valuable info in it...I'm taking the machine they give me). Would the process be as follows, correct? 1. Install python 2.5.x 2. Copy /usr/local/lib/python2.4/site-packages/MoinMoin to the site-packages dir for python 2.5. all 4suite on python 2.5 It would be better to install moinmoin and not only copy some old installation to a new place, otherwise for example the egg-info is missing, etcetera. See here: http://moinmo.in/HelpOnInstalling/BasicInstallation I would also do a clean up and remove old moinmoin stuff. and start then with a a fresh clean installation. You maybe also need to checkup if 4suite is working without moinmoin; so you can better sort out what is python and what is moinmoin trouble. You could even check if a Standalone / Desktop MoinMoin is working.. and then go after the more advanced stuff. see here: http://moinmo.in/DesktopEdition bye Marcel -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] 'module' object has no attribute 'expat' when saving from gui editor
Hi I added a bug report http://moinmo.in/MoinMoinBugs/1.8%20DocbookErrorWithMacroInclude because I also have some problems using docbook rendering on pages with include macros. But your problems ImportError: ld.so.1: python: fatal: libgcc_s.so.1: open failed: No such file or directory... looks for me more something deeper and not moinmoin relevant. bye Marcel David Cramer schrieb: Ok, thanks for the tip. I didn't know that mattered for the GUI editor. Here's some more information about what I've done and what the symptoms are: Immediately after upgrading to 1.8.1, the GUI editor was working for at least one of the four wikis I have running off this box, but giving that same expat error for another one. I decided to save working on that for later, assuming it was some misconfiguration in the one wiki. In the mean time, I wanted to get the Render as DocBook thing working. This is a feature I need and was a big reason for upgrading (it produced bad DocBook in 1.5.x). Render as DocBook complained that it needed 4suite, so I installed 4Suite-1.0b1 and 4Suite-XML-1.0.2, however Render as DocBook still didn't work but it no longer complained about 4suite not being installed. Further investigation revealed that 4Suite is having problems finding libraries. For example, when I run 4xml -help, I get ImportError: ld.so.1: python: fatal: libgcc_s.so.1: open failed: No such file or directory, but if I first do export LD_LIBRARY_PATH=/usr/local/lib, 4xml works. Something I read made me think that installing pyxml would help, so I installed the latest version (0.8.4). After that Render as DocBook works for all pages that do not use the Include() macro. However, it appears that this may have broken the GUI editor. So my current situation is: * 4Suite-1.0b1 and 4Suite-XML-1.0.2 installed, but the 4Suite commands fail unless the environment variable LD_LIBRARY_PATH=/usr/local/lib. * PyXML 0.8.4 is installed (I did it --without-xpath --without-xslt because the 4suite instructions say that works better: http://4suite.org/docs/howto/UNIX.xml) * GUI editor does not work with the expat error I mentioned below. * Render as DocBook works for pages that do not have the Include() macro. If the page uses Include, moinmoin gives an error ImportError: ld.so.1: python: fatal: libgcc_s.so.1: open failed: No such file or directory, which I assume is my 4suite library problem. * Other info: * Platform: SunOS newthing 5.10 Generic_137138-09 i86pc * Python: Python 2.4.4 (/usr/bin/python) * MoinMoin: Release 1.8.1 (release) * gcc (GCC) 3.4.6 My guess is that if 4suite were working I might not even need PyXML. Any ideas on how to proceed? Thanks, David -Original Message- From: R.Bauer [mailto:rb.p...@gmail.com] Sent: Tuesday, January 06, 2009 8:16 AM To: moin-user@lists.sourceforge.net Subject: Re: [Moin-user] 'module' object has no attribute 'expat' when saving from gui editor David Cramer schrieb: Hi there, I recently upgraded from 1.5.7 to 1.8.1. Somewhere along the way, the GUI editor stopped being able to save pages. You can edit the page fine, but if you click Save Changes, Preview, Text Mode, Check Spelling, or Cancel you get the following error (full error is attached): 'module' object has no attribute 'expat' Is there some config change I missed or some package I forgot to install on the new machine? Thanks, David Normally xml is builtin into the python standard library. But I know also that for SuSE we often have had to install an additional pyxml package. May be that is similiar to SunOS. cheers Reimar -- ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -- ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user -- Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] NewFeatures in moinmoin1.7.3
hi there Please tell me how can i use left/center/right/justify for my text aligntment. which command or syntax i have to use for these options in my text_editor. yes, they did add those css classes to the common.css stylesheet A) one way would be to use the parser syntax like {{{#!wiki right My text goes right }}} see here: http://moinmo.in/HelpOnMoinWikiSyntax#Usingthewikiparserwithcssclasses B) or if you got a image - you could do: {{attachment:bild.png|bild text|class=right}} C) the same goes for a table, like ||tableclass=right table goes right || hope it helps bye Marcel -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Embeded Video and svg images
Hi There and i tried to put some video files on pages but page show only window media player but doesnt play the video. I changed my wikiconfig.py also regarding this document.(http://master.moinmo.in/HelpOnMacros/EmbedObject). but i cant play video on pages. i see only the window media player on page. Well I'm using also this macro with my Firefox and Video Player (Totem) and it works flawless (for normal avi files). Syntax is like: EmbedObject(movie.avi) But I know that it can be pain, because I guess some browsers and some media plugins (maybe Microsoft?) just sucks! Because of this I would thinking about using a macro that integrate/use a simple flash video player like this one http://www.video-flash.de/flv-flash-fullscreen-video-player/. The drawback is that, the user would need flash and he can not anymore choose how he would like to play the video file. but it would work I guess. bye Marcel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Moin-user Digest, Vol 30, Issue 5
Linda Rose schrieb: Hi Reimar, Version 1.8. I was doing title searches and full text searches. What is xapian? Look in your MoinMoin: http://moinmo.in/HelpOnXapian bye Marcel - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
[Moin-user] URL authentication (without apache auth)?
Hi there I started trying to archive my mp3 music collection with MoinMoin.I'm use a protected Wiki, but would like also to stream (sort of) some m3u or mp3 files directly to a multimedia player. A file like music.m3u would be downloaded from my wiki and would be open with my vlc player. The file looks like: {{{ http://user:[EMAIL PROTECTED]:8080/Def% 20Leppard/Pyromania?action=AttachFiledo=gettarget=too_late_for_love.mp3 http://user:[EMAIL PROTECTED]:8080/Def% 20Leppard/Pyromania?action=AttachFiledo=gettarget=comin% 27_under_fire.mp3 }}} As you can see it would require that MoinMoin would allow to use authentication over a simple url. I couldn't find a way to do this with a standalone server. BUT I could find a way, if you're using some apache server to enable the {{{ auth = [HTTPAuth()] }}}. Unter apache you could use then {{{ mod_auth_basic }}} and create your user with htpasswd. Now it's possible to save the m3u on your local harddisk, and play the songs over the server. -- BUT is there a way to do this without apache auth and let MoinMoin (Standalone Server) due the user authentication management stuff? bye Marcel p.s. Btw. for security reason you should also use some TLS e.g. https:// stuff. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] Error when going to User Preferences page
Hi Arver Maybe you hace check your wikiconfig.py with for some custom user_ stuff! See here for the reference: http://moinmo.in/HelpOnConfiguration/UserPreferences Another point is the jid Error, what it seems has to be something to do about the jabber ids Maybe take a look here: http://moinmo.in/JabberSupport bye Marcel Am Mittwoch, den 22.10.2008, 18:04 -0700 schrieb Dexter Arver: Hello. I’m testing out moin-1.8.0rc1 and have hit a bug. I am upgrading from 1.6.1 and have run through the moin.py migration data script and am using the brand new folders for htdocs, server, config and underlay (data is the only folder that I am keeping). When I’m logged in as an administrator and I go to the Settings - Preferences page, I get a “jid” KeyError. Is anyone else seeing this? -Dexter The following is the Trackback: Traceback A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /wiki/moin-1.8.0rc1/MoinMoin/request/__init__.py in run (self=MoinMoin.request.request_fcgi.Request object) /wiki/MoinMoin/action/userprefs.py in execute (pagename=u'MainPage', request=MoinMoin.request.request_fcgi.Request object) 93 return Page.Page(request, pagename).send_page() 94 95 text, title, msg_class, msg = _create_page(request) 96 if title: 97 # XXX: we would like to make Settings here a link back text undefined title undefined msg_class undefined msg undefined global _create_page = function _create_page request = MoinMoin.request.request_fcgi.Request object /wiki/MoinMoin/action/userprefs.py in _create_page (request=MoinMoin.request.request_fcgi.Request object, cancel=False) 83 return _create_prefs_page(request), None, msg_class, msg 84 85 return obj.create_form(), obj.title, msg_class, msg 86 87 obj = MoinMoin.userprefs.prefs.Settings object obj.create_form = bound method Settings.create_form of MoinMoin.userprefs.prefs.Settings object obj.title = 'Preferences' msg_class = None msg = None /wiki/MoinMoin/userprefs/prefs.py in create_form (self=MoinMoin.userprefs.prefs.Settings object) 337 uf_disable.append(attr) 338 for key, label, type, length, textafter in self.cfg.user_form_fields: 339 default = self.cfg.user_form_defaults[key] 340 if not key in uf_remove: 341 if key in uf_disable: default = '' self = MoinMoin.userprefs.prefs.Settings object self.cfg = wikiconfig.Config object self.cfg.user_form_defaults = {'aliasname': '', 'css_url': '', 'edit_rows': '20', 'email': '', 'name': '', 'password': '', 'password2': ''} key = 'jid' KeyError 'jid' args = ('jid',) - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
[Moin-user] [Fwd: Re: open links in new window]
Hi there It's simple, just use something like this: [[http://www.google.ch||target=_blank]] see here for more informations: http://moinmo.in/HelpOnLinking bye Marcel Am Mittwoch, den 22.10.2008, 09:39 +0200 schrieb Janssens Karen: Hi all How can i make links to external webpages open in new windows in MoinMoin? I tried to edit the html code, using the 'code' button from the GUI editor and inserting the 'target=_blank ' attribute into the html a href tag, but this did not work. Thanks for your suggestions! Karen -- Karen Janssens Universiteit Antwerpen Anet - Bibliotheekautomatisering Bibliotheek Stadscampus Prinsstraat 9 B-2000 Antwerpen Belgium Tel+32 3 220.49.71 Email [EMAIL PROTECTED] - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user
Re: [Moin-user] MoinMoin on simple hosting sites
Hi I'm using webfaction.com. they offering you to a moderate price, a ssh access and your own apache instance. so you can run your own apache mod_wsgi or a standalone version. also it's possible to compile your own xapian search. cgi works also but it's too slow in my eyes. bye Marcel Am Sonntag, den 08.06.2008, 21:35 -0600 schrieb Keith Hellman: Many companies provide a website account with a small amount of diskspace (1-4GB), a cgi-bin directory, access to the apache error log (for your url), and rsync+ssh, sftp, or a homegrown web file manager. Assuming the company provides a python interpretor, is it possible to setup moinmoin on one of these hosting sites? 1. Does anyone have experience doing this (or trying to do this)? 2. Can any of the moinmoin gurus see show stoppers to trying? 3. Have I missed some obvious documentation on the MoinMoin site? TIA for your comments, - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user