diff options
-rw-r--r--[-rwxr-xr-x] | bin/post-update | 0 | ||||
-rw-r--r-- | doc/index.html | 178 | ||||
-rw-r--r-- | favicon.ico | bin | 0 -> 371 bytes | |||
-rw-r--r-- | ikiwiki/directive/index.html | 186 | ||||
-rw-r--r-- | ikiwiki/formatting/index.html | 221 | ||||
-rw-r--r-- | ikiwiki/ikiwiki.js | 54 | ||||
-rw-r--r-- | ikiwiki/index.html | 138 | ||||
-rw-r--r-- | ikiwiki/markdown/index.html | 136 | ||||
-rw-r--r-- | ikiwiki/openid/index.html | 142 | ||||
-rw-r--r-- | ikiwiki/pagespec/attachment/index.html | 153 | ||||
-rw-r--r-- | ikiwiki/pagespec/index.html | 226 | ||||
-rw-r--r-- | ikiwiki/pagespec/po/index.html | 140 | ||||
-rw-r--r-- | ikiwiki/pagespec/sorting/index.html | 138 | ||||
-rw-r--r-- | ikiwiki/relativedate.js | 75 | ||||
-rw-r--r-- | ikiwiki/searching/index.html | 143 | ||||
-rw-r--r-- | ikiwiki/subpage/index.html | 141 | ||||
-rw-r--r-- | ikiwiki/subpage/linkingrules/index.html | 160 | ||||
-rw-r--r-- | ikiwiki/toggle.js | 29 | ||||
-rw-r--r-- | ikiwiki/wikilink/index.html | 164 | ||||
-rw-r--r-- | index.html | 154 | ||||
-rw-r--r-- | index.rss | 91 | ||||
-rw-r--r-- | local.css | 3 | ||||
-rw-r--r-- | sandbox/index.html | 162 | ||||
-rw-r--r-- | shortcuts/index.html | 213 | ||||
-rw-r--r-- | smileys/alert.png | bin | 0 -> 220 bytes | |||
-rw-r--r-- | smileys/angry.png | bin | 0 -> 295 bytes | |||
-rw-r--r-- | smileys/attention.png | bin | 0 -> 164 bytes | |||
-rw-r--r-- | smileys/biggrin.png | bin | 0 -> 173 bytes | |||
-rw-r--r-- | smileys/checkmark.png | bin | 0 -> 133 bytes | |||
-rw-r--r-- | smileys/devil.png | bin | 0 -> 354 bytes | |||
-rw-r--r-- | smileys/frown.png | bin | 0 -> 168 bytes | |||
-rw-r--r-- | smileys/icon-error.png | bin | 0 -> 397 bytes | |||
-rw-r--r-- | smileys/icon-info.png | bin | 0 -> 171 bytes | |||
-rw-r--r-- | smileys/idea.png | bin | 0 -> 372 bytes | |||
-rw-r--r-- | smileys/index.html | 181 | ||||
-rw-r--r-- | smileys/neutral.png | bin | 0 -> 239 bytes | |||
-rw-r--r-- | smileys/ohwell.png | bin | 0 -> 167 bytes | |||
-rw-r--r-- | smileys/prio1.png | bin | 0 -> 153 bytes | |||
-rw-r--r-- | smileys/prio2.png | bin | 0 -> 158 bytes | |||
-rw-r--r-- | smileys/prio3.png | bin | 0 -> 153 bytes | |||
-rw-r--r-- | smileys/question.png | bin | 0 -> 302 bytes | |||
-rw-r--r-- | smileys/redface.png | bin | 0 -> 306 bytes | |||
-rw-r--r-- | smileys/sad.png | bin | 0 -> 182 bytes | |||
-rw-r--r-- | smileys/smile.png | bin | 0 -> 356 bytes | |||
-rw-r--r-- | smileys/smile2.png | bin | 0 -> 334 bytes | |||
-rw-r--r-- | smileys/smile3.png | bin | 0 -> 326 bytes | |||
-rw-r--r-- | smileys/smile4.png | bin | 0 -> 275 bytes | |||
-rw-r--r-- | smileys/star_off.png | bin | 0 -> 297 bytes | |||
-rw-r--r-- | smileys/star_on.png | bin | 0 -> 370 bytes | |||
-rw-r--r-- | smileys/thumbs-up.png | bin | 0 -> 118 bytes | |||
-rw-r--r-- | smileys/tired.png | bin | 0 -> 157 bytes | |||
-rw-r--r-- | smileys/tongue.png | bin | 0 -> 176 bytes | |||
-rw-r--r-- | style.css | 543 | ||||
-rw-r--r-- | templates/index.html | 214 | ||||
-rw-r--r-- | templates/note/index.html | 132 | ||||
-rw-r--r-- | templates/popup/index.html | 135 | ||||
-rw-r--r-- | wikiicons/diff.png | bin | 0 -> 219 bytes | |||
-rw-r--r-- | wikiicons/openidlogin-bg.gif | bin | 0 -> 336 bytes | |||
-rw-r--r-- | wikiicons/revert.png | bin | 0 -> 397 bytes | |||
-rw-r--r-- | wikiicons/search-bg.gif | bin | 0 -> 74 bytes |
60 files changed, 4252 insertions, 0 deletions
diff --git a/bin/post-update b/bin/post-update index 3098dab92fa..3098dab92fa 100755..100644 --- a/bin/post-update +++ b/bin/post-update 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>Documentação</title> + +<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../local.css" type="text/css" /> + + + + + +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li>Documentação</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=doc.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + Documentação + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Sex 31 Jul 2015 23:25:50 BRT</span></strong> + </p> + <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="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 && /usr/bin/git annex add . && /usr/bin/git annex sync &> /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 && rm -rf arquivo.git +chown -R arquivo. arquivo +cd arquivo && git annex init SERVIDOR +</code></pre> + +<p>A partir deste ponto você já pode adicionar usar o repositório normalmente.</p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Sex 31 Jul 2015 23:34:24 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> diff --git a/favicon.ico b/favicon.ico Binary files differnew file mode 100644 index 00000000000..b55eba2800d --- /dev/null +++ b/favicon.ico 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>directive</title> + +<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../">ikiwiki</a> <span class="divider">/</span> </li> + + <li>directive</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki/directive.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + directive + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Sex 13 Mai 2011 13:06:00 BRT</span></strong> + </p> + <p>Directives are similar to a <a href="../wikilink/">WikiLink</a> in form, except they +begin with <code>!</code> and may contain parameters. The general form is:</p> + +<pre><code>[[!directive param="value" param="value"]] +</code></pre> + +<p>This gets expanded before the rest of the page is processed, and can be used +to transform the page in various ways.</p> + +<p>The quotes around values can be omitted if the value is a simple word. +Also, some directives may use parameters without values, for example:</p> + +<pre><code>[[!tag foo]] +</code></pre> + +<p>A directive does not need to all be on one line, it can be +wrapped to multiple lines if you like:</p> + +<pre><code>[[!directive foo="baldersnatch" +bar="supercalifragilisticexpialidocious" baz=11]] +</code></pre> + +<p>Also, multiple lines of <em>quoted</em> 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:</p> + +<pre><code>[[!directive text=""" +1. "foo" +2. "bar" +3. "baz" +""" othertext=''' +1. 'quux' +2. "foo" +''']] +</code></pre> + +<p>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:</p> + +<pre><code>[[!directive text=<<OUTER +[[!otherdirective <<INNER +inner text +INNER]] +outer text +OUTER]] +</code></pre> + +<p>ikiwiki also has an older syntax for directives, which requires a space in +directives to distinguish them from <a href="../wikilink/">wikilinks</a>. This +syntax has several disadvantages: it requires a space after directives with +no parameters (such as <code>[[pagecount ]]</code>), and it prohibits spaces in +<a href="../wikilink/">wikilinks</a>. ikiwiki now provides the <code>!</code>-prefixed +syntax shown above as default. However, ikiwiki still supports wikis using +the older syntax, if the <code>prefix_directives</code> option is disabled.</p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../formatting/">formatting</a> + + <a href="../">ikiwiki</a> + + <a href="../markdown/">markdown</a> + + <a href="../pagespec/sorting/">pagespec/sorting</a> + + <a href="../../shortcuts/">shortcuts</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Sex 13 Mai 2011 13:06:00 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>Formatting wiki pages</title> + +<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../">ikiwiki</a> <span class="divider">/</span> </li> + + <li>Formatting wiki pages</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki/formatting.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + Formatting wiki pages + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Qua 26 Ago 2009 14:05:29 BRT</span></strong> + </p> + <p>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 <a href="../markdown/">MarkDown</a>, and it works like this:</p> + +<p>Leave blank lines between paragraphs.</p> + +<p>You can <em>*emphasise*</em> or <strong>**strongly emphasise**</strong> text by placing it +in single or double asterisks.</p> + +<p>To create a list, start each line with an asterisk:</p> + +<ul> +<li>"* this is my list"</li> +<li>"* another item"</li> +</ul> + + +<p>To make a numbered list, start each line with a number (any number will +do) followed by a period:</p> + +<ol> +<li>"1. first line"</li> +<li>"2. second line"</li> +<li>"2. third line"</li> +</ol> + + +<p>To create a header, start a line with one or more <code>#</code> characters followed +by a space and the header text. The number of <code>#</code> characters controls the +size of the header:</p> + +<h1># h1</h1> + +<h2>## h2</h2> + +<h3>### h3</h3> + +<h4>#### h4</h4> + +<h5>##### h5</h5> + +<h6>###### h6</h6> + +<p>To create a horizontal rule, just write three or more dashes or stars on +their own line:</p> + +<hr /> + +<p>To quote someone, prefix the quote with ">":</p> + +<blockquote><p>To be or not to be, +that is the question.</p></blockquote> + +<p>To write a code block, indent each line with a tab or 4 spaces:</p> + +<pre><code>10 PRINT "Hello, world!" +20 GOTO 10 +</code></pre> + +<p>To link to an url or email address, you can just put the +url in angle brackets: <<a href="http://ikiwiki.info">http://ikiwiki.info</a>>, or you can use the +form [link text](url)</p> + +<hr /> + +<p>In addition to basic html formatting using <a href="../markdown/">MarkDown</a>, this wiki lets +you use the following additional features:</p> + +<ul> +<li><p>To link to another page on the wiki, place the page's name inside double +square brackets. So you would use <code>[[WikiLink]]</code> to link to <a href="../wikilink/">WikiLink</a>.</p></li> +<li><p>Insert <a href="../../smileys/">smileys</a> and some other useful symbols. <img src="../../smileys/smile.png" alt=":-)" /></p></li> +<li><p>Use <a href="../../shortcuts/">shortcuts</a> to link to common resources.</p> + +<p> [[!wikipedia War_of_1812]]</p></li> +<li><p>Create and fill out <a href="../../templates/">templates</a> for repeated chunks of +parameterized wiki text.</p></li> +<li><p>Insert various <a href="../directive/">directives</a> onto a page to perform useful +actions. +For example, you can:</p> + +<ul> +<li><p>Add a table of contents to a page:</p> + +<p>[[!toc ]]</p></li> +<li><p>Change the title of a page:</p> + +<p>[[!meta title="full page title"]]</p></li> +<li><p>Create a blog by inlining a set of pages:</p> + +<p>[[!inline pages="blog/*"]]</p></li> +</ul> +</li> +</ul> + + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../">ikiwiki</a> + + <a href="../markdown/">markdown</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Qua 26 Ago 2009 14:05:29 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>ikiwiki</title> + +<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li>ikiwiki</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + ikiwiki + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Sáb 24 Abr 2010 01:43:45 BRT</span></strong> + </p> + <p>This wiki is powered by <a href="http://ikiwiki.info/">ikiwiki</a>.</p> + +<p>Some documentation on using ikiwiki:</p> + +<ul> +<li><a href="./formatting/">formatting</a></li> +<li><a href="./wikilink/">wikilink</a></li> +<li><a href="./subpage/">subpage</a></li> +<li><a href="./pagespec/">pagespec</a></li> +<li><a href="./directive/">directive</a></li> +<li><a href="./markdown/">markdown</a></li> +<li><a href="./openid/">openid</a></li> +<li><a href="./searching/">searching</a></li> +<li><a href="../templates/">templates</a></li> +</ul> + + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../templates/">templates</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Sáb 24 Abr 2010 01:43:45 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>markdown</title> + +<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../">ikiwiki</a> <span class="divider">/</span> </li> + + <li>markdown</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki/markdown.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + markdown + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Seg 10 Nov 2008 20:40:03 BRST</span></strong> + </p> + <p><a href="http://daringfireball.net/projects/markdown/">Markdown</a> +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.</p> + +<p>For documentation about the markdown syntax, see <a href="../formatting/">formatting</a> and +<a href="http://daringfireball.net/projects/markdown/syntax">Markdown: syntax</a>.</p> + +<p>Note that <a href="../wikilink/">WikiLinks</a> and <a href="../directive/">directives</a> are not part +of the markdown syntax, and are the only bit of markup that this wiki +handles internally.</p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../formatting/">formatting</a> + + <a href="../">ikiwiki</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Seg 10 Nov 2008 20:40:03 BRST</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>OpenID</title> + +<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../">ikiwiki</a> <span class="divider">/</span> </li> + + <li>OpenID</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki/openid.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + OpenID + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Sex 07 Mai 2010 23:30:42 BRT</span></strong> + </p> + <p>This wiki has OpenID <strong>disabled</strong>.</p> + +<p><a href="http://openid.net">OpenID</a> is a decentralized authentication mechanism +that allows you to have one login that you can use on a growing number of +websites.</p> + +<p>If you have an account with some of the larger web service providers, +you might already have an OpenID. +<a href="http://openiddirectory.com/openid-providers-c-1.html">Directory of OpenID providers</a></p> + +<hr /> + +<p>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:</p> + +<pre><code>[[!meta openid="http://yourid.myopenid.com/" + server="http://www.myopenid.com/server"]] +</code></pre> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../">ikiwiki</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Sex 07 Mai 2010 23:30:42 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>attachment</title> + +<link rel="stylesheet" href="../../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../../">ikiwiki</a> <span class="divider">/</span> </li> + + <li><a href="../">pagespec</a> <span class="divider">/</span> </li> + + <li>attachment</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki/pagespec/attachment.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + attachment + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Sex 23 Abr 2010 18:36:07 BRT</span></strong> + </p> + <p>This wiki has attachments <strong>disabled</strong>.</p> + +<p>If attachments are enabled, the wiki admin can control what types of +attachments will be accepted, via the <code>allowed_attachments</code> +configuration setting.</p> + +<p>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:</p> + +<pre><code>virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or (mimetype(image/*) and maxsize(50kb))) +</code></pre> + +<p>The regular <a href="../">PageSpec</a> syntax is expanded with the following +additional tests:</p> + +<ul> +<li><p>"<code>maxsize(size)</code>" - 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.</p></li> +<li><p>"<code>minsize(size)</code>" - tests whether the attachment is no smaller than the +specified size.</p></li> +<li><p>"<code>ispage()</code>" - 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).</p> + +<p>So, if you don't want to allow wiki pages to be uploaded as attachments, +use <code>!ispage()</code> ; if you only want to allow wiki pages to be uploaded +as attachments, use <code>ispage()</code>.</p></li> +<li><p>"<code>mimetype(foo/bar)</code>" - checks the MIME type of the attachment. You can +include a glob in the type, for example <code>mimetype(image/*)</code>.</p></li> +<li><p>"<code>virusfree()</code>" - checks the attachment with an antiviral program.</p></li> +</ul> + + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Sex 23 Abr 2010 18:36:07 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>pagespec</title> + +<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../">ikiwiki</a> <span class="divider">/</span> </li> + + <li>pagespec</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki/pagespec.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + pagespec + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Qua 20 Out 2010 20:53:50 BRST</span></strong> + </p> + <p>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.</p> + +<p>The simplest PageSpec is a simple list of pages. For example, this matches +any of the three listed pages:</p> + +<pre><code>foo or bar or baz +</code></pre> + +<p>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. "<code>*</code>" stands for any part +of a page name, and "<code>?</code>" for any single letter of a page name. So this +matches all pages about music, and any <a href="../subpage/">SubPage</a>s of the SandBox, but does +not match the SandBox itself:</p> + +<pre><code>*music* or SandBox/* +</code></pre> + +<p>You can also prefix an item with "<code>!</code>" to skip pages that match it. So to +match all pages except for Discussion pages and the SandBox:</p> + +<pre><code>* and !SandBox and !*/Discussion +</code></pre> + +<p>Some more elaborate limits can be added to what matches using these functions:</p> + +<ul> +<li>"<code>glob(someglob)</code>" - matches pages and other files that match the given glob. +Just writing the glob by itself is actually a shorthand for this function.</li> +<li>"<code>page(glob)</code>" - like <code>glob()</code>, but only matches pages, not other files</li> +<li>"<code>link(page)</code>" - matches only pages that link to a given page (or glob)</li> +<li>"<code>tagged(tag)</code>" - matches pages that are tagged or link to the given tag (or +tags matched by a glob)</li> +<li>"<code>backlink(page)</code>" - matches only pages that a given page links to</li> +<li>"<code>creation_month(month)</code>" - matches only files created on the given month +number</li> +<li>"<code>creation_day(mday)</code>" - or day of the month</li> +<li>"<code>creation_year(year)</code>" - or year</li> +<li>"<code>created_after(page)</code>" - matches only files created after the given page +was created</li> +<li>"<code>created_before(page)</code>" - matches only files created before the given page +was created</li> +<li>"<code>internal(glob)</code>" - like <code>glob()</code>, but matches even internal-use +pages that globs do not usually match.</li> +<li>"<code>title(glob)</code>", "<code>author(glob)</code>", "<code>authorurl(glob)</code>", +"<code>license(glob)</code>", "<code>copyright(glob)</code>", "<code>guid(glob)</code>" + +<ul> +<li>match pages that have the given metadata, matching the specified glob.</li> +</ul> +</li> +<li>"<code>user(username)</code>" - 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 <code>user(*://*)</code></li> +<li>"<code>admin()</code>" - tests whether a modification is being made by one of the +wiki admins.</li> +<li>"<code>ip(address)</code>" - tests whether a modification is being made from the +specified IP address.</li> +<li>"<code>comment(glob)</code>" - matches comments to a page matching the glob.</li> +<li>"<code>comment_pending(glob)</code>" - matches unmoderated, pending comments.</li> +<li>"<code>postcomment(glob)</code>" - matches only when comments are being +posted to a page matching the specified glob</li> +</ul> + + +<p>For example, to match all pages in a blog that link to the page about music +and were written in 2005:</p> + +<pre><code>blog/* and link(music) and creation_year(2005) +</code></pre> + +<p>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.</p> + +<p>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:</p> + +<pre><code>blog/* and (tagged(foo) or tagged(bar)) +</code></pre> + +<p>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".</p> + +<p>To indicate the name of the page the PageSpec is used in, you can +use a single dot. For example, <code>link(.)</code> matches all the pages +linking to the page containing the PageSpec.</p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../">ikiwiki</a> + + <a href="./attachment/">pagespec/attachment</a> + + <a href="./po/">pagespec/po</a> + + <a href="./sorting/">pagespec/sorting</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Qua 20 Out 2010 20:53:50 BRST</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>po</title> + +<link rel="stylesheet" href="../../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../../">ikiwiki</a> <span class="divider">/</span> </li> + + <li><a href="../">pagespec</a> <span class="divider">/</span> </li> + + <li>po</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki/pagespec/po.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + po + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Seg 12 Jul 2010 16:42:30 BRT</span></strong> + </p> + <p>This wiki has po support <strong>disabled</strong>.</p> + +<p>If the <a href="http://ikiwiki.info/plugins/po/">po</a> plugin is enabled, the regular +<a href="../">PageSpec</a> syntax is expanded with the following additional +tests that can be used to improve user navigation in a multi-lingual +wiki:</p> + +<ul> +<li>"<code>lang(LL)</code>" - tests whether a page is written in the language +specified as a ISO639-1 (two-letter) language code.</li> +<li>"<code>currentlang()</code>" - tests whether a page is written in the same +language as the current page.</li> +<li>"<code>needstranslation()</code>" - 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: "<code>needstranslation(50)</code>" matches only pages less than 50% +translated.</li> +</ul> + + +<p>Note that every non-po page is considered to be written in +<code>po_master_language</code>, as specified in <code>ikiwiki.setup</code>.</p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Seg 12 Jul 2010 16:42:30 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>sorting</title> + +<link rel="stylesheet" href="../../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../../">ikiwiki</a> <span class="divider">/</span> </li> + + <li><a href="../">pagespec</a> <span class="divider">/</span> </li> + + <li>sorting</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki/pagespec/sorting.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + sorting + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Sáb 12 Nov 2011 14:02:20 BRST</span></strong> + </p> + <p>Some <a href="../../directive/">directives</a> that use +<a href="../">PageSpecs</a> allow +specifying the order that matching pages are shown in. The following sort +orders can be specified.</p> + +<ul> +<li><p><code>age</code> - List pages from the most recently created to the oldest.</p></li> +<li><p><code>mtime</code> - List pages with the most recently modified first.</p></li> +<li><p><code>title</code> - Order by title (page name), e.g. "z/a a/b a/c"</p></li> +<li><p><code>path</code> - Order by page name including parents, e.g. "a/b a/c z/a"</p></li> +<li><p><code>meta(title)</code> - Order according to the <code>[[!meta title="foo" sortas="bar"]]</code> +or <code>[[!meta title="foo"]]</code> <a href="../../directive/">directive</a>, or the page name if no +full title was set. <code>meta(author)</code>, <code>meta(date)</code>, <code>meta(updated)</code>, etc. +also work.</p></li> +</ul> + + +<p>In addition, you can combine several sort orders and/or reverse the order of +sorting, with a string like <code>age -title</code> (which would sort by age, then by +title in reverse order if two pages have the same age).</p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Sáb 12 Nov 2011 14:02:20 BRST</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>searching</title> + +<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../">ikiwiki</a> <span class="divider">/</span> </li> + + <li>searching</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki/searching.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + searching + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Qua 26 Ago 2009 14:05:46 BRT</span></strong> + </p> + <p>This wiki has searching <strong>disabled</strong>.</p> + +<p>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.</p> + +<ul> +<li>To match a phrase, enclose it in double quotes.</li> +<li><code>AND</code> can be used to search for documents containing two expressions.</li> +<li><code>OR</code> can be used to search for documents containing either one of +two expressions.</li> +<li>Parentheses can be used to build up complicated search expressions. For +example, "(foo AND bar) OR (me AND you)"</li> +<li>Prefix a search term with "-" to avoid it from appearing in the results. +For example, "-discussion" will omit "discussion".</li> +<li>To search for a page with a given title, use "title:foo".</li> +<li>To search for pages that contain a "bar" link, use "link:bar".</li> +</ul> + + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../">ikiwiki</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Qua 26 Ago 2009 14:05:46 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>subpage</title> + +<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../">ikiwiki</a> <span class="divider">/</span> </li> + + <li>subpage</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki/subpage.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + subpage + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Sáb 24 Abr 2010 01:55:09 BRT</span></strong> + </p> + <p>ikiwiki supports placing pages in a directory hierarchy. For example, +this page, <span class="selflink">SubPage</span> has some related pages placed under it, like +<a href="./linkingrules/">LinkingRules</a>. This is a useful way to add some order to your +wiki rather than just having a great big directory full of pages.</p> + +<p>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.</p> + +<p>Linking to and from a SubPage is explained in <a href="./linkingrules/">LinkingRules</a>.</p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../">ikiwiki</a> + + <a href="../pagespec/">pagespec</a> + + <a href="./linkingrules/">subpage/linkingrules</a> + + <a href="../wikilink/">wikilink</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Sáb 24 Abr 2010 01:55:09 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>linkingrules</title> + +<link rel="stylesheet" href="../../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../../">ikiwiki</a> <span class="divider">/</span> </li> + + <li><a href="../">subpage</a> <span class="divider">/</span> </li> + + <li>linkingrules</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki/subpage/linkingrules.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + linkingrules + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Sáb 04 Out 2008 11:11:08 BRT</span></strong> + </p> + <p>To link to or from a <a href="../">SubPage</a>, you can normally use a regular +<a href="../../wikilink/">WikiLink</a> that does not contain the name of the parent directory of +the <a href="../">SubPage</a>. Ikiwiki descends the directory hierarchy looking for a +page that matches your link.</p> + +<p>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.</p> + +<p>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 <em>change</em> to point to FooBar/OtherPage. On the +other hand, a link from BazBar to "OtherPage" would be unchanged by this +creation of a <a href="../">SubPage</a> of FooBar.</p> + +<p>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 <a href="../">SubPage</a>.</p> + +<p>You can use this to, for example, to link from BazBar to "FooBar/SubPage", +or from BazBar/SubPage to "FooBar/SubPage".</p> + +<p>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".</p> + +<p>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.</p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../">subpage</a> + + <a href="../../wikilink/">wikilink</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Sáb 04 Out 2008 11:11:08 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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('<style type="text/css">div.toggleable { display: none; }</style>'); + 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>wikilink</title> + +<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../">ikiwiki</a> <span class="divider">/</span> </li> + + <li>wikilink</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=ikiwiki/wikilink.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + wikilink + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Qua 23 Jun 2010 15:23:09 BRT</span></strong> + </p> + <p>WikiLinks provide easy linking between pages of the wiki. To create a +<span class="selflink">WikiLink</span>, just put the name of the page to link to in double brackets. +For example <code>[[WikiLink]]</code>.</p> + +<p>If you ever need to write something like <code>[[WikiLink]]</code> without creating a +wikilink, just prefix it with a <code>\</code>, like <code>\[[WikiLink]]</code>.</p> + +<p>There are some special <a href="../subpage/linkingrules/">LinkingRules</a> that come into play when +linking between <a href="../subpage/">SubPages</a>.</p> + +<p>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.</p> + +<p>It's also possible to write a WikiLink that uses something other than the page +name as the link text. For example <code>[[foo_bar|SandBox]]</code> links to the SandBox +page, but the link will appear like this: <a href="../../sandbox/">foo bar</a>.</p> + +<p>To link to an anchor inside a page, you can use something like +<code>[[WikiLink#foo]]</code> .</p> + +<p>If the file linked to by a WikiLink looks like an image, it will +be displayed inline on the page.</p> + +<hr /> + +<p>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.</p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../directive/">directive</a> + + <a href="../formatting/">formatting</a> + + <a href="../">ikiwiki</a> + + <a href="../markdown/">markdown</a> + + <a href="../../sandbox/">sandbox</a> + + <a href="../../smileys/">smileys</a> + + <a href="../subpage/linkingrules/">subpage/linkingrules</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Qua 23 Jun 2010 15:23:09 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> diff --git a/index.html b/index.html new file mode 100644 index 00000000000..b640cdb4bd1 --- /dev/null +++ b/index.html @@ -0,0 +1,154 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>Arquivo Público e Distribuído de Memória Coletiva</title> + +<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="local.css" type="text/css" /> + + +<link rel="alternate" type="application/rss+xml" title="Arquivo Público de Memória Coletiva (RSS feed)" href="index.rss" /> + + +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li>Arquivo Público e Distribuído de Memória Coletiva</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=index.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + Arquivo Público e Distribuído de Memória Coletiva + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + + </p> + <p>Uma tentativa de preservação e difusão da memória coletiva! Apenas conteúdo em <a href="https://pt.wikipedia.org/wiki/Copyleft">copyleft</a> ou uso justo é disponibilizado.</p> + +<h1>Funcionamento</h1> + +<ul> +<li>Este sistema utiliza o <a href="http://git-annex.branchable.com">git-annex</a>.</li> +<li>Por limitação de espaço e banda, nem todos os arquivos estão disponíveis online.</li> +<li>Se você achar um link quebrado de um arquivo que queira baixar, entre em contato que possivelmente o disponibilizaremos.</li> +<li>Se você possui algum arquivo que queira disponibilizar, entre em contato que avaliaremos a viabilidade.</li> +<li><a href="https://tor.eff.org">Tor</a> hidden service: <a href="http://qxkteke7sxucikv3.onion">http://qxkteke7sxucikv3.onion</a>.</li> +</ul> + + +<h1>Contato</h1> + +<p>Para entrar em contato, escreva para <code>arquivo arroba sarava.org</code>.</p> + +<h1>Conteúdo</h1> + +<p>Acesse <a href="conteudo">aqui</a> o conteúdo.</p> + +<h1>Documentação</h1> + +<div class="feedlink"> + +<a class="feedbutton" type="application/rss+xml" rel="alternate" title="Arquivo Público de Memória Coletiva (RSS feed)" href="index.rss">RSS</a> + + +</div> +<p> + +<a href="./doc/">Documentação</a><br /> + +<i> +Posted <span class="date">Sex 31 Jul 2015 23:25:50 BRT</span> + +</i> +</p> + + + + + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Sex 31 Jul 2015 23:36:50 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> diff --git a/index.rss b/index.rss new file mode 100644 index 00000000000..e5045f69741 --- /dev/null +++ b/index.rss @@ -0,0 +1,91 @@ +<?xml version="1.0"?> +<rss version="2.0" + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:dcterms="http://purl.org/dc/terms/" > +<channel> +<title>Arquivo Público e Distribuído de Memória Coletiva</title> +<link>https://arquivo.sarava.org/</link> +<description>Arquivo Público de Memória Coletiva</description> +<item> + + <title>Documentação</title> + + + <guid isPermaLink="false">https://arquivo.sarava.org/doc/</guid> + + <link>https://arquivo.sarava.org/doc/</link> + + <pubDate>Fri, 31 Jul 2015 23:25:50 -0300</pubDate> + <dcterms:modified>2015-08-01T02:34:24Z</dcterms:modified> + + <description><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> +</description> + + +</item> + +</channel> +</rss> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>sandbox</title> + +<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../local.css" type="text/css" /> + + + + + +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li>sandbox</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=sandbox.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + sandbox + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Ter 13 Mar 2012 14:08:53 BRT</span></strong> + </p> + <p>This is the SandBox, a page anyone can edit to learn how to use the wiki.</p> + +<hr /> + +<p>Here's a paragraph.</p> + +<p>Here's another one with <em>emphasised</em> text.</p> + +<h1>Header</h1> + +<h2>Subheader</h2> + +<blockquote><p>This is a blockquote.</p> + +<p>This is the first level of quoting.</p> + +<blockquote><p>This is nested blockquote.</p></blockquote> + +<p>Back to the first level.</p></blockquote> + +<p>Numbered list</p> + +<ol> +<li>First item.</li> +<li>Another.</li> +<li>And another..</li> +</ol> + + +<p>Bulleted list</p> + +<ul> +<li><em>item</em></li> +<li>item</li> +</ul> + + +<p><a href="../ikiwiki/wikilink/">WikiLink</a></p> + +<p>[[!calendar type="month" pages="blog/*"]]</p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../ikiwiki/wikilink/">ikiwiki/wikilink</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Ter 13 Mar 2012 14:08:53 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>shortcuts</title> + +<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../local.css" type="text/css" /> + + + + + +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li>shortcuts</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=shortcuts.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + shortcuts + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Sáb 03 Mar 2012 12:27:59 BRT</span></strong> + </p> + <p>This wiki has shortcuts <strong>enabled</strong>.</p> + +<p>Some examples of using shortcuts include:</p> + +<pre><code>[[!google foo]] +[[!wikipedia War_of_1812]] +[[!debbug 12345]] +Check the [[!cia ikiwiki desc="CIA page for %s"]]. +</code></pre> + +<p>This page controls what shortcut links the wiki supports.</p> + +<ul> +<li>shortcut google points to <i>https://encrypted.google.com/search?q=%s</i></li> +<li>shortcut archive points to <i>http://web.archive.org/*/%S</i></li> +<li>shortcut gmap points to <i>https://maps.google.com/maps?q=%s</i></li> +<li>shortcut gmsg points to <i>https://groups.google.com/groups?selm=%s</i></li> +<li>shortcut wikipedia points to <i>https://en.wikipedia.org/wiki/%W</i></li> +<li>shortcut wikitravel points to <i>https://wikitravel.org/en/%s</i></li> +<li>shortcut wiktionary points to <i>https://en.wiktionary.org/wiki/%s</i></li> +<li>shortcut debbug points to <i>http://bugs.debian.org/%S</i></li> +<li>shortcut deblist points to <i>https://lists.debian.org/debian-%s</i></li> +<li>shortcut debpkg points to <i>http://packages.debian.org/%s</i></li> +<li>shortcut debpkgsid points to <i>http://packages.debian.org/sid/%s</i></li> +<li>shortcut debpts points to <i>http://packages.qa.debian.org/%s</i></li> +<li>shortcut debmsg points to <i>https://lists.debian.org/msgid-search/%s</i></li> +<li>shortcut debrt points to <i>https://rt.debian.org/Ticket/Display.html?id=%s</i></li> +<li>shortcut debss points to <i>http://snapshot.debian.org/package/%s/</i> + +<ul> +<li>Usage: <code>[[!debss package]]</code> or <code>[[!debss package/version]]</code>. See <a href="http://snapshot.debian.org/">http://snapshot.debian.org/</a> for details.</li> +</ul> +</li> +<li>shortcut debwiki points to <i>https://wiki.debian.org/%s</i></li> +<li>shortcut fdobug points to <i>https://bugs.freedesktop.org/show_bug.cgi?id=%s</i></li> +<li>shortcut fdolist points to <i>http://lists.freedesktop.org/mailman/listinfo/%s</i></li> +<li>shortcut gnomebug points to <i>https://bugzilla.gnome.org/show_bug.cgi?id=%s</i></li> +<li>shortcut linuxbug points to <i>https://bugzilla.kernel.org/show_bug.cgi?id=%s</i></li> +<li>shortcut mozbug points to <i>https://bugzilla.mozilla.org/show_bug.cgi?id=%s</i></li> +<li>shortcut gnulist points to <i>https://lists.gnu.org/mailman/listinfo/%s</i></li> +<li>shortcut marcmsg points to <i>http://marc.info/?i=%s</i></li> +<li>shortcut marclist points to <i>http://marc.info/?l=%s</i></li> +<li>shortcut gmane points to <i>http://dir.gmane.org/gmane.%s</i></li> +<li>shortcut gmanemsg points to <i>http://mid.gmane.org/%s</i></li> +<li>shortcut cpan points to <i>http://search.cpan.org/search?mode=dist&query=%s</i></li> +<li>shortcut ctan points to <i>http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s</i></li> +<li>shortcut hoogle points to <i>http://haskell.org/hoogle/?q=%s</i></li> +<li>shortcut iki points to <i>http://ikiwiki.info/%S/</i></li> +<li>shortcut ljuser points to <i>http://%s.livejournal.com/</i></li> +<li>shortcut rfc points to <i>https://www.ietf.org/rfc/rfc%s.txt</i></li> +<li>shortcut c2 points to <i>http://c2.com/cgi/wiki?%s</i></li> +<li>shortcut meatballwiki points to <i>http://www.usemod.com/cgi-bin/mb.pl?%s</i></li> +<li>shortcut emacswiki points to <i>http://www.emacswiki.org/cgi-bin/wiki/%s</i></li> +<li>shortcut haskellwiki points to <i>http://haskell.org/haskellwiki/%s</i></li> +<li>shortcut dict points to <i>http://www.dict.org/bin/Dict?Form=Dict1&Strategy=<em>&Database=</em>&Query=%s</i></li> +<li>shortcut imdb points to <i>http://imdb.com/find?q=%s</i></li> +<li>shortcut gpg points to <i>http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s</i></li> +<li>shortcut perldoc points to <i>http://perldoc.perl.org/search.html?q=%s</i></li> +<li>shortcut whois points to <i>http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain</i></li> +<li>shortcut cve points to <i>https://cve.mitre.org/cgi-bin/cvename.cgi?name=%s</i></li> +<li>shortcut cia points to <i>http://cia.vc/stats/project/%s</i></li> +<li>shortcut ciauser points to <i>http://cia.vc/stats/user/%s</i></li> +<li>shortcut flickr points to <i>https://secure.flickr.com/photos/%s</i></li> +<li>shortcut man points to <i>http://linux.die.net/man/%s</i></li> +<li>shortcut ohloh points to <i>https://www.ohloh.net/p/%s</i></li> +<li>shortcut cpanrt points to <i>https://rt.cpan.org/Ticket/Display.html?id=%s</i></li> +<li>shortcut novellbug points to <i>https://bugzilla.novell.com/show_bug.cgi?id=%s</i></li> +<li>shortcut ubupkg points to <i>http://packages.ubuntu.com/%s</i></li> +<li>shortcut mozillazinekb points to <i>http://kb.mozillazine.org/%s</i></li> +<li>shortcut freebsdwiki points to <i>http://wiki.freebsd.org/%s</i></li> +<li>shortcut hackage points to <i>http://hackage.haskell.org/package/%s</i></li> +</ul> + + +<p>To add a new shortcut, use the <code>shortcut</code> +<a href="../ikiwiki/directive/">directive</a>. In the url, "%s" is replaced with the +text passed to the named shortcut, after <a href="https://en.wikipedia.org/wiki/url%5Fencoding">url encoding</a> +it, and '%S' is replaced with the raw, non-encoded text. +Additionally, <code>%W</code> is replaced with the text encoded just right for +Wikipedia. The optional <code>desc</code> parameter controls the description of +the link.</p> + +<p>Remember that the <code>name</code> you give the shortcut will become a new +<a href="../ikiwiki/directive/">directive</a>. Avoid using a <code>name</code> that conflicts +with an existing directive. These directives also accept a <code>desc</code> +parameter that will override the one provided at definition time.</p> + +<p>If you come up with a shortcut that you think others might find useful, +consider contributing it to the <a href="http://ikiwiki.info/shortcuts/">shortcuts page on the ikiwiki +wiki</a>, so that future versions of +ikiwiki will include your shortcut in the standard underlay.</p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../ikiwiki/formatting/">ikiwiki/formatting</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Sáb 03 Mar 2012 12:27:59 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> diff --git a/smileys/alert.png b/smileys/alert.png Binary files differnew file mode 100644 index 00000000000..5bb87e33fa8 --- /dev/null +++ b/smileys/alert.png diff --git a/smileys/angry.png b/smileys/angry.png Binary files differnew file mode 100644 index 00000000000..05bc69f74a8 --- /dev/null +++ b/smileys/angry.png diff --git a/smileys/attention.png b/smileys/attention.png Binary files differnew file mode 100644 index 00000000000..7e064566d83 --- /dev/null +++ b/smileys/attention.png diff --git a/smileys/biggrin.png b/smileys/biggrin.png Binary files differnew file mode 100644 index 00000000000..f71b42c11ad --- /dev/null +++ b/smileys/biggrin.png diff --git a/smileys/checkmark.png b/smileys/checkmark.png Binary files differnew file mode 100644 index 00000000000..8869caa192b --- /dev/null +++ b/smileys/checkmark.png diff --git a/smileys/devil.png b/smileys/devil.png Binary files differnew file mode 100644 index 00000000000..8684c3970e5 --- /dev/null +++ b/smileys/devil.png diff --git a/smileys/frown.png b/smileys/frown.png Binary files differnew file mode 100644 index 00000000000..2999b55ea0a --- /dev/null +++ b/smileys/frown.png diff --git a/smileys/icon-error.png b/smileys/icon-error.png Binary files differnew file mode 100644 index 00000000000..c39e65c33d0 --- /dev/null +++ b/smileys/icon-error.png diff --git a/smileys/icon-info.png b/smileys/icon-info.png Binary files differnew file mode 100644 index 00000000000..c1b14f33139 --- /dev/null +++ b/smileys/icon-info.png diff --git a/smileys/idea.png b/smileys/idea.png Binary files differnew file mode 100644 index 00000000000..37bc02ddc98 --- /dev/null +++ b/smileys/idea.png 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>smileys</title> + +<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../local.css" type="text/css" /> + + + + + +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li>smileys</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=smileys.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + smileys + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Qui 17 Jul 2008 14:11:47 BRT</span></strong> + </p> + <p>This page is used to control what smileys are supported by the wiki. +Just write the text of a smiley to display it.</p> + +<ul> +<li>:) <img src="./smile.png" alt="smile.png" /></li> +<li>:-) <img src="./smile.png" alt="smile.png" /></li> +<li>:D <img src="./biggrin.png" alt="biggrin.png" /></li> +<li>:-D <img src="./biggrin.png" alt="biggrin.png" /></li> +<li>B) <img src="./smile2.png" alt="smile2.png" /></li> +<li>B-) <img src="./smile2.png" alt="smile2.png" /></li> +<li>:)) <img src="./smile3.png" alt="smile3.png" /></li> +<li>:-)) <img src="./smile3.png" alt="smile3.png" /></li> +<li>;) <img src="./smile4.png" alt="smile4.png" /></li> +<li>;-) <img src="./smile4.png" alt="smile4.png" /></li> +<li>:\ <img src="./ohwell.png" alt="ohwell.png" /></li> +<li>:-\ <img src="./ohwell.png" alt="ohwell.png" /></li> +<li>:/ <img src="./ohwell.png" alt="ohwell.png" /></li> +<li>:-/ <img src="./ohwell.png" alt="ohwell.png" /></li> +<li>:| <img src="./neutral.png" alt="neutral.png" /></li> +<li>:-| <img src="./neutral.png" alt="neutral.png" /></li> +<li>>:> <img src="./devil.png" alt="devil.png" /></li> +<li>X-( <img src="./angry.png" alt="angry.png" /></li> +<li><:( <img src="./frown.png" alt="frown.png" /></li> +<li>:( <img src="./sad.png" alt="sad.png" /></li> +<li>:-( <img src="./sad.png" alt="sad.png" /></li> +<li>:-? <img src="./tongue.png" alt="tongue.png" /></li> +<li>:-P <img src="./tongue.png" alt="tongue.png" /></li> +<li>:o <img src="./redface.png" alt="redface.png" /></li> +<li>|) <img src="./tired.png" alt="tired.png" /></li> +<li>|-) <img src="./tired.png" alt="tired.png" /></li> +<li>{OK} <img src="./thumbs-up.png" alt="thumbs-up.png" /></li> +<li>{X} <img src="./icon-error.png" alt="icon-error.png" /></li> +<li>{i} <img src="./icon-info.png" alt="icon-info.png" /></li> +<li>(./) <img src="./checkmark.png" alt="checkmark.png" /></li> +<li>(!) <img src="./idea.png" alt="idea.png" /></li> +<li>[!] <img src="./attention.png" alt="attention.png" /></li> +<li>/!\ <img src="./alert.png" alt="alert.png" /></li> +<li>(?) <img src="./question.png" alt="question.png" /></li> +<li>{x} <img src="./star_on.png" alt="star on.png" /></li> +<li>{*} <img src="./star_on.png" alt="star on.png" /></li> +<li>{o} <img src="./star_off.png" alt="star off.png" /></li> +<li>{1} <img src="./prio1.png" alt="prio1.png" /></li> +<li>{2} <img src="./prio2.png" alt="prio2.png" /></li> +<li>{3} <img src="./prio3.png" alt="prio3.png" /></li> +</ul> + + +<p>For example: <img src="./star_on.png" alt="{x}" /> <img src="./smile2.png" alt="B)" /> <img src="./star_on.png" alt="{x}" /></p> + +<hr /> + +<p>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 <a href="../ikiwiki/wikilink/">WikiLink</a> to the image to display.</p> + +<p><img src="./alert.png" alt="/!\" /> 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.</p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../ikiwiki/formatting/">ikiwiki/formatting</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Qui 17 Jul 2008 14:11:47 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> diff --git a/smileys/neutral.png b/smileys/neutral.png Binary files differnew file mode 100644 index 00000000000..ddeb59231fd --- /dev/null +++ b/smileys/neutral.png diff --git a/smileys/ohwell.png b/smileys/ohwell.png Binary files differnew file mode 100644 index 00000000000..a83adfbf503 --- /dev/null +++ b/smileys/ohwell.png diff --git a/smileys/prio1.png b/smileys/prio1.png Binary files differnew file mode 100644 index 00000000000..774d34d6528 --- /dev/null +++ b/smileys/prio1.png diff --git a/smileys/prio2.png b/smileys/prio2.png Binary files differnew file mode 100644 index 00000000000..4528653c3c9 --- /dev/null +++ b/smileys/prio2.png diff --git a/smileys/prio3.png b/smileys/prio3.png Binary files differnew file mode 100644 index 00000000000..84332ce824d --- /dev/null +++ b/smileys/prio3.png diff --git a/smileys/question.png b/smileys/question.png Binary files differnew file mode 100644 index 00000000000..df22152e637 --- /dev/null +++ b/smileys/question.png diff --git a/smileys/redface.png b/smileys/redface.png Binary files differnew file mode 100644 index 00000000000..9a8739253c8 --- /dev/null +++ b/smileys/redface.png diff --git a/smileys/sad.png b/smileys/sad.png Binary files differnew file mode 100644 index 00000000000..86a059d971c --- /dev/null +++ b/smileys/sad.png diff --git a/smileys/smile.png b/smileys/smile.png Binary files differnew file mode 100644 index 00000000000..b51b3ff49e8 --- /dev/null +++ b/smileys/smile.png diff --git a/smileys/smile2.png b/smileys/smile2.png Binary files differnew file mode 100644 index 00000000000..43ea05f9d0a --- /dev/null +++ b/smileys/smile2.png diff --git a/smileys/smile3.png b/smileys/smile3.png Binary files differnew file mode 100644 index 00000000000..c690ccc2fdb --- /dev/null +++ b/smileys/smile3.png diff --git a/smileys/smile4.png b/smileys/smile4.png Binary files differnew file mode 100644 index 00000000000..f8f5b523d9a --- /dev/null +++ b/smileys/smile4.png diff --git a/smileys/star_off.png b/smileys/star_off.png Binary files differnew file mode 100644 index 00000000000..c5535c3de1c --- /dev/null +++ b/smileys/star_off.png diff --git a/smileys/star_on.png b/smileys/star_on.png Binary files differnew file mode 100644 index 00000000000..969908d39e2 --- /dev/null +++ b/smileys/star_on.png diff --git a/smileys/thumbs-up.png b/smileys/thumbs-up.png Binary files differnew file mode 100644 index 00000000000..1faabace7d9 --- /dev/null +++ b/smileys/thumbs-up.png diff --git a/smileys/tired.png b/smileys/tired.png Binary files differnew file mode 100644 index 00000000000..a3d5c56fba6 --- /dev/null +++ b/smileys/tired.png diff --git a/smileys/tongue.png b/smileys/tongue.png Binary files differnew file mode 100644 index 00000000000..65105407c46 --- /dev/null +++ b/smileys/tongue.png 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>templates</title> + +<link rel="stylesheet" href="../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../local.css" type="text/css" /> + + + + +<meta name="robots" content="noindex, follow" /> +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li>templates</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=templates.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + templates + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Qua 28 Mar 2012 21:56:22 BRT</span></strong> + </p> + <p><a href="../ikiwiki/">Ikiwiki</a> uses many templates for many purposes. By editing its templates, +you can fully customise its appearance, and avoid duplicate content.</p> + +<p>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:</p> + +<ul> +<li>To insert the value of a template variable, use <code><TMPL_VAR variable></code>.</li> +<li>To make a block of text conditional on a variable being set use +<code><TMPL_IF variable>text</TMPL_IF></code>.</li> +<li>To use one block of text if a variable is set and a second if it's not, +use <code><TMPL_IF variable>text<TMPL_ELSE>other text</TMPL_IF></code></li> +</ul> + + +<h2>template pages</h2> + +<p>Template pages are regular wiki pages that are used as templates for other +pages.</p> + +<p>The <a href="http://ikiwiki.info/ikiwiki/directive/template/">template directive</a> allows +template pages to be filled out and inserted into other pages in the wiki.</p> + +<p>These template pages are currently available:</p> + +<p> + +<a href="./note/">note</a> + +</p> +<p> + +<a href="./popup/">popup</a> + +</p> + + + +<h2>template files</h2> + +<p>Template files are unlike template pages in that they have the extension +<code>.tmpl</code>. Template files are used extensively by Ikiwiki to generate html. +They can contain html that would not normally be allowed on a wiki page.</p> + +<p>Template files are located in <code>/usr/share/ikiwiki/templates</code> by default; +the <code>templatedir</code> 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 <code>templatedir</code>.</p> + +<p>Here is a full list of the template files used:</p> + +<ul> +<li><p><code>page.tmpl</code> - Used for displaying all regular wiki pages. This is the +key template to customise to change the look and feel of Ikiwiki.</p></li> +<li><p><code>rsspage.tmpl</code> - Used for generating rss feeds for blogs.</p></li> +<li><code>rssitem.tmpl</code> - Used for generating individual items on rss feeds.</li> +<li><code>atompage.tmpl</code> - Used for generating atom feeds for blogs.</li> +<li><code>atomitem.tmpl</code> - Used for generating individual items on atom feeds.</li> +<li><code>inlinepage.tmpl</code> - Used for displaying a post in a blog.</li> +<li><code>archivepage.tmpl</code> - Used for listing a page in a blog archive page.</li> +<li><code>titlepage.tmpl</code> - Used for listing a page by title in a blog archive page.</li> +<li><code>microblog.tmpl</code> - Used for showing a microblogging post inline.</li> +<li><code>blogpost.tmpl</code> - Used for a form to add a post to a blog (and rss/atom links)</li> +<li><code>feedlink.tmpl</code> - Used to add rss/atom links if <code>blogpost.tmpl</code> is not used.</li> +<li><code>aggregatepost.tmpl</code> - Used by the aggregate plugin to create +a page for a post.</li> +<li><code>searchform.tmpl</code>, <code>googleform.tmpl</code> - Used by the search plugin +and google plugin to add search forms to wiki pages.</li> +<li><code>searchquery.tmpl</code> - This is a Omega template, used by the +search plugin.</li> +<li><code>comment.tmpl</code> - Used by the comments plugin to display a comment.</li> +<li><code>change.tmpl</code> - Used to create a page describing a change made to the wiki.</li> +<li><code>recentchanges.tmpl</code> - Used for listing a change on the RecentChanges page.</li> +<li><code>autoindex.tmpl</code> - Filled in by the autoindex plugin to make index pages.</li> +<li><code>autotag.tmpl</code> - Filled in by the tag plugin to make tag pages.</li> +<li><code>calendarmonth.tmpl</code>, <code>calendaryear.tmpl</code> - Used by ikiwiki-calendar to +make calendar archive pages.</li> +<li><code>trails.tmpl</code> - Used by the trail plugin to generate links on each page +that is a member of a trail.</li> +<li><code>notifyemail.tmpl</code> - Used by the notifymail plugin to generate mails about +changed pages.</li> +<li><code>editpage.tmpl</code>, <code>editconflict.tmpl</code>, <code>editcreationconflict.tmpl</code>, +<code>editfailedsave.tmpl</code>, <code>editpagegone.tmpl</code>, <code>pocreatepage.tmpl</code>, +<code>editcomment.tmpl</code> <code>commentmoderation.tmpl</code>, <code>renamesummary.tmpl</code>, +<code>passwordmail.tmpl</code>, <code>openid-selector.tmpl</code>, <code>revert.tmpl</code> - Parts of ikiwiki's user +interface; do not normally need to be customised.</li> +</ul> + + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + <div id="backlinks"> + Links: + + <a href="../ikiwiki/">ikiwiki</a> + + <a href="../ikiwiki/formatting/">ikiwiki/formatting</a> + + + </div> + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Qua 28 Mar 2012 21:56:22 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>note</title> + +<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../local.css" type="text/css" /> + + + + + +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../">templates</a> <span class="divider">/</span> </li> + + <li>note</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=templates/note.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + note + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Qua 05 Mai 2010 23:47:37 BRT</span></strong> + </p> + <div class="notebox"> + +</div> + + +<p> +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:</p> + +<ul> +<li>`text` - the text to display in the note +</ul> + + +<p></p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Qua 05 Mai 2010 23:47:37 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> 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 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<meta name="viewport" content="width=device-width, initial-scale=1.0" /> + +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<title>popup</title> + +<link rel="stylesheet" href="../../bootstrap/css/bootstrap.min.css" type="text/css" /> +<link rel="stylesheet" href="../../bootstrap/css/bootstrap-responsive.min.css" /> + +<link rel="stylesheet" href="../../local.css" type="text/css" /> + + + + + +<style type="text/css"> +@media (max-width: 979px) { + .navbar-fixed-top { + position: fixed; + margin-left: 0px; + margin-right: 0px; + } +} +</style> +</head> +<body> + +<div class="container"> + + <div class="row-fluid"> + <div class="span12"> + <h1></h1> + + <ul class="breadcrumb"> + + <li><a href="../../">Arquivo Público de Memória Coletiva</a> <span class="divider">/</span> </li> + + <li><a href="../">templates</a> <span class="divider">/</span> </li> + + <li>popup</li> + <li><span class="divider">|</span> <a href="/meta">Meta</a></li> + <li><span class="divider">|</span> <a href="https://git.sarava.org/?p=arquivo.git;a=history;f=templates/popup.mdwn">History</a></li> + <li><span class="divider">|</span> <a href="/index.rss">Feed</a></li> + </ul> + </div> + </div> + + <div class="page row-fluid"> + + <div> + <div class="pageheader"> + <div class="header"> + <h1> + popup + + </h1> + + </div> + + </div> + + <div id="pagebody"> + + <div id="content"> + <p class="pagedate"> + <strong>Posted <span class="date">Qua 05 Mai 2010 23:47:37 BRT</span></strong> + </p> + <p> +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:</p> + +<ul> +<li>`mouseover` - This is the text or other content that triggers the +popup. +<li>`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. +</ul> + + +<p>Note that browsers that do not support the CSS will display the popup +inline in the page, inside square brackets. + +<span class="popup"> +<span class="paren">[</span><span class="balloon"></span><span class="paren">]</span> +</span></p> + + </div> + + <hr /> + + + + + + </div> + + <div id="footer" class="pagefooter"> + + <div id="pageinfo"> + + + + + + + + + + <!--<div class="pagedate"> + Last edited <span class="date">Qua 05 Mai 2010 23:47:37 BRT</span> + </div> --> + + </div> + + + <!-- from Arquivo Público de Memória Coletiva --> + </div> + + </div> + + <div class="span4"> + + + + </div> + + </div> +</div> + +</body> +</html> diff --git a/wikiicons/diff.png b/wikiicons/diff.png Binary files differnew file mode 100644 index 00000000000..0b98d79ace1 --- /dev/null +++ b/wikiicons/diff.png diff --git a/wikiicons/openidlogin-bg.gif b/wikiicons/openidlogin-bg.gif Binary files differnew file mode 100644 index 00000000000..a3bfe109834 --- /dev/null +++ b/wikiicons/openidlogin-bg.gif diff --git a/wikiicons/revert.png b/wikiicons/revert.png Binary files differnew file mode 100644 index 00000000000..c39e65c33d0 --- /dev/null +++ b/wikiicons/revert.png diff --git a/wikiicons/search-bg.gif b/wikiicons/search-bg.gif Binary files differnew file mode 100644 index 00000000000..02f9da4a7e9 --- /dev/null +++ b/wikiicons/search-bg.gif |