Modify ↓
Opened 13 years ago
Closed 13 years ago
#9199 closed enhancement (fixed)
enable footer with wiki page version and datestamp in ODT export
Reported by: | Daniel Kahn Gillmor | Owned by: | Aurélien Bompard |
---|---|---|---|
Priority: | normal | Component: | OdtExportPlugin |
Severity: | normal | Keywords: | patch |
Cc: | Trac Release: | 0.11 |
Description
Thanks for the OdtExportPlugin! It would be really useful to be able to automatically include a footer which has the wiki page name, version and a timestamp in it.
So if i'm visiting http://trac.example/wiki/SomePage, and there are 4 entries in the page history, there would be a footer on each page that says something like:
SomePage v.4 2011-09-22 22:03-0400
Attachments (1)
Change History (5)
comment:1 Changed 13 years ago by
Keywords: | patch added |
---|
Changed 13 years ago by
Attachment: | add-keywords.diff added |
---|
implementation of the keyword-based approach
comment:3 Changed 13 years ago by
Status: | new → assigned |
---|
Patch merged in r10787, sorry for the long delay. Can you please test that it still works for you ?
Thanks for your contribution and your patience.
comment:4 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Yep, it appears to work for me. thanks for the merge, this is great!
Note: See
TracTickets for help on using
tickets.
Alternately, i can imagine adding three new keywords:
and then leave it to the site administrator to decide how/where to place them. I'll attach a patch that takes this approach. I offer it under the same license as the rest of the module, if you want it. I'm currently using it and it works well.
I applied these keywords to styles.xml as well as to content.xml because page footers are in styles (at least in the ODT generated by libreoffice 3.4.3 that i'm working with).