Gabriel McManus [Mon, 7 Jul 2008 11:33:01 +0000 (21:33 +1000)]
img: only provide alt text if it was specified
if suitable alternate text is unknown, then it should not be given.
empty alt text is suitable mainly for purely decorative images.
(cherry picked from commit 3cd7f67f0cf894f4fd5ba16f68e82e4f7bdbfdc5)
Joey Hess [Tue, 20 Jan 2009 21:30:59 +0000 (16:30 -0500)]
add human-readable error when unknown pagespec function is called
It used to replace unknown functions with "0" when translating a pagespec.
Instead, replace it with a FailReason object. This way, the pagespec will
still evaluate as before (possibly successfully if other terminals exist),
but a human-readable error will be shown if the result is displayed.
Also, an empty pagespec used to be replaced with "0", to avoid a eval
error. Also use a FailReason here.
Simon McVittie [Sun, 18 Jan 2009 16:27:43 +0000 (16:27 +0000)]
Add meta field "updated", which can alter the <updated> Atom element
Some aggregators, like Planet, sort by mtime rather than ctime. This
means that posts with modified content come to the top (which seems odd
to me, but is presumably what the aggregator's author or operator
wants), but it also means that posts with insignificant edits (like
adding tags) come to the top too. Atom defines <updated> to be the date
of the last *significant* change, so it's fine that ikiwiki defaults to
using the mtime, but it would be good to have a way for the author to
say "that edit was insignificant, don't use that mtime".
Joey Hess [Sun, 18 Jan 2009 19:52:49 +0000 (14:52 -0500)]
Avoid feeding decoded unicode to Term::ReadLine
That resulted in double encoded display when using perl's stub
readline module. Apparently that module unconditionally upgrades
text to utf8, in a quite braindead way.
Joey Hess [Sat, 17 Jan 2009 18:39:53 +0000 (13:39 -0500)]
use short names in comittype
Use mtn for monontone and hg for mercurial. The long names cause ugly
formatting in recentchanges, which has CSS that only allows a few
characters for the commit type column.
Joey Hess [Mon, 12 Jan 2009 22:16:01 +0000 (17:16 -0500)]
rewrote
This rewritten setup page starts with auto.setup and explains
basic customisation and use after that has set up a wiki. It's much easier
to follow than the old method, with less things to learn. (Downside: Less
it learned.)
Joey Hess [Sun, 11 Jan 2009 19:27:27 +0000 (14:27 -0500)]
pinger: Get whole url, don't just head.
Asking for only the head worked in my tests, but I've found a site where it
didn't -- apparently ikiwiki didn't get a chance to do or finish the
refresh when HEADed. Getting the whole url, waiting for ikiwiki to finish,
avoided the update problem.
Joey Hess [Sat, 10 Jan 2009 19:36:03 +0000 (14:36 -0500)]
Consistently allow use of relative paths in all PageSpecs that take a page name parameter. Previously, match_created_before(), match_created_after(), match_sourcepage(), and match_destpage() did not support that, and the docs were not clear.
Joey Hess [Sat, 10 Jan 2009 00:28:43 +0000 (19:28 -0500)]
remove questions
ikiwiki has some pretty distinct fingerprints even when it's used
in unusual ways on sites that don't make it obvious it's being used:
* tova: a) rss and atom feed buttons
b) use of toc plugin on some pages
c) usual page.tmpl droppings
d) (I know the tova guys :)
* awesome: a) usual page.tmpl droppings
b) ikiwiki/ page and rest of basewiki pages exist
* UK software patents: used to use ikiwiki based on similar
fingerprints, but not now. Removed
Joey Hess [Wed, 7 Jan 2009 20:48:07 +0000 (15:48 -0500)]
repolist: New plugin to support the rel=vcs-* microformat.
* repolist: New plugin to support the rel=vcs-* microformat.
* goodstuff: Include repolist by default. (But it does nothing until
configured with the repository locations.)