73 | | [attachment:LastModified.py LastModified.py] file attached by Bill Coffman, which works on 0.11. This new version: |
74 | | 1. Does not support mouseover. |
75 | | 2. Does not support the delta argument all by itself. That is, !LastModified(delta) will just look for a wiki page named delta. |
76 | | 3. The above style sheets mentioned above won't work with this version. |
77 | | 4. Has changed the format of the date to something that I personally found more compact, precise and readable. |
78 | | 5. Most importantly, it works with 0.11, and seems to be pretty much compliant with the coding standards for 0.11 |
79 | | 6. Because of the above changes, it should probably be officially considered a fork, and could be named something differently. I leave it to someone who cares sufficiently to make this code compliant with the previous version. |
80 | | |
81 | | The [attachment:fullname.diff patch] attached by Paul Heinlein will, when applied to [attachment:LastModified.py Bill's 0.11 version of the plugin], report the author's full name rather than login username if the full name exists as a session attribute. |
82 | | |
83 | | [attachment:LastModifiedMacro-0.1-py2.5.egg LastModifiedMacro-0.1-py2.5.egg] file attached by Izzy for easier install. Small modifications have been done to Bills code: |
84 | | * internal docu (as displayed on WikiMacros page) shows syntax details |
85 | | * text is contained in the span element again |
86 | | * date format is more clear for users from "other countries" (now: 2008/12/09 18:55) |
87 | | * text is now: "Last modified: %s by %s" - where you have to replace the %s by date and author |
88 | | |