From f237ea1b9a78bb85f26cbbead34e734e3f3fb198 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sat, 25 Jul 2009 19:55:22 +0100 Subject: [PATCH] Add [[!template id=gitbranch]] for things available from git, and use it The uses are somewhat biased towards my own branches, because I know where to find them and what they do :-) but I've tagged some other people's as well. --- doc/plugins/contrib/album.mdwn | 1 + doc/plugins/contrib/trail.mdwn | 1 + doc/templates/gitbranch.mdwn | 18 ++++++++++++++++++ doc/todo/Gallery.mdwn | 2 ++ doc/todo/allow_site-wide_meta_definitions.mdwn | 1 + doc/todo/backlinks_result_is_lossy.mdwn | 1 + doc/todo/inline_postform_autotitles.mdwn | 1 + .../pagestats_among_a_subset_of_pages.mdwn | 1 + doc/todo/should_optimise_pagespecs.mdwn | 2 ++ 9 files changed, 28 insertions(+) create mode 100644 doc/templates/gitbranch.mdwn diff --git a/doc/plugins/contrib/album.mdwn b/doc/plugins/contrib/album.mdwn index 94d5789d7..f550ca64c 100644 --- a/doc/plugins/contrib/album.mdwn +++ b/doc/plugins/contrib/album.mdwn @@ -1,4 +1,5 @@ [[!template id=plugin name=album author="[[Simon_McVittie|smcv]]"]] +[[!template id=gitbranch branch=smcv/album author="[[Simon_McVittie|smcv]]"]] [[!tag type/chrome]] Available from [[smcv]]'s git repository, in the `album` branch diff --git a/doc/plugins/contrib/trail.mdwn b/doc/plugins/contrib/trail.mdwn index d8dc02f47..52dea52d6 100644 --- a/doc/plugins/contrib/trail.mdwn +++ b/doc/plugins/contrib/trail.mdwn @@ -1,4 +1,5 @@ [[!tag type/chrome patch]] +[[!template id=gitbranch branch=smcv/trail author="[[smcv]]"]] Available from [[smcv]]'s git repository, in the `trail` branch. This plugin aims to solve [[todo/wikitrails]] in a simpler way. diff --git a/doc/templates/gitbranch.mdwn b/doc/templates/gitbranch.mdwn new file mode 100644 index 000000000..fcce925d9 --- /dev/null +++ b/doc/templates/gitbranch.mdwn @@ -0,0 +1,18 @@ + +Available in a [[!taglink /git]] repository.
+Branch:
+Author:
+
+ +This template is used to create an infobox for a git branch. It uses +these parameters: + + + +It also automatically tags the branch with `/git`. + diff --git a/doc/todo/Gallery.mdwn b/doc/todo/Gallery.mdwn index bc1d5bea4..f41980333 100644 --- a/doc/todo/Gallery.mdwn +++ b/doc/todo/Gallery.mdwn @@ -1,3 +1,5 @@ +[[!template id=gitbranch branch=origin/gallery author="[[arpitjain]]"]] + New Version of gallery is available now. Few more features have been added like support for multiple pages, sorting and resizing of images etc. Gallery repo is now available at diff --git a/doc/todo/allow_site-wide_meta_definitions.mdwn b/doc/todo/allow_site-wide_meta_definitions.mdwn index 492a8d747..70ccc2b68 100644 --- a/doc/todo/allow_site-wide_meta_definitions.mdwn +++ b/doc/todo/allow_site-wide_meta_definitions.mdwn @@ -1,4 +1,5 @@ [[!tag plugins/meta patch]] +[[!template id=gitbranch branch=jon/defaultmeta author="[[Jon]]"]] I'd like to define [[plugins/meta]] values to apply across all pages site-wide unless the pages define their own: default values for meta diff --git a/doc/todo/backlinks_result_is_lossy.mdwn b/doc/todo/backlinks_result_is_lossy.mdwn index 7b64a4f2c..7306b1546 100644 --- a/doc/todo/backlinks_result_is_lossy.mdwn +++ b/doc/todo/backlinks_result_is_lossy.mdwn @@ -1,4 +1,5 @@ [[!tag patch patch/core]] +[[!template id=gitbranch branch=smcv/among author="[[smcv]]"]] IkiWiki::backlinks returns a form of $backlinks{$page} that has undergone a lossy transformation (to get it in the form that page templates want), making diff --git a/doc/todo/inline_postform_autotitles.mdwn b/doc/todo/inline_postform_autotitles.mdwn index b3366f60e..bdafd0b90 100644 --- a/doc/todo/inline_postform_autotitles.mdwn +++ b/doc/todo/inline_postform_autotitles.mdwn @@ -1,4 +1,5 @@ [[!tag wishlist patch plugins/inline]] +[[!template id=gitbranch branch=chrysn/patches author="[[chrysn]]"]] for postforms in inlines of pages which follow a certain scheme, it might not be required to set the title for each individual post, but to automatically set diff --git a/doc/todo/pagestats_among_a_subset_of_pages.mdwn b/doc/todo/pagestats_among_a_subset_of_pages.mdwn index 1c1656b4e..099d26665 100644 --- a/doc/todo/pagestats_among_a_subset_of_pages.mdwn +++ b/doc/todo/pagestats_among_a_subset_of_pages.mdwn @@ -1,4 +1,5 @@ [[!tag patch plugins/pagestats]] +[[!template id=gitbranch branch=smcv/among author="[[smcv]]"]] My `among` branch fixes [[todo/backlinks_result_is_lossy]], then uses that to provide pagestats for links from a subset of pages. From the docs included diff --git a/doc/todo/should_optimise_pagespecs.mdwn b/doc/todo/should_optimise_pagespecs.mdwn index 61458d972..ebe0b5055 100644 --- a/doc/todo/should_optimise_pagespecs.mdwn +++ b/doc/todo/should_optimise_pagespecs.mdwn @@ -79,6 +79,8 @@ I can think about reducung the size of my wiki source and making it available on > > --[[Joey]] +[[!template id=gitbranch branch=smcv/optimize-depends author="[[smcv]]"]] + >> I've been looking at optimizing ikiwiki for a site using >> [[plugins/contrib/album]] (which produces a lot of pages) and it seems >> that checking which pages depend on which pages does take a significant -- 2.26.2