586 | | Note for 0.10b1: The call to {{{wiki_to_html(text,env,hdf,db,0)}}} seems to dislike passing ''hdf''. I think it wants a ''req'' (not sure what that is). However, ''env'' works OK here. The problem is that {{{wiki_to_html()}}} is looking for ''href'', which is present in ''env'' but not in ''hdf''. In fact, internally it will use the ''env'' argument if ''req'' is {{{None}}}. Hmm ... |
| 586 | [[BR]]Download: http://projects.edgewall.com/trac/attachment/wiki/MacroBazaar/Blog.ByCreationDate.py |
| 587 | |
| 588 | [[BR]]Adapted By: Dan Mahn <trac@digidescorp.com> |
| 589 | [[BR]]Version: 0.10 |
| 590 | [[BR]]Mods: |
| 591 | 1. Display blog pages by page creation date instead of last edit date. This allows edits to previous blog pages without reordering them. |
| 592 | 1. Fixed a problem with call to {{{wiki_to_html(text,env,hdf,db,0)}}}. Trac 0.10 doesn't like the `hdf` argument because it's apparently looking for a `href` inside of it. Changed `hdf` to `None`; it looks like `env` is then used instead of `hdf`. |