Needs review
Project:
PEAR Wiki Filter
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2009 at 04:13 UTC
Updated:
13 Apr 2009 at 16:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
infojunkieI attached the patch here also because the PEAR bug tracking system makes it difficult to wget the patch file.
Comment #2
leafkin commentedI have a similar problem I cannot seem to spot a solution for. External URLs are not even processed. It spits out the whole URL with the label and containing brackets (i.e., it literall will print "[http://en.wikipedia.org/wiki/Talk_(software) Talk]"). Its printed as text and not a link.
I have installed from the CVS and tried this patch, but still no change in the External URL behavior.
Any ideas?
Comment #3
infojunkieMaybe you're using a Wiki engine whose URL syntax is different from what you wrote? For example, Dokuwiki's URL syntax is different from Mediawiki's.
Comment #4
leafkin commentedThanks for the suggestion kratib.
I double checked and the syntax being used is MediaWiki. I also just noticed another odd behavior that might be a clue to what is going on. External URLs that link to an external Wiki, like wikipedia.org or mediawiki.org are being displayed properly, except only as text, and not as links.
For Example:
[http://meta.wikimedia.org/wiki/Help:Contents User's Guide] is printed as "User's Guide"
and
[http://www.mediawiki.org/wiki/Manual:FAQ MediaWiki FAQ] is printed as "MediaWiki FAQ"
However, neither are made links by the input filter. Any seen this behavior before?
UPDATE:
This behavior is not restricted to external Wikis. Some more tests have shown me that there seems to be no pattern. The behavior I have described above is seeming random. Some URLs are being printed as just a text label (not a link) and others are printed with the URL, label and containing brackets. It kinda looks like a regex problem, but could it be something else?