Remy Blank <remy.bl...@...> writes:

> 
> Rodrik wrote:
> > Where exactly can I change the wiki text?
> > With prepare_wiki_page()?
> > Tried it modifying fields['text'] without success.
> 
> No, in validate_wiki_page(). You get the populated page object, and you
> can mutate it as you want. In this case, that would mean getting its
> .text attribute, finding the place to change, then set the .text
> attribute with the modified text.
> 

Yeah, it's very intuitive and I actually tried this before you said,
but the page is not changed. Maybe I'm doing something wrong.
Could you give me an example, please?
Thank you very much!

Rodrik.



-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to