2007-11-07T00:16:08  <lanius> xorAxAx: sure
2007-11-07T10:50:06  <__foo> I need information about PagePreSaveEvent, i do not know which return value is expected from this event...someone can help me?
2007-11-07T10:50:20  <johill> return value?
2007-11-07T10:50:57  <johill> ah
2007-11-07T10:51:01  <johill> you can return an Abort() instance
2007-11-07T10:51:02  <johill> or None
2007-11-07T10:53:22  <__foo> ok... Abort() is events Class and need a string as parameter, that's right?
2007-11-07T10:53:41  <johill> html I think
2007-11-07T10:53:46  <johill> a html string I mean
2007-11-07T10:53:55  <johill> but yeah just use a string
2007-11-07T10:54:04  <johill> do you really want to abort though?
2007-11-07T10:56:40  <__foo> ... ? what do you mean?
2007-11-07T10:57:55  <starshine> what does abort mean in that context, does it mean to not permit saving the page?
2007-11-07T11:00:30  <__foo> yess...
2007-11-07T11:02:02  <__foo> currently, i'm searching  a way to create a middle step in the save action, but now i'm supposing  that is not possible...
2007-11-07T11:03:35  <starshine> middle step?  you want to modify a save in progress?
2007-11-07T11:03:52  <starshine> or daisy chain presave events?
2007-11-07T11:04:11  <__foo> no...i want to add a step in the normal 'workflow' of save action
2007-11-07T11:04:27  <starshine> to do what with it?
2007-11-07T11:06:18  <starshine> there's a preview mode but it's optional, I suppose if you make it not-optional this resembles some other wikis.
2007-11-07T11:07:38  <starshine> nn
2007-11-07T11:10:21  <__foo> i want to add this step in the save action workflow to show to the user some human readable message, to prevent some error...(templating errors ecc...), and i do not want deny user to save her page. if you are interested i can give you a link to a paper wrote for this peculiar argument
2007-11-07T11:11:03  <__foo> i want to realize it, without change or patch wiki-source but like plugin-way
2007-11-07T11:16:21  <__foo> yeah...like daisy chain presave events
2007-11-07T16:19:22  <johill> hah
2007-11-07T16:19:29  <johill> there's some bug in 1.7, I just got an italian mail
2007-11-07T16:19:45  <johill> it seems to use the language setting of the user who made the change rather than the email recipient
2007-11-07T16:20:01  <xorAxAx> johill: evil karol :)
2007-11-07T16:20:45  <johill> good thing it wasn't chinese
2007-11-07T17:03:14  <johill> actually
2007-11-07T17:03:18  <johill> only the subject is wrong
2007-11-07T17:03:35  <Afrohealer> johill : that is not too bad then ..
2007-11-07T18:57:17  <johill> grzywacz: you got lucky, I'm still around ;)
2007-11-07T18:57:50  <TheSheep> O.o
2007-11-07T19:03:59  <grzywacz> johill, :)
2007-11-07T19:04:04  <grzywacz> johill, let me see...
2007-11-07T19:05:09  <johill> grzywacz: only for about 20 more minutes though :)
2007-11-07T19:05:49  <grzywacz> johill, that should be more than enough
2007-11-07T19:07:09  <grzywacz> xorAxAx, around?
2007-11-07T19:08:23  <johill> hmm
2007-11-07T19:08:32  <johill> why would that work?
2007-11-07T19:08:37  <johill> it'll still use request.getText, no?
2007-11-07T19:09:05  <johill> ah the change is the lang
2007-11-07T19:09:11  <johill> gotcha
2007-11-07T19:20:09  <grzywacz> yes
2007-11-07T19:20:31  <CIA-32> moin: Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl> default * 2942:1906e0e91f0c 1.7/MoinMoin/events/emailnotify.py: Use user's language setting to generate notification topic, not http request
2007-11-07T19:20:33  <grzywacz> Someone review it please.
2007-11-07T19:20:47  <johill> if it's the same patch it looks fine to me :)
2007-11-07T19:26:28  <grzywacz> Yes, but I think I added some redundant code...
2007-11-07T19:36:01  <xorAxAx> grzywacz: yes
2007-11-07T20:02:27  <grzywacz> xorAxAx, "yes, around" or "yes, redundant"? ;)
2007-11-07T20:02:37  <xorAxAx> grzywacz: around
2007-11-07T20:43:23  <ThomasWaldmann> moin
2007-11-07T20:43:29  <grzywacz> moin
2007-11-07T23:07:23  <CIA-32> moin: Reimar Bauer <rb.proj AT googlemail DOT com> default * 2323:eb2be85ea11f 1.6/MoinMoin/converter/text_html_text_moin_wiki.py: text_html_text_moin_wiki: linebreak in table cell should be written into wiki text as <<BR>> (backported from 1.7)
2007-11-07T23:07:25  <CIA-32> moin: Reimar Bauer <rb.proj AT googlemail DOT com> default * 2324:ff872dfca368 1.6/MoinMoin/converter/text_html_text_moin_wiki.py: text_html_text_moin_wiki: an empty formatted cell of a pasted table should not be saved as a formatted br (backported from 1.7)
2007-11-07T23:07:27  <CIA-32> moin: Reimar Bauer <rb.proj AT googlemail DOT com> default * 2325:2291645dbef0 1.6/MoinMoin/converter/text_html_text_moin_wiki.py: text_html_text_moin_wiki.process_inline: linebreaks as <<BR>> and not \n (backported from 1.7)

MoinMoin: MoinMoinChat/Logs/moin-dev/2007-11-07 (last edited 2007-12-22 22:45:02 by IrcLogImporter)