inline: When the pagenames list includes pages that do not exist, skip them.
authorJoey Hess <joey@kitenet.net>
Wed, 21 Mar 2012 19:47:34 +0000 (15:47 -0400)
committerJoey Hess <joey@kitenet.net>
Wed, 21 Mar 2012 19:48:25 +0000 (15:48 -0400)
commitaaa72a3a80f89da0aec59360db11c7aa219058a7
tree3c9f027547efbdc8d7b853b8d6d2a331055b38bb
parent662ea9971c6608a6a826b8b29ce7294e77304b41
inline: When the pagenames list includes pages that do not exist, skip them.

bestlink returns '' if no existing page matches a link. This propigated
through inline and other plugins, causing uninitialized value warnings, and
in some cases (when filecheck was enabled) making the whole directive fail.

Skipping the empty results fixes that, but this is papering over another
problem: If the missing page is later added, there is not dependency
information to know that the inline needs to be updated. Perhaps smcv will
fix that later.
IkiWiki/Plugin/inline.pm
debian/changelog