summaryrefslogtreecommitdiff
path: root/doc/ikiwiki/directive/img.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-01-20 16:30:59 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-01-20 16:35:18 -0500
commitb4bbddbf3e3d8f188f161098166fb4a27207ad2b (patch)
tree736e7252ce59c726439f669ed4bc49733b1069f9 /doc/ikiwiki/directive/img.mdwn
parentafc1f1d63f76bfcfea51ed4c6107d68566c3876e (diff)
add human-readable error when unknown pagespec function is called
It used to replace unknown functions with "0" when translating a pagespec. Instead, replace it with a FailReason object. This way, the pagespec will still evaluate as before (possibly successfully if other terminals exist), but a human-readable error will be shown if the result is displayed. Also, an empty pagespec used to be replaced with "0", to avoid a eval error. Also use a FailReason here.
Diffstat (limited to 'doc/ikiwiki/directive/img.mdwn')
0 files changed, 0 insertions, 0 deletions