aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-04-21 20:15:11 -0400
committerJoey Hess <joey@kitenet.net>2010-04-21 20:15:11 -0400
commit129cd00bdb03e32df8645b12138cb4c79952775e (patch)
tree3593f99780592c1ec9081d57972ccf5287dcf95a /IkiWiki/Plugin
parent77779dc4a09a9b686935e8e615cf2502f7125bb4 (diff)
downloadikiwiki-129cd00bdb03e32df8645b12138cb4c79952775e.tar
ikiwiki-129cd00bdb03e32df8645b12138cb4c79952775e.tar.gz
remove broken ./tag support
The commit that added the (working) support for using /tag to override tagbase also tried to make ./tag work. Problem is, tags are links, and ./foo is not a valid link (though I think there's a wishlist about it). So, using ./tag really resulted in tag creation links that led to a "bad page name" error. And even if the tag were created in the right place, the link didn't go to it.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/tag.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/tag.pm b/IkiWiki/Plugin/tag.pm
index 62e0cc3b8..8ec08e936 100644
--- a/IkiWiki/Plugin/tag.pm
+++ b/IkiWiki/Plugin/tag.pm
@@ -39,7 +39,7 @@ sub getsetup () {
sub tagpage ($) {
my $tag=shift;
- if ($tag !~ m{^\.?/} &&
+ if ($tag !~ m{^/} &&
defined $config{tagbase}) {
$tag="/".$config{tagbase}."/".$tag;
$tag=~y#/#/#s; # squash dups