Changes between Version 19 and Version 20 of LastModifiedMacro


Ignore:
Timestamp:
Nov 30, 2015, 8:40:09 AM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • LastModifiedMacro

    v19 v20  
    55== Description
    66
    7 Shows the last modification date of the specified page, or the page the macro appears in if not specified. An optional argument, {{{delta}}}, can be given to show the time elapsed since the last modification. The output is placed in a {{{<span>}}} with a title that gives the exact modification date and the author of the change.
     7This macro shows the last modification date of the specified page, or the page the macro appears in if not specified. An optional argument, {{{delta}}}, can be given to show the time elapsed since the last modification. The output is placed in a {{{<span>}}} with a title that gives the exact modification date and the author of the change.
    88
    99This plugin retrieves information from the database and adds it to a wiki page. Currently supported keywords: `author`, `version`, `changed_by`, `comment`, `changed_ts`.
     
    2121== Download
    2222
    23 Download the zipped source from [download:lastmodifiedmacro here].
     23Download the zipped source from [export:lastmodifiedmacro here].
    2424
    2525== Source
    2626
    27 You can check out LastModifiedMacro from [http://trac-hacks.org/svn/lastmodifiedmacro here] using Subversion, or [source:lastmodifiedmacro browse the source] with Trac.
     27You can check out LastModifiedMacro from [/svn/lastmodifiedmacro here] using Subversion, or [source:lastmodifiedmacro browse the source] with Trac.
    2828
    2929== Example
     
    3434[[LastModified(delta)]]
    3535[[LastModified(MacroBazaar)]]
    36 [[LastModified(MacroBazaar,delta)]]
     36[[LastModified(MacroBazaar, delta)]]
    3737}}}
    3838
    39 For example, {{{ [[LastModified(CustomMacros)]] }}} produces:
     39For example, {{{[[LastModified(CustomMacros)]]}}} produces:
    4040{{{
    4141<span class="last-modified" title="Wed Oct  6
     
    4343}}}
    4444
    45 Alternatively, {{{ [[LastModified(CustomMacros,delta)]] }}} produces:
     45Alternatively, {{{[[LastModified(CustomMacros,delta)]]}}} produces:
    4646{{{
    4747<span class="last-modified" title="Wed Oct  6
     
    4949}}}
    5050
    51 This is a CSS style to apply that will make it about 3.14% slicker:
     51This is a CSS style to apply an underline and a tooltip:
    5252{{{
    5353span.last-modified
     
    5858}}}
    5959
    60 Building off the above style, I did the following to match the colour of the [wiki:TocMacro].
    61 (To apply this to all projects, append the below text to this file: /usr/share/trac/htdocs/css/wiki.css)
     60Building off the above style, the colour of the [wiki:TocMacro] can be matched further. To apply this to all projects, append the below text to file `/usr/share/trac/htdocs/css/wiki.css`:
    6261{{{
    6362/* Styles for the LastModified wikimacro */