From: <var...@us...> - 2009-04-19 18:26:47
|
Revision: 6796 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6796&view=rev Author: vargenau Date: 2009-04-19 18:26:36 +0000 (Sun, 19 Apr 2009) Log Message: ----------- Fix WantedPages: interwikis should not appear Modified Paths: -------------- trunk/lib/CachedMarkup.php Modified: trunk/lib/CachedMarkup.php =================================================================== --- trunk/lib/CachedMarkup.php 2009-04-19 09:59:32 UTC (rev 6795) +++ trunk/lib/CachedMarkup.php 2009-04-19 18:26:36 UTC (rev 6796) @@ -691,13 +691,7 @@ } function getWikiPageLinks($basepage) { - if ($basepage == '') return false; - /* ":DontStoreLink" */ - if (substr($this->_link,0,1) == ':') return false; - /* store only links to valid pagenames */ - if ($link = $this->getPagename($basepage)) - return array(array('linkto' => $link, 'relation' => 0)); - else return false; // dont store external links + return false; // do not store external links } function _getName($basepage) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |