From df4566af59ba8e453d12f27784bbcd4082cfc666 Mon Sep 17 00:00:00 2001 From: Arquivo Publico de Memoria Coletiva Date: Fri, 31 Jul 2015 23:38:38 -0300 Subject: Initial static site generation --- bin/post-update | 0 doc/index.html | 178 +++++++++++ favicon.ico | Bin 0 -> 371 bytes ikiwiki/directive/index.html | 186 +++++++++++ ikiwiki/formatting/index.html | 221 +++++++++++++ ikiwiki/ikiwiki.js | 54 ++++ ikiwiki/index.html | 138 ++++++++ ikiwiki/markdown/index.html | 136 ++++++++ ikiwiki/openid/index.html | 142 +++++++++ ikiwiki/pagespec/attachment/index.html | 153 +++++++++ ikiwiki/pagespec/index.html | 226 +++++++++++++ ikiwiki/pagespec/po/index.html | 140 ++++++++ ikiwiki/pagespec/sorting/index.html | 138 ++++++++ ikiwiki/relativedate.js | 75 +++++ ikiwiki/searching/index.html | 143 +++++++++ ikiwiki/subpage/index.html | 141 +++++++++ ikiwiki/subpage/linkingrules/index.html | 160 ++++++++++ ikiwiki/toggle.js | 29 ++ ikiwiki/wikilink/index.html | 164 ++++++++++ index.html | 154 +++++++++ index.rss | 91 ++++++ local.css | 3 + sandbox/index.html | 162 ++++++++++ shortcuts/index.html | 213 +++++++++++++ smileys/alert.png | Bin 0 -> 220 bytes smileys/angry.png | Bin 0 -> 295 bytes smileys/attention.png | Bin 0 -> 164 bytes smileys/biggrin.png | Bin 0 -> 173 bytes smileys/checkmark.png | Bin 0 -> 133 bytes smileys/devil.png | Bin 0 -> 354 bytes smileys/frown.png | Bin 0 -> 168 bytes smileys/icon-error.png | Bin 0 -> 397 bytes smileys/icon-info.png | Bin 0 -> 171 bytes smileys/idea.png | Bin 0 -> 372 bytes smileys/index.html | 181 +++++++++++ smileys/neutral.png | Bin 0 -> 239 bytes smileys/ohwell.png | Bin 0 -> 167 bytes smileys/prio1.png | Bin 0 -> 153 bytes smileys/prio2.png | Bin 0 -> 158 bytes smileys/prio3.png | Bin 0 -> 153 bytes smileys/question.png | Bin 0 -> 302 bytes smileys/redface.png | Bin 0 -> 306 bytes smileys/sad.png | Bin 0 -> 182 bytes smileys/smile.png | Bin 0 -> 356 bytes smileys/smile2.png | Bin 0 -> 334 bytes smileys/smile3.png | Bin 0 -> 326 bytes smileys/smile4.png | Bin 0 -> 275 bytes smileys/star_off.png | Bin 0 -> 297 bytes smileys/star_on.png | Bin 0 -> 370 bytes smileys/thumbs-up.png | Bin 0 -> 118 bytes smileys/tired.png | Bin 0 -> 157 bytes smileys/tongue.png | Bin 0 -> 176 bytes style.css | 543 ++++++++++++++++++++++++++++++++ templates/index.html | 214 +++++++++++++ templates/note/index.html | 132 ++++++++ templates/popup/index.html | 135 ++++++++ wikiicons/diff.png | Bin 0 -> 219 bytes wikiicons/openidlogin-bg.gif | Bin 0 -> 336 bytes wikiicons/revert.png | Bin 0 -> 397 bytes wikiicons/search-bg.gif | Bin 0 -> 74 bytes 60 files changed, 4252 insertions(+) mode change 100755 => 100644 bin/post-update create mode 100644 doc/index.html create mode 100644 favicon.ico create mode 100644 ikiwiki/directive/index.html create mode 100644 ikiwiki/formatting/index.html create mode 100644 ikiwiki/ikiwiki.js create mode 100644 ikiwiki/index.html create mode 100644 ikiwiki/markdown/index.html create mode 100644 ikiwiki/openid/index.html create mode 100644 ikiwiki/pagespec/attachment/index.html create mode 100644 ikiwiki/pagespec/index.html create mode 100644 ikiwiki/pagespec/po/index.html create mode 100644 ikiwiki/pagespec/sorting/index.html create mode 100644 ikiwiki/relativedate.js create mode 100644 ikiwiki/searching/index.html create mode 100644 ikiwiki/subpage/index.html create mode 100644 ikiwiki/subpage/linkingrules/index.html create mode 100644 ikiwiki/toggle.js create mode 100644 ikiwiki/wikilink/index.html create mode 100644 index.html create mode 100644 index.rss create mode 100644 local.css create mode 100644 sandbox/index.html create mode 100644 shortcuts/index.html create mode 100644 smileys/alert.png create mode 100644 smileys/angry.png create mode 100644 smileys/attention.png create mode 100644 smileys/biggrin.png create mode 100644 smileys/checkmark.png create mode 100644 smileys/devil.png create mode 100644 smileys/frown.png create mode 100644 smileys/icon-error.png create mode 100644 smileys/icon-info.png create mode 100644 smileys/idea.png create mode 100644 smileys/index.html create mode 100644 smileys/neutral.png create mode 100644 smileys/ohwell.png create mode 100644 smileys/prio1.png create mode 100644 smileys/prio2.png create mode 100644 smileys/prio3.png create mode 100644 smileys/question.png create mode 100644 smileys/redface.png create mode 100644 smileys/sad.png create mode 100644 smileys/smile.png create mode 100644 smileys/smile2.png create mode 100644 smileys/smile3.png create mode 100644 smileys/smile4.png create mode 100644 smileys/star_off.png create mode 100644 smileys/star_on.png create mode 100644 smileys/thumbs-up.png create mode 100644 smileys/tired.png create mode 100644 smileys/tongue.png create mode 100644 style.css create mode 100644 templates/index.html create mode 100644 templates/note/index.html create mode 100644 templates/popup/index.html create mode 100644 wikiicons/diff.png create mode 100644 wikiicons/openidlogin-bg.gif create mode 100644 wikiicons/revert.png create mode 100644 wikiicons/search-bg.gif diff --git a/bin/post-update b/bin/post-update old mode 100755 new mode 100644 diff --git a/doc/index.html b/doc/index.html new file mode 100644 index 00000000000..6d5d4965c54 --- /dev/null +++ b/doc/index.html @@ -0,0 +1,178 @@ + + + + + + + +Documentação + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Sex 31 Jul 2015 23:25:50 BRT +

+ + + +

Compilando a documentação

+ +

Esta documentação é mantida usando um compilador de sítios estáticos. Para compilá-la, use

+ +
make web
+
+ +

Criando o sistema

+ +

O sistema foi criado usando esta dica e usando este post-update hook.

+ +

Atualização automática

+ +

Conteúdos baixados de outros sites pode ser automaticamente incluídos no git-annex diariamente através de um cronjob como o seguinte:

+ +
30 6 * * * cd /var/cache/sites/arquivo && /usr/bin/git annex add . && /usr/bin/git annex sync &> /dev/null
+
+ +

Ou de acordo com um git-annex watch.

+ +

Obtendo uma cópia

+ +

Usando git:

+ +
git clone https://arquivo.sarava.org/.git arquivo
+
+ +

Usando rsync:

+ +
rsync -avz rsync://arquivo.sarava.org/arquivo/ arquivo/
+
+ +

Usando httrack:

+ +
httrack http://arquivo.sarava.org/
+
+ +

Restaurando o espelho principal

+ +

No caso de alguma falha, proceda a partir de uma das cópias:

+ +
git clone --bare arquivo arquivo.git # um repositório bare é copiado mais rapidamente
+rsync -avz -e 'ssh -p PORTA' arquivo.git/ arquivo@SERVIDOR:/var/cache/sites/arquivo.git
+
+ +

Já nos servidor remoto:

+ +
cd /var/cache/sites
+git clone arquivo.git arquivo && rm -rf arquivo.git
+chown -R arquivo. arquivo
+cd arquivo && git annex init SERVIDOR
+
+ +

A partir deste ponto você já pode adicionar usar o repositório normalmente.

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 00000000000..b55eba2800d Binary files /dev/null and b/favicon.ico differ diff --git a/ikiwiki/directive/index.html b/ikiwiki/directive/index.html new file mode 100644 index 00000000000..70818256885 --- /dev/null +++ b/ikiwiki/directive/index.html @@ -0,0 +1,186 @@ + + + + + + + +directive + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Sex 13 Mai 2011 13:06:00 BRT +

