diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-04-27 17:01:52 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-04-27 17:01:52 +0000 |
commit | ed54f94ee7824e6e0a7fc8ed9e411a3646514856 (patch) | |
tree | 70afd677ec9f57a565912d225fdc199253a997dd /doc | |
parent | 97f9de14ba75403c371c5ebece2c3190d3815154 (diff) |
minor improvements
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins/testpagespec.mdwn | 6 | ||||
-rw-r--r-- | doc/todo/fileupload.mdwn | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/doc/plugins/testpagespec.mdwn b/doc/plugins/testpagespec.mdwn index c5155129d..3d35d70ad 100644 --- a/doc/plugins/testpagespec.mdwn +++ b/doc/plugins/testpagespec.mdwn @@ -13,10 +13,10 @@ highlighting which part of the [[PageSpec]] is causing the match to fail. \[[testpagespec pagespec="foopage or !bar*" match="barpage"]] -This will print out something like "no match: bar* matches barpage", since the part -of the [[PageSpec]] that fails is this negated match. +This will print out something like "no match: bar* matches barpage", since +the part of the [[PageSpec]] that fails is this negated match. \[[testpagespec pagespec="foopage or barpage" match="barpage"]] This will print out something like "match: barpage matches barpage", -indicating the part of the [[PageSpec]] that did match. +indicating the part of the [[PageSpec]] that caused it to match. diff --git a/doc/todo/fileupload.mdwn b/doc/todo/fileupload.mdwn index 3a8bd2c19..1962d6b40 100644 --- a/doc/todo/fileupload.mdwn +++ b/doc/todo/fileupload.mdwn @@ -54,4 +54,10 @@ That would obsolete the current simple admin prefs for banned users and locked pages. Suddenly all the access controls live in one place. Wonderbar! +(Note that pagespec_match will now return an object that stringifies to a +message indicating why the pagespec matched, or failed to match, so if a +pagespec lock like the above prevents an edit or upload from happening, +ikiwiki could display a reasonable message to the user, indicating what +they've done wrong.) + [[tag soc]] |