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.
master
Simon McVittie 2009-07-25 19:55:22 +01:00
parent 18a58135fc
commit f237ea1b9a
9 changed files with 28 additions and 0 deletions

View File

@ -1,4 +1,5 @@
[[!template id=plugin name=album author="[[Simon_McVittie|smcv]]"]] [[!template id=plugin name=album author="[[Simon_McVittie|smcv]]"]]
[[!template id=gitbranch branch=smcv/album author="[[Simon_McVittie|smcv]]"]]
[[!tag type/chrome]] [[!tag type/chrome]]
Available from [[smcv]]'s git repository, in the `album` branch Available from [[smcv]]'s git repository, in the `album` branch

View File

@ -1,4 +1,5 @@
[[!tag type/chrome patch]] [[!tag type/chrome patch]]
[[!template id=gitbranch branch=smcv/trail author="[[smcv]]"]]
Available from [[smcv]]'s git repository, in the `trail` branch. This Available from [[smcv]]'s git repository, in the `trail` branch. This
plugin aims to solve [[todo/wikitrails]] in a simpler way. plugin aims to solve [[todo/wikitrails]] in a simpler way.

18
doc/templates/gitbranch.mdwn vendored 100644
View File

@ -0,0 +1,18 @@
<span class="infobox">
Available in a [[!taglink /git]] repository.<br />
Branch: <TMPL_VAR branch><br />
Author: <TMPL_VAR author><br />
</span>
<TMPL_UNLESS NAME="branch">
This template is used to create an infobox for a git branch. It uses
these parameters:
<ul>
<li>branch - the name of the branch, prefixed with the name of one of the
remotes listed on the [[/git]] page and provided by the gitremotes script
(e.g. github/master)</li>
<li>author - the author of the branch</li>
</ul>
It also automatically tags the branch with `/git`.
</TMPL_UNLESS>

View File

@ -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. 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 <http://github.com/joeyh/ikiwiki/tree/gallery> Gallery repo is now available at <http://github.com/joeyh/ikiwiki/tree/gallery>

View File

@ -1,4 +1,5 @@
[[!tag plugins/meta patch]] [[!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 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 site-wide unless the pages define their own: default values for meta

View File

@ -1,4 +1,5 @@
[[!tag patch patch/core]] [[!tag patch patch/core]]
[[!template id=gitbranch branch=smcv/among author="[[smcv]]"]]
IkiWiki::backlinks returns a form of $backlinks{$page} that has undergone a 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 lossy transformation (to get it in the form that page templates want), making

View File

@ -1,4 +1,5 @@
[[!tag wishlist patch plugins/inline]] [[!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 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 be required to set the title for each individual post, but to automatically set

View File

@ -1,4 +1,5 @@
[[!tag patch plugins/pagestats]] [[!tag patch plugins/pagestats]]
[[!template id=gitbranch branch=smcv/among author="[[smcv]]"]]
My `among` branch fixes [[todo/backlinks_result_is_lossy]], then uses that 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 to provide pagestats for links from a subset of pages. From the docs included

View File

@ -79,6 +79,8 @@ I can think about reducung the size of my wiki source and making it available on
> >
> --[[Joey]] > --[[Joey]]
[[!template id=gitbranch branch=smcv/optimize-depends author="[[smcv]]"]]
>> I've been looking at optimizing ikiwiki for a site using >> I've been looking at optimizing ikiwiki for a site using
>> [[plugins/contrib/album]] (which produces a lot of pages) and it seems >> [[plugins/contrib/album]] (which produces a lot of pages) and it seems
>> that checking which pages depend on which pages does take a significant >> that checking which pages depend on which pages does take a significant