2007-12-16T00:02:10  <ThomasWaldmann> hmm, looks like the only way to get rid of the logging root handler is to set its loglevel to a undocumented high level
2007-12-16T00:03:04  <ThomasWaldmann> otherwise, if not other logger is configured (neither file, nor stderr), it will handle the logging and log to stderr by default
2007-12-16T00:17:45  <ThomasWaldmann> xorAxAx: any better idea than setting loglevel to CRITICAL * 42 ? :)
2007-12-16T00:20:32  <TheSheep> sys.maxint+1
2007-12-16T00:21:18  <TheSheep> ThomasWaldmann: maybe have an 'IMPOSSIBLE' const? :)
2007-12-16T00:21:52  <TheSheep> IMPOSSIBLE = UNREALISTIC+1
2007-12-16T00:22:48  <ThomasWaldmann> there is no such constant, sadly
2007-12-16T00:23:06  <TheSheep> make one
2007-12-16T00:23:15  <ThomasWaldmann> and sys.maxint seems not to work for py3k (at least someone on #python told that)
2007-12-16T00:23:37  <TheSheep> fotunately we have 993 years to fix that...
2007-12-16T00:27:05  <xorAxAx> ThomasWaldmann: let me look at the code
2007-12-16T00:27:32  <xorAxAx> hmm
2007-12-16T00:29:53  <xorAxAx> ThomasWaldmann: well, its easy
2007-12-16T00:29:58  <xorAxAx> just dont use the root logger but your own
2007-12-16T00:35:55  <ThomasWaldmann> that's a bigger rewrite
2007-12-16T00:36:14  <ThomasWaldmann> because everything does import logging ; logging.xxx()
2007-12-16T00:40:15  <xorAxAx> well, thats bad :)
2007-12-16T00:40:27  <xorAxAx> then you have two other hacky choices:
2007-12-16T00:40:45  <xorAxAx> a) init the root logger before anybody else (dirty because you dont know who is calling moin)
2007-12-16T00:41:08  <xorAxAx> b) change the handler of the root logger if it is in the default config (needs to be careful because you could break other stuff)
2007-12-16T00:45:14  <ThomasWaldmann> a) is not worse than now, because it is already setting the loglevel anyway
2007-12-16T00:57:02  <CIA-34> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2434:1558c37832e3 1.6/MoinMoin/server/__init__.py: dirty hack for disabling the root logger (otherwise it outputs to sys.stderr)
2007-12-16T01:13:08  * dreimark comments on 77
2007-12-16T01:17:42  <xorAxAx> dreimark: writing what?
2007-12-16T01:18:23  <xorAxAx> ah
2007-12-16T01:21:05  * xorAxAx reopened a lot of tasks
2007-12-16T01:21:38  <ThomasWaldmann> hmm, that didnt work as expected 8|
2007-12-16T01:22:49  <ThomasWaldmann> if the root logger does not log, it's additional handler do not either
2007-12-16T01:23:23  <xorAxAx> ?
2007-12-16T01:23:43  <xorAxAx> you should change the handler and not the logger :)
2007-12-16T01:23:57  <xorAxAx> init means "set it up yourself with your handler" in this case
2007-12-16T01:24:33  <xorAxAx> you can even check if there is a root logger before your hack, if so, you skip the setup and log a warning
2007-12-16T01:25:18  <xorAxAx> where it in "set it up" is the root handler
2007-12-16T01:26:17  <dreimark> hmm, seems we have problems in selecting unicode page names for dump (script.moin)
2007-12-16T01:27:12  <ThomasWaldmann> xorAxAx: i set up up to two handlers
2007-12-16T01:27:23  <ThomasWaldmann> i just want to get rid of the default one
2007-12-16T01:27:33  <xorAxAx> ThomasWaldmann: thats not very sane
2007-12-16T01:27:40  <xorAxAx> ThomasWaldmann: IMHO you should set up the root logger yourself
2007-12-16T01:27:44  <xorAxAx> then it wont attach the default handler
2007-12-16T01:27:46  <ThomasWaldmann> the default one is not very sane
2007-12-16T01:28:15  <xorAxAx> see the function in logging that is doing the basic setup
2007-12-16T01:32:13  <dreimark> gn
2007-12-16T01:33:56  <ThomasWaldmann> xorAxAx: it is not documented how to set the root handler
2007-12-16T01:34:26  <ThomasWaldmann> we can do it, but that's accessing internal undocumented stuff
2007-12-16T01:34:58  <xorAxAx> well, then use getattr/duck typing
2007-12-16T01:35:35  <xorAxAx> in order to gracefully handle a new/changed logging module
2007-12-16T01:37:08  <xorAxAx> its kind of b0rked that its doing this setup implicitly
2007-12-16T01:37:11  <xorAxAx> pretty unpythonic
2007-12-16T01:43:56  * ThomasWaldmann does another dirty hack 8|
2007-12-16T01:55:58  <ThomasWaldmann> +        # First, initialize the logging, doing dirty hacks because of logging module's inflexibility 8|
2007-12-16T01:56:01  <ThomasWaldmann> +        # we throw away the root logger we already have there, because it might have some unwanted stderr
2007-12-16T01:56:04  <ThomasWaldmann> +        # handler we can not turn off from here.
2007-12-16T01:56:05  <ThomasWaldmann> that works
2007-12-16T01:56:07  <ThomasWaldmann> +        logger = logging.root = logging.RootLogger(logging.NOTSET) # create a root logger with no handlers
2007-12-16T02:00:31  <tungolcild> hello people there
2007-12-16T02:00:32  <tungolcild> :)
2007-12-16T02:01:18  <TheSheep> people? where?
2007-12-16T02:01:57  <tungolcild> oh, i'm sorry..sheep
2007-12-16T02:02:05  <tungolcild> people and animals anyway..
2007-12-16T02:03:20  <ThomasWaldmann> :)
2007-12-16T02:03:50  <tungolcild> i joined to ask about google's GHOP. i just claimed for a translation project but have some difficulties to understand some terms...
2007-12-16T02:04:33  <tungolcild> i mean specifically, what does it mean that i have to write down the deliverable to the linked wiki page..? :/
2007-12-16T02:05:11  <ThomasWaldmann> tungolcild: translation happens on moinmaster wiki
2007-12-16T02:05:27  <ThomasWaldmann> you have to create a wiki homepage with contact
2007-12-16T02:05:47  <ThomasWaldmann> which language is it?
2007-12-16T02:05:56  <tungolcild> that's what i'm trying to do. trying to create a wiki page...
2007-12-16T02:05:57  <tungolcild> greek
2007-12-16T02:06:18  <ThomasWaldmann> then you have to begin on MoinMaster:MoinI18n/el
2007-12-16T02:06:39  <ThomasWaldmann> and your homepage is on MoinMoin:FirstnameLastname
2007-12-16T02:07:36  <TheSheep> dreimark: I think I stumbled upon your bug with {{{...}}} on http://moinmo.in/UserPreferences#head-b81132bd259131f3310d7f785fe681bf8f03c3a7
2007-12-16T02:07:40  <tungolcild> hm..that means that i have to write something to :subscribed wiki pages in user preferences?
2007-12-16T02:09:08  <ThomasWaldmann> subscribing to the pages is a good idea, you can do it clicking onto "subscribe" on that wiki page (that is easier than userprefs editing)
2007-12-16T02:09:46  <ThomasWaldmann> (and your account on both wikis of course also should be FnLn)
2007-12-16T02:10:53  <tungolcild> ok. i'll try to figure out by myself and if have more questions i will ask again! many thanks for your help :)
2007-12-16T02:23:52  <ThomasWaldmann> tungolcild: feel free to ask
2007-12-16T02:26:05  <ThomasWaldmann> gna, logging is borked
2007-12-16T02:26:13  <ThomasWaldmann> (the module)
2007-12-16T02:27:11  <ThomasWaldmann> the method i pasted above does not work (as the old object is referenced at some other places)
2007-12-16T02:28:04  <ThomasWaldmann> just setting root.handlers = [] does not work either, because if we set no other handler, it will automatically initialize its stderr handler because len(handlers)==0
2007-12-16T03:17:21  <CIA-34> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2435:3257f640d42d 1.6/MoinMoin/server/__init__.py: Backed out changeset 1558c37832e3
2007-12-16T03:49:39  <CIA-34> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2436:239724ef8586 1.6/ (3 files in 2 dirs): WSGI: initialize logging (untested)
2007-12-16T05:13:11  <CIA-34> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2437:f86324d7220d 1.6/MoinMoin/i18n/ (40 files): updated i18n
2007-12-16T10:27:22  <dreimark> moin
2007-12-16T10:27:32  <dreimark> TheSheep: fixed in http://master.moinmo.in/UserPreferences
2007-12-16T10:29:46  <dreimark> that behaviour is described in CHANGES
2007-12-16T10:48:02  <ernestas> I'm going to work on 95 (fix SystemPagesInXXXGroup...). Is there anything important I should know? That's what I will do: 1. collect all entries of one language, 2. Fix ##language: xx as needed (for russian first of all), 3. Add these pages in corresponding SystemPagesInXXGroup. Is this everything I should do?
2007-12-16T10:48:40  <ernestas> and repeat these steps for other languages
2007-12-16T10:48:53  <xorAxAx> ernestas: dont you work on the lt task?
2007-12-16T10:48:56  <xorAxAx> its open again
2007-12-16T10:49:05  <ernestas> I claimed 95 yesterday
2007-12-16T10:49:08  <xorAxAx> ok
2007-12-16T10:49:16  <ernestas> but seems nobody noticed it
2007-12-16T10:49:42  <xorAxAx> well, 11 hours ago, yes
2007-12-16T10:50:30  <dreimark> bbl
2007-12-16T10:50:38  <ernestas> ok. Are my described actions correct?
2007-12-16T10:50:48  <ernestas> I don't want to mess anything
2007-12-16T10:51:04  <xorAxAx> at least they sound correct
2007-12-16T10:51:12  <xorAxAx> not sure if they are complete, let me read the task
2007-12-16T10:51:15  <ernestas> ok
2007-12-16T10:51:48  <xorAxAx> yes, its right
2007-12-16T10:51:57  <xorAxAx> and you should try to do this for other pages as well
2007-12-16T10:52:09  <xorAxAx> i granted you the task
2007-12-16T10:52:27  <ernestas> thanks. for what other pages should I do this?
2007-12-16T10:52:35  <ernestas> could you give me an example?
2007-12-16T10:53:55  <xorAxAx> every page :)
2007-12-16T10:54:01  <xorAxAx> that is on titleindex
2007-12-16T10:54:15  <xorAxAx> hmm, weird that thomas didnt write it
2007-12-16T10:54:21  <ernestas> and what pages did I mention? :>
2007-12-16T10:54:28  <xorAxAx> i think the main point of the task is to check all pages on TitleIndex
2007-12-16T10:54:38  <xorAxAx> because they are kind of orphaned and not on the systempagesgroup pages
2007-12-16T10:55:00  <xorAxAx> its not many ...
2007-12-16T10:55:09  <xorAxAx> some of them are frontpages, they are fine to be there
2007-12-16T10:55:22  <ernestas> ALL pages? (http://master.moinmo.in/TitleIndex?allpages=1)
2007-12-16T10:55:40  <xorAxAx> no
2007-12-16T10:55:42  <ernestas> phew
2007-12-16T10:55:45  <xorAxAx> without allpages=1
2007-12-16T10:55:50  <ernestas> ok, that's good
2007-12-16T10:56:16  <xorAxAx> ah, he is mentioning titleindex
2007-12-16T10:56:33  <xorAxAx> and the moini18n pages should be there as well
2007-12-16T10:56:40  <xorAxAx> because they wont be shipped to the user
2007-12-16T10:56:54  <ernestas> ok. I won't touch them
2007-12-16T10:57:48  <ernestas> let's begin from Russian. It's like my second native language, so that will be the easiest one.
2007-12-16T10:57:55  <xorAxAx> yeah
2007-12-16T10:58:18  <ernestas> they forgot to update even Language: xx ;))
2007-12-16T11:02:00  <xorAxAx> hehe
2007-12-16T11:19:01  <ernestas> es is Estonian or what?
2007-12-16T11:19:04  <ernestas> oh
2007-12-16T11:19:05  <ernestas> spain
2007-12-16T11:19:06  <ernestas> sorry
2007-12-16T11:19:24  <ernestas> spanish, it is, forgot :)
2007-12-16T11:22:31  <ernestas> Estonian is et
2007-12-16T11:29:09  <ernestas> If I see that the page is obsolete, can I delete it? I am really sure.
2007-12-16T11:30:08  <ernestas>  KineskiKolačićiŽelja is obsolete. I is replaced by КинескиКолачићиЖеља
2007-12-16T11:30:16  <ernestas> *It
2007-12-16T11:31:23  <ernestas> xorAxAx, am I allowed to delete this page? I'm just double checking ;)
2007-12-16T11:33:15  <xorAxAx> if you are sure that it is russian, yes :)
2007-12-16T11:33:24  <xorAxAx> are you sure?
2007-12-16T11:33:39  <xorAxAx> looks like czech
2007-12-16T11:36:07  <ernestas> it is not russian
2007-12-16T11:36:19  <ernestas> but I'm sure
2007-12-16T11:37:44  <ernestas> err
2007-12-16T11:37:46  <ernestas> SaveError has occured in PageEditor.deletePage. We need locking there.
2007-12-16T11:37:58  <ernestas> What do you need where?
2007-12-16T11:39:02  <xorAxAx> thats an internal issue
2007-12-16T11:39:10  <xorAxAx> bug ThomasWaldmann to fix the data directory
2007-12-16T11:39:32  <xorAxAx> so the page is not yet deleted because it is broken internally :)
2007-12-16T11:39:50  <xorAxAx> and the other translator didnt invest time to contact thomas or he ignored it :)
2007-12-16T11:40:07  <ernestas> ThomasWaldmann, please fix the data directory. I'm getting this error: "SaveError has occured in PageEditor.deletePage. We need locking there." I am trying to delete Master page KineskiKolačićiŽelj
2007-12-16T11:40:10  <ernestas> xorAxAx, seems so
2007-12-16T11:50:07  <ThomasWaldmann> ernestas: ok
2007-12-16T11:50:15  <ernestas> There are more olsolete pages in Serbian which could not be deleted.
2007-12-16T11:50:52  <ernestas> for exapmle NapušteneStranice
2007-12-16T11:51:26  <ThomasWaldmann> how do you know they are obsolete?
2007-12-16T11:51:45  <ernestas> I have found the newer ones with a bit different name.
2007-12-16T11:51:54  <ernestas> I can show you... wait a se
2007-12-16T11:52:25  <ernestas> ## page was renamed from НапуштенеСтранице
2007-12-16T11:52:25  <ernestas> ##master-page:OrphanedPages
2007-12-16T11:52:33  <ernestas> and the old one...
2007-12-16T11:52:56  <ernestas> ##master-page:OrphanedPages
2007-12-16T11:52:56  <ernestas> ##master-date:2004-03-11 20:15:00
2007-12-16T11:53:02  <ernestas> both in Serbian
2007-12-16T11:53:33  <ernestas>  NapušteneStranice = НапуштенеСтранице, btw
2007-12-16T11:53:46  <ThomasWaldmann> they have both #language sr?
2007-12-16T11:53:49  <ernestas> yes
2007-12-16T11:54:01  <ernestas> a few other pages as well
2007-12-16T11:54:42  <ThomasWaldmann> please make a list on your wiki page
2007-12-16T11:54:43  <ernestas> I think that the translator couldn't delete them so just left them undeleted
2007-12-16T11:54:45  <ernestas> ok
2007-12-16T11:55:17  <ThomasWaldmann> using MoinMaster:XXX to link to the to be deleted pages
2007-12-16T11:55:41  <ernestas> I will make it when I checked all pages, so I can know all of them. Ok.
2007-12-16T11:58:47  <ThomasWaldmann> ernestas: btw, thanks for doing this cleanup job, that really helps us to get the pending release into a cleaner state
2007-12-16T11:59:13  <ernestas> you are welcome
2007-12-16T12:11:14  <ThomasWaldmann> ah, good progress on the lt translation page, nice
2007-12-16T12:12:34  <xorAxAx> ThomasWaldmann: unfortunately too late, the task is open again
2007-12-16T12:12:56  <xorAxAx> i reopened at 1:00, he changed the page at 9:00 without any comment in the task
2007-12-16T12:13:42  <xorAxAx> so ernestas can continue the work when he is finished with this task :)
2007-12-16T12:13:52  <ThomasWaldmann> ehrm
2007-12-16T12:16:15  <ThomasWaldmann> xorAxAx: didnt he have about 1d left? (7+3)
2007-12-16T12:16:31  <xorAxAx> no
2007-12-16T12:16:48  <xorAxAx> as i said, leslie recommended to give 1d advance at most if there is no reaction
2007-12-16T12:17:04  <xorAxAx> (see the thousand mails on the mailinglists :))
2007-12-16T12:17:39  <ThomasWaldmann> oh :|
2007-12-16T12:18:04  <xorAxAx> and thats a bit weird because the rules do not specify the 3 days as a default but as a rule
2007-12-16T12:18:13  <xorAxAx> but if she interprets her rules like that, its fine for us :)
2007-12-16T12:18:41  <ThomasWaldmann> in this case this is really a pity, because he completed his task just about 1 or 2 days late 8-|
2007-12-16T12:19:06  <xorAxAx> yes, but for us its fortunate because ernestas can continue to work on it
2007-12-16T12:19:23  <ernestas> yes, I can
2007-12-16T12:25:02  <ThomasWaldmann> xorAxAx: you did reopen it AFTER he put his work onto moinmaster?
2007-12-16T12:25:08  <xorAxAx> no
2007-12-16T12:25:11  <xorAxAx> 8 hours before
2007-12-16T12:25:40  <ThomasWaldmann> it tells 10h before == 0200 tonight
2007-12-16T12:25:54  <xorAxAx> yes, and his edit was at 9, right?
2007-12-16T12:26:12  <ThomasWaldmann> he put a rather complete translate onto master wiki at 01:30 tonight
2007-12-16T12:26:19  <xorAxAx> hmm, he started earlier
2007-12-16T12:26:31  <xorAxAx> let me check
2007-12-16T12:26:36  * ThomasWaldmann feels reopening this is wrong
2007-12-16T12:27:07  <xorAxAx> i reopened 5 minutes after his first edit
2007-12-16T12:27:17  <ThomasWaldmann> maybe it was not perfect, but he did a very substantial work. and even if he didnt reply in the tracker,
2007-12-16T12:27:27  <ThomasWaldmann> we can count the master work as reaction.
2007-12-16T12:27:55  <ThomasWaldmann> so i suggest to give him the claim again and 1d to fix the rest
2007-12-16T12:27:55  <xorAxAx> yes, but it was too late
2007-12-16T12:28:12  <xorAxAx> 90 minutes too late
2007-12-16T12:28:32  <xorAxAx> so strictly speaking by the rules, his initial reaction was after n+1 days and 90 minutes which is 90 minutes too late
2007-12-16T12:28:50  <xorAxAx> and these n+1 days already include a few hours of grace period because we round
2007-12-16T12:30:05  * ThomasWaldmann isnt feeling better because of that
2007-12-16T12:30:18  <xorAxAx> sure, but those are the rules :)
2007-12-16T12:30:26  <xorAxAx> hmm
2007-12-16T12:30:42  <xorAxAx> ok, i reopen it
2007-12-16T12:31:24  <ThomasWaldmann> i guess we won't get killed by leslie because of some minutes.
2007-12-16T12:32:31  <ThomasWaldmann> ernestas: btw, do you know "ruledbyfate" personally?
2007-12-16T12:32:46  <ernestas> no, I don't
2007-12-16T12:33:15  * ThomasWaldmann just imagined you both could be from Vilnius maybe
2007-12-16T12:33:37  <xorAxAx> %-)
2007-12-16T12:33:41  <ernestas> It may be. There are 500.000 people or so here
2007-12-16T12:34:13  <ThomasWaldmann> and we will also be there again in the summer for EuroPython 2008 :)
2007-12-16T12:34:31  <xorAxAx> i think we should have a second lt task
2007-12-16T12:34:41  <xorAxAx> we already have 2 claimers and 1 person who suggested it
2007-12-16T12:34:44  <ernestas> I know that. :) I'll try to be there too
2007-12-16T12:35:17  <ThomasWaldmann> great, we can meet there :)
2007-12-16T12:36:50  <ThomasWaldmann> xorAxAx: sure, there is lots to do left
2007-12-16T12:38:12  <ernestas> his translation is quite good, btw
2007-12-16T12:39:01  <ernestas> as I can tell so far
2007-12-16T12:39:52  <ThomasWaldmann> (maybe he just worked offline)
2007-12-16T12:41:56  * ThomasWaldmann checks 88
2007-12-16T13:11:09  <ernestas> Dn't you put any dates in pages? I see ##master-page:Unknown-Page
2007-12-16T13:11:09  <ernestas> ##master-date:Unknown-Date everywhere...
2007-12-16T13:12:17  <xorAxAx> the translators have to do that
2007-12-16T13:25:49  <ThomasWaldmann> 88 looks good. this guy speaks english very well.
2007-12-16T13:26:53  * ThomasWaldmann goes nuking the old WikiClass pages now
2007-12-16T13:42:58  <rafael> ThomasWaldmann: you told me yesterday that i should look how the wiki parser does it, where is it?
2007-12-16T13:43:40  <ThomasWaldmann> parser/text_moin_wiki
2007-12-16T13:44:33  <rafael> ty
2007-12-16T13:53:26  <ernestas> Should XsltVersion be translated at all?
2007-12-16T13:54:01  <xorAxAx> doesnt make much sense IMHO
2007-12-16T13:54:13  <ThomasWaldmann> indeed
2007-12-16T13:54:41  <ThomasWaldmann> but some translators did. maybe because of the page name?
2007-12-16T13:55:05  <ernestas> See XsltVerzija
2007-12-16T13:55:18  <ernestas> It looks someow strange
2007-12-16T13:55:21  <ernestas> *somehow
2007-12-16T13:55:42  <ThomasWaldmann> huh?
2007-12-16T13:55:44  <ernestas> oh, it looked, until I changed the format from xslt to wiki as in the original
2007-12-16T13:56:18  <ernestas> there were some silly errors displayed
2007-12-16T13:56:31  <ernestas> but it's ok now
2007-12-16T13:57:41  <ThomasWaldmann> those pages are specially treated by moin
2007-12-16T13:58:00  <ThomasWaldmann> they don't work if they have anything before the <?xml
2007-12-16T14:00:54  * ThomasWaldmann answers 6
2007-12-16T14:14:18  <CIA-34> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2438:136968e91e2c 1.6/README: removed note about old WikiSchulung slides (they are already deleted on MoinMaster wiki and will be gone in the repo after next underlay tar update)
2007-12-16T14:46:12  <ernestas> ThomasWaldmann, here is the list: http://moinmo.in/ErnestasLiubarskij/ObsoleteSerbianTranslations
2007-12-16T14:47:49  <ernestas> there are also a few "WikiCourse..." entries in TitleIndex. Should I do anything with them?
2007-12-16T14:48:47  <ernestas> and also HelpOnAuthentication/ExternalCookie and EventStats/Languages. Should they be added somewhere too (SystemPagesInEnglishGroup maybe)?
2007-12-16T14:57:14  <ernestas> Oh, our Lithuanian translator finally responded
2007-12-16T15:14:46  <ernestas> I have fixed WikiCourse entries in SystemPagesInEnglishGroup
2007-12-16T15:22:55  <ernestas> I've added other entries to SystemPagesInEnglishGroup too
2007-12-16T15:23:47  <ernestas> what should I do with those Serbian titles? Should I add them to SystemPagesInEnglishGroup or just leave everything as it is?
2007-12-16T15:25:02  <xorAxAx> ernestas: where do they come from?
2007-12-16T15:25:08  <ernestas> Lithuania
2007-12-16T15:25:12  <ernestas> oh
2007-12-16T15:25:15  <ernestas> sorry ;)
2007-12-16T15:25:21  <xorAxAx> %-)
2007-12-16T15:25:23  <ernestas> who came from?
2007-12-16T15:25:35  <xorAxAx> did somebody start a serbian translation but didnt create a group page?
2007-12-16T15:25:55  <ernestas> Have a look gere please http://moinmo.in/ErnestasLiubarskij/ObsoleteSerbianTranslations
2007-12-16T15:26:00  <ernestas> *here
2007-12-16T15:29:11  <xorAxAx> well, if they are duplicates, they should be deleted (and checked if there are any links that need to be fixed up
2007-12-16T15:29:56  <ernestas> I can't do that anyway :)
2007-12-16T15:30:42  <xorAxAx> but you can check if they are linked
2007-12-16T15:30:47  <xorAxAx> by clicking the page title
2007-12-16T15:31:06  <ernestas> ok
2007-12-16T15:31:15  <xorAxAx> what is e.g. "Prazna stranica"?
2007-12-16T15:31:25  <xorAxAx> its not on your list
2007-12-16T15:31:35  <xorAxAx> i wonder why there are two versions of every page - cyrillic and latin
2007-12-16T15:31:54  <ernestas> The latin ones are very old
2007-12-16T15:31:59  <ernestas> dated 2004
2007-12-16T15:32:58  <ernestas> <xorAxAx> what is e.g. "Prazna stranica"?
2007-12-16T15:33:07  <ernestas> is it listed on TitleIndex?
2007-12-16T15:33:25  <ernestas> I wrote only those in TitleIndex
2007-12-16T15:33:40  <xorAxAx> no, but its a page that links a serbian latin page (but only in macro output, i.e. its fine and unrelated)
2007-12-16T15:34:02  <xorAxAx> i.e. ignore it :)
2007-12-16T15:34:07  <ernestas> ok :)
2007-12-16T15:34:45  <ernestas> How do you check what pages are linked?
2007-12-16T15:34:55  <xorAxAx> click the page title
2007-12-16T15:35:00  <ernestas> and...
2007-12-16T15:35:24  <ernestas> I clicked and got the actual page
2007-12-16T15:35:29  <xorAxAx> you will see a list of pages that link to the page
2007-12-16T15:35:41  <xorAxAx> if it jumps to the page, it only links itself
2007-12-16T15:36:08  <ernestas> ok
2007-12-16T15:47:47  <ernestas> I have found links somewhere. What should I do?
2007-12-16T15:48:16  <xorAxAx> well, think about it - where do the links come from?
2007-12-16T15:48:40  <xorAxAx> if it is just the old pages and they are replaced by the cyrillic ones, there shouldnt be a problem
2007-12-16T15:48:49  <xorAxAx> but if e.g. a cyrillic page is linking a latin one ...
2007-12-16T15:48:56  <xorAxAx> one needs to entangle it :)
2007-12-16T15:48:57  <ernestas> ok, I'll look
2007-12-16T15:50:56  <ernestas> "Prazna stranica" is ##master-page:MissingPage
2007-12-16T15:51:27  <xorAxAx> yes, thats fine
2007-12-16T15:51:30  <xorAxAx> as i said above
2007-12-16T15:51:40  <ernestas> it's not even serbian :)
2007-12-16T15:51:41  <ernestas> ok
2007-12-16T15:51:42  <xorAxAx> its a page that is having the link in the output of a macro
2007-12-16T15:51:48  <ernestas> I thought so too
2007-12-16T15:51:48  <xorAxAx> and not actually on the page
2007-12-16T15:52:04  <ernestas> I see
2007-12-16T15:57:20  <ernestas> I have found only one of them which is linked by KategorijaHomepage. That's all.
2007-12-16T15:57:36  <ernestas> (VikiHomePage)
2007-12-16T15:58:26  <xorAxAx> why is VikiHomePage linked from there?
2007-12-16T15:58:46  <ernestas> let's see
2007-12-16T15:59:10  <ernestas> ehm, I can't understand Serbian..
2007-12-16T15:59:18  <ernestas> http://master.moinmo.in/KategorijaHomepage?highlight=%28%28VikiHomePage%29%29
2007-12-16T16:04:51  <xorAxAx> so if that is serbian, why is KategorijaHomepage still there?
2007-12-16T16:05:02  <xorAxAx> shouldnt that one be deleted as well or is there no cyrillic counterpart?
2007-12-16T16:09:51  <ernestas> Maybe the current translator still didn't create/update/rename it, because it's date is like all other latin pages':  ##master-date:2004-03-21 16:13:25
2007-12-16T16:12:45  <ernestas> It's listed on SystemPagesInSerbian (almost all other entries are cyrillic
2007-12-16T16:14:24  <xorAxAx> well, as long as there is exactly one version of that page, its fine
2007-12-16T16:14:29  <xorAxAx> if there are two, its bad
2007-12-16T16:14:39  <xorAxAx> so in this case you can simply fix the single link
2007-12-16T16:14:45  <ernestas> no, it's one. should I fix the link there?
2007-12-16T16:14:51  <xorAxAx> yes :)
2007-12-16T16:14:55  <ernestas> ok
2007-12-16T16:17:20  <ernestas> I have fixed the link
2007-12-16T16:17:29  <ernestas> What else should I do?
2007-12-16T16:18:24  <ernestas> TitleIndex is almost clear (except MoinI18n and Serbian entries)
2007-12-16T16:18:41  <ernestas>     * SystemInfoVsl
2007-12-16T16:18:41  <ernestas>     * SystemPagesGroup
2007-12-16T16:18:52  <ernestas> should these be added anywhere?
2007-12-16T16:21:15  <xorAxAx> no, SPG is fine
2007-12-16T16:21:23  <xorAxAx> but SystemInfoVsl shouldnt be there
2007-12-16T16:22:07  <ernestas> I'll add it into SystemPagesInEnglishGroup then
2007-12-16T16:22:30  <xorAxAx> what? SPG? no, then hell will break lose
2007-12-16T16:22:36  <xorAxAx> and we all will die, dont do that
2007-12-16T16:22:44  <ThomasWaldmann> lol
2007-12-16T16:22:48  <ernestas> not spg, systeminfovsl
2007-12-16T16:22:49  <ernestas> :)
2007-12-16T16:22:55  <xorAxAx> systeminfovsl isnt english ...
2007-12-16T16:22:59  <ernestas> eh?
2007-12-16T16:23:19  <xorAxAx> well, its some language, you have to find out :) or rathe rjust kill it after checking for links
2007-12-16T16:23:22  <ernestas> #language en
2007-12-16T16:23:22  <ernestas> <<SystemInfo>>
2007-12-16T16:23:23  <xorAxAx> the english page is SystemInfo
2007-12-16T16:23:31  <xorAxAx> well, that only means that the translator didnt care
2007-12-16T16:23:34  <ernestas> how can I find out?
2007-12-16T16:23:37  <ernestas> :)))
2007-12-16T16:23:44  <xorAxAx> click the page title
2007-12-16T16:24:15  <ernestas> no results
2007-12-16T16:24:35  <xorAxAx> good
2007-12-16T16:24:58  <ernestas> delete it or what?
2007-12-16T16:27:39  <ernestas> ThomasWaldmann, have you checked http://moinmo.in/ErnestasLiubarskij/ObsoleteSerbianTranslations ?
2007-12-16T16:32:42  <ThomasWaldmann> i have read it. if you have found new sr translations for all those (and really BOTH old and new ARE sr), then we can simply delete the old ones. Maybe you could also check the backlinks of the old ones.
2007-12-16T16:32:51  <xorAxAx> ernestas: yes, delete
2007-12-16T16:33:01  <xorAxAx> ThomasWaldmann: he checked the backlinks already
2007-12-16T16:33:18  <ernestas> yes, and fixed the only link there was
2007-12-16T16:33:20  <ThomasWaldmann> ok, then delete
2007-12-16T16:33:29  <ernestas> I can't. Errors etc...
2007-12-16T16:33:45  <ThomasWaldmann> delete all you can, I will care for the rest
2007-12-16T16:33:46  <ernestas> Or have you fixed that already?
2007-12-16T16:33:48  <ernestas> ok
2007-12-16T16:39:04  <ernestas> It seems I can't delete any of them...
2007-12-16T16:39:11  <ThomasWaldmann> strange
2007-12-16T16:39:39  <ThomasWaldmann> but maybe the reason they still exist. you get a moin error?
2007-12-16T16:39:44  <ernestas> SaveError has occured in PageEditor.deletePage. We need locking there.
2007-12-16T16:39:51  <ThomasWaldmann> ok
2007-12-16T16:40:06  <ernestas> that's the error. It occurs on every page I am trying to delete.
2007-12-16T16:44:57  <ernestas> I can't also delete SystemInfoVsl...
2007-12-16T16:45:06  <ernestas> the same error
2007-12-16T16:47:46  <ernestas> I'm done with fixing TitleIndex except those undeletable pages...
2007-12-16T16:52:10  <xorAxAx> ThomasWaldmann: can you have a look at #42 where you gave the last on topic comment?
2007-12-16T16:54:18  <ThomasWaldmann> ernestas: deleting works for me in quite some cases
2007-12-16T16:54:35  <ernestas> hm. strange
2007-12-16T16:55:02  <ernestas> well, I checked about half of the links and then just gave up. sorry for that ;)
2007-12-16T16:55:27  <ernestas> but the problem remains
2007-12-16T16:58:20  <ernestas> ok, I'll check another half if that helps...
2007-12-16T16:59:28  <xorAxAx> ThomasWaldmann: can moin still read .po files?
2007-12-16T16:59:41  <xorAxAx> ThomasWaldmann: i think thats of the questions in #6 because he wants to check the translation
2007-12-16T17:01:02  <ernestas> hm, the other half is already deleted... well...
2007-12-16T17:03:18  <ThomasWaldmann> ok, they are all gone
2007-12-16T17:03:29  <ernestas> thanks
2007-12-16T17:04:03  <ThomasWaldmann> xorAxAx: what do you mean by "read po files"?
2007-12-16T17:04:27  <xorAxAx> ThomasWaldmann: well, understand textual files and use them for translated strings - as opposed to binary gettext files
2007-12-16T17:05:01  <ernestas> Now TitleIndex is really clear. Tell your translators not to mess it up again. :)
2007-12-16T17:05:10  <xorAxAx> hehe
2007-12-16T17:06:08  <ThomasWaldmann> xorAxAx: sure, see MoinMoin/i18n/*.po
2007-12-16T17:06:44  <ThomasWaldmann> but the flow of information is wiki -> repo workdir (for update) -> wiki
2007-12-16T17:07:21  <ThomasWaldmann> ernestas:  iirc we have directions for that on MoinDev/Translation
2007-12-16T17:07:40  <xorAxAx> ThomasWaldmann: well, thats not helpful if somebody wants to check the translation in the live wiki
2007-12-16T17:07:51  <xorAxAx> thats why one can copy the page contents into the file locally and try it there
2007-12-16T17:08:13  <ThomasWaldmann> you can do that of course
2007-12-16T17:08:13  * xorAxAx posts a mail to ghop-discuss about our progress doing some advertising
2007-12-16T17:08:22  <xorAxAx> thats what i told #6 :)
2007-12-16T17:08:25  <ThomasWaldmann> i just want the result on the wiki page on the end
2007-12-16T17:18:38  <ThomasWaldmann> ok, I'll create another lt translation task
2007-12-16T17:18:58  <ernestas> thank you, ThomasWaldmann
2007-12-16T17:20:04  <ernestas> I will claim it as soon as my current task is closed
2007-12-16T17:22:25  <ThomasWaldmann> it is #96
2007-12-16T17:23:13  * ThomasWaldmann is really happy about the speed and quality moinmaster develops since GHOP
2007-12-16T17:28:43  * ThomasWaldmann updates i18n
2007-12-16T17:31:09  <xorAxAx> while the greek is translating? :)
2007-12-16T17:31:30  <ernestas> Could someone review #95? ;)
2007-12-16T17:34:48  * ThomasWaldmann closes #95
2007-12-16T17:35:03  <ernestas> thanks. I will claim #96 now
2007-12-16T17:36:38  <ThomasWaldmann> please begin with the pages referenced from the PO file and from the navibar
2007-12-16T17:37:26  <ThomasWaldmann> (that's not too much and has a slight chance to get into rc2 today :)
2007-12-16T17:37:38  <ernestas> navibar?
2007-12-16T17:38:08  <ernestas> What's navibar?
2007-12-16T17:38:58  <xorAxAx> hmm, antispam in 1.2 is broken
2007-12-16T17:40:32  * ThomasWaldmann blows the dust off it
2007-12-16T17:40:36  <ernestas> And is there any way to find pages to translate without viewing the PO file line by line?
2007-12-16T17:40:58  <ThomasWaldmann> ernestas: the page links in the line above the edit link
2007-12-16T17:41:07  <ernestas> ok
2007-12-16T17:41:17  <xorAxAx> ThomasWaldmann: well, it has less bugs :)
2007-12-16T17:41:22  <xorAxAx> and cleaner code
2007-12-16T17:41:49  * ThomasWaldmann doubts that
2007-12-16T17:42:45  <xorAxAx> i dont
2007-12-16T17:43:08  <xorAxAx> just compare send_page
2007-12-16T17:43:16  <xorAxAx> or use a 1.2 wiki
2007-12-16T17:43:19  <ThomasWaldmann> iirc, its code has html all over the place
2007-12-16T17:43:28  <xorAxAx> in 1.3, i hit a bug every few clicks :)
2007-12-16T17:43:34  <xorAxAx> umm, 1.6
2007-12-16T17:43:52  <xorAxAx> ThomasWaldmann: thats only a pretty minor aspect
2007-12-16T17:44:33  <ThomasWaldmann> there are lots of other aspects, too :)
2007-12-16T17:44:50  <ThomasWaldmann> but I won't engage in useless discussions now
2007-12-16T17:48:03  <CIA-34> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2439:9373ef45f4f2 1.6/MoinMoin/i18n/ (Makefile lv.MoinMoin.po): updated i18n
2007-12-16T17:54:35  <ThomasWaldmann> ernestas: you have it
2007-12-16T17:55:03  <ernestas> ok, thanks
2007-12-16T17:56:20  <rafael> should photos get outputted in a vcard/hcard or just print the photo url?
2007-12-16T17:57:02  <ThomasWaldmann> well, it would be nice to show them in some specific size
2007-12-16T17:57:25  <ThomasWaldmann> (i.e. not 6 megapixels :)
2007-12-16T17:57:28  <rafael> which size in your opinion?
2007-12-16T17:58:17  <ThomasWaldmann> choose something that looks good in the end, but not too big
2007-12-16T17:58:43  <ThomasWaldmann> 50x50, 100x100, whatever
2007-12-16T17:58:58  <ThomasWaldmann> (not 3000x2000)
2007-12-16T17:59:06  <rafael> sure :)
2007-12-16T17:59:58  <ThomasWaldmann> you can maybe link that thumbnail to the original photo url
2007-12-16T18:03:09  <ernestas> what is ##master-date format?
2007-12-16T18:03:18  <ernestas> That's from the example: ##master-date:2001-11-30 21:30:202
2007-12-16T18:03:25  <ernestas> the time looks very strange
2007-12-16T18:03:28  <ThomasWaldmann> same as action=info shows
2007-12-16T18:03:43  <ernestas> ah
2007-12-16T18:03:44  <ThomasWaldmann> that's wrong
2007-12-16T18:04:00  <ThomasWaldmann> (at least that seconds value)
2007-12-16T18:04:20  <ernestas> ok, wrong example. let's just ignore it.
2007-12-16T18:04:27  <ThomasWaldmann> (I usually just copy&paste the action=info string)
2007-12-16T18:04:35  <ernestas> ok, will know, thanks
2007-12-16T18:07:09  <rafael> ThomasWaldmann: req.write(fmt.image(url)) is correct, isn't it?
2007-12-16T18:07:54  <ernestas> "WikiName Wiki" Is this phrase translatable?
2007-12-16T18:08:08  <ernestas> It's on the FrontPage
2007-12-16T18:09:27  <ThomasWaldmann> well it shall just name that the wiki admin replaces WikiName by his project's name, like "Apache" gives "Apache Wiki"
2007-12-16T18:09:55  <ThomasWaldmann> rafael: reads ok, but please verify it yourself
2007-12-16T18:10:28  <ThomasWaldmann> you can just grep for \.image\( to see other places or read formatter/text_html.py
2007-12-16T18:11:00  <ernestas> should I put some name there like MoinMoin or just leave it alone?
2007-12-16T18:11:02  <rafael> ThomasWaldmann: verify?
2007-12-16T18:11:23  <ThomasWaldmann> rafael: that it works like that
2007-12-16T18:11:37  <ThomasWaldmann> ernestas: no, just keep it equivalent to the en version
2007-12-16T18:11:44  <ernestas> ok
2007-12-16T18:12:00  <ernestas> Is there any template for SystemPagesInXXXGroup?
2007-12-16T18:12:28  <ThomasWaldmann> ernestas: and please create a SystemPagesInLithuanianGroup page (by copying the en one and changing it appropriately). you also need to link to it from SystemPagesGroup.
2007-12-16T18:12:28  <xorAxAx> no, they just need to be a list
2007-12-16T18:12:34  <ernestas> ok
2007-12-16T18:13:06  <ThomasWaldmann> using the en one is good for not forgetting stuff accidentally
2007-12-16T18:13:34  <ThomasWaldmann> (that does not mean you shall translate the admin/install/configuration doc pages)
2007-12-16T18:14:02  <rafael> ThomasWaldmann: don't know what you mean
2007-12-16T18:14:38  <ThomasWaldmann> ernestas: btw, extra.zip is almost empty (it just catched that new FrontPage translation you saved a few minutes ago :)
2007-12-16T18:14:56  <ThomasWaldmann> rafael: I mean "use the source" :) there are pretty many examples in there.
2007-12-16T18:15:13  <ernestas> I'll fix it as soon as possible. I'm creating SystemPagesInLithuanianGroup
2007-12-16T18:16:25  <ernestas> what should I put in ##master-page and ##master-date there?
2007-12-16T18:18:14  <ThomasWaldmann> http://master.moinmo.in/4ct10n/diff/SeitenZugriffe?action=diff&date=1197823422000000 -> BUG
2007-12-16T18:19:08  <ThomasWaldmann> ernestas: it is the (english) page you translated. and the timestamp the revision you translated shows on action=info.
2007-12-16T18:19:24  <ThomasWaldmann> (makes updates easier)
2007-12-16T18:19:35  <rafael> ThomasWaldmann: what's the difference in usage? only that it uses another image() method
2007-12-16T18:19:46  <ernestas> I meant SystemPagesInLithuanianGroup
2007-12-16T18:20:07  <ThomasWaldmann> just look on some other group page
2007-12-16T18:20:12  <ernestas> ok
2007-12-16T18:20:17  <ThomasWaldmann> rafael: difference of what?
2007-12-16T18:20:34  <rafael> ThomasWaldmann: to my usage
2007-12-16T18:20:44  <rafael> i don't get an image
2007-12-16T18:21:24  <ThomasWaldmann> then you are maybe doing sth wrong. show me your code via a pastebin.
2007-12-16T18:23:49  <rafael> ThomasWaldmann: ah. got the bug. it's because there was a relative url in the hcard
2007-12-16T18:25:22  <ernestas> ##master-page:Unknown-Page and ##master-date:Unknown-Date. well, ok...
2007-12-16T18:25:37  <ernestas> I'll put these.
2007-12-16T18:28:36  <ThomasWaldmann> rafael: yeah, that's of rather limited usefulness :D
2007-12-16T18:29:43  <cb22> ThomasWaldmann: moin
2007-12-16T18:30:03  <ernestas> TitleIndex is clear again :)
2007-12-16T18:30:44  <cb22> is order needed for the message display? if so i can just use a list in list
2007-12-16T18:31:59  <CIA-34> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2440:889ce7078d89 1.6/MoinMoin/i18n/lt.MoinMoin.po: added Lithuanian (lt) system text translation
2007-12-16T18:33:39  <ThomasWaldmann> cb22: i guess having that feature might be nice. not sure if it is really needed, though. but better have it than not. :)
2007-12-16T18:34:06  <ThomasWaldmann> cb22: you can use just a list of 2-tuples
2007-12-16T18:34:14  <xorAxAx> cb22: of course order is important
2007-12-16T18:34:20  <xorAxAx> cb22: what do you mean by list in list here?
2007-12-16T18:35:42  <cb22> xorAxAx: [['my message', 'type of message'], ['next message', 'type2']]
2007-12-16T18:36:12  <xorAxAx> cb22: a list of tuples like thomas suggested looks more appropriate
2007-12-16T18:36:20  <cb22> yeah
2007-12-16T18:36:46  <cb22> do you know if there is a whole list of reserved keywords in python somewhere?
2007-12-16T18:36:57  <cb22> so i can add them to my editor :)
2007-12-16T18:37:28  <xorAxAx> in the language ref probably
2007-12-16T18:39:31  <CIA-34> moin: Thomas Waldmann <tw AT waldmann-edv DOT de> default * 2441:abf42377c54b 1.6/MoinMoin/parser/text_creole.py: creole parser: removed (unused) code for hiding macro exceptions
2007-12-16T18:43:38  <ThomasWaldmann> cb22: vim shows them in different colour
2007-12-16T18:43:49  <ThomasWaldmann> (at least if you use that pep8 vim plugin)
2007-12-16T18:56:44  <ThomasWaldmann> xorAxAx: can you review #77?
2007-12-16T19:02:03  <ThomasWaldmann> btw, I might or might not have time for moin stuff between 2007-12-26 and -31 (visiting 24c3 in Berlin)
2007-12-16T19:03:35  <ThomasWaldmann> therefore I will try to release 1.6.0 before
2007-12-16T19:03:57  <xorAxAx> i am currently planning whether i will visit 24c3 :)
2007-12-16T19:04:33  <ThomasWaldmann> if you want a bed in a hostel, don't wait too long
2007-12-16T19:05:06  <xorAxAx> i know :)
2007-12-16T19:05:16  <xorAxAx> i guess they are full already
2007-12-16T19:06:27  <ThomasWaldmann> http://linuxwiki.de/24C3/Fahrgemeinschaft see there (iirc Bastian reserved beds for us in the hostel Koepenicker Str. [or similar])
2007-12-16T19:08:12  <waldi> yep
2007-12-16T19:08:25  <ThomasWaldmann> moin waldi :)
2007-12-16T19:08:28  <waldi> hi
2007-12-16T19:09:39  <ThomasWaldmann> waldi: did they tell something about our rooms allocation?
2007-12-16T19:10:31  <waldi> no
2007-12-16T20:21:37  <ThomasWaldmann> ernestas: please drop me a note if you are finished with the most essential pages
2007-12-16T20:21:43  <xorAxAx> ThomasWaldmann: so, is #42 ready for merging?
2007-12-16T20:21:55  <ernestas> ThomasWaldmann, ok, I will
2007-12-16T20:25:04  * xorAxAx has a look at #77
2007-12-16T20:29:09  <ThomasWaldmann> xorAxAx: the final review result is still outstanding
2007-12-16T20:29:52  <xorAxAx> ThomasWaldmann: what do you mean?
2007-12-16T20:30:48  <ThomasWaldmann> he is still searching the code for similar problems
2007-12-16T20:31:12  <ThomasWaldmann> (at least I think so :)
2007-12-16T20:31:31  <xorAxAx> but thats none of the deliverables
2007-12-16T20:31:43  <xorAxAx> and such things should be rather done here in the irc channel
2007-12-16T20:32:41  <ThomasWaldmann> You also have to do a full review of the moin source code and search
2007-12-16T20:32:41  <ThomasWaldmann> for places where pagenames are wrongly used as a regex (either mark
2007-12-16T20:32:41  <ThomasWaldmann> the places you find with a sourcecode comment like # XXX re.escape
2007-12-16T20:32:41  <ThomasWaldmann> missing, OR - if easy - fix those places). Provide another diff of
2007-12-16T20:32:41  <ThomasWaldmann> this work.
2007-12-16T20:34:05  <xorAxAx> hmm
2007-12-16T20:34:07  <xorAxAx> ok
2007-12-16T20:36:10  <ThomasWaldmann> of course that doesn't hold you back merging his first patch :)
2007-12-16T20:38:21  <xorAxAx> you can merge it :)
2007-12-16T20:38:25  <xorAxAx> i am handling #77
2007-12-16T20:38:47  <ThomasWaldmann> ok
2007-12-16T20:46:09  <ThomasWaldmann> the cia is sleeping :D
2007-12-16T20:46:39  * ThomasWaldmann committed merge of #42
2007-12-16T21:15:58  <theredmonkey> hi
2007-12-16T21:16:35  <ThomasWaldmann> hi theredmonkey
2007-12-16T21:17:08  <dreimark> moin
2007-12-16T21:17:10  <theredmonkey> [issue 77] I'm not sure what is ment by 'quicklinks'
2007-12-16T21:17:48  <dreimark> theredmonkey: if you select "Add link" you get a quicklink added
2007-12-16T21:18:43  <dreimark> it is somehow similiar to a bookmark, added to the navibar tabs in modern theme
2007-12-16T21:19:11  <dreimark> quicklinks is the name used in Preferences
2007-12-16T21:25:39  <theredmonkey> ah, thanks
2007-12-16T21:25:58  <dreimark> :)
2007-12-16T22:04:10  <rafael> if i want to make a status report, what's better? a hg diff or the files?
2007-12-16T22:04:33  <xorAxAx> a diff
2007-12-16T22:04:42  <xorAxAx> except if you didnt modify any existing file
2007-12-16T22:04:50  <xorAxAx> (which should be the case) - in that case, only the files
2007-12-16T22:05:49  <rafael> added 2 files, modified one
2007-12-16T22:06:31  <xorAxAx> which one did you modify?
2007-12-16T22:09:49  <rafael> xorAxAx: MoinMoin/wikiutil.py
2007-12-16T22:13:23  <theredmonkey> is there a wiki-page explaining 'dir="ltr"' and 'dir="rtl"'
2007-12-16T22:13:25  <theredmonkey> ?
2007-12-16T22:13:42  <ernestas> what does "parser" mean in this sentence: "Start a special code block containing the parser's name: {{{#!parsername" ?
2007-12-16T22:16:05  <xorAxAx> theredmonkey: http://www.i18nguy.com/markup/right-to-left.html
2007-12-16T22:16:11  <xorAxAx> not a wiki page but an explanation
2007-12-16T22:16:44  <theredmonkey> ok, thanks
2007-12-16T22:34:22  * rafael commented issue #58
2007-12-16T22:40:15  <ThomasWaldmann> rafael: from microformatparser import parse
2007-12-16T22:40:25  <ThomasWaldmann> better don't do such stuff
2007-12-16T22:40:33  <rafael> why?
2007-12-16T22:41:00  <ThomasWaldmann> although it might be not a big problem in small files, it can be a hell to follow in complex stuff
2007-12-16T22:41:25  <ThomasWaldmann> usually one imports just the module and then uses microformatparser.parse
2007-12-16T22:41:47  <ThomasWaldmann> of course that sucks for such long module names if you need it often :)
2007-12-16T22:41:55  <xorAxAx> one should note that thomas is the only python programmer i know giving that advice, though
2007-12-16T22:42:23  <ThomasWaldmann> that's just a variation of import *
2007-12-16T22:42:28  <xorAxAx> ?
2007-12-16T22:42:37  <rafael> i don't think so, but i can change it, of course
2007-12-16T22:43:17  <grzywacz> moin
2007-12-16T22:44:17  <rafael> hi grzywacz
2007-12-16T22:44:19  <ThomasWaldmann> it's simple to know what's going on. if there is just a call to parse(), it could be a function in the local module or from any other module
2007-12-16T22:44:40  <ThomasWaldmann> if you have xxx.parse(), it's clear it is from xxx
2007-12-16T22:44:45  <xorAxAx> ThomasWaldmann: the same is true for dotted notation
2007-12-16T22:44:57  <xorAxAx> xxx could be an instance or a class or whatever
2007-12-16T22:45:06  <ThomasWaldmann> xorAxAx: only if you do weird stuff
2007-12-16T22:45:11  <xorAxAx> not really
2007-12-16T22:45:14  <grzywacz> hi rafael
2007-12-16T22:45:26  <ThomasWaldmann> of course you can name something os that is not the os module
2007-12-16T22:46:03  <ThomasWaldmann> but that's obfuscated python then, esp. if it has the same function names as the stdlib os module :D
2007-12-16T22:50:25  <ThomasWaldmann> rafael:         'adr': 'Address', - is that really adr, not addr?
2007-12-16T22:50:45  <rafael> ThomasWaldmann: yes, it is. strange vcard..
2007-12-16T22:51:10  <cb22> ThomasWaldmann: sorted out those issues you mentioned, it now has order too, using tuple in list
2007-12-16T22:51:22  <rafael> ThomasWaldmann: oh! but this is not used because I splitted the adr in street, zip code etc.
2007-12-16T22:52:40  <rafael> ThomasWaldmann: so i'm off for today. it would be nice if you would post your criticism
2007-12-16T22:53:18  <ThomasWaldmann> rafael:                             card.append((t[0], t[1][1][1], t[1][0][1])),
2007-12-16T22:53:33  <ThomasWaldmann> could this be replaced by something readable? :)
2007-12-16T22:53:50  <rafael> ThomasWaldmann: that's my problem. it's dirty :D
2007-12-16T22:54:35  <rafael> ThomasWaldmann: but for better grasp: it's card.append((key, type, value))
2007-12-16T22:58:55  <ThomasWaldmann>                 req.write(fmt.image(line[-1], width='100px', height='133px'))   that could use some constants define at TOF
2007-12-16T23:00:40  <rafael> ThomasWaldmann: what's better? {key: (type, value)} or (key, type, value) ?
2007-12-16T23:01:15  <dreimark> TheSheep: ThomasWaldmann Page.parse_processing_instructions
2007-12-16T23:01:19  <ThomasWaldmann> that depends on what you want :)
2007-12-16T23:01:29  <dreimark> pi['format'] = self.cfg.default_markup or "wiki"
2007-12-16T23:01:29  <ThomasWaldmann> rafael:
2007-12-16T23:02:00  <TheSheep> dreimark: ?
2007-12-16T23:02:15  <ThomasWaldmann> rafael: nice_name is duplicated code
2007-12-16T23:03:10  <dreimark> TheSheep: I would expect to get used "#format text/creole" of a page
2007-12-16T23:03:27  <rafael> ThomasWaldmann: i know, but wasn't sure if i could import it from the other parser..
2007-12-16T23:03:33  * rafael is now off - for real
2007-12-16T23:05:19  <ThomasWaldmann> gn rafael :)
2007-12-16T23:06:03  <TheSheep> dreimark: I think I'm missing a context :(
2007-12-16T23:06:09  * ThomasWaldmann too
2007-12-16T23:10:27  <dreimark> if at that point pi['format'] knows the format used on the page i don't have this rendering issues
2007-12-16T23:11:29  <ThomasWaldmann> the real code is some lines below
2007-12-16T23:11:34  <TheSheep> dreimark: well, it should know from #format, right?
2007-12-16T23:11:44  <dreimark> TheSheep: it doesn't
2007-12-16T23:11:49  <ThomasWaldmann> this is only initializing the default format if there is no #format on the [age
2007-12-16T23:12:05  <ThomasWaldmann> ...page
2007-12-16T23:12:50  <dreimark> self.send_page_content does not use the right format
2007-12-16T23:13:56  <ThomasWaldmann> can you show the bug on the wiki?
2007-12-16T23:17:26  <dreimark> ThomasWaldmann: it happens there too. Always if you create a new page and do use creole
2007-12-16T23:18:08  * cb22 asks for thoughts on #51
2007-12-16T23:18:47  <dreimark> if you review the page then it is right rendered
2007-12-16T23:20:04  <dreimark> I have copied http://master.moinmo.in/HelpOnCreoleSyntax?action=raw (without acl lines)
2007-12-16T23:22:56  <theredmonkey> bye
2007-12-16T23:33:31  <ThomasWaldmann> dreimark: strange effect
2007-12-16T23:35:59  <dreimark> looks like meta is unknown
2007-12-16T23:36:56  <dreimark> len(meta) == 0
2007-12-16T23:40:45  <ThomasWaldmann> could be some sort of caching problem
2007-12-16T23:43:50  <ThomasWaldmann> (nobody noticed with the cgi test wiki)
2007-12-16T23:46:10  <dreimark> because it is gone after reloading I would set the status of this issue to  minor currently

MoinMoin: MoinMoinChat/Logs/moin-dev/2007-12-16 (last edited 2007-12-22 22:45:03 by IrcLogImporter)