diff options
author | Joey Hess <joey@kitenet.net> | 2013-07-08 11:49:38 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-07-08 11:49:38 -0400 |
commit | 533793ee462552dd0b782a69e2cfe48c8f93dedc (patch) | |
tree | 2502390f3fe2d30d227a990ac098d0195ff2dc24 /doc/ikiwiki | |
parent | 9eea60f0cbd2a25f06adae1636d41a4936c3e8a2 (diff) | |
download | ikiwiki-533793ee462552dd0b782a69e2cfe48c8f93dedc.tar ikiwiki-533793ee462552dd0b782a69e2cfe48c8f93dedc.tar.gz |
The ip() pagespec can now contain glob characters to match eg, a subnet full of spammers.
Diffstat (limited to 'doc/ikiwiki')
-rw-r--r-- | doc/ikiwiki/pagespec.mdwn | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/ikiwiki/pagespec.mdwn b/doc/ikiwiki/pagespec.mdwn index fe1af4c15..0f298ad78 100644 --- a/doc/ikiwiki/pagespec.mdwn +++ b/doc/ikiwiki/pagespec.mdwn @@ -51,7 +51,8 @@ Some more elaborate limits can be added to what matches using these functions: * "`admin()`" - tests whether a modification is being made by one of the wiki admins. * "`ip(address)`" - tests whether a modification is being made from the - specified IP address. + specified IP address. Glob patterns can be used in the address. For + example, `ip(127.0.0.*)` * "`comment(glob)`" - matches comments to a page matching the glob. * "`comment_pending(glob)`" - matches unmoderated, pending comments. * "`postcomment(glob)`" - matches only when comments are being |