From: Reini U. <ru...@us...> - 2004-06-29 08:52:38
|
Update of /cvsroot/phpwiki/phpwiki/lib/plugin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27639/plugin Modified Files: WikiAdminSelect.php Log Message: Use ...version() $need_content argument in WikiDB also: To reduce the memory footprint for larger sets of pagelists, we don't cache the content (only true or false) and we purge the pagedata (_cached_html) also. _cached_html is only cached for the current pagename. => Vastly improved page existance check, ACL check, ... Now only PagedList info=content or size needs the whole content, esp. if sortable. Index: WikiAdminSelect.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/plugin/WikiAdminSelect.php,v retrieving revision 1.18 retrieving revision 1.19 diff -u -2 -b -p -d -r1.18 -r1.19 --- WikiAdminSelect.php 16 Jun 2004 10:38:59 -0000 1.18 +++ WikiAdminSelect.php 29 Jun 2004 08:52:24 -0000 1.19 @@ -123,4 +123,5 @@ extends WikiPlugin $args = $this->getArgs($argstr, $request); $this->_args = $args; + extract($args); $this->preSelectS($args, $request); @@ -142,5 +143,5 @@ extends WikiPlugin HTML::input(array('type' => 'text', 'name' => 's', - 'value' => $s)), + 'value' => $args['s'])), HTML::input(array('type' => 'submit', 'name' => 'WikiAdminSelect', @@ -198,5 +199,5 @@ extends WikiPlugin $this->_list = $this->collectPages($this->_list, $dbi, $args['sortby'], $args['limit']); } - $pagelist = new PageList_Selectable($info, $exclude); + $pagelist = new PageList_Selectable($info, $exclude, $args); $pagelist->addPageList($this->_list); $form->pushContent($pagelist->getContent()); @@ -249,4 +250,14 @@ extends WikiPlugin // $Log$ +// Revision 1.19 2004/06/29 08:52:24 rurban +// Use ...version() $need_content argument in WikiDB also: +// To reduce the memory footprint for larger sets of pagelists, +// we don't cache the content (only true or false) and +// we purge the pagedata (_cached_html) also. +// _cached_html is only cached for the current pagename. +// => Vastly improved page existance check, ACL check, ... +// +// Now only PagedList info=content or size needs the whole content, esp. if sortable. +// // Revision 1.18 2004/06/16 10:38:59 rurban // Disallow refernces in calls if the declaration is a reference |