On Tuesday, August 13, 2013 4:12:37 AM UTC-3, olemis wrote: > > On 8/12/13, Felipe G. Nievinski <[email protected] <javascript:>> wrote: > > On Monday, August 12, 2013 1:49:24 PM UTC-3, olemis wrote: > >> On 8/12/13, Felipe G. Nievinski <[email protected] <javascript:>> > wrote: > >> > >> > I noticed that each trac-hack includes the following section at the > end: > >> > > >> > > >> > == Author/Contributors == > >> > '''Author:''' [wiki:todjiang] [[BR]] > >> > '''Maintainer:''' ''none'' [[BR]] > >> > '''Contributors:''' > >> > > >> > I'd like to adopt a similar format in my internal wiki, except that I > >> don't > >> > > >> > like this metadata being entered as free text. > >> > > >> > *- Would you recommend any macro to fill-in such wiki page > **metadata**? > >> > > >> * > >> > > >> > Then it could be expanded to obtain a list of all the page > maintainers, > >> > > >> > authors, etc. > >> > > >> > >> Are you looking for a list of users who edited the target wiki page ? > >> > >> If so I could suggest something (please confirm ;) but JFTR , that's > >> not exactly what is happening in tho wiki pages . > >> > > > > I'm looking for an equivalent of Ticket's owner fields but for Wiki > > pages. > > > [...] > > This is the closest match I found :-/ > > http://trac-hacks.org/wiki/WikinfoPlugin > > Almost perfect! Thanks for taking the time.
I was looking at how to extend it to fit my needs. The macro retrieves information from these wiki page fields: page.author page.version page.author page.comment page.time Do you think it's possible to customize the wiki page fields? Another option would be updating the creator (the first author) to indicate the current page guardian (this would be the metadata that I'd like to use): page = WikiPage(self.env, formatter.context.resource, 1) text = page.author Do you think that field is read-only? Also, could you please direct me to any documentation that you might be aware of. Thanks, -F. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/groups/opt_out.
