summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-10-13 23:08:38 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-10-13 23:08:38 +0000
commit2d9ee110063a7422a1bcfb97e14de2823c7a4733 (patch)
tree3f8c33b606e90ca3936b736e69b35d6b9fb950f5
parent27299788e8fdc97c7fc1ad112f4610b1bdbaa3a6 (diff)
* Add a "createlink" class attribute to the span for wikilinks pointing
to not-yet-existing pages. I don't have a useful style defined for that though.
-rw-r--r--IkiWiki.pm2
-rw-r--r--debian/changelog5
-rw-r--r--doc/todo/more_class__61____34____34___for_css.mdwn6
3 files changed, 11 insertions, 2 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm
index 7a189cc8b..5ae360ad0 100644
--- a/IkiWiki.pm
+++ b/IkiWiki.pm
@@ -563,7 +563,7 @@ sub htmllink ($$$;@) { #{{{
if (! $destsources{$bestlink}) {
return $linktext unless length $config{cgiurl};
- return "<span><a href=\"".
+ return "<span class=\"createlink\"><a href=\"".
cgiurl(
do => "create",
page => pagetitle(lc($link), 1),
diff --git a/debian/changelog b/debian/changelog
index 0b3b79d3f..760fc46f2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,8 +14,11 @@ ikiwiki (2.10) UNRELEASED; urgency=low
* Fix strange stderr-hiding code in the git module, allow error messages
to be passed on to stderr. Also fixes a potential bug, since git error
meesages were treated as if they came from git stdout.
+ * Add a "createlink" class attribute to the span for wikilinks pointing
+ to not-yet-existing pages. I don't have a useful style defined for that
+ though.
- -- Joey Hess <joeyh@debian.org> Wed, 10 Oct 2007 19:23:40 -0400
+ -- Joey Hess <joeyh@debian.org> Sat, 13 Oct 2007 19:05:42 -0400
ikiwiki (2.9) unstable; urgency=low
diff --git a/doc/todo/more_class__61____34____34___for_css.mdwn b/doc/todo/more_class__61____34____34___for_css.mdwn
index 8f0dd4609..ea914e9ed 100644
--- a/doc/todo/more_class__61____34____34___for_css.mdwn
+++ b/doc/todo/more_class__61____34____34___for_css.mdwn
@@ -60,6 +60,12 @@ added after an inlined page (namely: the post date, the tags, and the actions):
>>> see this [thread](http://six.pairlist.net/pipermail/markdown-discuss/2006-August/000152.html)
>>> --[[Roktas]]
+>>>> 1.0.2b7 is slower, but ok, and parses much better. I'm waiting for it
+>>>> to at least get into debian testing before I make ikiwiki depend on it
+>>>> though. --[[Joey]]
+
I'd like a class attribute on the `<span>` tag surrounding wikilinks
that refer to non-existent pages, in Ikiwiki.pm:htmllink, so that such
broken links can be styled more dramatically with CSS. --Jamey
+
+> added --[[Joey]]