From terti at mighty.co.za Thu Sep 2 14:24:03 2004
From: terti at mighty.co.za (terti)
Date: Thu Sep 2 14:24:03 2004
Subject: [Moin-user] moving moin from w2k to linux
Message-ID: <413790ED.80104@mighty.co.za>
in Porting an instance from w2k to linux... is there any conversions
that needs to take place on the moin contents ( I had in mind .txt CR/LF
conversion)
thanx
Tertius
From o.hofmann at smail.uni-koeln.de Mon Sep 6 01:32:06 2004
From: o.hofmann at smail.uni-koeln.de (Oliver Hofmann)
Date: Mon Sep 6 01:32:06 2004
Subject: [Moin-user] Customization
Message-ID: <413C1F6C.4090007@smail.uni-koeln.de>
Greetings!
Having just installed my first MoinMoin -- which worked flawlessly
thanks to the excellent documentation -- I'm now fiddling with the
details. Unfortunately, I can't seem to find similar help pages for this
part, but noticed two related posts in the mailing list archives which
went unanswered:
---
How do I change common footer that shows on every page (the part that
doesn"t change)?
---
... and...
---
Not very often but sometimes I"d like more control over formatting. Is
there some way I could embed html code like this for instance:
blah blah blah
into a wiki page?
---
For the first part, do I really have to tinker with the actual python
code that generates the templates? Regarding the second question, this
is something I loved about Instiki: The ability to simply include
HTML/CSS into the actual text.
Thanks a lot in advance,
Oliver
--
Oliver Hofmann - University of Cologne - Department of Biochemistry
PGP Fingerprint - 3B91 E308 2E5D D2A4 4E8D 633B F628 488D 8ECF 3893
It seems like once people grow up, they have no idea what's cool.
-- Calvin
From gia at webde-ag.de Mon Sep 6 04:41:15 2004
From: gia at webde-ag.de (Gisbert Amm)
Date: Mon Sep 6 04:41:15 2004
Subject: [Moin-user] Customization
In-Reply-To: <413C1F6C.4090007@smail.uni-koeln.de>
References: <413C1F6C.4090007@smail.uni-koeln.de>
Message-ID: <413C4CB8.50304@webde-ag.de>
Oliver Hofmann wrote:
> Not very often but sometimes I"d like more control over formatting. Is
> there some way I could embed html code like this for instance:
>
>
> blah blah blah
>
>
> into a wiki page?
There's a plugin named HTML.py for that; you can find it either in your
download or, if not, on http://moinmoin.wikiwikiweb.de/MacroMarket
To activate it, simply create a directory
plugin/macro in your MoinMoin instance and copy HTML.py there.
Then you can include HTML Code by typing [[HTML(your code)]].
Regards,
Gisbert Amm
From tw-public at gmx.de Mon Sep 6 08:09:10 2004
From: tw-public at gmx.de (Thomas Waldmann)
Date: Mon Sep 6 08:09:10 2004
Subject: [Moin-user] Customization
In-Reply-To: <413C1F6C.4090007@smail.uni-koeln.de>
References: <413C1F6C.4090007@smail.uni-koeln.de>
Message-ID: <413C7C51.1090301@gmx.de>
> How do I change common footer that shows on every page (the part that
> doesn"t change)?
Look if it can be done by CSS. If not, hack the theme code
(MoinMoin/theme/classic.py) or rather derive from the classic theme
class (like starshine does also).
>
> blah blah blah
>
HTML macro, but be aware this is dangerous.
> For the first part, do I really have to tinker with the actual python
> code that generates the templates?
There is also a simple method to get some static custom html in at some
predefined places. Look on HelpOnConfiguration, the setting is called
html_header1/2 and html_footer1/2 (or similar).
> is something I loved about Instiki: The ability to simply include
> HTML/CSS into the actual text.
Well, working with html is not quite the wiki way. ;)
From tw-public at gmx.de Mon Sep 6 08:11:02 2004
From: tw-public at gmx.de (Thomas Waldmann)
Date: Mon Sep 6 08:11:02 2004
Subject: [Moin-user] moving moin from w2k to linux
In-Reply-To: <413790ED.80104@mighty.co.za>
References: <413790ED.80104@mighty.co.za>
Message-ID: <413C7CAF.4040005@gmx.de>
> in Porting an instance from w2k to linux... is there any conversions
> that needs to take place on the moin contents ( I had in mind .txt CR/LF
> conversion)
I dont think there should be issues, but I didnt try it myself.
AFAIK moin strips CR chars anyway, so even the pages should be the same.
So maybe just try and tell us. ;)
From tw-public at gmx.de Mon Sep 6 08:16:03 2004
From: tw-public at gmx.de (Thomas Waldmann)
Date: Mon Sep 6 08:16:03 2004
Subject: [Moin-user] Checking a moinmoin site into CVS
In-Reply-To: <24269-47521@sneakemail.com>
References: <24269-47521@sneakemail.com>
Message-ID: <413C7DE1.5020305@gmx.de>
> I want to check my moinmoin content into a CVS repository.
> Are there directories or file extensions that I can safely
> ignore when I import the content?
The important stuff is all under data/.
text/ is current page text
backup/ are earlier revisions
pages/ are attachments (and minor other stuff)
editlog contains page history (so if you save backup dir, save this one,
too).
eventlog is only for statistics, you can exclude that if it is too large.
You don't need to save the stuff under cache/.
I hope this helps for CVS and general backup.
From tw-public at gmx.de Mon Sep 6 08:28:03 2004
From: tw-public at gmx.de (Thomas Waldmann)
Date: Mon Sep 6 08:28:03 2004
Subject: [Moin-user] virtual wiki
In-Reply-To: <1092657998.8023.9.camel@it-nishant>
References: <1092657998.8023.9.camel@it-nishant>
Message-ID: <413C80B9.8060703@gmx.de>
> does moinmoin support the funda of virtual wiki, ie say one can have
> separate wiki domains running within the same wiki server, say one each
> for separate project. the main benefit of this is that the links with
> the same value in two different projects do not class. the same benefit
> that namespaces provide.
moin up to 1.2.x can only offer a wiki farm to do such stuff. This means
you have one moin code installation and multiple data dirs and multiple
configs (they may all import some farmconfig with the common stuff) and
cgi scripts. Using twisted, you can run 1 wiki per IP/port/twisted
process only.
moin 1.3 (which is currently still under development, to be released
about 12/2004) will offer also the possibility of having one cgi or one
twisted process, one config and run multiple wikis on the same IP/port
with it (still using multiple data dirs, though). It also has class
based configuration, making farm configs easier.
We are currently thinking of maybe doing namespaces within moin, but as
thing are not quite clear yet how to integrate this all, this might
rather be 1.4 or later,
From o.hofmann at smail.uni-koeln.de Mon Sep 6 08:47:43 2004
From: o.hofmann at smail.uni-koeln.de (Oliver Hofmann)
Date: Mon Sep 6 08:47:43 2004
Subject: [Moin-user] Customization
In-Reply-To: <413C7C51.1090301@gmx.de>
References: <413C1F6C.4090007@smail.uni-koeln.de> <413C7C51.1090301@gmx.de>
Message-ID: <413C8564.5050509@smail.uni-koeln.de>
Gisbert, Thomas,
thanks for the swift reply. I'll take a look at the HTML macro, but
safety's a good point. Maybe I can tweak the templates in such a way
that more div classes can be used; basically, I'd just like to see a
navigation bar somewhere for quickly moving to different categories.
Might have to hard-code that somewhere and simply change the template
whenever a new category gets added.
Thanks again,
Oliver
--
Oliver Hofmann - University of Cologne - Department of Biochemistry
PGP Fingerprint - 3B91 E308 2E5D D2A4 4E8D 633B F628 488D 8ECF 3893
It seems like once people grow up, they have no idea what's cool.
-- Calvin
From cronjet at bigfoot.com Tue Sep 7 03:56:00 2004
From: cronjet at bigfoot.com (Tertius Cronje)
Date: Tue Sep 7 03:56:00 2004
Subject: [Moin-user] moving moin from w2k to linux
In-Reply-To: <413C7CAF.4040005@gmx.de>
References: <413790ED.80104@mighty.co.za> <413C7CAF.4040005@gmx.de>
Message-ID: <413D8B49.2060902@bigfoot.com>
Thomas Waldmann wrote:
>> in Porting an instance from w2k to linux... is there any conversions
>> that needs to take place on the moin contents ( I had in mind .txt
>> CR/LF conversion)
>
>
> I dont think there should be issues, but I didnt try it myself.
>
> AFAIK moin strips CR chars anyway, so even the pages should be the same.
>
> So maybe just try and tell us. ;)
>
Hi Thomas,
I archived the wiki instance and copied it accross to the Linux host.
All seems fine except when trying to access .png attachments I get the msg
"Unknown error" displayed in my browser.
The URL that is being executed looks as follows (example)
http://wikihost/mtomwiki/WikiSandBox?action=AttachFile&rename=mytest.png&drawing=mytest
Any ideas?
TIA
Tertius
From terti at mighty.co.za Tue Sep 7 12:05:00 2004
From: terti at mighty.co.za (terti)
Date: Tue Sep 7 12:05:00 2004
Subject: [Moin-user] moving moin from w2k to linux
In-Reply-To: <413D8B49.2060902@bigfoot.com>
References: <413790ED.80104@mighty.co.za> <413C7CAF.4040005@gmx.de> <413D8B49.2060902@bigfoot.com>
Message-ID: <413E077F.6070602@mighty.co.za>
Hi Thomas,
>
> I archived the wiki instance and copied it accross to the Linux host.
> All seems fine except when trying to access .png attachments I get
> the msg
> "Unknown error" displayed in my browser.
>
> The URL that is being executed looks as follows (example)
> http://wikihost/mtomwiki/WikiSandBox?action=AttachFile&rename=mytest.png&drawing=mytest
>
>
My mistake. I didn't have attachfile activated in moin_config.py
Regards
Tertius
From tiago at async.com.br Thu Sep 9 12:52:01 2004
From: tiago at async.com.br (Tiago R. Mello)
Date: Thu Sep 9 12:52:01 2004
Subject: [Moin-user] Escape for semicolon
Message-ID: <20040909195102.GA949@async.com.br>
Hi there!
How can I escape the semicolon in CSV mode?
Ex:
1;FOO;BAR;3
and it show:
1 | FOO | BAR | 3
But I want:
1;"FOO;BAR";3
1 | FOO;BAR | 3
I try with "", \\, \, '' but it didn't work.
Any help?
Did it have value parameters? Like, CVS -index for specify a
separator, escape char or something...
Thank you
[]'s
Tiago R. Mello
From mike at nospam.com Thu Sep 9 13:41:09 2004
From: mike at nospam.com (Mike Rovner)
Date: Thu Sep 9 13:41:09 2004
Subject: [Moin-user] Re: Escape for semicolon
References: <20040909195102.GA949@async.com.br>
Message-ID:
You can use my version of CSV.py. It's add a parameter - to
call CSV
like in
{{{#!CSV -| -3
...
}}}
means use | as separator and exclude column 3 from input.
HTH,
Mike
Tiago R. Mello wrote:
> Hi there!
>
> How can I escape the semicolon in CSV mode?
>
> Ex:
>
> 1;FOO;BAR;3
> and it show:
> 1 | FOO | BAR | 3
>
> But I want:
>
> 1;"FOO;BAR";3
> 1 | FOO;BAR | 3
>
> I try with "", \\, \, '' but it didn't work.
>
> Any help?
>
> Did it have value parameters? Like, CVS -index for specify a
> separator, escape char or something...
>
> Thank you
>
> []'s
>
> Tiago R. Mello
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement
> on who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
begin 666 CSV.py
M(R M*BT at 8V]D:6YG.B!I&-L=61E+F%P<&5N9"AI9'@M,2D*"65L2!F:7)S="!L:6YE+"!N;R!B;VQD(&AE
M861E"!I;B!E>&-L=61E.B!C;VYT:6YU90H@
M(" @(" @(" @("!O=71P=70N87!P96YD*&9O%TI*0H@(" @(" @(" @("!I9B!F:7)S
M=#H@;W5T<'5T+F%P<&5N9"AF;W)M871T97(N
I was happily using MoinMoin 1.1 and decided it was time to update to
1.2.3 which I did with no particular problems except ONE: the very
useful ExternalEdit.py action doesn't work anymore. I get a lovely
purple and pink page full of error messages...
Did I miss something or does it really not work with the new version?
I'm using Mac OS X 10.3.5 and it worked fine on the old MoinMoin.
Thanks.
Ellen
From jks at iki.fi Fri Sep 10 20:21:18 2004
From: jks at iki.fi (Jouni K Seppanen)
Date: Fri Sep 10 20:21:18 2004
Subject: [Moin-user] Creating my own theme under data/plugin
Message-ID: <29wtz2uop6.fsf@itl-pc9.hut.fi>
Hi,
I'm trying to create my own theme for MoinMoin. According to
http://moinmoin.wikiwikiweb.de/HelpOnThemes
I can put the code in data/plugin/theme/THEMENAME.py, but CSS and
images are only searched under wiki/htdocs. Is this correct? It seems
that my code is getting executed, but the CSS and images are not found
in data/plugin/theme/THEMENAME/{css,img}.
I would like to keep my theme completely under the data/ directory to
keep it safe against updates and to keep the wiki self-contained, so
if I need to move it to a new server, I have just one directory to
copy.
--
Jouni K Sepp?nen
From tiago at async.com.br Fri Sep 10 21:45:23 2004
From: tiago at async.com.br (Tiago R. Mello)
Date: Fri Sep 10 21:45:23 2004
Subject: [Moin-user] Re: Escape for semicolon
In-Reply-To:
References: <20040909195102.GA949@async.com.br>
Message-ID: <20040910153134.GC1004@async.com.br>
On Thu, Sep 09, 2004 at 01:40:13PM -0700, Mike Rovner wrote:
> You can use my version of CSV.py. It's add a parameter - to
Ok, thank you, but where I can find it?
[]'s
Tiago R. Mello
From ahuxley at gmx.net Sat Sep 11 04:51:15 2004
From: ahuxley at gmx.net (Alexis Huxley)
Date: Sat Sep 11 04:51:15 2004
Subject: [Moin-user] how to copy a page?
Message-ID:
The short version:
Is there a Moin-ish/Wiki-ish way to *copy* an existing page?
The long version:
I'm using a moin wiki as a bug tracking database, and
am basing the mechanism used on the same one used at
http://moinmoin.wikiwikiweb.de/MoinMoinBugs.
Bug reports specify three categories to which they belong (CategoryBug,
CategoryBug/StateIs, CategoryBug/ModuleIs).
I can then close bugs, reassign them to different modules, etc, just
by editing the page and changing the categories listed at the bottom
of the page.
Both the Moin page at the URL above and my bugs page make link to pages
which list the bugs which are in a particular state. They do this,
not using WikiWords to explicitly list them, but by leading to a
Category page, which in turn uses a FullSearch() macro. E.g. the page
CategoryBug/StateIsIncoming uses this:
[[FullSearch('\bCategoryBug/StateIsIncoming\b')]]
----
CategoryCategory
The advantage of this is that the pages listing the bugs by state
or by module name never need updating. If a bug changes state or is
reassigned to a different module, or is created, then there is only
one page which needs changing and that is the page *describing* the
bug; the pages which *list* all the bugs which have been closed or
are for module 'foo' do not need updating.
It works well. Except ...
What I don't like, and the Moin page doesn't seem to handle very well
either, is the instructions for submitting a new bug. Mine are these
(they are on the Bugs page):
1) In the URL slot of your browser, append to the current URL
_2fNameOfNewBug.
2) Base the new bug page on the Bugs/Template template!
3) Edit the new bug report (there are comments in the template
to help you do this).
4) Be sure to update the 'Category/ModuleIsXXXXXX' category
specification at the bottom of the page.
5) Save the page.
Well, instruction (1) is the problem. What I would really like
to say is a way to specify the name of a new page which does not
involve either first mentioning it on a 'parent' page, and does not
involve typing slightly cryptic URLs into the browser. If there were
a CopyPage action that would be perfect, but there isn't.
Has anybody got any ideas? Thanks for reading all the way down to
here :-)
Alexis
ahuxley at gmx.net
From geek+ at cmu.edu Sat Sep 11 17:27:06 2004
From: geek+ at cmu.edu (Brian Gallew)
Date: Sat Sep 11 17:27:06 2004
Subject: [Moin-user] how to copy a page?
In-Reply-To:
References:
Message-ID: <41439780.4010200@cmu.edu>
Alexis Huxley wrote:
[chomp]
> 1) In the URL slot of your browser, append to the current URL
> _2fNameOfNewBug.
>
> 2) Base the new bug page on the Bugs/Template template!
>
> 3) Edit the new bug report (there are comments in the template
> to help you do this).
>
> 4) Be sure to update the 'Category/ModuleIsXXXXXX' category
> specification at the bottom of the page.
>
> 5) Save the page.
If you have a page called "CreateNewBug", you can use an Action/Macro
like the one I posted a while ago to display an entry form on the
CreateNewBug page. Submitting that form then creates a new page and you
get redirected to it. I'm re-attaching my Action/Macro for your review.
As a matter for humor, I wrote it *exactly* for dealing with Trouble
Tickets.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Ticket.py
URL:
From ahuxley at gmx.net Sun Sep 12 00:16:02 2004
From: ahuxley at gmx.net (Alexis Huxley)
Date: Sun Sep 12 00:16:02 2004
Subject: [Moin-user] Re: how to copy a page?
References: <41439780.4010200@cmu.edu>
Message-ID:
> If you have a page called "CreateNewBug", you can use an Action/Macro
> like the one I posted a while ago to display an entry form on the
> CreateNewBug page. Submitting that form then creates a new page and you
> get redirected to it. I'm re-attaching my Action/Macro for your review.
Thanks very much for that, that is exactly what I need! I've not
managed to install it (or even the tiny 'MacroName' example on
http://tinyurl.com/4k3n2) :-( So I need to do some experimenting and
get back to you.
I googled for Ticket.py but didn't find anything (well, two pages
that were something else). Can I ask where you posted it to? To
this list? Is there any official site somewhere? (This is just for
if-I-have-to-reinstall-my-machine-then-can-I-get-everything-I-need
scenarios :-)
(I get that [[MacroName(...)]] is not expanded with
a page, same with [[Ticket()]]. The .py files are in
.../NameOfMyWiki/data/plugin/macro. If I put them in the sibling
action directory then the actions appear at the bottom of each page
but result in 'Unknown action' page. I can't even grep that string
out of the moin sources, so I'm I bit confused ...)
Alexis
From geek+ at cmu.edu Mon Sep 13 05:48:12 2004
From: geek+ at cmu.edu (Brian Gallew)
Date: Mon Sep 13 05:48:12 2004
Subject: [Moin-user] Re: how to copy a page?
In-Reply-To:
References: <41439780.4010200@cmu.edu>
Message-ID: <414596F2.4080204@cmu.edu>
Alexis Huxley wrote:
> Thanks very much for that, that is exactly what I need! I've not
> managed to install it (or even the tiny 'MacroName' example on
> http://tinyurl.com/4k3n2) :-( So I need to do some experimenting and
> get back to you.
Sorry, I'm a bad person: insufficient documentation. Here's a tarball
with more information, including a README that covers installation and
setup.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ticket.tgz
Type: application/x-compressed
Size: 4216 bytes
Desc: not available
URL:
From lbrayat at perax.fr Tue Sep 14 02:37:04 2004
From: lbrayat at perax.fr (=?ISO-8859-15?Q?Lo=EFc_Brayat?=)
Date: Tue Sep 14 02:37:04 2004
Subject: [Moin-user] Problem with the css
Message-ID: <4146BB8A.6090705@perax.fr>
An HTML attachment was scrubbed...
URL:
From xlii at xlii.org Tue Sep 14 11:32:02 2004
From: xlii at xlii.org (Ellen Herzfeld)
Date: Tue Sep 14 11:32:02 2004
Subject: [Moin-user] Custom theme problem
Message-ID:
I wish to use a custom theme for my wiki. It is, for now, just a copy
of rightsidebar.py with another name (mytheme.py) and a different css
stylesheet.
I put the stylesheet in moin/htdocs/mytheme/css/ and the copy of
rightsidebar.py renamed to mytheme.py in
moin/mywiki/data/plugin/theme . Of course I also changed the name in
the Theme class.
This does not work. The file mytheme.py seems to be found because I
get a .pyc if I activate the theme in the user preferences, but the
classic theme is what I see.
If I put the file mytheme.py in MoinMoin/theme/, then it works fine.
I suppose I could leave it at that, but if I read the docs correctly,
the right place to put a custom theme is in
moin/mywiki/data/plugin/theme .
What seems strange to me is that in the place where it works, no .pyc
is generated.
What am I doing wrong?
Thanks,
Ellen
--
Quarante-Deux : quelques pages sur la Science-Fiction
Ellen C. Herzfeld - Dominique O. Martel
http://www.quarante-deux.org/
From lbrayat at perax.fr Wed Sep 15 04:24:14 2004
From: lbrayat at perax.fr (=?ISO-8859-1?Q?Lo=EFc_Brayat?=)
Date: Wed Sep 15 04:24:14 2004
Subject: [Moin-user] Problem with the css
Message-ID: <41482635.5090506@perax.fr>
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: page.txt
URL:
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: moin_config.py
URL:
From lbrayat at perax.fr Wed Sep 15 04:26:01 2004
From: lbrayat at perax.fr (=?ISO-8859-1?Q?Lo=EFc_Brayat?=)
Date: Wed Sep 15 04:26:01 2004
Subject: [Moin-user] Problem with the css
In-Reply-To:
References:
Message-ID: <41482694.3060506@perax.fr>
An HTML attachment was scrubbed...
URL:
From lbrayat at perax.fr Wed Sep 15 04:26:05 2004
From: lbrayat at perax.fr (=?ISO-8859-15?Q?Lo=EFc_Brayat?=)
Date: Wed Sep 15 04:26:05 2004
Subject: [Moin-user] Problem with the css
Message-ID: <414826BB.9010307@perax.fr>
An HTML attachment was scrubbed...
URL:
From CPJohnson at edcon.co.za Wed Sep 15 05:04:01 2004
From: CPJohnson at edcon.co.za (Craig Johnson)
Date: Wed Sep 15 05:04:01 2004
Subject: [Moin-user] Image Sizing
Message-ID:
Ok,
My turn for a question. I am trying to limit the display-size of am image. E.g.. I have a image that is 500 pixels wide, but I want it resized by the browser to 200 pixels. How would I do this?
I have tried something like
[[HTML()]]
attachment:Image.JPG
[[HTML( |
)]]
with no effect. IE displays the image full size regardless.
Thanks,
Craig
--
#####################################################################################
Please note my e-Mail address has changed.
Please update your address book with my new e-Mail address as displayed in the "From:" field.
#####################################################################################
------------------Edcon Disclaimer -------------------------
This email is private and confidential and its contents and attachments
are the property of Edcon. It is solely for the named addressee. Any
unauthorised use or interception of this email, or the review, retransmission,
dissemination or other use of, or taking of any action in reliance upon the contents of
this email, by persons or entities other than the intended recipient, is prohibited.Save for communications relating to the official business of Edcon, the company does not accept any responsibility for the contents of this email or any opinions expressed in this email or its attachments .If you are not the named addressee please notify us immediately by reply email and delete this email and any attached files.Due to the nature of email Edcon cannot ensure and accepts no liability for the integrity of this email and any attachments, nor that they are free of any virus.Edcon accepts no liability for any loss or damage whether direct or indirect or consequential,however caused, whether by negligence or otherwise,
which may result directly or indirectly from this communication or any attached
files.
Edgars Consolidated Stores LTD ,Post office box 200 Crown Mines,
Telephone:
(011) 495-6000
From Andrew.Premdas at man.ac.uk Wed Sep 15 07:20:09 2004
From: Andrew.Premdas at man.ac.uk (Andrew Premdas)
Date: Wed Sep 15 07:20:09 2004
Subject: [Moin-user] Theme stuff, detecting known users
In-Reply-To:
Message-ID:
Hi I have a theme that I would like to turn on and off various parts of the
user interface for people who are known/not known to the site. Is this
possible? In particular I would like to change available
Andrew Premdas
Student Systems Developer
Manchester University
-------------------------
-----Original Message-----
From: moin-user-admin at lists.sourceforge.net
[mailto:moin-user-admin at lists.sourceforge.net] On Behalf Of Craig Johnson
Sent: 15 September 2004 13:04
To: moin-user at lists.sourceforge.net
Subject: [Moin-user] Image Sizing
Ok,
My turn for a question. I am trying to limit the display-size of am image.
E.g.. I have a image that is 500 pixels wide, but I want it resized by the
browser to 200 pixels. How would I do this?
I have tried something like
[[HTML()]]
attachment:Image.JPG
[[HTML( |
)]]
with no effect. IE displays the image full size regardless.
Thanks,
Craig
--
############################################################################
#########
Please note my e-Mail address has changed.
Please update your address book with my new e-Mail address as displayed in
the "From:" field.
############################################################################
#########
------------------Edcon Disclaimer ------------------------- This email is
private and confidential and its contents and attachments are the property
of Edcon. It is solely for the named addressee. Any unauthorised use or
interception of this email, or the review, retransmission, dissemination or
other use of, or taking of any action in reliance upon the contents of this
email, by persons or entities other than the intended recipient, is
prohibited.Save for communications relating to the official business of
Edcon, the company does not accept any responsibility for the contents of
this email or any opinions expressed in this email or its attachments .If
you are not the named addressee please notify us immediately by reply email
and delete this email and any attached files.Due to the nature of email
Edcon cannot ensure and accepts no liability for the integrity of this email
and any attachments, nor that they are free of any virus.Edcon accepts no
liability for any loss or damage whether direct or indirect or
consequential,however caused, whether by negligence or otherwise, which may
result directly or indirectly from this communication or any attached files.
Edgars Consolidated Stores LTD ,Post office box 200 Crown Mines,
Telephone:
(011) 495-6000
-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the
code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes
in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Moin-user mailing list
Moin-user at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user
From Andrew.Premdas at man.ac.uk Wed Sep 15 07:26:07 2004
From: Andrew.Premdas at man.ac.uk (Andrew Premdas)
Date: Wed Sep 15 07:26:07 2004
Subject: [Moin-user] Theme stuff, detecting known users
Message-ID:
Sorry, accidentally posted message before it was finished, with all stuff
from another message, my apologies. My full message is below
Hi I have a theme that I would like to turn on and off various parts of the
user interface for people who are known/not known to the site. Is this
possible? In particular I would like to change
availableactions(self, d):
html = []
if knownUser
html.append('%s
\n' %
_("Actions"))
else
html.append('%s
\n' %
_("Actions"))
Yeh, I know its not accurate, but you get the idea I hope. Anyhow if anyone
could provide a little snippet of python to do this I would really
appreciate it.
By the way I'm not a python programmer, so I would really appreciate a
working code snippet rather than just access variable x in blah.
Cheers
Andrew
Andrew Premdas
Student Systems Developer
Manchester University
-------------------------
From R.Bauer at fz-juelich.de Wed Sep 15 07:29:12 2004
From: R.Bauer at fz-juelich.de (Reimar Bauer)
Date: Wed Sep 15 07:29:12 2004
Subject: [Moin-user] Image Sizing
In-Reply-To:
References:
Message-ID: <41485188.20708@fz-juelich.de>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
| --__--__--
|
| Message: 4
| Date: Wed, 15 Sep 2004 14:03:52 +0200
| From: "Craig Johnson"
| To:
| Subject: [Moin-user] Image Sizing
|
| Ok,
|
| My turn for a question. I am trying to limit the display-size of am imag=
| e. E.g.. I have a image that is 500 pixels wide, but I want it resized b=
| y the browser to 200 pixels. How would I do this?
|
| I have tried something like=20
|
| [[HTML()]]
| attachment:Image.JPG
| [[HTML( |
)]]
|
| with no effect. IE displays the image full size regardless.
|
| Thanks,
|
| Craig
| --
|
|
Dear Craig
you could use the ImageLink macro
http://moinmoin.wikiwikiweb.de:8000/MacroMarket
[[ImageLink(plot.gif,FrontPage,20,20)]]
Reimar
- --
Reimar Bauer
Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer at fz-juelich.de
- -------------------------------------------------------------------
~ a IDL library at ForschungsZentrum Juelich
~ http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro.html
===================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iD8DBQFBSFF95aOc3Q9hk/kRAg7mAJ9jKc0rlmuPhXqdDnJgmD3HvNctlwCfdMzH
55QyhB2j3e+qpx7ou5T1HeQ=
=IOOy
-----END PGP SIGNATURE-----
From michael_soulier at mitel.com Fri Sep 17 09:24:13 2004
From: michael_soulier at mitel.com (Michael P. Soulier)
Date: Fri Sep 17 09:24:13 2004
Subject: [Moin-user] acl configuration
Message-ID: <20040917160341.GO7753@e-smith.com>
Hello,
I'm trying to configure ACLs on my moin site, version 1.2.1.
acl_enabled = 1
acl_rights_default = 'All:read'
acl_rights_valid = ["read", "write", "delete", "revert", "admin"]
From Roy_Osborne at mitel.com Fri Sep 17 21:03:08 2004
From: Roy_Osborne at mitel.com (Roy_Osborne at mitel.com)
Date: Fri Sep 17 21:03:08 2004
Subject: [Moin-user] Roy Osborne/Kan/Mitel is out of the office.
Message-ID:
I will be out of the office starting 09/17/2004 and will not return until
10/12/2004.
I will respond to your message when I return.
From debasree at geosci.uchicago.edu Mon Sep 20 14:20:02 2004
From: debasree at geosci.uchicago.edu (Debasree Saha)
Date: Mon Sep 20 14:20:02 2004
Subject: [Moin-user] Reset User Password
Message-ID:
Hi,
We do not have email support on the machine on which the wiki is
present. One of the users have forgotten the login password. How can I
reset the password? Or how can I delete the user so that I can create a
new user with the same username?
Thanks.
Debasree
From tw-public at gmx.de Tue Sep 21 02:59:00 2004
From: tw-public at gmx.de (Thomas Waldmann)
Date: Tue Sep 21 02:59:00 2004
Subject: [Moin-user] acl configuration
In-Reply-To: <20040917160341.GO7753@e-smith.com>
References: <20040917160341.GO7753@e-smith.com>
Message-ID: <414FF8F8.7040804@gmx.de>
> I'm trying to configure ACLs on my moin site, version 1.2.1.
Use >= 1.2.3, it contains important ACL and other fixes.
> acl_enabled = 1
> acl_rights_default = 'All:read'
OK.
> acl_rights_valid = ["read", "write", "delete", "revert", "admin"]
You don't need to set that, this is the internal default anyway.
> From what I've read, the above should work. However, I still have write
> access to a page that I should only be able to read.
Well, you maybe have done sth wrong, but without more infos, I can't
help much.
Thomas
From tw-public at gmx.de Tue Sep 21 03:06:13 2004
From: tw-public at gmx.de (Thomas Waldmann)
Date: Tue Sep 21 03:06:13 2004
Subject: [Moin-user] Reset User Password
In-Reply-To:
References:
Message-ID: <414FFACB.5030300@gmx.de>
> We do not have email support on the machine on which the wiki is
> present.
Not good in that case. :-|
> One of the users have forgotten the login password. How can I
> reset the password? Or how can I delete the user so that I can create a
> new user with the same username?
The best method is like that:
Let the user create a new account like FirstnameLastnameNew be used!
with a new password. That account must not be used for wiki editing.
Locate the user file:
cd data/user
grep FirstnameLastnameNew *
Copy the line with the encrypted password to the old user file (also use
grep to locate the old user file) and save it.
Finally, delete the file with FirstnameLastnameNew.
Maybe enable mail processing to have an easier way.
Thomas
From Nigel.Metheringham at dev.intechnology.co.uk Wed Sep 22 01:46:08 2004
From: Nigel.Metheringham at dev.intechnology.co.uk (Nigel Metheringham)
Date: Wed Sep 22 01:46:08 2004
Subject: [Moin-user] Listing attachments on a page
Message-ID: <1095842722.7596.16.camel@angua.localnet>
Is there a macro or similar which can be used to give a list of
attachments on a page?
ie what I want is the ability to put something like
[[ListOfAttachments]] and get a list of all attachments to this page.
This would enable us to add that to a Template for the page and not
confuse people so much when they add attachments (at least for those
pages).
On a similar note, a list of pages that link to this one could be useful
- I can fake it at present. The reason is that we are trying to use a
wiki as a workflow mechanism for a theatre - I have a page for each show
and the show info includes the stage managers and other crew. I can
then put on FredBloggs home page a [[FullSearch(FredBloggs)]] which
shows pages which include him. A shorter form, and even better a way of
filtering (skip shows from last year - which are under a particular year
set) would be nice...
Nigel.
--
[ Nigel Metheringham Nigel.Metheringham at InTechnology.co.uk ]
[ - Comments in this message are my own and not ITO opinion/policy - ]
From michael_soulier at mitel.com Wed Sep 22 17:19:10 2004
From: michael_soulier at mitel.com (Michael P. Soulier)
Date: Wed Sep 22 17:19:10 2004
Subject: [Moin-user] acl configuration
In-Reply-To: <414FF8F8.7040804@gmx.de>
References: <20040917160341.GO7753@e-smith.com> <414FF8F8.7040804@gmx.de>
Message-ID: <20040923001822.GN7753@e-smith.com>
On 21/09/04 Thomas Waldmann did say:
> Use >= 1.2.3, it contains important ACL and other fixes.
I just upgraded to 1.2.3. Unfortunately, the hack I used in the config
to force users to login first broke in this version:
# Only known users are allowed to edit pages.
class SecurityPolicy(Permissions):
def edit(self, pagename, **kw):
return self.user.valid
I got this from the Moin FAQ, I believe.
Running moin.cgi with ?test yields the following failures:
runTest (MoinMoin._tests.test_parser_wiki.WikiMacroTestCase) ... FAIL
======================================================================
FAIL: runTest (MoinMoin._tests.test_parser_wiki.WikiMacroTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/local/lib/python2.2/site-packages/MoinMoin/_tests/test_parser_wiki.py",
line 45, in runTest
self.failUnless(regex.search(output), msg='Expected %r in: %s' %
(pattern, output))
File "//usr/lib/python2.2/unittest.py", line 262, in failUnless
if not expr: raise self.failureException, msg
AssertionError: Expected '1#1970-01-06 00:00:00#1' in:
1#1970-01-05 19:00:00#1 2#1970-01-03 19:00:00#2 3#2003-03-02 22:03:03#3
4#1999-12-31 19:00:00#4 5#2002-02-01#5
> Well, you maybe have done sth wrong, but without more infos, I can't
> help much.
What do you need? I can include the entire config if you like.
Mike
--
Michael P. Soulier , 613-592-2122 x2522
6000/6010/60* Development, Mitel Networks Corporation
"...the word HACK is used as a verb to indicate a massive amount of nerd-like
effort." -Harley Hahn, A Student's Guide to Unix
From michael_soulier at mitel.com Wed Sep 22 17:50:29 2004
From: michael_soulier at mitel.com (Michael P. Soulier)
Date: Wed Sep 22 17:50:29 2004
Subject: [Moin-user] acl configuration
In-Reply-To: <20040923001822.GN7753@e-smith.com>
References: <20040917160341.GO7753@e-smith.com> <414FF8F8.7040804@gmx.de> <20040923001822.GN7753@e-smith.com>
Message-ID: <20040923004947.GP7753@e-smith.com>
On 22/09/04 Michael P. Soulier did say:
> # Only known users are allowed to edit pages.
> class SecurityPolicy(Permissions):
> def edit(self, pagename, **kw):
> return self.user.valid
Ah, I see the FAQ has been updated. This last line is now
return self.request.user.valid
This works now. Back to ACLs. :)
Mike
--
Michael P. Soulier , 613-592-2122 x2522
6000/6010/60* Development, Mitel Networks Corporation
"...the word HACK is used as a verb to indicate a massive amount of nerd-like
effort." -Harley Hahn, A Student's Guide to Unix
From tom.vekemans at mil.be Fri Sep 24 07:09:05 2004
From: tom.vekemans at mil.be (Vekemans Tom)
Date: Fri Sep 24 07:09:05 2004
Subject: [Moin-user] Python and IIS6
Message-ID:
Hi,
We have installed MoinMoin 1.2.3 on a Windows 2003/IIS6 server, as well
as Python 2.3.4 + pywin32-202.win32-py2.3 .
We have followed the installation instructions, created a mywiki virtual
directory and specified that cgi scripts in there must be treaded by
Python ("c:\Python23\python.exe" -u %s %s)
It doesn't work. Probably there is something wrong with the combination
Python-IIS because even the simplest "hello world" cgi scripts fails. We
always get a reply that says:
CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers.
However, if I run the script from the command line it works just fine.
Does anyone have any ideas?
Kind Regards,
Tom Vekemans
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From michael_soulier at mitel.com Fri Sep 24 11:38:06 2004
From: michael_soulier at mitel.com (Michael P. Soulier)
Date: Fri Sep 24 11:38:06 2004
Subject: [Moin-user] acl configuration
In-Reply-To: <414FF8F8.7040804@gmx.de>
References: <20040917160341.GO7753@e-smith.com> <414FF8F8.7040804@gmx.de>
Message-ID: <20040924183706.GA18474@e-smith.com>
On 21/09/04 Thomas Waldmann did say:
> Well, you maybe have done sth wrong, but without more infos, I can't
> help much.
I've found the problem. I have this on my moin_config.py to force users
to create an account and login before editing pages.
class SecurityPolicy(Permissions):
def edit(self, pagename, **kw):
return self.request.user.valid
This is incompatible with the acls. As soon as I comment this out, the
page that I should have only read access to becomes immutable.
Suggestions to get both working? The above code is straight from the
FAQ.
Mike
--
Michael P. Soulier , 613-592-2122 x2522
6000/6010/60* Development, Mitel Networks Corporation
"...the word HACK is used as a verb to indicate a massive amount of nerd-like
effort." -Harley Hahn, A Student's Guide to Unix
From michael_soulier at mitel.com Fri Sep 24 12:02:07 2004
From: michael_soulier at mitel.com (Michael P. Soulier)
Date: Fri Sep 24 12:02:07 2004
Subject: [Moin-user] acl configuration
In-Reply-To: <20040924183706.GA18474@e-smith.com>
References: <20040917160341.GO7753@e-smith.com> <414FF8F8.7040804@gmx.de> <20040924183706.GA18474@e-smith.com>
Message-ID: <20040924190052.GC18474@e-smith.com>
On 24/09/04 Michael P. Soulier did say:
> I've found the problem. I have this on my moin_config.py to force users
> to create an account and login before editing pages.
>
> class SecurityPolicy(Permissions):
> def edit(self, pagename, **kw):
> return self.request.user.valid
>
> This is incompatible with the acls. As soon as I comment this out, the
> page that I should have only read access to becomes immutable.
>
> Suggestions to get both working? The above code is straight from the
> FAQ.
Interesting. The code hack in the FAQ wasn't even required. This ACL
configuration accomplishes the same thing, while keeping in-page ACLs
working.
acl_enabled = 1
acl_rights_default = 'Known:read,write,delete,revert All:read'
Mike
--
Michael P. Soulier , 613-592-2122 x2522
6000/6010/60* Development, Mitel Networks Corporation
"...the word HACK is used as a verb to indicate a massive amount of nerd-like
effort." -Harley Hahn, A Student's Guide to Unix
From skip at pobox.com Fri Sep 24 13:55:14 2004
From: skip at pobox.com (Skip Montanaro)
Date: Fri Sep 24 13:55:14 2004
Subject: [Moin-user] acl configuration
In-Reply-To: <20040924190052.GC18474@e-smith.com>
References: <20040917160341.GO7753@e-smith.com>
<414FF8F8.7040804@gmx.de>
<20040924183706.GA18474@e-smith.com>
<20040924190052.GC18474@e-smith.com>
Message-ID: <16724.35220.535660.391878@montanaro.dyndns.org>
Mike> Interesting. The code hack in the FAQ wasn't even required.
My guess is that the code hack predates the presence of acls in Moin.
Perhaps you could update that answer?
Skip
From service at metamodul.com Sun Sep 26 06:40:02 2004
From: service at metamodul.com (service at metamodul.com)
Date: Sun Sep 26 06:40:02 2004
Subject: [Moin-user] =?iso-8859-1?Q?Linking_across_pages?=
Message-ID: <6272025$10962054444156c48459fe74.66169797@config21.schlund.de>
Hi folks,
i have read the documentation but could not found a solution for my
problem.
Scenario:
Two page ( PageOne & PageTwo ) with an anchor (anchorOne ) on PageOne
Now i would like to link from PageTwo to the anchor (anchorOne) on
PageOne.
Something like: PageTwo#/PageOne/anchorOne
How can it be done ?
Kind regards
Hajo
From gia at webde-ag.de Mon Sep 27 00:14:35 2004
From: gia at webde-ag.de (Gisbert Amm)
Date: Mon Sep 27 00:14:35 2004
Subject: [Moin-user] Linking across pages
In-Reply-To: <6272025$10962054444156c48459fe74.66169797@config21.schlund.de>
References: <6272025$10962054444156c48459fe74.66169797@config21.schlund.de>
Message-ID: <4157BC69.4080808@webde-ag.de>
service at metamodul.com wrote:
> Scenario:
>
> Two page ( PageOne & PageTwo ) with an anchor (anchorOne ) on PageOne
>
> Now i would like to link from PageTwo to the anchor (anchorOne) on
> PageOne.
>
> Something like: PageTwo#/PageOne/anchorOne
>
>
> How can it be done ?
On PageOne you write:
[[Anchor(anchorOne)]]
On PageTwo you write:
wiki:Self:PageOne#anchorOne
(PageOne#anchorOne should also work, but I experienced some problems
with this in the past).
See HelpOnMacros and HelpOnLinking for reference.
Regards,
Gisbert Amm
From michael_soulier at mitel.com Tue Sep 28 07:13:40 2004
From: michael_soulier at mitel.com (Michael P. Soulier)
Date: Tue Sep 28 07:13:40 2004
Subject: [Moin-user] acl configuration
In-Reply-To: <16724.35220.535660.391878@montanaro.dyndns.org>
References: <20040917160341.GO7753@e-smith.com> <414FF8F8.7040804@gmx.de> <20040924183706.GA18474@e-smith.com> <20040924190052.GC18474@e-smith.com> <16724.35220.535660.391878@montanaro.dyndns.org>
Message-ID: <20040928140355.GX18474@e-smith.com>
On 24/09/04 Skip Montanaro did say:
> My guess is that the code hack predates the presence of acls in Moin.
> Perhaps you could update that answer?
Done.
Mike
--
Michael P. Soulier , 613-592-2122 x2522
6000/6010/60* Development, Mitel Networks Corporation
"...the word HACK is used as a verb to indicate a massive amount of nerd-like
effort." -Harley Hahn, A Student's Guide to Unix
From michael_soulier at mitel.com Tue Sep 28 07:57:18 2004
From: michael_soulier at mitel.com (Michael P. Soulier)
Date: Tue Sep 28 07:57:18 2004
Subject: [Moin-user] RenameFile
Message-ID: <20040928144814.GB20501@e-smith.com>
Hey people,
How does one enable the ability to rename files in moin 1.2.3? I've
googled around, but found little. I tried a couple of things in my
config, but the desired link did not appear in the footer. Is this an
extension?
Thanks,
Mike
--
Michael P. Soulier , 613-592-2122 x2522
6000/6010/60* Development, Mitel Networks Corporation
"...the word HACK is used as a verb to indicate a massive amount of nerd-like
effort." -Harley Hahn, A Student's Guide to Unix