Commit Graph

12678 Commits (97b0c6e455f9edb99d9bd5145a8e82549ed54694)

Author SHA1 Message Date
Joey Hess 97b0c6e455 Fix removal of rendered files in rebuild mode.
Needed to handle the move of the .js files into ikiwiki/, but also this is
a longstanding bug.

Old pagemtime is not remembered in rebuild mode, and changing that would
need a lot of changes. So instead, loop on pagectime, which is remembered.

Change to remembering old pagesources info in rebuild mode. This seems safe
enough.
2010-04-26 17:14:03 -04:00
Joey Hess a6bd053638 remove manual file remove instructions
Since that was written, ikiwiki got fixed to track old rendered files
across --rebuild and remove them.
2010-04-26 16:31:00 -04:00
Joey Hess fc0c43aa75 fix missing \ 2010-04-26 15:51:20 -04:00
Joey Hess a17e6ed463 Minor, seemingly harmless tweaks to misc.tmpl
Whenever the DIV tag structure of page.tmpl has been changed, the DIV
tag structure of misc.tmpl must also change to reflect this, or else
any page which uses misc.tmpl will not look right.  My intent is to
make ease parallel maintenance of these two files by eliminating
trivial/accidental difference between the two, so that duplicated
regions can be more readily identified (perhaps even mechanically).

(cherry-picked from commit 075980f94996e8f67d9632ae95b8bf41fdf09afa, but
without the changes to comments in page.tmpl)
2010-04-26 13:53:39 -04:00
Joey Hess 06d5a19370 document match_guid 2010-04-26 13:47:40 -04:00
Joey Hess 7f3047f67c added match_guid function to meta plugin
(cherry picked from commit 8b6fde73669ddf9204acb3d334c3984566f3c59d)

Conflicts:

	IkiWiki/Plugin/meta.pm
2010-04-26 13:47:01 -04:00
Joey Hess 0689f2dbc5 add blipvert 2010-04-26 13:43:24 -04:00
Joey Hess d4a1d88dbe Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info 2010-04-26 13:41:22 -04:00
http://jmtd.livejournal.com/ d3c994d980 fix indent 2010-04-26 15:29:04 +00:00
http://jmtd.livejournal.com/ 76e8e4ea83 insert table of common namespaces 2010-04-26 15:24:50 +00:00
http://jmtd.livejournal.com/ 60481cad90 move list of namespaces to its own section 2010-04-26 15:19:04 +00:00
http://jmtd.livejournal.com/ 86484c109d table name for querying the mediawiki mysql db 2010-04-26 15:14:08 +00:00
Joey Hess 506075695f typo 2010-04-25 14:16:53 -04:00
http://id.ertugkaramatli.com/ f49b9e7411 added my personal site 2010-04-25 13:25:59 +00:00
Joey Hess 5afda33672 wording 2010-04-24 21:39:03 -04:00
Joey Hess ca9c17db57 reword templatedir description 2010-04-24 21:38:22 -04:00
Joey Hess e05c9653ef rebuild on template removal 2010-04-24 21:13:53 -04:00
Joey Hess a1575b0c83 bugfixes 2010-04-24 20:41:35 -04:00
Joey Hess c6a473b8ee update 2010-04-24 20:30:05 -04:00
Joey Hess ca9c6cc254 add support for mass dependencies
Registered by passing "" as page name to add_depends.
2010-04-24 20:22:20 -04:00
Joey Hess 0d8fc55d33 bugfix 2010-04-24 19:50:23 -04:00
Joey Hess 4321b30139 Merge branch 'master' into templatemove 2010-04-24 16:46:30 -04:00
Joey Hess cce3042457 po: fix some uninitalized value warnings when used by websetup 2010-04-24 16:44:45 -04:00
Joey Hess c2656f08f3 template() - return params in list context
I forgot CGI::Formbuilder's horrible interface that needs template
parameters instead of a constructed object.
2010-04-24 16:15:47 -04:00
Joey Hess 7099978b72 bugfix 2010-04-24 16:00:18 -04:00
Joey Hess a95d824cb4 update 2010-04-24 01:39:39 -04:00
Joey Hess df012e54c7 chomp template values
Before the template reorg, this was done by a template filter.
2010-04-24 01:13:58 -04:00
Joey Hess c0b2334815 reword, reorg, add example 2010-04-24 01:13:37 -04:00
Joey Hess 998f47ed13 Merge branch 'master' into templatemove 2010-04-24 00:55:09 -04:00
Joey Hess e90d67d3c9 Moved javascript files under the ikiwiki/ directory, to avoid cluttering the top of the web root. This is another things that requires a wiki rebuild on upgrade to this version. 2010-04-24 00:54:59 -04:00
Joey Hess 39d4bfde6b Merge branch 'master' into templatemove 2010-04-24 00:47:54 -04:00
Joey Hess b28323e76a fix caps 2010-04-24 00:47:46 -04:00
Joey Hess 8a56df576a Merge branch 'master' into templatemove 2010-04-24 00:46:17 -04:00
Joey Hess be3d754320 remove paragraph about old style directives, it's been long enough 2010-04-24 00:45:54 -04:00
Joey Hess a46e178932 add link to templates page 2010-04-24 00:43:45 -04:00
Joey Hess 05517a5426 wording 2010-04-24 00:41:52 -04:00
Joey Hess 9976abe63c typo 2010-04-23 17:43:29 -04:00
Joey Hess 5fc6e56eb8 changelog/NEWS update for template changes 2010-04-23 17:41:24 -04:00
Joey Hess 1473bf84c5 update re template change 2010-04-23 17:38:37 -04:00
Joey Hess 33b0a69e90 improve attachment example 2010-04-23 17:36:07 -04:00
Joey Hess 9b112cc986 add test case to ensure all templates are documented 2010-04-23 17:23:31 -04:00
Joey Hess 6c64ce0336 update news for template change 2010-04-23 17:01:22 -04:00
Joey Hess e8a23c299e Merge branch 'master' into templatemove 2010-04-23 16:48:53 -04:00
Joey Hess d5c5fef363 update 2010-04-23 16:48:37 -04:00
Joey Hess 7bba522545 Merge branch 'master' into templatemove
Conflicts:
	doc/templates.mdwn
2010-04-23 16:43:44 -04:00
Joey Hess 6486452e4c special case for page.tmpl dependency handling
Rather than wasting resources recording that every page depends on
page.tmpl, add a special case. The special case curretly rebuilds non-page
files too when page.tmpl changes, but that's minor.
2010-04-23 16:41:07 -04:00
Joey Hess 8d72e3dc09 add myclean 2010-04-23 16:40:42 -04:00
Joey Hess 96c9c8aa92 fix return of tpage 2010-04-23 16:20:02 -04:00
Joey Hess 7e79da7633 template docu reorg
Remove wikitemplates page; fold its contents into templates page.
Update all backlinks. Document new ability to put templates inside srcdir.
2010-04-23 16:14:33 -04:00
Joey Hess d822e37d0e move template documentation to the template directive
allow new templates to be created via the inline that lists them
(cherry picked from commit 83703d2f4a)
2010-04-23 15:33:32 -04:00