On 8/13/13, Felipe G. Nievinski <[email protected]> wrote:
> 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?
>

Choose one considering version

http://www.edgewall.org/docs/tags-trac-1.0/epydoc/trac.wiki.model-module.html
http://www.edgewall.org/docs/trac-trunk/epydoc/trac.wiki.model-module.html

... and see ...

http://trac.edgewall.org/wiki/TracDev/ApiDocs#Viewthedocumentation

> Also: where are the existing wiki page metadata fields
> (author, changed_by, changed_ts, comment) defined?

trac.wiki.model:WikiPage

> Any hint on how to store and retrieve custom fields?
>

I've been looking for a plugin for this but found nothing ... :-/

[...]

-- 
Regards,

Olemis - @olemislc

Apacheā„¢ Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
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.

Reply via email to