Tomer Chachamu <the.r3m0t(a)gmail.com> wrote:
Also, I suggest that if there is only one heading
(e.g. "B-O"), have
no heading at all.
Done. See <http://mt.brentdax.com/wiki/Category:Anna_Miller%27s> for
an example.
Michael Keppler <Michael.Keppler(a)gmx.de> wrote:
I like that style very much as it seems to be very
useful for smaller
wikis. However, I also found a minor glitch in the system. If a grouped
list of articles is split over two columns, then the group should be
divided into two groups again instead of having the "continued" flag in
the second column.
Ah, good point. Fixed now. The results are visible at
<http://mt.brentdax.com/wiki/Category:Chapters>, which would
previously had "0-6" at the top of the first column, and "0-6 cont."
at the top of the second.
Andrew Dunbar <hippytrail(a)gmail.com> wrote:
This will be very nice for alphabetic languages but
maybe not so good
for Chinese and Japanese. Also, some projects allow multiple languages
in titles and it wouldn't make any sense to groups the "z" of one
alphabet with the "a" of another.
Very true. As a sop to those languages, I've modified it so that it
doesn't group characters in \W (which, thanks to the way UTF-8 is
constructed, basically means everything but ASCII alphanumerics.) For
an example: <http://mt.brentdax.com/wiki/Category:Supporting_characters>
So other languages won't get the grouping, but at least they won't
have illogical grouping. (And punctuation characters won't be grouped
in strange ways either.)
A better solution to this would be welcome, of course.
I'll submit a patch to Bugzilla once everyone seems happy with this,
and I'm convinced I can't make the code more elegant.
Thanks,
--
Brent 'Dax' Royal-Gordon <brent(a)brentdax.com>
Perl and Parrot hacker