[Home]WikiPatches/AbsoluteChange

UseModWiki | WikiPatches | RecentChanges | Preferences

Maybe there's no changes at time lapses by default. This minor tweak can return the last absolute change in whole RecentChanges.
sub DoRc {
...
 if ($i == @fullrc && $showHTML) {
    print '<br><strong>' . Ts('No updates since %s',
                              &TimeToText($starttime)) . "</strong><br>\n";
    + print T('AbsoluteRcnt');
    + splice(@fullrc, 0, $#fullrc);
    + if (0 == $rcType) {
      + print &GetRcRss(@fullrc);
    + } else {
      + print &GetRcHtml(@fullrc);
    + }
  }
--JuanmaMP

UseModWiki | WikiPatches | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited February 4, 2012 9:47 pm by JuanmaMP (diff)
Search: