From: Luke Williams Date: Mon, 9 Mar 2009 14:39:24 +0000 (+0900) Subject: initial commit X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=b0eab39de75269ff7bb6d80951b1d4fab1219bb2;p=ucc-www.git initial commit --- b0eab39de75269ff7bb6d80951b1d4fab1219bb2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b84c806 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/.ikiwiki +/recentchanges diff --git a/index.mdwn b/index.mdwn new file mode 100644 index 0000000..0ed82ad --- /dev/null +++ b/index.mdwn @@ -0,0 +1,23 @@ +Welcome to your new wiki. + +Some bits of information: + +* Raw site files are currently in /services/http-iki/ +* The site is rendered to /services/http/ver2/ +* Configuration is in /etc/ikiwiki/site.conf +* Run "sudo /etc/ikiwiki/update_site" to push out configuration changes and manual updates to code in /services/http-iki/. +* The script is necessary to fix file ownerships (we want files in the published site to be owned by http:www-data, not the user who ran the updater). + +To set up RCS: + +* /services/http-iki/ will become ikiwiki's checkout/working directory, so once RCS is configured this directory should be left well alone and perhaps even moved out of harm's way. +* To create the git repo, run "ikiwiki-makerepo git /services/http-iki/ $REPO_LOCATION" ($REPO_LOCATION will be created) +* If it's anything like SVN, this will check-in the current contents of /services/http-iki/ into the newly created repo and /services/http-iki/ will become ikiwiki's working directory for git. +* You'll have to edit /etc/ikiwiki/site.conf in the git section to get ikiwiki to start using it. +* Read http://ikiwiki.info/rcs/git/ + +All wikis are supposed to have a [[SandBox]], so this one does too. + +---- + +This wiki is powered by [ikiwiki](http://ikiwiki.info/). diff --git a/templates/aggregatepost.tmpl b/templates/aggregatepost.tmpl new file mode 100644 index 0000000..8b89367 --- /dev/null +++ b/templates/aggregatepost.tmpl @@ -0,0 +1,15 @@ + + +[[!tag ]] + + +[[!meta title=""]] + + +[[!meta permalink=""]] + + +[[!meta copyright=""]] + +[[!meta author=""]] +[[!meta authorurl=""]] diff --git a/templates/archivepage.tmpl b/templates/archivepage.tmpl new file mode 100644 index 0000000..6bc789d --- /dev/null +++ b/templates/archivepage.tmpl @@ -0,0 +1,7 @@ +

+
+ +Posted + + +

diff --git a/templates/atomitem.tmpl b/templates/atomitem.tmpl new file mode 100644 index 0000000..768695a --- /dev/null +++ b/templates/atomitem.tmpl @@ -0,0 +1,48 @@ + + <TMPL_VAR TITLE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + " type="text/html" /> + + + " type="application/atom+xml" /> + + diff --git a/templates/atompage.tmpl b/templates/atompage.tmpl new file mode 100644 index 0000000..dcb89ab --- /dev/null +++ b/templates/atompage.tmpl @@ -0,0 +1,39 @@ + + + +<TMPL_VAR TITLE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +ikiwiki + + + diff --git a/templates/autoindex.tmpl b/templates/autoindex.tmpl new file mode 100644 index 0000000..d5ec3b8 --- /dev/null +++ b/templates/autoindex.tmpl @@ -0,0 +1 @@ +[[!map pages="/* and ! /*/*"]] diff --git a/templates/blogpost.tmpl b/templates/blogpost.tmpl new file mode 100644 index 0000000..7eeede6 --- /dev/null +++ b/templates/blogpost.tmpl @@ -0,0 +1,16 @@ +
+
+ +RSS + + +Atom + + + + + + + +
+
diff --git a/templates/change.tmpl b/templates/change.tmpl new file mode 100644 index 0000000..0e61a80 --- /dev/null +++ b/templates/change.tmpl @@ -0,0 +1,46 @@ +[[!meta author=""""""]] + +[[!meta authorurl=""""""]] + +[[!meta title="""change to on """]] + +[[!meta permalink=""]] + + +
+ + +
+
+
+
+ +
+
+
+
+
+
+ diff --git a/templates/comment.tmpl b/templates/comment.tmpl new file mode 100644 index 0000000..1b9064e --- /dev/null +++ b/templates/comment.tmpl @@ -0,0 +1,59 @@ +
+ +
+ + + + + +
+ +
+ +
+ +
+Comment by + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +— +
+ + +
+ +
+
+ +
diff --git a/templates/commentmoderation.tmpl b/templates/commentmoderation.tmpl new file mode 100644 index 0000000..e91d314 --- /dev/null +++ b/templates/commentmoderation.tmpl @@ -0,0 +1,29 @@ + +
+
+ + + +Reject +all comments marked Defer +
+ +
+
+ +
+Defer +Accept +Reject +
+
+
+ +Reject +all comments marked Defer +
+ +

+No comments need moderation at this time. +

+
diff --git a/templates/editcomment.tmpl b/templates/editcomment.tmpl new file mode 100644 index 0000000..7590cdf --- /dev/null +++ b/templates/editcomment.tmpl @@ -0,0 +1,30 @@ +
+ + + + + + + +Name: (optional)
+Website: (optional)
+
+
+Subject:
+
+
+IkiWiki directives ([[!directive]]) are not allowed in comments on this wiki.
+ + + + +
+
+Comment preview: +
+
+ +
+
+ +
diff --git a/templates/editconflict.tmpl b/templates/editconflict.tmpl new file mode 100644 index 0000000..1252033 --- /dev/null +++ b/templates/editconflict.tmpl @@ -0,0 +1,7 @@ +

+Your changes conflict with other changes made to the page. +

+

+Conflict markers have been inserted into the page content. Reconcile the +conflict and commit again to save your changes. +

diff --git a/templates/editcreationconflict.tmpl b/templates/editcreationconflict.tmpl new file mode 100644 index 0000000..c99102f --- /dev/null +++ b/templates/editcreationconflict.tmpl @@ -0,0 +1,9 @@ +

+While you were creating this page, someone else independently created a page +with the same name. +

+

+The edit box below contains the page's current content, followed by the +content you entered previously, to allow you to merge the two +together before saving. +

diff --git a/templates/editfailedsave.tmpl b/templates/editfailedsave.tmpl new file mode 100644 index 0000000..5184f7d --- /dev/null +++ b/templates/editfailedsave.tmpl @@ -0,0 +1,10 @@ +

+Failed to save your changes. +

+

+Your changes were not able to be saved to disk. The system gave the error: +

+ +
+Your changes are preserved below, and you can try again to save them. +

diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl new file mode 100644 index 0000000..b1cf015 --- /dev/null +++ b/templates/editpage.tmpl @@ -0,0 +1,50 @@ +
+ + + + + + + + + +Page location: +Page type: + +
+ + +
+
+ +Optional comment about this change:
+
+
+ + + +Attachments +
+ + + + + + + + +
+
+
+ + + + +
+
+Page preview: +
+
+ +
+
diff --git a/templates/editpagegone.tmpl b/templates/editpagegone.tmpl new file mode 100644 index 0000000..2eed03a --- /dev/null +++ b/templates/editpagegone.tmpl @@ -0,0 +1,7 @@ +

+The page you were editing has disappeared. +

+

+Perhaps someone else has deleted it or moved it. If you want to recreate +this page with your text, click "Save Page" again. +

diff --git a/templates/feedlink.tmpl b/templates/feedlink.tmpl new file mode 100644 index 0000000..2963156 --- /dev/null +++ b/templates/feedlink.tmpl @@ -0,0 +1,8 @@ + diff --git a/templates/googleform.tmpl b/templates/googleform.tmpl new file mode 100644 index 0000000..e2d4a1f --- /dev/null +++ b/templates/googleform.tmpl @@ -0,0 +1,6 @@ +
+
+ + +
+
diff --git a/templates/inlinepage.tmpl b/templates/inlinepage.tmpl new file mode 100644 index 0000000..3c0b933 --- /dev/null +++ b/templates/inlinepage.tmpl @@ -0,0 +1,74 @@ +
+ +
+ + + + + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ + +Posted + + + + +Tags: + + + + + + + + + + + +
+License: +
+
+ + +
+
    + +
  • Edit
  • +
    + +
  • + + +
  • +
    +
    +
+
+
+ +
+ +
diff --git a/templates/misc.tmpl b/templates/misc.tmpl new file mode 100644 index 0000000..0de56ed --- /dev/null +++ b/templates/misc.tmpl @@ -0,0 +1,37 @@ + + + + + + + + + +<TMPL_VAR TITLE> + + + + + + + + + + +
+ +
+ + + + + diff --git a/templates/page.tmpl b/templates/page.tmpl new file mode 100644 index 0000000..29ba688 --- /dev/null +++ b/templates/page.tmpl @@ -0,0 +1,143 @@ + + + + +<TMPL_VAR TITLE> + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + + +
Comments on this page are closed.
+
+
+
+ + + + + diff --git a/templates/passwordmail.tmpl b/templates/passwordmail.tmpl new file mode 100644 index 0000000..aa8a68c --- /dev/null +++ b/templates/passwordmail.tmpl @@ -0,0 +1,15 @@ +Someone[1], possibly you, requested that the password for + on [2] be reset. + +To change your password, visit the following url, and enter a new password: + + + +This url can only be used once to change your password, and it will also +stop working the next time you successfully log in. + +-- +ikiwiki + +[1] Their IP address was +[2] Located at diff --git a/templates/recentchanges.tmpl b/templates/recentchanges.tmpl new file mode 100644 index 0000000..340a157 --- /dev/null +++ b/templates/recentchanges.tmpl @@ -0,0 +1,7 @@ + +
+ + + +
+
diff --git a/templates/renamesummary.tmpl b/templates/renamesummary.tmpl new file mode 100644 index 0000000..60f81b3 --- /dev/null +++ b/templates/renamesummary.tmpl @@ -0,0 +1,26 @@ + +

+Failed to rename to : + +

+ +

+Successfully renamed to . +

+

+ +The following pages have been automatically modified to update their links to : +

    +
  • +
+
+ + +The following pages still link to : +
    +
  • +
+
+
+

+ diff --git a/templates/rssitem.tmpl b/templates/rssitem.tmpl new file mode 100644 index 0000000..a61b92b --- /dev/null +++ b/templates/rssitem.tmpl @@ -0,0 +1,29 @@ + + + <TMPL_VAR AUTHOR ESCAPE=HTML>: <TMPL_VAR TITLE> + + + <TMPL_VAR TITLE> + + + + + + + + + + + + + + + + + + + + + + + diff --git a/templates/rsspage.tmpl b/templates/rsspage.tmpl new file mode 100644 index 0000000..e54094a --- /dev/null +++ b/templates/rsspage.tmpl @@ -0,0 +1,11 @@ + + + +<TMPL_VAR TITLE> + + + + + diff --git a/templates/searchform.tmpl b/templates/searchform.tmpl new file mode 100644 index 0000000..afae2eb --- /dev/null +++ b/templates/searchform.tmpl @@ -0,0 +1,5 @@ +
+
+ +
+
diff --git a/templates/searchquery.tmpl b/templates/searchquery.tmpl new file mode 100644 index 0000000..782b12c --- /dev/null +++ b/templates/searchquery.tmpl @@ -0,0 +1,112 @@ +$setmap{prefix,title,S} +$setmap{prefix,link,XLINK} +$set{thousand,$.}$set{decimal,.}$setmap{BN,,Any Country,uk,England,fr,France} +${ +$def{PREV, +$if{$ne{$topdoc,0},, +} +} + +$def{NEXT, +$if{$ne{$last,$msize},, +} +} + +$def{P,} +$def{PAGE,$if{$gt{$1,9},$if{$gt{$1,99},$P{$1,$div{$1,100}}}$P{$1,$mod{$div{$1,10},10}}}$P{$1,$mod{$1,10}}} + +$def{S,$1} +$def{SPAGE,$if{$gt{$1,9},$if{$gt{$1,99},$S{$1,$div{$1,100}}}$S{$1,$mod{$div{$1,10},10}}}$S{$1,$mod{$1,10}}} +} + +$def{PREV,$if{$ne{$topdoc,0},}} + +$def{PAGE,} + +$def{SPAGE,} + +$def{NEXT,$if{$ne{$last,$msize},}} + +

+ +

+
+ + +$env{HELPLINK} +
+ +$or{$html{$error}, +$if{$eq{$msize,0}, +$if{$query,No documents match your query, +
Searching $nice{$dbsize} documents +}, +$if{$not{$msizeexact}, + $nice{$add{$topdoc,1}}-$nice{$last} of about $nice{$msize} matches, + $if{$and{$eq{$last,$msize},$eq{$topdoc,0}}, + All $nice{$msize} matches, + $nice{$add{$topdoc,1}}$if{$ne{$add{$topdoc,1},$last},-$nice{$last}} of exactly $nice{$msize} matches} +} +
+
+$list{$map{$queryterms,$list{$html{$uniq{$unstem{$_}}},,/,}: $nice{$freq{$_}}},Term frequencies: ,$. ,} +
Search took $time seconds + +$hitlist{ +} +
+${$percentage%} +
+
+
+
+ +Modified:
$html{$date{$field{modtime},%Y-%m-%d}}

+$if{$field{language},Language: $html{$field{language}}
} +$if{$field{size},Size: $html{$filesize{$field{size}}}
} +
+
$html{$or{$field{caption},$field{title},$field{url},Untitled}}
+$highlight{$field{sample},$terms}$if{$field{sample},...}
+ +$percentage% relevant$. matching: +$list{$map{$terms,$html{$prettyterm{$_}}},$. , and }${for lynx:}

+ +
+ +${suppress next, prev, and page links if there's only one page} +$if{$ne{$lastpage,1}, +$set{a,$if{$opt{pagelink_height}, HEIGHT=$opt{pagelink_height}}$if{$opt{pagelink_width}, WIDTH=$opt{pagelink_width}}} + +${1-W ... X-(this)-Y ...} +$set{w,$min{3,$add{$thispage,-1}}} +$set{x,$max{$add{$opt{w},1},$add{$thispage,-3}}} +$set{y,$min{$lastpage,$add{$thispage,8}}} +$PREV +$map{$range{1,$opt{w}},$PAGE{$_}} +$if{$ne{$add{$opt{w},1},$opt{x}},...} +$map{$range{$opt{x},$add{$thispage,-1}},$PAGE{$_}} +$SPAGE{$thispage} +$map{$range{$add{$thispage,1},$opt{y}},$PAGE{$_}} +$if{$ne{$opt{y},$lastpage},...} +$NEXT +} +}} +

+$if{$dbname,} +$if{$ne{$topdoc,0},} +$if{$ne{$hitsperpage,10},} +$if{$fmt,} +$if{$cgi{COLLAPSE},} +$if{$queryterms,} + + +$list{$relevants,} +$if{$cgi{THRESHOLD},} +
+
diff --git a/templates/titlepage.tmpl b/templates/titlepage.tmpl new file mode 100644 index 0000000..f5cd5bc --- /dev/null +++ b/templates/titlepage.tmpl @@ -0,0 +1 @@ +