1 Jun 2006 03:42
Re: Deprecating wiki_to_html et al.
Alec Thomas <trac-dev-list <at> swapoff.org>
2006-06-01 01:42:06 GMT
2006-06-01 01:42:06 GMT
On Mon, May 29, 2006 at 07:01:27PM +0200, Christian Boos wrote: > Hi, > > I hope I'm not the only one that is annoyed by > the inconsistencies in the html_to_... functions, > especially the fact that sometimes the req is > given, sometimes not. Yes, I agree. > So I'd like to deprecate them in favor of using a > Wikifier object, which is as convenient to use, > and more consistent about its required arguments. > Moreover, it can cache a formatter object for later reuse. So something similar to the util.markup.Fragment and company, in that it will take Wiki text as an argument and its __str__ method will return the formatted HTML? > In the patch, I only changed the trac.wiki package > to take advantage of this, for illustrative purpose > and to keep it small. Where's the patch? -- -- Evolution: Taking care of those too stupid to take care of themselves.
..)
Andres Salomon wrote:
> Those things are horrible. :/
Why?
As I see it, of the three solutions:
========= Solutions =========
* rel=nofollow
Pros:
- Great solution long term because it removes any and all incentive
for spammers.
Cons:
- Not a solution short term, since:
--- Needs to be deployed.
--- Dumb spammers will ignore it and implement Trac spammers anyway.
--- Ignorant spammers won't notice it and their Trac spammers will
continue operating.
--- Some extremely nit-picky people doesn't like fiddling with PageRank. Huh.
RSS Feed