+

Directives are similar to a WikiLink in form, except they +begin with ! and may contain parameters. The general form is:

+ +
[[!directive  param="value" param="value"]]
+
+ +

This gets expanded before the rest of the page is processed, and can be used +to transform the page in various ways.

+ +

The quotes around values can be omitted if the value is a simple word. +Also, some directives may use parameters without values, for example:

+ +
[[!tag  foo]]
+
+ +

A directive does not need to all be on one line, it can be +wrapped to multiple lines if you like:

+ +
[[!directive  foo="baldersnatch"
+bar="supercalifragilisticexpialidocious" baz=11]]
+
+ +

Also, multiple lines of quoted text can be used for a value. +To allow quote marks inside the quoted text, delimit the block +of text with triple-double-quotes or triple-single-quotes:

+ +
[[!directive  text="""
+1. "foo"
+2. "bar"
+3. "baz"
+""" othertext='''
+1. 'quux'
+2. "foo"
+''']]
+
+ +

If you want to put text with triple quotes into a parameter value, you can +use perl-style here-doc syntax, even nesting it like this:

+ +
[[!directive  text=<<OUTER
+[[!otherdirective <<INNER
+inner text
+INNER]]
+outer text
+OUTER]]
+
+ +

ikiwiki also has an older syntax for directives, which requires a space in +directives to distinguish them from wikilinks. This +syntax has several disadvantages: it requires a space after directives with +no parameters (such as [[pagecount ]]), and it prohibits spaces in +wikilinks. ikiwiki now provides the !-prefixed +syntax shown above as default. However, ikiwiki still supports wikis using +the older syntax, if the prefix_directives option is disabled.

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/ikiwiki/formatting/index.html b/ikiwiki/formatting/index.html new file mode 100644 index 00000000000..765a07dc450 --- /dev/null +++ b/ikiwiki/formatting/index.html @@ -0,0 +1,221 @@ + + + + + + + +Formatting wiki pages + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Qua 26 Ago 2009 14:05:29 BRT +

+

Text on this wiki is, by default, written in a form very close to how you +might write text for an email message. This style of text formatting is +called MarkDown, and it works like this:

+ +

Leave blank lines between paragraphs.

+ +

You can *emphasise* or **strongly emphasise** text by placing it +in single or double asterisks.

+ +

To create a list, start each line with an asterisk:

+ +
    +
  • "* this is my list"
  • +
  • "* another item"
  • +
+ + +

To make a numbered list, start each line with a number (any number will +do) followed by a period:

+ +
    +
  1. "1. first line"
  2. +
  3. "2. second line"
  4. +
  5. "2. third line"
  6. +
+ + +

To create a header, start a line with one or more # characters followed +by a space and the header text. The number of # characters controls the +size of the header:

+ +

# h1

+ +

## h2

+ +

### h3

+ +

#### h4

+ +
##### h5
+ +
###### h6
+ +

To create a horizontal rule, just write three or more dashes or stars on +their own line:

+ +
+ +

To quote someone, prefix the quote with ">":

+ +

To be or not to be, +that is the question.

+ +

To write a code block, indent each line with a tab or 4 spaces:

+ +
10 PRINT "Hello, world!"
+20 GOTO 10
+
+ +

To link to an url or email address, you can just put the +url in angle brackets: <http://ikiwiki.info>, or you can use the +form [link text](url)

+ +
+ +

In addition to basic html formatting using MarkDown, this wiki lets +you use the following additional features:

+ +
    +
  • To link to another page on the wiki, place the page's name inside double +square brackets. So you would use [[WikiLink]] to link to WikiLink.

  • +
  • Insert smileys and some other useful symbols. :-)

  • +
  • Use shortcuts to link to common resources.

    + +

    [[!wikipedia War_of_1812]]

  • +
  • Create and fill out templates for repeated chunks of +parameterized wiki text.

  • +
  • Insert various directives onto a page to perform useful +actions. +For example, you can:

    + +
      +
    • Add a table of contents to a page:

      + +

      [[!toc ]]

    • +
    • Change the title of a page:

      + +

      [[!meta title="full page title"]]

    • +
    • Create a blog by inlining a set of pages:

      + +

      [[!inline pages="blog/*"]]

    • +
    +
  • +
+ + +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/ikiwiki/ikiwiki.js b/ikiwiki/ikiwiki.js new file mode 100644 index 00000000000..aebc5cf7ed6 --- /dev/null +++ b/ikiwiki/ikiwiki.js @@ -0,0 +1,54 @@ +// ikiwiki's javascript utility function library + +var hooks; + +// Run onload as soon as the DOM is ready, if possible. +// gecko, opera 9 +if (document.addEventListener) { + document.addEventListener("DOMContentLoaded", run_hooks_onload, false); +} +// other browsers +window.onload = run_hooks_onload; + +var onload_done = 0; + +function run_hooks_onload() { + // avoid firing twice + if (onload_done) + return; + onload_done = true; + + run_hooks("onload"); +} + +function run_hooks(name) { + if (typeof(hooks) != "undefined") { + for (var i = 0; i < hooks.length; i++) { + if (hooks[i].name == name) { + hooks[i].call(); + } + } + } +} + +function hook(name, call) { + if (typeof(hooks) == "undefined") + hooks = new Array; + hooks.push({name: name, call: call}); +} + +function getElementsByClass(cls, node, tag) { + if (document.getElementsByClass) + return document.getElementsByClass(cls, node, tag); + if (! node) node = document; + if (! tag) tag = '*'; + var ret = new Array(); + var pattern = new RegExp("(^|\\s)"+cls+"(\\s|$)"); + var els = node.getElementsByTagName(tag); + for (i = 0; i < els.length; i++) { + if ( pattern.test(els[i].className) ) { + ret.push(els[i]); + } + } + return ret; +} diff --git a/ikiwiki/index.html b/ikiwiki/index.html new file mode 100644 index 00000000000..0e169276724 --- /dev/null +++ b/ikiwiki/index.html @@ -0,0 +1,138 @@ + + + + + + + +ikiwiki + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Sáb 24 Abr 2010 01:43:45 BRT +

+

This wiki is powered by ikiwiki.

+ +

Some documentation on using ikiwiki:

+ + + + +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/ikiwiki/markdown/index.html b/ikiwiki/markdown/index.html new file mode 100644 index 00000000000..4024c2d68e2 --- /dev/null +++ b/ikiwiki/markdown/index.html @@ -0,0 +1,136 @@ + + + + + + + +markdown + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Seg 10 Nov 2008 20:40:03 BRST +

+

Markdown +is a minimal markup language that resembles plain text as used in +email messages. It is the markup language used by this wiki by default.

+ +

For documentation about the markdown syntax, see formatting and +Markdown: syntax.

+ +

Note that WikiLinks and directives are not part +of the markdown syntax, and are the only bit of markup that this wiki +handles internally.

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/ikiwiki/openid/index.html b/ikiwiki/openid/index.html new file mode 100644 index 00000000000..051a84a1bf8 --- /dev/null +++ b/ikiwiki/openid/index.html @@ -0,0 +1,142 @@ + + + + + + + +OpenID + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Sex 07 Mai 2010 23:30:42 BRT +

+

This wiki has OpenID disabled.

+ +

OpenID is a decentralized authentication mechanism +that allows you to have one login that you can use on a growing number of +websites.

+ +

If you have an account with some of the larger web service providers, +you might already have an OpenID. +Directory of OpenID providers

+ +
+ +

It's also possible to make a page in the wiki usable as an OpenID url, +by delegating it to an openid server. Here's an example of how to do that:

+ +
[[!meta  openid="http://yourid.myopenid.com/"
+       server="http://www.myopenid.com/server"]]
+
+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/ikiwiki/pagespec/attachment/index.html b/ikiwiki/pagespec/attachment/index.html new file mode 100644 index 00000000000..1f835dbf12c --- /dev/null +++ b/ikiwiki/pagespec/attachment/index.html @@ -0,0 +1,153 @@ + + + + + + + +attachment + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Sex 23 Abr 2010 18:36:07 BRT +

+

This wiki has attachments disabled.

+ +

If attachments are enabled, the wiki admin can control what types of +attachments will be accepted, via the allowed_attachments +configuration setting.

+ +

For example, to limit most users to uploading small images, and nothing else, +while allowing larger mp3 files to be uploaded by joey into a specific +directory, and check all attachments for viruses, something like this could be +used:

+ +
virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or (mimetype(image/*) and maxsize(50kb)))
+
+ +

The regular PageSpec syntax is expanded with the following +additional tests:

+ +
    +
  • "maxsize(size)" - tests whether the attachment is no larger than the +specified size. The size defaults to being in bytes, but "kb", "mb", "gb" +etc can be used to specify the units.

  • +
  • "minsize(size)" - tests whether the attachment is no smaller than the +specified size.

  • +
  • "ispage()" - tests whether the attachment will be treated by ikiwiki as a +wiki page. (Ie, if it has an extension of ".mdwn", or of any other enabled +page format).

    + +

    So, if you don't want to allow wiki pages to be uploaded as attachments, +use !ispage() ; if you only want to allow wiki pages to be uploaded +as attachments, use ispage().

  • +
  • "mimetype(foo/bar)" - checks the MIME type of the attachment. You can +include a glob in the type, for example mimetype(image/*).

  • +
  • "virusfree()" - checks the attachment with an antiviral program.

  • +
+ + +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/ikiwiki/pagespec/index.html b/ikiwiki/pagespec/index.html new file mode 100644 index 00000000000..99f6cd60036 --- /dev/null +++ b/ikiwiki/pagespec/index.html @@ -0,0 +1,226 @@ + + + + + + + +pagespec + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Qua 20 Out 2010 20:53:50 BRST +

+

To select a set of pages, such as pages that are locked, pages +whose commit emails you want subscribe to, or pages to combine into a +blog, the wiki uses a PageSpec. This is an expression that matches +a set of pages.

+ +

The simplest PageSpec is a simple list of pages. For example, this matches +any of the three listed pages:

+ +
foo or bar or baz
+
+ +

More often you will want to match any pages that have a particular thing in +their name. You can do this using a glob pattern. "*" stands for any part +of a page name, and "?" for any single letter of a page name. So this +matches all pages about music, and any SubPages of the SandBox, but does +not match the SandBox itself:

+ +
*music* or SandBox/*
+
+ +

You can also prefix an item with "!" to skip pages that match it. So to +match all pages except for Discussion pages and the SandBox:

+ +
* and !SandBox and !*/Discussion
+
+ +

Some more elaborate limits can be added to what matches using these functions:

+ +
    +
  • "glob(someglob)" - matches pages and other files that match the given glob. +Just writing the glob by itself is actually a shorthand for this function.
  • +
  • "page(glob)" - like glob(), but only matches pages, not other files
  • +
  • "link(page)" - matches only pages that link to a given page (or glob)
  • +
  • "tagged(tag)" - matches pages that are tagged or link to the given tag (or +tags matched by a glob)
  • +
  • "backlink(page)" - matches only pages that a given page links to
  • +
  • "creation_month(month)" - matches only files created on the given month +number
  • +
  • "creation_day(mday)" - or day of the month
  • +
  • "creation_year(year)" - or year
  • +
  • "created_after(page)" - matches only files created after the given page +was created
  • +
  • "created_before(page)" - matches only files created before the given page +was created
  • +
  • "internal(glob)" - like glob(), but matches even internal-use +pages that globs do not usually match.
  • +
  • "title(glob)", "author(glob)", "authorurl(glob)", +"license(glob)", "copyright(glob)", "guid(glob)" + +
      +
    • match pages that have the given metadata, matching the specified glob.
    • +
    +
  • +
  • "user(username)" - tests whether a modification is being made by a +user with the specified username. If openid is enabled, an openid can also +be put here. Glob patterns can be used in the username. For example, +to match all openid users, use user(*://*)
  • +
  • "admin()" - tests whether a modification is being made by one of the +wiki admins.
  • +
  • "ip(address)" - tests whether a modification is being made from the +specified IP address.
  • +
  • "comment(glob)" - matches comments to a page matching the glob.
  • +
  • "comment_pending(glob)" - matches unmoderated, pending comments.
  • +
  • "postcomment(glob)" - matches only when comments are being +posted to a page matching the specified glob
  • +
+ + +

For example, to match all pages in a blog that link to the page about music +and were written in 2005:

+ +
blog/* and link(music) and creation_year(2005)
+
+ +

Note the use of "and" in the above example, that means that only pages that +match each of the three expressions match the whole. Use "and" when you +want to combine expression like that; "or" when it's enough for a page to +match one expression. Note that it doesn't make sense to say "index and +SandBox", since no page can match both expressions.

+ +

More complex expressions can also be created, by using parentheses for +grouping. For example, to match pages in a blog that are tagged with either +of two tags, use:

+ +
blog/* and (tagged(foo) or tagged(bar))
+
+ +

Note that page names in PageSpecs are matched against the absolute +filenames of the pages in the wiki, so a pagespec "foo" used on page +"a/b" will not match a page named "a/foo" or "a/b/foo". To match +relative to the directory of the page containing the pagespec, you can +use "./". For example, "./foo" on page "a/b" matches page "a/foo".

+ +

To indicate the name of the page the PageSpec is used in, you can +use a single dot. For example, link(.) matches all the pages +linking to the page containing the PageSpec.

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/ikiwiki/pagespec/po/index.html b/ikiwiki/pagespec/po/index.html new file mode 100644 index 00000000000..32810a5dcfc --- /dev/null +++ b/ikiwiki/pagespec/po/index.html @@ -0,0 +1,140 @@ + + + + + + + +po + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Seg 12 Jul 2010 16:42:30 BRT +

+

This wiki has po support disabled.

+ +

If the po plugin is enabled, the regular +PageSpec syntax is expanded with the following additional +tests that can be used to improve user navigation in a multi-lingual +wiki:

+ +
    +
  • "lang(LL)" - tests whether a page is written in the language +specified as a ISO639-1 (two-letter) language code.
  • +
  • "currentlang()" - tests whether a page is written in the same +language as the current page.
  • +
  • "needstranslation()" - tests whether a page needs translation +work. Only slave pages match this PageSpec. A minimum target +translation percentage can optionally be passed as an integer +parameter: "needstranslation(50)" matches only pages less than 50% +translated.
  • +
+ + +

Note that every non-po page is considered to be written in +po_master_language, as specified in ikiwiki.setup.

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/ikiwiki/pagespec/sorting/index.html b/ikiwiki/pagespec/sorting/index.html new file mode 100644 index 00000000000..9093b22cb72 --- /dev/null +++ b/ikiwiki/pagespec/sorting/index.html @@ -0,0 +1,138 @@ + + + + + + + +sorting + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Sáb 12 Nov 2011 14:02:20 BRST +

+

Some directives that use +PageSpecs allow +specifying the order that matching pages are shown in. The following sort +orders can be specified.

+ +
    +
  • age - List pages from the most recently created to the oldest.

  • +
  • mtime - List pages with the most recently modified first.

  • +
  • title - Order by title (page name), e.g. "z/a a/b a/c"

  • +
  • path - Order by page name including parents, e.g. "a/b a/c z/a"

  • +
  • meta(title) - Order according to the [[!meta title="foo" sortas="bar"]] +or [[!meta title="foo"]] directive, or the page name if no +full title was set. meta(author), meta(date), meta(updated), etc. +also work.

  • +
+ + +

In addition, you can combine several sort orders and/or reverse the order of +sorting, with a string like age -title (which would sort by age, then by +title in reverse order if two pages have the same age).

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/ikiwiki/relativedate.js b/ikiwiki/relativedate.js new file mode 100644 index 00000000000..2a270d627ab --- /dev/null +++ b/ikiwiki/relativedate.js @@ -0,0 +1,75 @@ +// Causes html elements in the 'relativedate' class to be displayed +// as relative dates. The date is parsed from the title attribute, or from +// the element content. + +var dateElements; + +hook("onload", getDates); + +function getDates() { + dateElements = getElementsByClass('relativedate'); + for (var i = 0; i < dateElements.length; i++) { + var elt = dateElements[i]; + var title = elt.attributes.title; + var d = new Date(title ? title.value : elt.innerHTML); + if (! isNaN(d)) { + dateElements[i].date=d; + elt.title=elt.innerHTML; + } + } + + showDates(); +} + +function showDates() { + for (var i = 0; i < dateElements.length; i++) { + var elt = dateElements[i]; + var d = elt.date; + if (! isNaN(d)) { + elt.innerHTML=relativeDate(d); + } + } + setTimeout(showDates,30000); // keep updating every 30s +} + +var timeUnits = [ + { unit: 'year', seconds: 60 * 60 * 24 * 364 }, + { unit: 'month', seconds: 60 * 60 * 24 * 30 }, + { unit: 'day', seconds: 60 * 60 * 24 }, + { unit: 'hour', seconds: 60 * 60 }, + { unit: 'minute', seconds: 60 }, +]; + +function relativeDate(date) { + var now = new Date(); + var offset = date.getTime() - now.getTime(); + var seconds = Math.round(Math.abs(offset) / 1000); + + // hack to avoid reading just in the future if there is a minor + // amount of clock slip + if (offset >= 0 && seconds < 30 * 60 * 60) { + return "just now"; + } + + var ret = ""; + var shown = 0; + for (i = 0; i < timeUnits.length; i++) { + if (seconds >= timeUnits[i].seconds) { + var num = Math.floor(seconds / timeUnits[i].seconds); + seconds -= num * timeUnits[i].seconds; + if (ret) + ret += "and "; + ret += num + " " + timeUnits[i].unit + (num > 1 ? "s" : "") + " "; + + if (++shown == 2) + break; + } + else if (shown) + break; + } + + if (! ret) + ret = "less than a minute " + + return ret + (offset < 0 ? "ago" : "from now"); +} diff --git a/ikiwiki/searching/index.html b/ikiwiki/searching/index.html new file mode 100644 index 00000000000..e9764701439 --- /dev/null +++ b/ikiwiki/searching/index.html @@ -0,0 +1,143 @@ + + + + + + + +searching + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Qua 26 Ago 2009 14:05:46 BRT +

+

This wiki has searching disabled.

+ +

If searching is enabled, you can enter search terms in the search field, +as you'd expect. There are a few special things you can do to construct +more powerful searches.

+ +
    +
  • To match a phrase, enclose it in double quotes.
  • +
  • AND can be used to search for documents containing two expressions.
  • +
  • OR can be used to search for documents containing either one of +two expressions.
  • +
  • Parentheses can be used to build up complicated search expressions. For +example, "(foo AND bar) OR (me AND you)"
  • +
  • Prefix a search term with "-" to avoid it from appearing in the results. +For example, "-discussion" will omit "discussion".
  • +
  • To search for a page with a given title, use "title:foo".
  • +
  • To search for pages that contain a "bar" link, use "link:bar".
  • +
+ + +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/ikiwiki/subpage/index.html b/ikiwiki/subpage/index.html new file mode 100644 index 00000000000..d372c836904 --- /dev/null +++ b/ikiwiki/subpage/index.html @@ -0,0 +1,141 @@ + + + + + + + +subpage + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Sáb 24 Abr 2010 01:55:09 BRT +

+

ikiwiki supports placing pages in a directory hierarchy. For example, +this page, SubPage has some related pages placed under it, like +LinkingRules. This is a useful way to add some order to your +wiki rather than just having a great big directory full of pages.

+ +

To add a SubPage, just make a subdirectory and put pages in it. For +example, this page is subpage.mdwn in this wiki's source, and there is also +a subpage subdirectory, which contains subpage/linkingrules.mdwn. Subpages +can be nested as deeply as you'd like.

+ +

Linking to and from a SubPage is explained in LinkingRules.

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/ikiwiki/subpage/linkingrules/index.html b/ikiwiki/subpage/linkingrules/index.html new file mode 100644 index 00000000000..8501c37e0b9 --- /dev/null +++ b/ikiwiki/subpage/linkingrules/index.html @@ -0,0 +1,160 @@ + + + + + + + +linkingrules + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Sáb 04 Out 2008 11:11:08 BRT +

+

To link to or from a SubPage, you can normally use a regular +WikiLink that does not contain the name of the parent directory of +the SubPage. Ikiwiki descends the directory hierarchy looking for a +page that matches your link.

+ +

For example, if FooBar/SubPage links to "OtherPage", ikiwiki will first +prefer pointing the link to FooBar/SubPage/OtherPage if it exists, next +to FooBar/OtherPage and finally to OtherPage in the root of the wiki.

+ +

Note that this means that if a link on FooBar/SomePage to "OtherPage" +currently links to OtherPage, in the root of the wiki, and FooBar/OtherPage +is created, the link will change to point to FooBar/OtherPage. On the +other hand, a link from BazBar to "OtherPage" would be unchanged by this +creation of a SubPage of FooBar.

+ +

You can also specify a link that contains a directory name, like +"FooBar/OtherPage" to more exactly specify what page to link to. This is +the only way to link to an unrelated SubPage.

+ +

You can use this to, for example, to link from BazBar to "FooBar/SubPage", +or from BazBar/SubPage to "FooBar/SubPage".

+ +

You can also use "/" at the start of a link, to specify exactly which page +to link to, when there are multiple pages with similar names and the link +goes to the wrong page by default. For example, linking from +"FooBar/SubPage" to "/OtherPage" will link to the "OtherPage" in the root +of the wiki, even if there is a "FooBar/OtherPage".

+ +

Also, if the wiki is configured with a userdir, you can link to pages +within the userdir without specifying a path to them. This is to allow for +easy linking to a user's page in the userdir, to sign a comment. These +links are checked for last of all.

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/ikiwiki/toggle.js b/ikiwiki/toggle.js new file mode 100644 index 00000000000..d190b737ae1 --- /dev/null +++ b/ikiwiki/toggle.js @@ -0,0 +1,29 @@ +// Uses CSS to hide toggleables, to avoid any flashing on page load. The +// CSS is only emitted after it tests that it's going to be able +// to show the toggleables. +if (document.getElementById && document.getElementsByTagName && document.createTextNode) { + document.write(''); + hook("onload", inittoggle); +} + +function inittoggle() { + var as = getElementsByClass('toggle'); + for (var i = 0; i < as.length; i++) { + var id = as[i].href.match(/#(\w.+)/)[1]; + if (document.getElementById(id).className == "toggleable") + document.getElementById(id).style.display="none"; + as[i].onclick = function() { + toggle(this); + return false; + } + } +} + +function toggle(s) { + var id = s.href.match(/#(\w.+)/)[1]; + style = document.getElementById(id).style; + if (style.display == "none") + style.display = "block"; + else + style.display = "none"; +} diff --git a/ikiwiki/wikilink/index.html b/ikiwiki/wikilink/index.html new file mode 100644 index 00000000000..a19bf9d4f01 --- /dev/null +++ b/ikiwiki/wikilink/index.html @@ -0,0 +1,164 @@ + + + + + + + +wikilink + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Qua 23 Jun 2010 15:23:09 BRT +

+

WikiLinks provide easy linking between pages of the wiki. To create a +WikiLink, just put the name of the page to link to in double brackets. +For example [[WikiLink]].

+ +

If you ever need to write something like [[WikiLink]] without creating a +wikilink, just prefix it with a \, like \[[WikiLink]].

+ +

There are some special LinkingRules that come into play when +linking between SubPages.

+ +

WikiLinks are matched with page names in a case-insensitive manner, so you +don't need to worry about getting the case the same, and can capitalise +links at the start of a sentence, and so on.

+ +

It's also possible to write a WikiLink that uses something other than the page +name as the link text. For example [[foo_bar|SandBox]] links to the SandBox +page, but the link will appear like this: foo bar.

+ +

To link to an anchor inside a page, you can use something like +[[WikiLink#foo]] .

+ +

If the file linked to by a WikiLink looks like an image, it will +be displayed inline on the page.

+ +
+ +

You can also put an url in a WikiLink, to link to an external page. +Email addresses can also be used to generate a mailto link.

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/index.html b/index.html new file mode 100644 index 00000000000..b640cdb4bd1 --- /dev/null +++ b/index.html @@ -0,0 +1,154 @@ + + + + + + + +Arquivo Público e Distribuído de Memória Coletiva + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ +

+

Uma tentativa de preservação e difusão da memória coletiva! Apenas conteúdo em copyleft ou uso justo é disponibilizado.

+ +

Funcionamento

+ +
    +
  • Este sistema utiliza o git-annex.
  • +
  • Por limitação de espaço e banda, nem todos os arquivos estão disponíveis online.
  • +
  • Se você achar um link quebrado de um arquivo que queira baixar, entre em contato que possivelmente o disponibilizaremos.
  • +
  • Se você possui algum arquivo que queira disponibilizar, entre em contato que avaliaremos a viabilidade.
  • +
  • Tor hidden service: http://qxkteke7sxucikv3.onion.
  • +
+ + +

Contato

+ +

Para entrar em contato, escreva para arquivo arroba sarava.org.

+ +

Conteúdo

+ +

Acesse aqui o conteúdo.

+ +

Documentação

+ + +

+ +Documentação
+ + +Posted Sex 31 Jul 2015 23:25:50 BRT + + +

+ + + + + +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/index.rss b/index.rss new file mode 100644 index 00000000000..e5045f69741 --- /dev/null +++ b/index.rss @@ -0,0 +1,91 @@ + + + +Arquivo Público e Distribuído de Memória Coletiva +https://arquivo.sarava.org/ +Arquivo Público de Memória Coletiva + + + Documentação + + + https://arquivo.sarava.org/doc/ + + https://arquivo.sarava.org/doc/ + + Fri, 31 Jul 2015 23:25:50 -0300 + 2015-08-01T02:34:24Z + + <ul> +<li>Rede de curadorias.</li> +<li>Formatos livres.</li> +<li>Future-proofing.</li> +<li>Facilitar a indexação.</li> +<li><a href="https://encontro.sarava.org/Principal/ConjuntoDePrincipiosEticos">Princípios dos grupos e mídias livres</a>.</li> +<li>Uma alternativa ao cloud computing e aos acervos corporativos.</li> +</ul> + + +<h2>Compilando a documentação</h2> + +<p>Esta documentação é mantida usando um <a href="https://rhatto.sarava.org/static/">compilador de sítios estáticos</a>. Para compilá-la, use</p> + +<pre><code>make web +</code></pre> + +<h2>Criando o sistema</h2> + +<p>O sistema foi criado usando <a href="http://git-annex.branchable.com/tips/setup_a_public_repository_on_a_web_site/">esta dica</a> e usando <a href="https://arquivo.sarava.org/bin/post-update">este post-update hook</a>.</p> + +<h2>Atualização automática</h2> + +<p>Conteúdos baixados de outros sites pode ser automaticamente incluídos no <code>git-annex</code> diariamente através de um <code>cronjob</code> como o seguinte:</p> + +<pre><code>30 6 * * * cd /var/cache/sites/arquivo &amp;&amp; /usr/bin/git annex add . &amp;&amp; /usr/bin/git annex sync &amp;&gt; /dev/null +</code></pre> + +<p>Ou de acordo com um <a href="http://git-annex.branchable.com/design/assistant/inotify/">git-annex watch</a>.</p> + +<h2>Obtendo uma cópia</h2> + +<p>Usando git:</p> + +<pre><code>git clone https://arquivo.sarava.org/.git arquivo +</code></pre> + +<p>Usando rsync:</p> + +<pre><code>rsync -avz rsync://arquivo.sarava.org/arquivo/ arquivo/ +</code></pre> + +<p>Usando httrack:</p> + +<pre><code>httrack http://arquivo.sarava.org/ +</code></pre> + +<h2>Restaurando o espelho principal</h2> + +<p>No caso de alguma falha, proceda a partir de uma das cópias:</p> + +<pre><code>git clone --bare arquivo arquivo.git # um repositório bare é copiado mais rapidamente +rsync -avz -e 'ssh -p PORTA' arquivo.git/ arquivo@SERVIDOR:/var/cache/sites/arquivo.git +</code></pre> + +<p>Já nos servidor remoto:</p> + +<pre><code>cd /var/cache/sites +git clone arquivo.git arquivo &amp;&amp; rm -rf arquivo.git +chown -R arquivo. arquivo +cd arquivo &amp;&amp; git annex init SERVIDOR +</code></pre> + +<p>A partir deste ponto você já pode adicionar usar o repositório normalmente.</p> + + + + + + + diff --git a/local.css b/local.css new file mode 100644 index 00000000000..a0dec8cfded --- /dev/null +++ b/local.css @@ -0,0 +1,3 @@ +/* ikiwiki local style sheet */ + +/* Add local styling here, instead of modifying style.css. */ diff --git a/sandbox/index.html b/sandbox/index.html new file mode 100644 index 00000000000..cbd34d687aa --- /dev/null +++ b/sandbox/index.html @@ -0,0 +1,162 @@ + + + + + + + +sandbox + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Ter 13 Mar 2012 14:08:53 BRT +

+

This is the SandBox, a page anyone can edit to learn how to use the wiki.

+ +
+ +

Here's a paragraph.

+ +

Here's another one with emphasised text.

+ +

Header

+ +

Subheader

+ +

This is a blockquote.

+ +

This is the first level of quoting.

+ +

This is nested blockquote.

+ +

Back to the first level.

+ +

Numbered list

+ +
    +
  1. First item.
  2. +
  3. Another.
  4. +
  5. And another..
  6. +
+ + +

Bulleted list

+ +
    +
  • item
  • +
  • item
  • +
+ + +

WikiLink

+ +

[[!calendar type="month" pages="blog/*"]]

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/shortcuts/index.html b/shortcuts/index.html new file mode 100644 index 00000000000..b31db0b3ef7 --- /dev/null +++ b/shortcuts/index.html @@ -0,0 +1,213 @@ + + + + + + + +shortcuts + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Sáb 03 Mar 2012 12:27:59 BRT +

+

This wiki has shortcuts enabled.

+ +

Some examples of using shortcuts include:

+ +
[[!google  foo]]
+[[!wikipedia  War_of_1812]]
+[[!debbug  12345]]
+Check the [[!cia  ikiwiki desc="CIA page for %s"]].
+
+ +

This page controls what shortcut links the wiki supports.

+ +
    +
  • shortcut google points to https://encrypted.google.com/search?q=%s
  • +
  • shortcut archive points to http://web.archive.org/*/%S
  • +
  • shortcut gmap points to https://maps.google.com/maps?q=%s
  • +
  • shortcut gmsg points to https://groups.google.com/groups?selm=%s
  • +
  • shortcut wikipedia points to https://en.wikipedia.org/wiki/%W
  • +
  • shortcut wikitravel points to https://wikitravel.org/en/%s
  • +
  • shortcut wiktionary points to https://en.wiktionary.org/wiki/%s
  • +
  • shortcut debbug points to http://bugs.debian.org/%S
  • +
  • shortcut deblist points to https://lists.debian.org/debian-%s
  • +
  • shortcut debpkg points to http://packages.debian.org/%s
  • +
  • shortcut debpkgsid points to http://packages.debian.org/sid/%s
  • +
  • shortcut debpts points to http://packages.qa.debian.org/%s
  • +
  • shortcut debmsg points to https://lists.debian.org/msgid-search/%s
  • +
  • shortcut debrt points to https://rt.debian.org/Ticket/Display.html?id=%s
  • +
  • shortcut debss points to http://snapshot.debian.org/package/%s/ + + +
  • +
  • shortcut debwiki points to https://wiki.debian.org/%s
  • +
  • shortcut fdobug points to https://bugs.freedesktop.org/show_bug.cgi?id=%s
  • +
  • shortcut fdolist points to http://lists.freedesktop.org/mailman/listinfo/%s
  • +
  • shortcut gnomebug points to https://bugzilla.gnome.org/show_bug.cgi?id=%s
  • +
  • shortcut linuxbug points to https://bugzilla.kernel.org/show_bug.cgi?id=%s
  • +
  • shortcut mozbug points to https://bugzilla.mozilla.org/show_bug.cgi?id=%s
  • +
  • shortcut gnulist points to https://lists.gnu.org/mailman/listinfo/%s
  • +
  • shortcut marcmsg points to http://marc.info/?i=%s
  • +
  • shortcut marclist points to http://marc.info/?l=%s
  • +
  • shortcut gmane points to http://dir.gmane.org/gmane.%s
  • +
  • shortcut gmanemsg points to http://mid.gmane.org/%s
  • +
  • shortcut cpan points to http://search.cpan.org/search?mode=dist&query=%s
  • +
  • shortcut ctan points to http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s
  • +
  • shortcut hoogle points to http://haskell.org/hoogle/?q=%s
  • +
  • shortcut iki points to http://ikiwiki.info/%S/
  • +
  • shortcut ljuser points to http://%s.livejournal.com/
  • +
  • shortcut rfc points to https://www.ietf.org/rfc/rfc%s.txt
  • +
  • shortcut c2 points to http://c2.com/cgi/wiki?%s
  • +
  • shortcut meatballwiki points to http://www.usemod.com/cgi-bin/mb.pl?%s
  • +
  • shortcut emacswiki points to http://www.emacswiki.org/cgi-bin/wiki/%s
  • +
  • shortcut haskellwiki points to http://haskell.org/haskellwiki/%s
  • +
  • shortcut dict points to http://www.dict.org/bin/Dict?Form=Dict1&Strategy=&Database=&Query=%s
  • +
  • shortcut imdb points to http://imdb.com/find?q=%s
  • +
  • shortcut gpg points to http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s
  • +
  • shortcut perldoc points to http://perldoc.perl.org/search.html?q=%s
  • +
  • shortcut whois points to http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain
  • +
  • shortcut cve points to https://cve.mitre.org/cgi-bin/cvename.cgi?name=%s
  • +
  • shortcut cia points to http://cia.vc/stats/project/%s
  • +
  • shortcut ciauser points to http://cia.vc/stats/user/%s
  • +
  • shortcut flickr points to https://secure.flickr.com/photos/%s
  • +
  • shortcut man points to http://linux.die.net/man/%s
  • +
  • shortcut ohloh points to https://www.ohloh.net/p/%s
  • +
  • shortcut cpanrt points to https://rt.cpan.org/Ticket/Display.html?id=%s
  • +
  • shortcut novellbug points to https://bugzilla.novell.com/show_bug.cgi?id=%s
  • +
  • shortcut ubupkg points to http://packages.ubuntu.com/%s
  • +
  • shortcut mozillazinekb points to http://kb.mozillazine.org/%s
  • +
  • shortcut freebsdwiki points to http://wiki.freebsd.org/%s
  • +
  • shortcut hackage points to http://hackage.haskell.org/package/%s
  • +
+ + +

To add a new shortcut, use the shortcut +directive. In the url, "%s" is replaced with the +text passed to the named shortcut, after url encoding +it, and '%S' is replaced with the raw, non-encoded text. +Additionally, %W is replaced with the text encoded just right for +Wikipedia. The optional desc parameter controls the description of +the link.

+ +

Remember that the name you give the shortcut will become a new +directive. Avoid using a name that conflicts +with an existing directive. These directives also accept a desc +parameter that will override the one provided at definition time.

+ +

If you come up with a shortcut that you think others might find useful, +consider contributing it to the shortcuts page on the ikiwiki +wiki, so that future versions of +ikiwiki will include your shortcut in the standard underlay.

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/smileys/alert.png b/smileys/alert.png new file mode 100644 index 00000000000..5bb87e33fa8 Binary files /dev/null and b/smileys/alert.png differ diff --git a/smileys/angry.png b/smileys/angry.png new file mode 100644 index 00000000000..05bc69f74a8 Binary files /dev/null and b/smileys/angry.png differ diff --git a/smileys/attention.png b/smileys/attention.png new file mode 100644 index 00000000000..7e064566d83 Binary files /dev/null and b/smileys/attention.png differ diff --git a/smileys/biggrin.png b/smileys/biggrin.png new file mode 100644 index 00000000000..f71b42c11ad Binary files /dev/null and b/smileys/biggrin.png differ diff --git a/smileys/checkmark.png b/smileys/checkmark.png new file mode 100644 index 00000000000..8869caa192b Binary files /dev/null and b/smileys/checkmark.png differ diff --git a/smileys/devil.png b/smileys/devil.png new file mode 100644 index 00000000000..8684c3970e5 Binary files /dev/null and b/smileys/devil.png differ diff --git a/smileys/frown.png b/smileys/frown.png new file mode 100644 index 00000000000..2999b55ea0a Binary files /dev/null and b/smileys/frown.png differ diff --git a/smileys/icon-error.png b/smileys/icon-error.png new file mode 100644 index 00000000000..c39e65c33d0 Binary files /dev/null and b/smileys/icon-error.png differ diff --git a/smileys/icon-info.png b/smileys/icon-info.png new file mode 100644 index 00000000000..c1b14f33139 Binary files /dev/null and b/smileys/icon-info.png differ diff --git a/smileys/idea.png b/smileys/idea.png new file mode 100644 index 00000000000..37bc02ddc98 Binary files /dev/null and b/smileys/idea.png differ diff --git a/smileys/index.html b/smileys/index.html new file mode 100644 index 00000000000..6e0acc15c17 --- /dev/null +++ b/smileys/index.html @@ -0,0 +1,181 @@ + + + + + + + +smileys + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Qui 17 Jul 2008 14:11:47 BRT +

+

This page is used to control what smileys are supported by the wiki. +Just write the text of a smiley to display it.

+ +
    +
  • :) smile.png
  • +
  • :-) smile.png
  • +
  • :D biggrin.png
  • +
  • :-D biggrin.png
  • +
  • B) smile2.png
  • +
  • B-) smile2.png
  • +
  • :)) smile3.png
  • +
  • :-)) smile3.png
  • +
  • ;) smile4.png
  • +
  • ;-) smile4.png
  • +
  • :\ ohwell.png
  • +
  • :-\ ohwell.png
  • +
  • :/ ohwell.png
  • +
  • :-/ ohwell.png
  • +
  • :| neutral.png
  • +
  • :-| neutral.png
  • +
  • >:> devil.png
  • +
  • X-( angry.png
  • +
  • <:( frown.png
  • +
  • :( sad.png
  • +
  • :-( sad.png
  • +
  • :-? tongue.png
  • +
  • :-P tongue.png
  • +
  • :o redface.png
  • +
  • |) tired.png
  • +
  • |-) tired.png
  • +
  • {OK} thumbs-up.png
  • +
  • {X} icon-error.png
  • +
  • {i} icon-info.png
  • +
  • (./) checkmark.png
  • +
  • (!) idea.png
  • +
  • [!] attention.png
  • +
  • /!\ alert.png
  • +
  • (?) question.png
  • +
  • {x} star on.png
  • +
  • {*} star on.png
  • +
  • {o} star off.png
  • +
  • {1} prio1.png
  • +
  • {2} prio2.png
  • +
  • {3} prio3.png
  • +
+ + +

For example: {x} B) {x}

+ +
+ +

To change the supported smileys, just edit the lists on this page. +Note that the format is important; each list item should start with the +text that is turned into the smiley, escaped so that users can see what +produces it, followed by a WikiLink to the image to display.

+ +

/!\ Bear in mind that the link to the image needs to be written in a way that +will work if it's copied to other pages on the wiki. So be sure to include the +smileys directory in the path to the file.

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/smileys/neutral.png b/smileys/neutral.png new file mode 100644 index 00000000000..ddeb59231fd Binary files /dev/null and b/smileys/neutral.png differ diff --git a/smileys/ohwell.png b/smileys/ohwell.png new file mode 100644 index 00000000000..a83adfbf503 Binary files /dev/null and b/smileys/ohwell.png differ diff --git a/smileys/prio1.png b/smileys/prio1.png new file mode 100644 index 00000000000..774d34d6528 Binary files /dev/null and b/smileys/prio1.png differ diff --git a/smileys/prio2.png b/smileys/prio2.png new file mode 100644 index 00000000000..4528653c3c9 Binary files /dev/null and b/smileys/prio2.png differ diff --git a/smileys/prio3.png b/smileys/prio3.png new file mode 100644 index 00000000000..84332ce824d Binary files /dev/null and b/smileys/prio3.png differ diff --git a/smileys/question.png b/smileys/question.png new file mode 100644 index 00000000000..df22152e637 Binary files /dev/null and b/smileys/question.png differ diff --git a/smileys/redface.png b/smileys/redface.png new file mode 100644 index 00000000000..9a8739253c8 Binary files /dev/null and b/smileys/redface.png differ diff --git a/smileys/sad.png b/smileys/sad.png new file mode 100644 index 00000000000..86a059d971c Binary files /dev/null and b/smileys/sad.png differ diff --git a/smileys/smile.png b/smileys/smile.png new file mode 100644 index 00000000000..b51b3ff49e8 Binary files /dev/null and b/smileys/smile.png differ diff --git a/smileys/smile2.png b/smileys/smile2.png new file mode 100644 index 00000000000..43ea05f9d0a Binary files /dev/null and b/smileys/smile2.png differ diff --git a/smileys/smile3.png b/smileys/smile3.png new file mode 100644 index 00000000000..c690ccc2fdb Binary files /dev/null and b/smileys/smile3.png differ diff --git a/smileys/smile4.png b/smileys/smile4.png new file mode 100644 index 00000000000..f8f5b523d9a Binary files /dev/null and b/smileys/smile4.png differ diff --git a/smileys/star_off.png b/smileys/star_off.png new file mode 100644 index 00000000000..c5535c3de1c Binary files /dev/null and b/smileys/star_off.png differ diff --git a/smileys/star_on.png b/smileys/star_on.png new file mode 100644 index 00000000000..969908d39e2 Binary files /dev/null and b/smileys/star_on.png differ diff --git a/smileys/thumbs-up.png b/smileys/thumbs-up.png new file mode 100644 index 00000000000..1faabace7d9 Binary files /dev/null and b/smileys/thumbs-up.png differ diff --git a/smileys/tired.png b/smileys/tired.png new file mode 100644 index 00000000000..a3d5c56fba6 Binary files /dev/null and b/smileys/tired.png differ diff --git a/smileys/tongue.png b/smileys/tongue.png new file mode 100644 index 00000000000..65105407c46 Binary files /dev/null and b/smileys/tongue.png differ diff --git a/style.css b/style.css new file mode 100644 index 00000000000..6e2afce66b9 --- /dev/null +++ b/style.css @@ -0,0 +1,543 @@ +/* ikiwiki style sheet */ + +/* Note that instead of modifying this style sheet, you can instead edit + * local.css and use it to override or change settings in this one. + */ + +/* html5 compat */ +article, +header, +footer, +nav { + display: block; +} + +.header { + margin: 0; + font-size: 140%; + font-weight: bold; + line-height: 1em; + display: block; +} + +.inlineheader .author { + margin: 0; + font-size: 112%; + font-weight: bold; + display: block; +} + +.actions ul { + margin: 0; + padding: 6px .4em; + height: 1em; + list-style-type: none; +} +.actions li { + display: inline; + padding: .2em; +} +.pageheader .actions ul { + border-bottom: 1px solid #000; +} + +.inlinepage .actions ul { + border-bottom: 0; +} + +#otherlanguages ul { + margin: 0; + padding: 6px; + list-style-type: none; +} +#otherlanguages li { + display: inline; + padding: .2em .4em; +} +.pageheader #otherlanguages { + border-bottom: 1px solid #000; +} + +.inlinecontent { + margin-top: .4em; +} + +.pagefooter, +.inlinefooter, +.comments { + clear: both; +} + +#pageinfo { + margin: 1em 0; + border-top: 1px solid #000; +} + +.tags { + margin-top: 1em; +} + +.inlinepage .tags { + display: inline; +} + +.mapparent { + text-decoration: none; +} + +.img caption { + font-size: 80%; + caption-side: bottom; + text-align: center; +} + +img.img { + margin: 0.5ex; +} + +.align-left { + float:left; +} + +.align-right { + float:right; +} + +#backlinks { + margin-top: 1em; +} + +#searchform { + display: inline; + float: right; +} + +#editcontent { + width: 98%; +} + +.editcontentdiv { + width: auto; + overflow: auto; +} + +img { + border-style: none; +} + +pre { + overflow: auto; +} + +div.recentchanges { + border-style: solid; + border-width: 1px; + overflow: auto; + width: auto; + clear: none; + background: #eee; + color: black !important; +} +.recentchanges .metadata { + padding: 0px 0.5em; +} +.recentchanges .changelog { + font-style: italic; + clear: both; + display: block; + padding: 1px 2px; + background: white !important; + color: black !important; +} +.recentchanges .desc { + display: none; +} +.recentchanges .diff { + display: none; +} +.recentchanges .committer { + float: left; + margin: 0; + width: 40%; +} +.recentchanges .committype { + float: left; + margin: 0; + width: 5%; + font-size: small; +} +.recentchanges .changedate { + float: left; + margin: 0; + width: 35%; + font-size: small; +} +.recentchanges .pagelinks, +.recentchanges .revert { + float: right; + margin: 0; + width: 60%; +} + +.blogform, #blogform { + padding: 10px 10px; + border: 1px solid #aaa; + background: #eee; + color: black !important; + width: auto; + overflow: auto; +} + +.inlinepage { + padding: 10px 10px; + border: 1px solid #aaa; + overflow: auto; +} + +.pagedate, +.pagelicense, +.pagecopyright { + font-style: italic; + display: block; + margin-top: 1em; +} + +.error { + color: #C00; +} + +.sidebar { + width: 20ex; + float: right; + margin-left: 4px; + margin-bottom: 4px; + margin-top: -1px; + padding: 0ex 2ex; + background: white; + border: 1px solid black; + color: black !important; +} + +hr.poll { + height: 10pt; + color: white !important; + background: #eee; + border: 2px solid black; +} +div.poll { + margin-top: 1ex; + margin-bottom: 1ex; + padding: 1ex 1ex; + border: 1px solid #aaa; +} + +span.color { + padding: 2px; +} + +.comment-header, +.microblog-header { + font-style: italic; + margin-top: .3em; +} +.comment .author, +.microblog .author { + font-weight: bold; +} +.comment-subject { + font-weight: bold; +} +.comment-avatar { + float: right; +} +.comment { + border: 1px solid #aaa; + padding: 3px; +} + +div.progress { + margin-top: 1ex; + margin-bottom: 1ex; + border: 1px solid #888; + width: 400px; + background: #eee; + color: black !important; + padding: 1px; +} +div.progress-done { + background: #ea6 !important; + color: black !important; + text-align: center; + padding: 1px; +} + +/* things to hide in printouts */ +@media print { + .actions { display: none; } + .tags { display: none; } + .trails { display: none; } + .feedbutton { display: none; } + #searchform { display: none; } + .blogform, #blogform { display: none; } + #backlinks { display: none; } +} + +/* infobox template */ +.infobox { + float: right; + margin-left: 2ex; + margin-top: 1ex; + margin-bottom: 1ex; + padding: 1ex 1ex; + border: 1px solid #aaa; + background: white; + color: black !important; +} + +/* notebox template */ +.notebox { + float: right; + margin-left: 2ex; + margin-top: 1ex; + margin-bottom: 1ex; + padding: 1ex 1ex; + border: 1px solid #aaa; + width: 25%; + background: white; + color: black !important; +} + +/* popup template and backlinks hiding */ +.popup { + border-bottom: 1px dotted #366; + color: #366; +} +.popup .balloon, +.popup .paren, +.popup .expand { + display: none; +} +.popup:hover .balloon, +.popup:focus .balloon { + position: absolute; + display: inline; + margin: 1em 0 0 -2em; + padding: 0.625em; + border: 2px solid; + background-color: #dee; + color: black; +} + +/* form styling */ +fieldset { + margin: 1ex 0; + border: 1px solid black; +} +legend { + padding: 0 1ex; +} +.fb_submit { + float: left; + margin: 2px 0; +} +label.block { + display: block; +} +label.inline { + display: inline; +} +input#openid_identifier { + background: url(wikiicons/openidlogin-bg.gif) no-repeat; + background-color: #fff; + background-position: 0 50%; + color: #000; + padding-left: 18px; +} +input#searchbox { + background: url(wikiicons/search-bg.gif) no-repeat; + background-color: #fff; + background-position: 100% 50%; + color: #000; + padding-right: 16px; +} +/* invalid form fields */ +.fb_invalid { + color: red; + background: white !important; +} +/* required form fields */ +.fb_required { + font-weight: bold; +} + +/* highlight plugin */ +pre.hl { color:#000000; background-color:#ffffff; } +.hl.num { color:#2928ff; } +.hl.esc { color:#ff00ff; } +.hl.str { color:#ff0000; } +.hl.dstr { color:#818100; } +.hl.slc { color:#838183; font-style:italic; } +.hl.com { color:#838183; font-style:italic; } +.hl.dir { color:#008200; } +.hl.sym { color:#000000; } +.hl.line { color:#555555; } +.hl.mark { background-color:#ffffbb; } +.hl.kwa { color:#000000; font-weight:bold; } +.hl.kwb { color:#830000; } +.hl.kwc { color:#000000; font-weight:bold; } +.hl.kwd { color:#010181; } + +/* calendar plugin */ +.month-calendar-day-this-day, +.year-calendar-this-month { + background-color: #eee; +} +.month-calendar-day-head, +.month-calendar-day-nolink, +.month-calendar-day-link, +.month-calendar-day-this-day, +.month-calendar-day-future { + text-align: right; +} +.month-calendar-arrow A:link, +.year-calendar-arrow A:link, +.month-calendar-arrow A:visited, +.year-calendar-arrow A:visited { + text-decoration: none; + font-weight: normal; + font-size: 150%; +} + +/* outlines */ +li.L1 { list-style: upper-roman; } +li.L2 { list-style: decimal; } +li.L3 { list-style: lower-alpha; } +li.L4 { list-style: disc; } +li.L5 { list-style: square; } +li.L6 { list-style: circle; } +li.L7 { list-style: lower-roman; } +li.L8 { list-style: upper-alpha; } + +/* tag cloud */ +.pagecloud { + float: right; + width: 30%; + text-align: center; + padding: 10px 10px; + border: 1px solid #aaa; + background: #eee; + color: black !important; +} +.smallestPC { font-size: 70%; } +.smallPC { font-size: 85%; } +.normalPC { font-size: 100%; } +.bigPC { font-size: 115%; } +.biggestPC { font-size: 130%; } + +/* orange feed button */ +.feedbutton { + background: #ff6600; + color: white !important; + border-left: 1px solid #cc9966; + border-top: 1px solid #ccaa99; + border-right: 1px solid #993300; + border-bottom: 1px solid #331100; + padding: 0px 0.5em 0px 0.5em; + font-family: sans-serif; + font-weight: bold; + font-size: small; + text-decoration: none; + margin-top: 1em; +} +.feedbutton:hover { + color: white !important; + background: #ff9900; +} + +.FlattrButton { + display: none; +} + +/* openid selector */ +#openid_choice { + display: none; +} +#openid_input_area { + clear: both; + padding: 10px; +} +#openid_btns, #openid_btns br { + clear: both; +} +#openid_highlight { + background-color: black; + float: left; +} +.openid_large_btn { + padding: 1em 1.5em; + border: 1px solid #DDD; + margin: 3px; + float: left; +} +.openid_small_btn { + padding: 4px 4px; + border: 1px solid #DDD; + margin: 3px; + float: left; +} +a.openid_large_btn:focus { + outline: none; +} +a.openid_large_btn:focus { + outline-style: none; +} +.openid_selected { + border: 4px solid #DDD; +} + +.fileupload-content .ui-progressbar { + width: 200px; + height: 20px; +} +.fileupload-content .ui-progressbar-value { + background: url(ikiwiki/images/pbar-ani.gif); +} + +.trails { + margin-top: 1em; + margin-bottom: 1em; +} +.trail { + display: block; + clear: both; + position: relative; +} + +.trailprev { + display: block; + text-align: left; + position: absolute; + top: 0%; + left: 3%; + width: 30%; +} + +.trailup { + display: block; + text-align: center; + margin-left: 35%; + margin-right: 35%; +} + +.trailnext { + display: block; + text-align: right; + position: absolute; + top: 0%; + width: 30%; + right: 3%; +} + +.trailsep { + display: none; +} diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 00000000000..2288697d224 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,214 @@ + + + + + + + +templates + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Qua 28 Mar 2012 21:56:22 BRT +

+

Ikiwiki uses many templates for many purposes. By editing its templates, +you can fully customise its appearance, and avoid duplicate content.

+ +

Ikiwiki uses the HTML::Template module as its template engine. This +supports things like conditionals and loops in templates and is pretty +easy to learn. All you really need to know to modify templates is this:

+ +
    +
  • To insert the value of a template variable, use <TMPL_VAR variable>.
  • +
  • To make a block of text conditional on a variable being set use +<TMPL_IF variable>text</TMPL_IF>.
  • +
  • To use one block of text if a variable is set and a second if it's not, +use <TMPL_IF variable>text<TMPL_ELSE>other text</TMPL_IF>
  • +
+ + +

template pages

+ +

Template pages are regular wiki pages that are used as templates for other +pages.

+ +

The template directive allows +template pages to be filled out and inserted into other pages in the wiki.

+ +

These template pages are currently available:

+ +

+ +note + +

+

+ +popup + +

+ + + +

template files

+ +

Template files are unlike template pages in that they have the extension +.tmpl. Template files are used extensively by Ikiwiki to generate html. +They can contain html that would not normally be allowed on a wiki page.

+ +

Template files are located in /usr/share/ikiwiki/templates by default; +the templatedir setting can be used to make another directory be +searched first. Customised template files can also be placed inside the +"templates/" directory in your wiki's source -- files placed there override +ones in the templatedir.

+ +

Here is a full list of the template files used:

+ +
    +
  • page.tmpl - Used for displaying all regular wiki pages. This is the +key template to customise to change the look and feel of Ikiwiki.

  • +
  • rsspage.tmpl - Used for generating rss feeds for blogs.

  • +
  • rssitem.tmpl - Used for generating individual items on rss feeds.
  • +
  • atompage.tmpl - Used for generating atom feeds for blogs.
  • +
  • atomitem.tmpl - Used for generating individual items on atom feeds.
  • +
  • inlinepage.tmpl - Used for displaying a post in a blog.
  • +
  • archivepage.tmpl - Used for listing a page in a blog archive page.
  • +
  • titlepage.tmpl - Used for listing a page by title in a blog archive page.
  • +
  • microblog.tmpl - Used for showing a microblogging post inline.
  • +
  • blogpost.tmpl - Used for a form to add a post to a blog (and rss/atom links)
  • +
  • feedlink.tmpl - Used to add rss/atom links if blogpost.tmpl is not used.
  • +
  • aggregatepost.tmpl - Used by the aggregate plugin to create +a page for a post.
  • +
  • searchform.tmpl, googleform.tmpl - Used by the search plugin +and google plugin to add search forms to wiki pages.
  • +
  • searchquery.tmpl - This is a Omega template, used by the +search plugin.
  • +
  • comment.tmpl - Used by the comments plugin to display a comment.
  • +
  • change.tmpl - Used to create a page describing a change made to the wiki.
  • +
  • recentchanges.tmpl - Used for listing a change on the RecentChanges page.
  • +
  • autoindex.tmpl - Filled in by the autoindex plugin to make index pages.
  • +
  • autotag.tmpl - Filled in by the tag plugin to make tag pages.
  • +
  • calendarmonth.tmpl, calendaryear.tmpl - Used by ikiwiki-calendar to +make calendar archive pages.
  • +
  • trails.tmpl - Used by the trail plugin to generate links on each page +that is a member of a trail.
  • +
  • notifyemail.tmpl - Used by the notifymail plugin to generate mails about +changed pages.
  • +
  • editpage.tmpl, editconflict.tmpl, editcreationconflict.tmpl, +editfailedsave.tmpl, editpagegone.tmpl, pocreatepage.tmpl, +editcomment.tmpl commentmoderation.tmpl, renamesummary.tmpl, +passwordmail.tmpl, openid-selector.tmpl, revert.tmpl - Parts of ikiwiki's user +interface; do not normally need to be customised.
  • +
+ + +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/templates/note/index.html b/templates/note/index.html new file mode 100644 index 00000000000..96528bcb15b --- /dev/null +++ b/templates/note/index.html @@ -0,0 +1,132 @@ + + + + + + + +note + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Qua 05 Mai 2010 23:47:37 BRT +

+
+ +
+ + +

+Use this template to insert a note into a page. The note will be styled to +float to the right of other text on the page. This template has one +parameter:

+ +
    +
  • `text` - the text to display in the note +
+ + +

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/templates/popup/index.html b/templates/popup/index.html new file mode 100644 index 00000000000..ddf72791fac --- /dev/null +++ b/templates/popup/index.html @@ -0,0 +1,135 @@ + + + + + + + +popup + + + + + + + + + + + + + + +
+ +
+
+

+ + +
+
+ +
+ +
+ + +
+ +
+

+ Posted Qua 05 Mai 2010 23:47:37 BRT +

+

+Use this template to create a popup window that is displayed when the mouse +is over part of the page. This template has two parameters:

+ +
    +
  • `mouseover` - This is the text or other content that triggers the +popup. +
  • `popup` - This should be the content of the popup window. It can be +anything, even images or a whole little wiki page, but should not be too +large for good usability. +
+ + +

Note that browsers that do not support the CSS will display the popup +inline in the page, inside square brackets. + + +[] +

+ +
+ +
+ + + + + +
+ + + +
+ +
+ + + +
+ +
+
+ + + diff --git a/wikiicons/diff.png b/wikiicons/diff.png new file mode 100644 index 00000000000..0b98d79ace1 Binary files /dev/null and b/wikiicons/diff.png differ diff --git a/wikiicons/openidlogin-bg.gif b/wikiicons/openidlogin-bg.gif new file mode 100644 index 00000000000..a3bfe109834 Binary files /dev/null and b/wikiicons/openidlogin-bg.gif differ diff --git a/wikiicons/revert.png b/wikiicons/revert.png new file mode 100644 index 00000000000..c39e65c33d0 Binary files /dev/null and b/wikiicons/revert.png differ diff --git a/wikiicons/search-bg.gif b/wikiicons/search-bg.gif new file mode 100644 index 00000000000..02f9da4a7e9 Binary files /dev/null and b/wikiicons/search-bg.gif differ -- cgit v1.2.3