simplify example
authorJoey Hess <joey@kitenet.net>
Tue, 18 May 2010 17:36:51 +0000 (13:36 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 18 May 2010 17:36:51 +0000 (13:36 -0400)
I've seen user(http://*) confuse someone who didn't know pagespecs to think
that just http://* would moderate all comments to every page, or something
like that.

IkiWiki/Plugin/moderatedcomments.pm

index b0a328a06dffb040f2d6af4a5ba71f2b1a76f6b1..ff2c2b160a0bded7228384470b2be27f302d9cdd 100644 (file)
@@ -19,7 +19,7 @@ sub getsetup () {
                },
                moderate_pagespec => {
                        type => 'pagespec',
-                       example => 'user(http://*)',
+                       example => '*',
                        description => 'PageSpec matching users or comment locations to moderate',
                        link => 'ikiwiki/PageSpec',
                        safe => 1,