From noreply at sourceforge.net Sun Nov 3 09:42:16 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Sun Nov 3 09:42:16 2002 Subject: [Moin-devel] [ moin-Bugs-632947 ] += used in code Message-ID: Bugs item #632947, was opened at 2002-11-03 17:41 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=632947&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Internet Discovery (idiscovery) Assigned to: Nobody/Anonymous (nobody) Summary: += used in code Initial Comment: += is used in hitcounts.py (there may be others) which makes 1.0.0 incompatible with Python 1.5.2 Unlike almost all other Python code, it's really nice to have MoinMoin maintain 1.5.2 compatability because there are so many people like me stuck with and ISP that has not upgraded their Linux. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=632947&group_id=8482 From noreply at sourceforge.net Sun Nov 3 23:06:03 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Sun Nov 3 23:06:03 2002 Subject: [Moin-devel] [ moin-Bugs-633145 ] savedata(pagename='UserPreferences', Message-ID: Bugs item #633145, was opened at 2002-11-04 07:05 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=633145&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Internet Discovery (idiscovery) Assigned to: Nobody/Anonymous (nobody) Summary: savedata(pagename='UserPreferences', Initial Comment: AttributeError: getvalue Python 1.5.2 /usr/bin/python A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are: args = ('getvalue',) in __getattr__(self=FieldStorage(None, None, [MiniFieldStorage('logi...ff', '1'), MiniFieldStorage('username', 'Mike')]), name='getvalue') /home/idiscovery/lib/python/MoinMoin/userform.py in savedata(pagename='UserPreferences', request=) 165 166 # try to get the (optional) preferred language 167 theuser.language = form.getvalue('language', '') theuser = , global language = undefined, form = FieldStorage(None, None, [MiniFieldStorage('logi...ff', '1'), MiniFieldStorage('username', 'Mike')]), global getvalue = undefined 168 169 # checkbox options /home/idiscovery/lib/python/MoinMoin/wikiaction.py in do_userform(pagename='UserPreferences', request=) 491 def do_userform(pagename, request): 492 from MoinMoin import userform 493 savemsg = userform.savedata(pagename, request) savemsg = undefined, userform = , global savedata = undefined, pagename = 'UserPreferences', request = 494 Page(pagename).send_page(request, msg=savemsg) 495 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=633145&group_id=8482 From noreply at sourceforge.net Tue Nov 5 10:46:08 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Tue Nov 5 10:46:08 2002 Subject: [Moin-devel] [ moin-Bugs-632947 ] += used in code Message-ID: Bugs item #632947, was opened at 2002-11-03 18:41 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=632947&group_id=8482 Category: None Group: None >Status: Closed >Resolution: Rejected Priority: 5 Submitted By: Internet Discovery (idiscovery) Assigned to: Nobody/Anonymous (nobody) Summary: += used in code Initial Comment: += is used in hitcounts.py (there may be others) which makes 1.0.0 incompatible with Python 1.5.2 Unlike almost all other Python code, it's really nice to have MoinMoin maintain 1.5.2 compatability because there are so many people like me stuck with and ISP that has not upgraded their Linux. ---------------------------------------------------------------------- >Comment By: J?rgen Hermann (jhermann) Date: 2002-11-05 19:45 Message: Logged In: YES user_id=39128 Several optional features not essential for the wiki's operation were developed for 2.0 from the start, even in moin v1.0. If you need those optional features, upgrade to 2.0 (or better to 2.2). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=632947&group_id=8482 From noreply at sourceforge.net Tue Nov 5 10:50:07 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Tue Nov 5 10:50:07 2002 Subject: [Moin-devel] [ moin-Bugs-633145 ] savedata(pagename='UserPreferences', Message-ID: Bugs item #633145, was opened at 2002-11-04 08:05 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=633145&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Internet Discovery (idiscovery) >Assigned to: J?rgen Hermann (jhermann) Summary: savedata(pagename='UserPreferences', Initial Comment: AttributeError: getvalue Python 1.5.2 /usr/bin/python A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are: args = ('getvalue',) in __getattr__(self=FieldStorage(None, None, [MiniFieldStorage('logi...ff', '1'), MiniFieldStorage('username', 'Mike')]), name='getvalue') /home/idiscovery/lib/python/MoinMoin/userform.py in savedata(pagename='UserPreferences', request=) 165 166 # try to get the (optional) preferred language 167 theuser.language = form.getvalue('language', '') theuser = , global language = undefined, form = FieldStorage(None, None, [MiniFieldStorage('logi...ff', '1'), MiniFieldStorage('username', 'Mike')]), global getvalue = undefined 168 169 # checkbox options /home/idiscovery/lib/python/MoinMoin/wikiaction.py in do_userform(pagename='UserPreferences', request=) 491 def do_userform(pagename, request): 492 from MoinMoin import userform 493 savemsg = userform.savedata(pagename, request) savemsg = undefined, userform = , global savedata = undefined, pagename = 'UserPreferences', request = 494 Page(pagename).send_page(request, msg=savemsg) 495 ---------------------------------------------------------------------- >Comment By: J?rgen Hermann (jhermann) Date: 2002-11-05 19:49 Message: Logged In: YES user_id=39128 w/o an url (preferably a public one) causing this traceback, no fix possible. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=633145&group_id=8482 From nlany at uibe.edu.cn Thu Nov 7 19:44:03 2002 From: nlany at uibe.edu.cn (nlany at uibe.edu.cn) Date: Thu Nov 7 19:44:03 2002 Subject: [Moin-devel] How can I contribute a language package Message-ID: <3DCB2B5A.3010003@uibe.edu.cn> hi, I downloaded CVS source, and want to add a UI translation in the i18n package. My question is, I want to add a zh ( Chinese ) module with its charset is in utf-8, as you know, there is already a gb2312 encoded zh.py module, how to do it? -- Yufeng Lan Univ. of International Buz.&Eco. O: 6449 2311 From j.her at t-online.de Fri Nov 8 10:34:03 2002 From: j.her at t-online.de (Juergen Hermann) Date: Fri Nov 8 10:34:03 2002 Subject: [Moin-devel] How can I contribute a language package In-Reply-To: <3DCB2B5A.3010003@uibe.edu.cn> Message-ID: <18ADwV-1caKAaC@fwd03.sul.t-online.com> On Fri, 08 Nov 2002 11:11:22 +0800, nlany at uibe.edu.cn wrote: >hi, I downloaded CVS source, and want to add a UI translation in the >i18n package. >My question is, I want to add a zh ( Chinese ) module with its charset >is in utf-8, as you know, there is already a gb2312 encoded zh.py >module, how to do it? Send it to me (read http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/MoinDev_2fTransla tion section 1 before that). I'll see that I add something to make multiple charsets possible. Ciao, J?rgen From nlany at uibe.edu.cn Tue Nov 12 00:07:02 2002 From: nlany at uibe.edu.cn (nlany at uibe.edu.cn) Date: Tue Nov 12 00:07:02 2002 Subject: [Moin-devel] How can I contribute a language package References: <18ADwV-1caKAaC@fwd03.sul.t-online.com> Message-ID: <3DD0B656.3020308@uibe.edu.cn> Dear JH, Here is the zh-cn.py file that based on the original zh.py file but encoded in utf-8 instead gb2312. I have tested it on my site and with a "import zh-cn.py" python command. I have modified util/i18n/__init__.py to include this locale file, I recommend to use 'zh-cn' or more verbose one 'zh-cn.utf8' as the key in 'languages' dictionary. And if you happen to know, how to make gdchart to use other fonts that is able to support non-western text as the chart titles or labels? ( I know it's a question should submit to gdchart developer, I am doing that.) Cheers, Juergen Hermann wrote: >On Fri, 08 Nov 2002 11:11:22 +0800, nlany at uibe.edu.cn wrote: > > > >>hi, I downloaded CVS source, and want to add a UI translation in the >>i18n package. >>My question is, I want to add a zh ( Chinese ) module with its charset >>is in utf-8, as you know, there is already a gb2312 encoded zh.py >>module, how to do it? >> >> > >Send it to me (read >http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/MoinDev_2fTransla >tion section 1 before that). > >I'll see that I add something to make multiple charsets possible. >Ciao, J?rgen > > > > -- Yufeng Lan Univ. of International Buz.&Eco. O: 6449 2311 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: zh-cn.py URL: From noreply at sourceforge.net Thu Nov 14 04:45:02 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Thu Nov 14 04:45:02 2002 Subject: [Moin-devel] [ moin-Patches-638372 ] username/password authentication w/ SHA Message-ID: Patches item #638372, was opened at 2002-11-14 12:44 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=638372&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Bernhard Rosenkraenzer (bero) Assigned to: Nobody/Anonymous (nobody) Summary: username/password authentication w/ SHA Initial Comment: Hi, I've noticed the earlier user/password authentication patch posted here, and liked the idea (though not all aspects of the implementation). Here's a new patch (based on the older one) that - works with CVS of about a week ago (didn't try today's) - doesn't store plaintext passwords anymore (uses SHA hashes) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=638372&group_id=8482 From nlany at uibe.edu.cn Thu Nov 14 21:56:04 2002 From: nlany at uibe.edu.cn (nlany at uibe.edu.cn) Date: Thu Nov 14 21:56:04 2002 Subject: [Moin-devel] how to use masterwiki Message-ID: <3DD451B8.7030401@uibe.edu.cn> How to use MoinMoin masterwiki Just add translated pages in that wiki? But that site has different charset from our own. And is not capable to translate UI. -- Yufeng Lan Univ. of International Buz.&Eco. O: 6449 2311 From noreply at sourceforge.net Thu Nov 14 23:33:02 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Thu Nov 14 23:33:02 2002 Subject: [Moin-devel] [ moin-Bugs-638803 ] utils/wikiext.py defect in line 57 Message-ID: Bugs item #638803, was opened at 2002-11-15 08:32 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=638803&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dierk Hoeppner (dhoeppner) Assigned to: Nobody/Anonymous (nobody) Summary: utils/wikiext.py defect in line 57 Initial Comment: Moin, in this file line 57 only shows "!!!!!!!!" which gives a python error of course :-( greetings Dierk -- Dierk H?ppner Universit?tsbibliothek Hannover und Technische Informationsbibliothek (UB/TIB) EDV Welfengarten 1b D-30167 Hannover Tel.: 0511 / 762 - 4067, Fax: 0511 / 762 - 5881 http://www.tib.uni-hannover.de ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=638803&group_id=8482 From adamf at aviarc.com Wed Nov 20 15:35:02 2002 From: adamf at aviarc.com (Adam Feuer) Date: Wed Nov 20 15:35:02 2002 Subject: [Moin-devel] Build 42 is ready Message-ID: Kelley, Michael, Build 42 is in the release candidate folder. This build includes the search optimization feature for group filtering (story 55). It also includes log rollover (part of story 12); build installation instructions has more info on this. http://wiki/moin.cgi/UpgradeProcessForProductionSystems?action=show cheers adam (and troy and paul) -- Adam Feuer 206-834-1803 From noreply at sourceforge.net Fri Nov 22 02:55:06 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Fri Nov 22 02:55:06 2002 Subject: [Moin-devel] [ moin-Bugs-638803 ] utils/wikiext.py defect in line 57 Message-ID: Bugs item #638803, was opened at 2002-11-15 08:32 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=638803&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Dierk Hoeppner (dhoeppner) >Assigned to: J?rgen Hermann (jhermann) Summary: utils/wikiext.py defect in line 57 Initial Comment: Moin, in this file line 57 only shows "!!!!!!!!" which gives a python error of course :-( greetings Dierk -- Dierk H?ppner Universit?tsbibliothek Hannover und Technische Informationsbibliothek (UB/TIB) EDV Welfengarten 1b D-30167 Hannover Tel.: 0511 / 762 - 4067, Fax: 0511 / 762 - 5881 http://www.tib.uni-hannover.de ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108482&aid=638803&group_id=8482 From haaserd at interwrx.com Fri Nov 22 17:32:06 2002 From: haaserd at interwrx.com (Roger) Date: Fri Nov 22 17:32:06 2002 Subject: [Moin-devel] [patch]Page.py,wikiutil.py - title2 should override
after page trail Message-ID: Hi, I am a new MoinMoin user and this is my first ever patch submission. I entered a value for "title2" in moin_config.py and discovered that when "Show page trail" is checked in UserPreferences, title2 overrides the
before the page trail, not the
after the page trail. I think it should do the reverse. If I got it right, the patch below moves the lines outputting the page trail from Page.py to wikiutil.py and makes a few minor code changes. The result is "title2" overrides the
following the page trail (if the option is checked). Roger Haase Index: Page.py =================================================================== RCS file: /cvsroot/moin/MoinMoin/Page.py,v retrieving revision 1.132 diff -u -r1.132 Page.py --- Page.py 23 Oct 2002 18:43:58 -0000 1.132 +++ Page.py 23 Nov 2002 01:07:00 -0000 @@ -348,19 +348,19 @@ pagename=self.page_name, print_mode=print_mode, allow_doubleclick=1) - # page trail? - if not print_mode and user.current.valid: - user.current.addTrail(self.page_name) - trail = user.current.getTrail() - if trail and user.current.show_page_trail: - delim = '>' - if string.lower(config.charset) == 'iso-8859-1': - delim = ';' - print '%s %s %s
' % ( - string.join( - map(lambda p: Page(p).link_to(), trail[:-1]), - " %s " % delim), - delim, cgi.escape(trail[-1])) + ## # page trail? -- moved to wikiutil 2002-11-22 + ## if not print_mode and user.current.valid: + ## user.current.addTrail(self.page_name) + ## trail = user.current.getTrail() + ## if trail and user.current.show_page_trail: + ## delim = '>' + ## if string.lower(config.charset) == 'iso-8859-1': + ## delim = ';' + ## print '%s %s %s
' % ( + ## string.join( + ## map(lambda p: Page(p).link_to(), trail[:-1]), + ## " %s " % delim), + ## delim, cgi.escape(trail[-1])) # user-defined form preview? if pi_formtext: Index: wikiutil.py =================================================================== RCS file: /cvsroot/moin/MoinMoin/wikiutil.py,v retrieving revision 1.112 diff -u -r1.112 wikiutil.py --- wikiutil.py 8 Nov 2002 19:53:36 -0000 1.112 +++ wikiutil.py 23 Nov 2002 01:07:01 -0000 @@ -681,6 +681,20 @@ 'pagename': quoteWikiname(keywords['pagename'])} print '' + # page trail? -- moved from Page (minor changes) + if not keywords['print_mode'] and user.current.valid: + user.current.addTrail(keywords['pagename']) + trail = user.current.getTrail() + if trail and user.current.show_page_trail: + delim = '>' + if string.lower(config.charset) == 'iso-8859-1': + delim = ';' + print '
%s %s %s' % ( + string.join( + map(lambda p: Page(p).link_to(), trail[:-1]), + " %s " % delim), + delim, cgi.escape(trail[-1])) + # print custom html code after system title (normally "
") _emit_custom_html(None, config.title2) # !!! _emit_custom_html(request, config.title2) From noreply at sourceforge.net Mon Nov 25 07:46:08 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Mon Nov 25 07:46:08 2002 Subject: [Moin-devel] [ moin-Patches-638372 ] username/password authentication w/ SHA Message-ID: Patches item #638372, was opened at 2002-11-14 12:44 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=638372&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Bernhard Rosenkraenzer (bero) Assigned to: Nobody/Anonymous (nobody) Summary: username/password authentication w/ SHA Initial Comment: Hi, I've noticed the earlier user/password authentication patch posted here, and liked the idea (though not all aspects of the implementation). Here's a new patch (based on the older one) that - works with CVS of about a week ago (didn't try today's) - doesn't store plaintext passwords anymore (uses SHA hashes) ---------------------------------------------------------------------- >Comment By: Bernhard Rosenkraenzer (bero) Date: 2002-11-25 15:45 Message: Logged In: YES user_id=15538 I'm attaching an updated version of this patch, fixing 1 typo and 1 thing I overlooked when porting the old patch to current CVS (current.text -> _ in the user name already exists error message) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=638372&group_id=8482 From noreply at sourceforge.net Tue Nov 26 09:22:01 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Tue Nov 26 09:22:01 2002 Subject: [Moin-devel] [ moin-Patches-644224 ] Enhanced TableOfContents macro Message-ID: Patches item #644224, was opened at 2002-11-26 17:21 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=644224&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Simon Huggins (huggie) Assigned to: Nobody/Anonymous (nobody) Summary: Enhanced TableOfContents macro Initial Comment: Numbers the links the same as the titles or not at all depending on the setting of pragma section-numbers (see http://the.earth.li/~huggie/cgi-bin/moin/HtagHowto for an example) It makes following the example page above a lot easier. I added this to MacroMarket but maybe that was the wrong place if I want feedback. Please grab the patch from http://the.earth.li/~huggie/tc.diff ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=644224&group_id=8482 From noreply at sourceforge.net Thu Nov 28 03:30:02 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Thu Nov 28 03:30:02 2002 Subject: [Moin-devel] [ moin-Patches-644224 ] Enhanced TableOfContents macro Message-ID: Patches item #644224, was opened at 2002-11-26 17:21 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=644224&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Simon Huggins (huggie) Assigned to: Nobody/Anonymous (nobody) Summary: Enhanced TableOfContents macro Initial Comment: Numbers the links the same as the titles or not at all depending on the setting of pragma section-numbers (see http://the.earth.li/~huggie/cgi-bin/moin/HtagHowto for an example) It makes following the example page above a lot easier. I added this to MacroMarket but maybe that was the wrong place if I want feedback. Please grab the patch from http://the.earth.li/~huggie/tc.diff ---------------------------------------------------------------------- Comment By: Steve McIntyre (steve_mcintyre) Date: 2002-11-28 11:29 Message: Logged In: YES user_id=658437 Excellent - just what I was looking for. I'm currently playing with the output of the section numbers code to allow you to use a top-level section that doesn't affect the section numbers. In the example page you've posted, everything appears as 1.something, which seems a little odd. I'll post my patch shortly... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=644224&group_id=8482 From noreply at sourceforge.net Thu Nov 28 04:20:03 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Thu Nov 28 04:20:03 2002 Subject: [Moin-devel] [ moin-Patches-644224 ] Enhanced TableOfContents macro Message-ID: Patches item #644224, was opened at 2002-11-26 17:21 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=644224&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Simon Huggins (huggie) Assigned to: Nobody/Anonymous (nobody) Summary: Enhanced TableOfContents macro Initial Comment: Numbers the links the same as the titles or not at all depending on the setting of pragma section-numbers (see http://the.earth.li/~huggie/cgi-bin/moin/HtagHowto for an example) It makes following the example page above a lot easier. I added this to MacroMarket but maybe that was the wrong place if I want feedback. Please grab the patch from http://the.earth.li/~huggie/tc.diff ---------------------------------------------------------------------- >Comment By: Simon Huggins (huggie) Date: 2002-11-28 12:19 Message: Logged In: YES user_id=1192 It's because as you've noticed of the top-level section. I can't see a sensible way around that though. You can see an example (or test :)) that isn't just 1.something at http://the.earth.li/~huggie/cgi-bin/moin/WikiSandbox ---------------------------------------------------------------------- Comment By: Steve McIntyre (steve_mcintyre) Date: 2002-11-28 11:29 Message: Logged In: YES user_id=658437 Excellent - just what I was looking for. I'm currently playing with the output of the section numbers code to allow you to use a top-level section that doesn't affect the section numbers. In the example page you've posted, everything appears as 1.something, which seems a little odd. I'll post my patch shortly... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=644224&group_id=8482 From noreply at sourceforge.net Thu Nov 28 04:21:03 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Thu Nov 28 04:21:03 2002 Subject: [Moin-devel] [ moin-Patches-644224 ] Enhanced TableOfContents macro Message-ID: Patches item #644224, was opened at 2002-11-26 17:21 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=644224&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Simon Huggins (huggie) Assigned to: Nobody/Anonymous (nobody) Summary: Enhanced TableOfContents macro Initial Comment: Numbers the links the same as the titles or not at all depending on the setting of pragma section-numbers (see http://the.earth.li/~huggie/cgi-bin/moin/HtagHowto for an example) It makes following the example page above a lot easier. I added this to MacroMarket but maybe that was the wrong place if I want feedback. Please grab the patch from http://the.earth.li/~huggie/tc.diff ---------------------------------------------------------------------- >Comment By: Simon Huggins (huggie) Date: 2002-11-28 12:20 Message: Logged In: YES user_id=1192 Of course I meant: http://the.earth.li/~huggie/cgi-bin/moin/WikiSandBox Doh. ---------------------------------------------------------------------- Comment By: Simon Huggins (huggie) Date: 2002-11-28 12:19 Message: Logged In: YES user_id=1192 It's because as you've noticed of the top-level section. I can't see a sensible way around that though. You can see an example (or test :)) that isn't just 1.something at http://the.earth.li/~huggie/cgi-bin/moin/WikiSandbox ---------------------------------------------------------------------- Comment By: Steve McIntyre (steve_mcintyre) Date: 2002-11-28 11:29 Message: Logged In: YES user_id=658437 Excellent - just what I was looking for. I'm currently playing with the output of the section numbers code to allow you to use a top-level section that doesn't affect the section numbers. In the example page you've posted, everything appears as 1.something, which seems a little odd. I'll post my patch shortly... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=644224&group_id=8482 From noreply at sourceforge.net Thu Nov 28 09:41:02 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Thu Nov 28 09:41:02 2002 Subject: [Moin-devel] [ moin-Patches-644224 ] Enhanced TableOfContents macro Message-ID: Patches item #644224, was opened at 2002-11-26 17:21 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=644224&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Simon Huggins (huggie) Assigned to: Nobody/Anonymous (nobody) Summary: Enhanced TableOfContents macro Initial Comment: Numbers the links the same as the titles or not at all depending on the setting of pragma section-numbers (see http://the.earth.li/~huggie/cgi-bin/moin/HtagHowto for an example) It makes following the example page above a lot easier. I added this to MacroMarket but maybe that was the wrong place if I want feedback. Please grab the patch from http://the.earth.li/~huggie/tc.diff ---------------------------------------------------------------------- Comment By: Steve McIntyre (steve_mcintyre) Date: 2002-11-28 17:40 Message: Logged In: YES user_id=658437 Excellent - just what I was looking for. I'm currently playing with the output of the section numbers code to allow you to use a top-level section that doesn't affect the section numbers. In the example page you've posted, everything appears as 1.something, which seems a little odd. I'll post my patch shortly... ---------------------------------------------------------------------- Comment By: Simon Huggins (huggie) Date: 2002-11-28 12:20 Message: Logged In: YES user_id=1192 Of course I meant: http://the.earth.li/~huggie/cgi-bin/moin/WikiSandBox Doh. ---------------------------------------------------------------------- Comment By: Simon Huggins (huggie) Date: 2002-11-28 12:19 Message: Logged In: YES user_id=1192 It's because as you've noticed of the top-level section. I can't see a sensible way around that though. You can see an example (or test :)) that isn't just 1.something at http://the.earth.li/~huggie/cgi-bin/moin/WikiSandbox ---------------------------------------------------------------------- Comment By: Steve McIntyre (steve_mcintyre) Date: 2002-11-28 11:29 Message: Logged In: YES user_id=658437 Excellent - just what I was looking for. I'm currently playing with the output of the section numbers code to allow you to use a top-level section that doesn't affect the section numbers. In the example page you've posted, everything appears as 1.something, which seems a little odd. I'll post my patch shortly... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=644224&group_id=8482 From noreply at sourceforge.net Thu Nov 28 11:19:02 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Thu Nov 28 11:19:02 2002 Subject: [Moin-devel] [ moin-Patches-645390 ] Extra control of top-level sect headings Message-ID: Patches item #645390, was opened at 2002-11-28 19:18 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=645390&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Steve McIntyre (steve_mcintyre) Assigned to: Nobody/Anonymous (nobody) Summary: Extra control of top-level sect headings Initial Comment: Lots of our Wiki documents have top-level headings added, which then breaks section numbering - every section is then 1.x instead of 2, 3, etc. Simple patch to add an extra setting to the section-numbers #pragma, for which I've used 2 or "offset" ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=645390&group_id=8482 From noreply at sourceforge.net Thu Nov 28 11:28:03 2002 From: noreply at sourceforge.net (noreply at sourceforge.net) Date: Thu Nov 28 11:28:03 2002 Subject: [Moin-devel] [ moin-Patches-644224 ] Enhanced TableOfContents macro Message-ID: Patches item #644224, was opened at 2002-11-26 17:21 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=644224&group_id=8482 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Simon Huggins (huggie) Assigned to: Nobody/Anonymous (nobody) Summary: Enhanced TableOfContents macro Initial Comment: Numbers the links the same as the titles or not at all depending on the setting of pragma section-numbers (see http://the.earth.li/~huggie/cgi-bin/moin/HtagHowto for an example) It makes following the example page above a lot easier. I added this to MacroMarket but maybe that was the wrong place if I want feedback. Please grab the patch from http://the.earth.li/~huggie/tc.diff ---------------------------------------------------------------------- Comment By: Steve McIntyre (steve_mcintyre) Date: 2002-11-28 19:27 Message: Logged In: YES user_id=658437 Found a little bug in the code - deeply nested section numbers would break things - I was seeing 6.1.1 going to 9 for the next top-level header. This new patch ties up with my other one - if you use #pragma section-numbers 2 or #pragma section-numbers offset then it will ignore the very top-level header when counting and generating the TOC See http://www.einval.com/steve/patches/moinmoin/toc.patch ---------------------------------------------------------------------- Comment By: Steve McIntyre (steve_mcintyre) Date: 2002-11-28 17:40 Message: Logged In: YES user_id=658437 Excellent - just what I was looking for. I'm currently playing with the output of the section numbers code to allow you to use a top-level section that doesn't affect the section numbers. In the example page you've posted, everything appears as 1.something, which seems a little odd. I'll post my patch shortly... ---------------------------------------------------------------------- Comment By: Simon Huggins (huggie) Date: 2002-11-28 12:20 Message: Logged In: YES user_id=1192 Of course I meant: http://the.earth.li/~huggie/cgi-bin/moin/WikiSandBox Doh. ---------------------------------------------------------------------- Comment By: Simon Huggins (huggie) Date: 2002-11-28 12:19 Message: Logged In: YES user_id=1192 It's because as you've noticed of the top-level section. I can't see a sensible way around that though. You can see an example (or test :)) that isn't just 1.something at http://the.earth.li/~huggie/cgi-bin/moin/WikiSandbox ---------------------------------------------------------------------- Comment By: Steve McIntyre (steve_mcintyre) Date: 2002-11-28 11:29 Message: Logged In: YES user_id=658437 Excellent - just what I was looking for. I'm currently playing with the output of the section numbers code to allow you to use a top-level section that doesn't affect the section numbers. In the example page you've posted, everything appears as 1.something, which seems a little odd. I'll post my patch shortly... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308482&aid=644224&group_id=8482