Dmitry Samersoff skrev 15. sep. 2010 10:41:
> Hi Everyone,
>

Hi,

I'll comment a few of your points, even though I'm not a trac developer,
just user.

> First at all - thank everybody for amazing work.  I use Trac from a
> long time and  as 12 came out I start adopt it as CMS for non-
> development projects.
> 
> Below is some nits I found:
> 
(...)

> 2. WikiFromatter doesn't respect html special chars - i.e.  
> become   - is it a bug or expected behavior? (I wrote a
> plugin to workaround it - but I think it should be fixed)

AFAIK wiki text is "unrealated" to html, "formatting" the wikitext
before processing sounds like a pretty bad idea to me. I see that
mediawiki supports entities like nbsp directly:

  http://en.wikipedia.org/wiki/Non-breaking_space

and you could probably force it by inputting the actual unicode character.

But as other markup is defined by the wiki processor (remember there's
no guarantee that you want html output), maybe a macro converting
underscore "_" to non-breaking space might be a good idea ?

Semi-related: for more formatting ideas, see (the very good article):

  http://www.alistapart.com/articles/the-look-that-says-book/

> 3. id like  one below in wiki text is a bad idea.
> <h3 id="Краткаябиография">Краткая биография</h3>
> It's better to use some number e.g. md5(header value)

I don't see a problem with meaningful id-names. Using md5 based on the
header value wouldn't solve potential conflicts. Why would you prefer a
long md5 string, to a (usually) shorter meaningful utf8 string ?

The only real alternative I see, is autonumbering -- but  I prefer the
way it works now.

> 4. Wiki paragraph text have to have come default class i.e. <p
> class="wikitext"> .... </p> otherwise it's hard to manage fonts etc
> within wiki.

From the source at eg:

http://trac.edgewall.org/wiki/WikiFormatting

I see:

<div id="wikipage"><p> (the div surronds the page content).

Wouldn't ".wikipage p" work?  Or ".wikipage > p" ?

Alternatively assume all "p"s are content, and mark up navigation using
surronding divs etc ?

Set a font on body, and override .nav-class for instance ?


Best regards,

-- 
 .---.  Eirik Schwenke <eirik.schwe...@nsd.uib.no>
( NSD ) Harald Hårfagresgate 29            Rom 150
 '---'  N-5007 Bergen            tlf: (555) 889 13

  GPG-key at pgp.mit.edu  Id 0x8AA3392C

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to