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

Bug #18092 mediawiki parser breaks on links with single quotes in
Submitted: 2010-12-02 01:32 UTC
From: jonnybradley Assigned:
Status: Open Package: Text_Wiki_Mediawiki
PHP Version: 5.3.2 OS: any
Roadmaps: (Not assigned)    

 [2010-12-02 01:32 UTC] jonnybradley (jonny Bradley)
Description: ------------ mediawiki parser stops parsing when it gets to a link with single quotes in (using this in Tiki v6.x SVN). Presumably this is failing in pear/Text/Wiki/Parse/Mediawiki/Url.php Test script: --------------- example source from wikipedia: "Florida High Speed Rail" [ ''The Tampa Tribune'' (] Expected result: ---------------- [|''The Tampa Tribune'' (] Actual result: -------------- [|


 [2010-12-03 01:52 UTC] jonnybradley (jonny Bradley)
Seems that changing the order of parsing in Mediawiki.php seems to solve this one - i ended up putting Url before Wikilink as they were also getting confused in some cases. Hope that helps...
 [2014-06-05 09:00 UTC] doconnor (Daniel O'Connor)
-Package: Text_Wiki +Package: Text_Wiki_Mediawiki