[Soks] Soks-0.0.5: RecentChanges ignoring 'changes' argument?

[Soks] Soks-0.0.5: RecentChanges ignoring ‘changes’ argument?

Copied from Email on Tue, 01 Mar 2005 23:43:52 -0500 from Bil Kleb (Bil.Kleb@nasa.gov)

Hello,

In lib/helpers/default-helpers.rb, AutomaticRecentChanges sets
a default of 200 changes to show, but this argument is not passed
to AutomaticSummary with something like,

   :max_pages_to_show => changes

Viz,

class AutomaticRecentChanges

   def initialize( wiki,
                   changes = 200,
                   pagename = "Recent Changes to This Site",
                   author = "AutomaticRecentChanges" )

     AutomaticSummary.new( wiki, { :pagename => pagename,
                                   :author => author,
                                   :only_new_pages => false,
                                   :sort_pages_by => :revised_on,
                                   :include_metadata => true,
                                   :summarise_revisions => true,
                                   :reverse_sort => true,
                                   :remove_deleted_pages => false, } )

   end

end

Regards,
--
Bil Kleb, Hampton, Virginia
http://fun3d.larc.nasa.gov
_______________________________________________
Soks-discuss mailing list
Soks-discuss@rubyforge.org
http://rubyforge.org/mailman/listinfo/soks-discuss

Edit this page or watch for changes using RSS.