* meta: Drop support for "meta link", since supporting this for internal

* map: Don't inline images.
master
Joey Hess 2007-12-16 16:00:13 -05:00
parent 96817b0032
commit 9459cc55ab
3 changed files with 11 additions and 4 deletions

View File

@ -97,7 +97,9 @@ sub preprocess (@) { #{{{
$dummy=1; $dummy=1;
$p.="/".shift(@bits); $p.="/".shift(@bits);
$map .= "<li>" $map .= "<li>"
.htmllink($params{page}, $params{destpage}, $p, class => "mapparent") .htmllink($params{page}, $params{destpage},
$p, class => "mapparent",
noimageinline => 1)
."\n"; ."\n";
$openli=1; $openli=1;
} }
@ -108,7 +110,8 @@ sub preprocess (@) { #{{{
$map .= "</li>\n" if $openli; $map .= "</li>\n" if $openli;
$map .= "<li>" $map .= "<li>"
.htmllink($params{page}, $params{destpage}, .htmllink($params{page}, $params{destpage},
"/".$common_prefix."/".$item, class => "mapitem") "/".$common_prefix."/".$item,
class => "mapitem", noimageinline => 1)
."\n"; ."\n";
$openli=1; $openli=1;
$parent=$item; $parent=$item;

1
debian/changelog vendored
View File

@ -52,6 +52,7 @@ ikiwiki (2.16) UNRELEASED; urgency=low
stored data before preprocessing, this hack was ugly, and broken (cf: stored data before preprocessing, this hack was ugly, and broken (cf:
liw's disappearing openids). liw's disappearing openids).
* aggregate: Convert filter hook to a needsbuild hook. * aggregate: Convert filter hook to a needsbuild hook.
* map: Don't inline images.
-- Joey Hess <joeyh@debian.org> Mon, 03 Dec 2007 14:47:36 -0500 -- Joey Hess <joeyh@debian.org> Mon, 03 Dec 2007 14:47:36 -0500

View File

@ -3,3 +3,6 @@ A bug in the plugin [[/plugins/map]]: It displays images inline.
When I tried, it displayed the one image I have in my small wiki inline in the map. ideally it should link to it, just like it links to pages. [example at my site][uw]. Note that I normally keep images outside, but this time I thought, why not have it all at the same place? (Images are also contextual content (fits to its subpage))--ulrik When I tried, it displayed the one image I have in my small wiki inline in the map. ideally it should link to it, just like it links to pages. [example at my site][uw]. Note that I normally keep images outside, but this time I thought, why not have it all at the same place? (Images are also contextual content (fits to its subpage))--ulrik
[uw]: http://www.student.lu.se/~cif04usv/wiki/sitemap.html [uw]: http://www.student.lu.se/~cif04usv/wiki/sitemap.html
> [[done]] (hope noone was relying on the map inlining their images..)
> --[[Joey]]