Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.2.0

Request #16055 URLs with brackets not parsed
Submitted: 2009-03-24 08:05 UTC
From: kratib Assigned: ritzmo
Status: Closed Package: Text_Wiki_Mediawiki (version CVS)
PHP Version: 5.2.5 OS: Ubuntu Intrepid
Roadmaps: (Not assigned)    
Subscription  


 [2009-03-24 08:05 UTC] kratib (Karim Ratib)
Description: ------------ URLs such as [http://en.wikipedia.org/wiki/Talk_(software) Talk] are not parsed correctly. The closing bracket is left out and the whole URL appears along with the description text. Enclosed is a patch for Wiki/Parse/Mediawiki/Url.php that includes open and close brackets in the regex to be matched for URLs. This fixed the problem for me.

Comments

 [2009-03-24 08:06 UTC] kratib (Karim Ratib)
The following patch has been added/updated: Patch Name: MediaWiki-Url-patch URL: patch MediaWiki-Url-patch
 [2009-04-16 20:30 UTC] ritzmo (Moritz Venn)
-Status: Open +Status: Closed -Assigned To: +Assigned To: ritzmo
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.