]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/commit
Fixed so that wiki.listLinks() returns external as well as internal links.
authordairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Sun, 15 Sep 2002 05:52:23 +0000 (05:52 +0000)
committerdairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Sun, 15 Sep 2002 05:52:23 +0000 (05:52 +0000)
commite81b0518b0d0bd149669049abd619f1de5b79138
tree26f9517f643acf3a6325f83b802d1500fd2b77c6
parent4039d512d8ce6b75f694e62f3ec2af02cdaa21a4
Fixed so that wiki.listLinks() returns external as well as internal links.

Since the external links aren't currently stored in the link database,
we need to scan the page text for the links.  We might as well pull the
internal links out from the same scan.  (Commented out the old code
which queries the link db.)

Also fixed a couple bugs/features:
 o wiki.listLinks() was listing backlinks not outgoing links.
 o When urlencoding short strings we only really need to encode
   the ascii control characters (which aren't allowed in XML 1.0 :-/)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@2346 96ab9672-09ca-45d6-a79d-3d69d39ca109
lib/XmlRpcServer.php