]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/commit
I was starting to hack together a counter part to ExtractWikiPageLinks()
authordairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Sun, 15 Sep 2002 05:45:09 +0000 (05:45 +0000)
committerdairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Sun, 15 Sep 2002 05:45:09 +0000 (05:45 +0000)
commit4039d512d8ce6b75f694e62f3ec2af02cdaa21a4
tree5dda93e86562edd9044335fa498612270ed97c34
parent237b6bac32fcb71031cb7197a1b1a6f0046accad
I was starting to hack together a counter part to ExtractWikiPageLinks()
to extract the external links (for the XML-RPC interface).  In so doing,
discovered yet more bugs in the current ExtractWikiPageLinks().
(Bumpy words within raw URLs and interwiki links were being counted
as links when they shouldn't have been.)

So instead converted ExtractWikiPageLinks() to ExtractLinks() which finds
both internal and external links.   ExtractWikiPageLinks() is now a wrapper
around ExtractLinks().  (Also new function ExtractExternalLinks() is another
wrapper.)

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