]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/orphans/discussion.mdwn
ikiwiki (3.20130711) unstable; urgency=low
[ikiwiki.git] / doc / plugins / orphans / discussion.mdwn
1 It seems that the orphans plugin doesn't recognize markdown-style links of the kind:
2
3     [Pretty link name](realname)
4
5 In my wiki, the page "realname" shows up as an orphan although it's being linked to.
6
7 > Like anything in ikiwiki that deals with links, this only takes
8 > [[WikiLinks|ikiwiki/wikilink]] into account. There should be no real
9 > reason to use other link mechanisms provided by eg, markdown for internal
10 > links in the wiki (indeed, using them is likely to cause broken links
11 > when doing things like inlining or renaming pages). --[[Joey]]
12
13
14 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:
15
16      \[[!orphans Error: Nested quantifiers in regex; 
17      marked by <-- HERE in m/^(c++ <-- HERE |)$/ at
18      /usr/lib/perl5/vendor_perl/5.8.8/IkiWiki/Plugin/orphans.pm line 43.]]
19
20 --Peter
21
22 > Fixed. BTW, for an important bug like this, use [[bugs]]. --[[Joey]]