Jon Dowland [Mon, 26 Mar 2012 15:03:35 +0000 (16:03 +0100)]
add plugin tag type/comments and tag some pages.
I did this because I was looking for a summary/overview of the
various comment plugins that exist and couldn't already find
one. I've tried to tag plugins that are mostly for use with
comments, which is a bit of a wide net and people may draw the
line in different places to myself.
Joey Hess [Thu, 22 Mar 2012 17:06:08 +0000 (13:06 -0400)]
remove debug message
A file may have no git sha1 if it's in the underlay, or just is not checked
into git. This debug message doesn't add any value and is potentially
confusing.
Joey Hess [Wed, 21 Mar 2012 19:47:34 +0000 (15:47 -0400)]
inline: When the pagenames list includes pages that do not exist, skip them.
bestlink returns '' if no existing page matches a link. This propigated
through inline and other plugins, causing uninitialized value warnings, and
in some cases (when filecheck was enabled) making the whole directive fail.
Skipping the empty results fixes that, but this is papering over another
problem: If the missing page is later added, there is not dependency
information to know that the inline needs to be updated. Perhaps smcv will
fix that later.
Simon McVittie [Mon, 19 Mar 2012 09:49:31 +0000 (09:49 +0000)]
Use utime to make initial files in trail test come from the past
This ensures that when we do the second phase of the test (edit some
files and refresh), the changes get a different mtime and are picked up,
even if the entire test happened between two 1-second "clock ticks".
Joey Hess [Sun, 18 Mar 2012 22:02:03 +0000 (18:02 -0400)]
remove fullscreen option
The cgi shows a fullscreen map, so having this other option to do it seems
redundant, and also layering a fullscreen map over an existing wiki page
doesn't look very good to me (and prevents editing the page etc).
Joey Hess [Sun, 18 Mar 2012 21:39:06 +0000 (17:39 -0400)]
fix href parameter for osm
This was not set anywhere, which causes their javascript to crash.
It *seems* the idea is this is the url to use to view the map full screen,
which uses ikiwiki.cgi.
Joey Hess [Sun, 18 Mar 2012 21:07:01 +0000 (17:07 -0400)]
multiple osm fixes
* fix will_render calls to pass proper relative filenames
* fix urls to kml etc files to not assume wiki's top is at /
* avoid building the javascript to display the map in two different
ways between the cgi and on-page maps
* refactor duplicate code
Joey Hess [Tue, 13 Mar 2012 21:35:06 +0000 (17:35 -0400)]
various fixes to links
Build links the right way.
This also involved dropping that leading slash on the osm_default_icon.
And since it would require changing the old osm_tag_icons too,
I just removed that relic.