[Home]WikiPatches/UpdatesInTheLastMinorTweak

UseModWiki | WikiPatches | RecentChanges | Preferences

Default days to display doesn't appear at following links as option, avoiding an extra link on RecentChanges.
sub DoRc {
...
    foreach $i (@RcDays) {
      + if ($i eq $daysago) {next;}
      print " | "  if $showbar;
      $showbar = 1;
      print &ScriptLink("action=rc&days=$i",
                        Ts('%s day' . (($i != 1)?'s':''), $i));
        # Note: must have two translations (for "day" and "days")
        # Following comment line is for translation helper script
        # Ts('%s days', '');
    }
...
--JuanmaMP

UseModWiki | WikiPatches | RecentChanges | Preferences
Edit text of this page | View other revisions | Search MetaWiki
Last edited January 31, 2012 9:37 am by JuanmaMP (diff)
Search: