* 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
parent
27299788e8
commit
2d9ee11006
|
@ -563,7 +563,7 @@ sub htmllink ($$$;@) { #{{{
|
||||||
|
|
||||||
if (! $destsources{$bestlink}) {
|
if (! $destsources{$bestlink}) {
|
||||||
return $linktext unless length $config{cgiurl};
|
return $linktext unless length $config{cgiurl};
|
||||||
return "<span><a href=\"".
|
return "<span class=\"createlink\"><a href=\"".
|
||||||
cgiurl(
|
cgiurl(
|
||||||
do => "create",
|
do => "create",
|
||||||
page => pagetitle(lc($link), 1),
|
page => pagetitle(lc($link), 1),
|
||||||
|
|
|
@ -14,8 +14,11 @@ ikiwiki (2.10) UNRELEASED; urgency=low
|
||||||
* Fix strange stderr-hiding code in the git module, allow error messages
|
* 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
|
to be passed on to stderr. Also fixes a potential bug, since git error
|
||||||
meesages were treated as if they came from git stdout.
|
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
|
ikiwiki (2.9) unstable; urgency=low
|
||||||
|
|
||||||
|
|
|
@ -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)
|
>>> see this [thread](http://six.pairlist.net/pipermail/markdown-discuss/2006-August/000152.html)
|
||||||
>>> --[[Roktas]]
|
>>> --[[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
|
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
|
that refer to non-existent pages, in Ikiwiki.pm:htmllink, so that such
|
||||||
broken links can be styled more dramatically with CSS. --Jamey
|
broken links can be styled more dramatically with CSS. --Jamey
|
||||||
|
|
||||||
|
> added --[[Joey]]
|
||||||
|
|
Loading…
Reference in New Issue