From: Charles C. <ch...@ru...> - 2004-11-20 01:50:37
|
Hi, me again... The lib/plugin/WantedPages.php plugin does not work correctly. There are three separate problems, I only know how to fix two of them. 1 - in lib/plugin/WantedPages.php, function _iterateLinks, the line $links_iter = $page_handle->getLinks($reversed = false); Must be changed to $links_iter = $page_handle->getLinks($reversed = false, $include_empty=true); I have just started php - it looks to me like this syntax is actually declaring additional variables - adding to the memory load. Maybe it should be $links_iter = $page_handle->getLinks(false, true); 2 - in lib/WikiDB.php, function getLinks, the line $result = $backend->get_links($this->_pagename, $reversed, $include_empty=false); Must be changed to $result = $backend->get_links($this->_pagename, $reversed, $include_empty); 3 - the limit parameter, I think, is meant to be the number of missing pages to find. However, as actually used, it is the number of pages to search for the links to missing pages. I do not know how to fix this - as a work around, I edited WantedPages and added limit=10000 Regards, Charles |