X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/3bb9a692f30857396233bb5f5ada436ca646d2e8..ab4f499c8d903b3e66655b42202a29ece975112b:/doc/plugins/orphans/discussion.mdwn?ds=sidebyside diff --git a/doc/plugins/orphans/discussion.mdwn b/doc/plugins/orphans/discussion.mdwn index be3b23267..3165e5968 100644 --- a/doc/plugins/orphans/discussion.mdwn +++ b/doc/plugins/orphans/discussion.mdwn @@ -3,3 +3,20 @@ It seems that the orphans plugin doesn't recognize markdown-style links of the k [Pretty link name](realname) In my wiki, the page "realname" shows up as an orphan although it's being linked to. + +> Like anything in ikiwiki that deals with links, this only takes +> [[WikiLinks|ikiwiki/wikilink]] into account. There should be no real +> reason to use other link mechanisms provided by eg, markdown for internal +> links in the wiki (indeed, using them is likely to cause broken links +> when doing things like inlining or renaming pages). --[[Joey]] + + +The orphans plugin fails with an error when it has to deal with a page that contains '+' characters as part of the filename. Apparently the code uses regular expressions and forgets to quote that string at some cruicial point. The error message I see is: + + \[[!orphans Error: Nested quantifiers in regex; + marked by <-- HERE in m/^(c++ <-- HERE |)$/ at + /usr/lib/perl5/vendor_perl/5.8.8/IkiWiki/Plugin/orphans.pm line 43.]] + +--Peter + +> Fixed. BTW, for an important bug like this, use [[bugs]]. --[[Joey]]