On Tue, Aug 13, 2013 at 2:15 PM, Olemis Lang <[email protected]> wrote:
> On 8/13/13, Felipe G. Nievinski <[email protected]> wrote: > > On Tuesday, August 13, 2013 4:12:37 AM UTC-3, olemis wrote: > >> On 8/12/13, Felipe G. Nievinski <[email protected] <javascript:>> > wrote: > >> > [...] > >> > > >> > 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? > > > > yes, possible. > ... > > > Also, could you please direct me to any documentation that you might be > > aware of. > > > [...] > > Api docs ? > http://trac.edgewall.org/wiki/TracDev/ApiDocs > > Sorry, let me be more specific in my request. The existing macro: <http://trac-hacks.org/browser/wikinfoplugin/trunk/wikinfo/macro.py> uses "from trac.wiki.model import WikiPage" to retrieve the metadata. I can't seem to find the description of this module in, e.g.: <http://www.edgewall.org/docs/trac-trunk/html/api/trac_wiki_api.html> Am I looking at the wrong place -- or just not seeing it? Also: where are the existing wiki page metadata fields (author, changed_by, changed_ts, comment) defined? Any hint on how to store and retrieve custom fields? Thx, -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.
