* 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.
master
joey 2007-10-13 23:08:38 +00:00
parent 27299788e8
commit 2d9ee11006
3 changed files with 11 additions and 2 deletions

View File

@ -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),

5
debian/changelog vendored
View File

@ -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

View File

@ -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]]