diff --git a/.gitignore b/.gitignore index 13f4f82..72d03f4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -.ikiwiki +content/.ikiwiki public/ -tools/http-server/ +http-server/ diff --git a/css/bootstrap.local.css b/base/css/bootstrap.local.css similarity index 100% rename from css/bootstrap.local.css rename to base/css/bootstrap.local.css diff --git a/css/local.css b/base/css/local.css similarity index 100% rename from css/local.css rename to base/css/local.css diff --git a/css/style.css b/base/css/style.css similarity index 100% rename from css/style.css rename to base/css/style.css diff --git a/base/favicon.ico b/base/favicon.ico new file mode 100644 index 0000000..b55eba2 Binary files /dev/null and b/base/favicon.ico differ diff --git a/fonts/glyphicons-halflings-regular.eot b/base/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from fonts/glyphicons-halflings-regular.eot rename to base/fonts/glyphicons-halflings-regular.eot diff --git a/fonts/glyphicons-halflings-regular.svg b/base/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from fonts/glyphicons-halflings-regular.svg rename to base/fonts/glyphicons-halflings-regular.svg diff --git a/fonts/glyphicons-halflings-regular.ttf b/base/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from fonts/glyphicons-halflings-regular.ttf rename to base/fonts/glyphicons-halflings-regular.ttf diff --git a/fonts/glyphicons-halflings-regular.woff b/base/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from fonts/glyphicons-halflings-regular.woff rename to base/fonts/glyphicons-halflings-regular.woff diff --git a/fonts/glyphicons-halflings-regular.woff2 b/base/fonts/glyphicons-halflings-regular.woff2 similarity index 100% rename from fonts/glyphicons-halflings-regular.woff2 rename to base/fonts/glyphicons-halflings-regular.woff2 diff --git a/js/join.js b/base/js/join.js similarity index 100% rename from js/join.js rename to base/js/join.js diff --git a/base/recentchanges.fr.po b/base/recentchanges.fr.po new file mode 100644 index 0000000..8f12155 --- /dev/null +++ b/base/recentchanges.fr.po @@ -0,0 +1,37 @@ +# Traduction de ikiwiki +# Copyright (C) 2009 Debian French l10n team +# This file is distributed under the same license as the PACKAGE Ikiwiki. +# +msgid "" +msgstr "" +"Project-Id-Version: Ikiwiki\n" +"POT-Creation-Date: 2009-08-15 18:30-0300\n" +"PO-Revision-Date: 2009-08-23 09:32+0200\n" +"Last-Translator: Philippe Batailler \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: Plain text +#, no-wrap +msgid "[[!if test=\"enabled(meta)\" then=\"\"\"\n" +msgstr "[[!if test=\"enabled(meta)\" then=\"\"\"\n" + +#. type: Plain text +#, no-wrap +msgid "[[!meta title=\"RecentChanges\"]]\n" +msgstr "[[!meta title=\"RecentChanges\"]]\n" + +#. type: Plain text +msgid "Recent changes to this wiki:" +msgstr "Dernières modifications :" + +#. type: Plain text +#, no-wrap +msgid "" +"[[!inline pages=\"internal(recentchanges/change_*) and !*/Discussion\" \n" +"template=recentchanges show=0]]\n" +msgstr "" +"[[!inline pages=\"internal(recentchanges/change_*) and !*/Discussion\" \n" +"template=recentchanges show=0]]\n" diff --git a/base/recentchanges.mdwn b/base/recentchanges.mdwn new file mode 100644 index 0000000..3383fc7 --- /dev/null +++ b/base/recentchanges.mdwn @@ -0,0 +1,7 @@ +[[!if test="enabled(meta)" then=""" +[[!meta title="RecentChanges"]] +"""]] +Recent changes to this wiki: + +[[!inline pages="internal(recentchanges/change_*) and !*/Discussion" +template=recentchanges show=0]] diff --git a/base/shortcuts.fr.po b/base/shortcuts.fr.po new file mode 100644 index 0000000..b4755d4 --- /dev/null +++ b/base/shortcuts.fr.po @@ -0,0 +1,266 @@ +# Traduction de ikiwiki +# Copyright (C) 2009 Debian French l10n team +# This file is distributed under the same license as the PACKAGE Ikiwiki. +# +msgid "" +msgstr "" +"Project-Id-Version: ikiwiki\n" +"POT-Creation-Date: 2010-03-14 22:09+0000\n" +"PO-Revision-Date: 2010-07-16 10:39+0200\n" +"Last-Translator: Philippe Batailler \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. type: Plain text +#, no-wrap +msgid "" +"[[!if test=\"enabled(shortcut)\"\n" +" then=\"This wiki has shortcuts **enabled**.\"\n" +" else=\"This wiki has shortcuts **disabled**.\"]]\n" +msgstr "" +"[[!if test=\"enabled(shortcut)\"\n" +" then=\"Les raccourcis sont **activés** dans ce wiki.\"\n" +" else=\"Les raccourcis sont **désactivés** dans ce wiki.\"]]\n" + +#. type: Plain text +msgid "Some examples of using shortcuts include:" +msgstr "Voici quelques exemples de raccourcis :" + +#. type: Plain text +#, no-wrap +msgid "" +"\t\\[[!google foo]]\n" +"\t\\[[!wikipedia War_of_1812]]\n" +"\t\\[[!debbug 12345]]\n" +"\tCheck the \\[[!cia ikiwiki desc=\"CIA page for %s\"]].\n" +msgstr "" +"\t\\[[!google foo]]\n" +"\t\\[[!wikipedia War_of_1812]]\n" +"\t\\[[!debbug 12345]]\n" +"\tConsultez la \\[[!cia ikiwiki desc=\"page du projet CIA pour %s\"]].\n" + +#. type: Plain text +msgid "This page controls what shortcut links the wiki supports." +msgstr "Cette page définit les raccourcis connus par ce wiki." + +#. type: Bullet: '* ' +msgid "[[!shortcut name=google url=\"http://www.google.com/search?q=%s\"]]" +msgstr "[[!shortcut name=google url=\"http://www.google.com/search?q=%s\"]]" + +#. type: Bullet: '* ' +msgid "[[!shortcut name=archive url=\"http://web.archive.org/*/%S\"]]" +msgstr "[[!shortcut name=archive url=\"http://web.archive.org/*/%S\"]]" + +#. type: Bullet: '* ' +msgid "[[!shortcut name=gmap url=\"http://maps.google.com/maps?q=%s\"]]" +msgstr "[[!shortcut name=gmap url=\"http://maps.google.com/maps?q=%s\"]]" + +#. type: Bullet: '* ' +msgid "[[!shortcut name=gmsg url=\"http://groups.google.com/groups?selm=%s\"]]" +msgstr "" +"[[!shortcut name=gmsg url=\"http://groups.google.com/groups?selm=%s\"]]" + +#. type: Bullet: '* ' +msgid "[[!shortcut name=wikipedia url=\"http://en.wikipedia.org/wiki/%s\"]]" +msgstr "[[!shortcut name=wikipedia url=\"http://en.wikipedia.org/wiki/%s\"]]" + +#. type: Bullet: '* ' +msgid "[[!shortcut name=wikitravel url=\"http://wikitravel.org/en/%s\"]]" +msgstr "[[!shortcut name=wikitravel url=\"http://wikitravel.org/en/%s\"]]" + +#. type: Bullet: '* ' +msgid "[[!shortcut name=wiktionary url=\"http://en.wiktionary.org/wiki/%s\"]]" +msgstr "[[!shortcut name=wiktionary url=\"http://en.wiktionary.org/wiki/%s\"]]" + +#. type: Bullet: '* ' +#| msgid "" +#| "[[!shortcut name=debbug url=\"http://bugs.debian.org/%s\" desc=\"bug #%s" +#| "\"]]" +msgid "" +"[[!shortcut name=debbug url=\"http://bugs.debian.org/%S\" desc=\"Debian bug #" +"%s\"]]" +msgstr "[[!shortcut name=debbug url=\"http://bugs.debian.org/%S\" desc=\"bug #%s\"]]" + +#. type: Bullet: '* ' +msgid "" +"[[!shortcut name=deblist url=\"http://lists.debian.org/debian-%s\" desc=" +"\"debian-%s@lists.debian.org\"]]" +msgstr "" +"[[!shortcut name=deblist url=\"http://lists.debian.org/debian-%s\" desc=" +"\"debian-%s@lists.debian.org\"]]" + +#. type: Bullet: '* ' +msgid "[[!shortcut name=debpkg url=\"http://packages.debian.org/%s\"]]" +msgstr "[[!shortcut name=debpkg url=\"http://packages.debian.org/%s\"]]" + +#. type: Bullet: '* ' +msgid "[[!shortcut name=debpkgsid url=\"http://packages.debian.org/sid/%s\"]]" +msgstr "[[!shortcut name=debpkgsid url=\"http://packages.debian.org/sid/%s\"]]" + +#. type: Bullet: '* ' +msgid "[[!shortcut name=debpts url=\"http://packages.qa.debian.org/%s\"]]" +msgstr "[[!shortcut name=debpts url=\"http://packages.qa.debian.org/%s\"]]" + +#. type: Bullet: '* ' +msgid "" +"[[!shortcut name=debmsg url=\"http://lists.debian.org/msgid-search/%s\"]]" +msgstr "" +"[[!shortcut name=debmsg url=\"http://lists.debian.org/msgid-search/%s\"]]" + +#. type: Bullet: '* ' +msgid "" +"[[!shortcut name=debrt url=\"https://rt.debian.org/Ticket/Display.html?id=%s" +"\"]]" +msgstr "" +"[[!shortcut name=debrt url=\"https://rt.debian.org/Ticket/Display.html?id=%s" +"\"]]" + +#. type: Plain text +#, no-wrap +#| msgid "" +#| "* [[!shortcut name=debss url=\"http://snapshot.debian.net/package/%s\"]]\n" +#| " * Usage: `\\[[!debss package]]`, `\\[[!debss package#version]]`, or `\\[[!debss package/version]]`. See http://snapshot.debian.net for details.\n" +#| "* [[!shortcut name=debwiki url=\"http://wiki.debian.org/%s\"]]\n" +#| "* [[!shortcut name=fdobug url=\"https://bugs.freedesktop.org/show_bug.cgi?id=%s\" desc=\"freedesktop.org bug #%s\"]]\n" +#| "* [[!shortcut name=fdolist url=\"http://lists.freedesktop.org/mailman/listinfo/%s\" desc=\"%s@lists.freedesktop.org\"]]\n" +#| "* [[!shortcut name=gnomebug url=\"http://bugzilla.gnome.org/show_bug.cgi?id=%s\" desc=\"GNOME bug #%s\"]]\n" +#| "* [[!shortcut name=linuxbug url=\"http://bugzilla.kernel.org/show_bug.cgi?id=%s\" desc=\"Linux bug #%s\"]]\n" +#| "* [[!shortcut name=mozbug url=\"https://bugzilla.mozilla.org/show_bug.cgi?id=%s\" desc=\"Mozilla bug #%s\"]]\n" +#| "* [[!shortcut name=gnulist url=\"http://lists.gnu.org/mailman/listinfo/%s\" desc=\"%s@gnu.org\"]]\n" +#| "* [[!shortcut name=marcmsg url=\"http://marc.info/?i=%s\"]]\n" +#| "* [[!shortcut name=marclist url=\"http://marc.info/?l=%s\"]]\n" +#| "* [[!shortcut name=gmane url=\"http://dir.gmane.org/gmane.%s\" desc=\"gmane.%s\"]]\n" +#| "* [[!shortcut name=gmanemsg url=\"http://mid.gmane.org/%s\"]]\n" +#| "* [[!shortcut name=cpan url=\"http://search.cpan.org/search?mode=dist&query=%s\"]]\n" +#| "* [[!shortcut name=ctan url=\"http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s\"]]\n" +#| "* [[!shortcut name=hoogle url=\"http://haskell.org/hoogle/?q=%s\"]]\n" +#| "* [[!shortcut name=iki url=\"http://ikiwiki.info/%S/\"]]\n" +#| "* [[!shortcut name=ljuser url=\"http://%s.livejournal.com/\"]]\n" +#| "* [[!shortcut name=rfc url=\"http://www.ietf.org/rfc/rfc%s.txt\" desc=\"RFC %s\"]]\n" +#| "* [[!shortcut name=c2 url=\"http://c2.com/cgi/wiki?%s\"]]\n" +#| "* [[!shortcut name=meatballwiki url=\"http://www.usemod.com/cgi-bin/mb.pl?%s\"]]\n" +#| "* [[!shortcut name=emacswiki url=\"http://www.emacswiki.org/cgi-bin/wiki/%s\"]]\n" +#| "* [[!shortcut name=haskellwiki url=\"http://haskell.org/haskellwiki/%s\"]]\n" +#| "* [[!shortcut name=dict url=\"http://www.dict.org/bin/Dict?Form=Dict1&Strategy=*&Database=*&Query=%s\"]]\n" +#| "* [[!shortcut name=imdb url=\"http://imdb.com/find?q=%s\"]]\n" +#| "* [[!shortcut name=gpg url=\"http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s\"]]\n" +#| "* [[!shortcut name=perldoc url=\"http://perldoc.perl.org/search.html?q=%s\"]]\n" +#| "* [[!shortcut name=whois url=\"http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain\"]]\n" +#| "* [[!shortcut name=cve url=\"http://cve.mitre.org/cgi-bin/cvename.cgi?name=%s\"]]\n" +#| "* [[!shortcut name=cia url=\"http://cia.vc/stats/project/%s\"]]\n" +#| "* [[!shortcut name=ciauser url=\"http://cia.vc/stats/user/%s\"]]\n" +#| "* [[!shortcut name=flickr url=\"http://www.flickr.com/photos/%s\"]]\n" +#| "* [[!shortcut name=man url=\"http://linux.die.net/man/%s\"]]\n" +#| "* [[!shortcut name=ohloh url=\"http://www.ohloh.net/projects/%s\"]]\n" +msgid "" +"* [[!shortcut name=debss url=\"http://snapshot.debian.net/package/%s\"]]\n" +" * Usage: `\\[[!debss package]]`, `\\[[!debss package#version]]`, or `\\[[!debss package/version]]`. See http://snapshot.debian.net for details.\n" +"* [[!shortcut name=debwiki url=\"http://wiki.debian.org/%s\"]]\n" +"* [[!shortcut name=fdobug url=\"https://bugs.freedesktop.org/show_bug.cgi?id=%s\" desc=\"freedesktop.org bug #%s\"]]\n" +"* [[!shortcut name=fdolist url=\"http://lists.freedesktop.org/mailman/listinfo/%s\" desc=\"%s@lists.freedesktop.org\"]]\n" +"* [[!shortcut name=gnomebug url=\"http://bugzilla.gnome.org/show_bug.cgi?id=%s\" desc=\"GNOME bug #%s\"]]\n" +"* [[!shortcut name=linuxbug url=\"http://bugzilla.kernel.org/show_bug.cgi?id=%s\" desc=\"Linux bug #%s\"]]\n" +"* [[!shortcut name=mozbug url=\"https://bugzilla.mozilla.org/show_bug.cgi?id=%s\" desc=\"Mozilla bug #%s\"]]\n" +"* [[!shortcut name=gnulist url=\"http://lists.gnu.org/mailman/listinfo/%s\" desc=\"%s@gnu.org\"]]\n" +"* [[!shortcut name=marcmsg url=\"http://marc.info/?i=%s\"]]\n" +"* [[!shortcut name=marclist url=\"http://marc.info/?l=%s\"]]\n" +"* [[!shortcut name=gmane url=\"http://dir.gmane.org/gmane.%s\" desc=\"gmane.%s\"]]\n" +"* [[!shortcut name=gmanemsg url=\"http://mid.gmane.org/%s\"]]\n" +"* [[!shortcut name=cpan url=\"http://search.cpan.org/search?mode=dist&query=%s\"]]\n" +"* [[!shortcut name=ctan url=\"http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s\"]]\n" +"* [[!shortcut name=hoogle url=\"http://haskell.org/hoogle/?q=%s\"]]\n" +"* [[!shortcut name=iki url=\"http://ikiwiki.info/%S/\"]]\n" +"* [[!shortcut name=ljuser url=\"http://%s.livejournal.com/\"]]\n" +"* [[!shortcut name=rfc url=\"http://www.ietf.org/rfc/rfc%s.txt\" desc=\"RFC %s\"]]\n" +"* [[!shortcut name=c2 url=\"http://c2.com/cgi/wiki?%s\"]]\n" +"* [[!shortcut name=meatballwiki url=\"http://www.usemod.com/cgi-bin/mb.pl?%s\"]]\n" +"* [[!shortcut name=emacswiki url=\"http://www.emacswiki.org/cgi-bin/wiki/%s\"]]\n" +"* [[!shortcut name=haskellwiki url=\"http://haskell.org/haskellwiki/%s\"]]\n" +"* [[!shortcut name=dict url=\"http://www.dict.org/bin/Dict?Form=Dict1&Strategy=*&Database=*&Query=%s\"]]\n" +"* [[!shortcut name=imdb url=\"http://imdb.com/find?q=%s\"]]\n" +"* [[!shortcut name=gpg url=\"http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s\"]]\n" +"* [[!shortcut name=perldoc url=\"http://perldoc.perl.org/search.html?q=%s\"]]\n" +"* [[!shortcut name=whois url=\"http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain\"]]\n" +"* [[!shortcut name=cve url=\"http://cve.mitre.org/cgi-bin/cvename.cgi?name=%s\"]]\n" +"* [[!shortcut name=cia url=\"http://cia.vc/stats/project/%s\"]]\n" +"* [[!shortcut name=ciauser url=\"http://cia.vc/stats/user/%s\"]]\n" +"* [[!shortcut name=flickr url=\"http://www.flickr.com/photos/%s\"]]\n" +"* [[!shortcut name=man url=\"http://linux.die.net/man/%s\"]]\n" +"* [[!shortcut name=ohloh url=\"http://www.ohloh.net/projects/%s\"]]\n" +"* [[!shortcut name=cpanrt url=\"https://rt.cpan.org/Ticket/Display.html?id=%s\" desc=\"CPAN RT#%s\"]]\n" +"* [[!shortcut name=novellbug url=\"https://bugzilla.novell.com/show_bug.cgi?id=%s\" desc=\"bug %s\"]]\n" +msgstr "" +"* [[!shortcut name=debss url=\"http://snapshot.debian.net/package/%s\"]]\n" +" * Usage : `\\[[!debss package]]`, `\\[[!debss package#version]]`, ou `\\[[!debss package/version]]`. Consultez http://snapshot.debian.net pour d'autres précisions.\n" +"* [[!shortcut name=debwiki url=\"http://wiki.debian.org/%s\"]]\n" +"* [[!shortcut name=fdobug url=\"https://bugs.freedesktop.org/show_bug.cgi?id=%s\" desc=\"freedesktop.org bug #%s\"]]\n" +"* [[!shortcut name=fdolist url=\"http://lists.freedesktop.org/mailman/listinfo/%s\" desc=\"%s@lists.freedesktop.org\"]]\n" +"* [[!shortcut name=gnomebug url=\"http://bugzilla.gnome.org/show_bug.cgi?id=%s\" desc=\"GNOME bug #%s\"]]\n" +"* [[!shortcut name=linuxbug url=\"http://bugzilla.kernel.org/show_bug.cgi?id=%s\" desc=\\\"Linux bug #%s\"]]\n" +"* [[!shortcut name=mozbug url=\"https://bugzilla.mozilla.org/show_bug.cgi?id=%s\" desc=\"Mozilla bug #%s\"]]\n" +"* [[!shortcut name=gnulist url=\"http://lists.gnu.org/mailman/listinfo/%s\" desc=\"%s@gnu.org\"]]\n" +"* [[!shortcut name=marcmsg url=\"http://marc.info/?i=%s\"]]\n" +"* [[!shortcut name=marclist url=\"http://marc.info/?l=%s\"]]\n" +"* [[!shortcut name=gmane url=\"http://dir.gmane.org/gmane.%s\" desc=\"gmane.%s\"]]\n" +"* [[!shortcut name=gmanemsg url=\"http://mid.gmane.org/%s\"]]\n" +"* [[!shortcut name=cpan url=\"http://search.cpan.org/search?mode=dist&query=%s\"]]\n" +"* [[!shortcut name=ctan url=\"http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s\"]]\n" +"* [[!shortcut name=hoogle url=\"http://haskell.org/hoogle/?q=%s\"]]\n" +"* [[!shortcut name=iki url=\"http://ikiwiki.info/%S/\"]]\n" +"* [[!shortcut name=ljuser url=\"http://%s.livejournal.com/\"]]\n" +"* [[!shortcut name=rfc url=\"http://www.ietf.org/rfc/rfc%s.txt\" desc=\"RFC %s\"]]\n" +"* [[!shortcut name=c2 url=\"http://c2.com/cgi/wiki?%s\"]]\n" +"* [[!shortcut name=meatballwiki url=\"http://www.usemod.com/cgi-bin/mb.pl?%s\"]]\n" +"* [[!shortcut name=emacswiki url=\"http://www.emacswiki.org/cgi-bin/wiki/%s\"]]\n" +"* [[!shortcut name=haskellwiki url=\"http://haskell.org/haskellwiki/%s\"]]\n" +"* [[!shortcut name=dict url=\"http://www.dict.org/bin/Dict?Form=Dict1&Strategy=*&Database=*&Query=%s\"]]\n" +"* [[!shortcut name=imdb url=\"http://imdb.com/find?q=%s\"]]\n" +"* [[!shortcut name=gpg url=\"http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s\"]]\n" +"* [[!shortcut name=perldoc url=\"http://perldoc.perl.org/search.html?q=%s\"]]\n" +"* [[!shortcut name=whois url=\"http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain\"]]\n" +"* [[!shortcut name=cve url=\"http://cve.mitre.org/cgi-bin/cvename.cgi?name=%s\"]]\n" +"* [[!shortcut name=cia url=\"http://cia.vc/stats/project/%s\"]]\n" +"* [[!shortcut name=ciauser url=\"http://cia.vc/stats/user/%s\"]]\n" +"* [[!shortcut name=flickr url=\"http://www.flickr.com/photos/%s\"]]\n" +"* [[!shortcut name=man url=\"http://linux.die.net/man/%s\"]]\n" +"* [[!shortcut name=ohloh url=\"http://www.ohloh.net/projects/%s\"]]\n" +"* [[!shortcut name=cpanrt url=\"https://rt.cpan.org/Ticket/Display.html?id=%s\" desc=\"CPAN RT#%s\"]]\n" +"* [[!shortcut name=novellbug url=\"https://bugzilla.novell.com/show_bug.cgi?id=%s\" desc=\"bug %s\"]]\n" + +#. type: Plain text +msgid "" +"To add a new shortcut, use the `shortcut` [[ikiwiki/directive]]. In the url, " +"\"%s\" is replaced with the text passed to the named shortcut, after [[!" +"wikipedia url_encoding]] it, and '%S' is replaced with the raw, non-encoded " +"text. The optional `desc` parameter controls the description of the link." +msgstr "" +"Pour ajouter un raccourci, utilisez la [[ikiwiki/directive]] `shortcut`. " +"Dans l'URL, \"%s\" est remplacé par le texte passé au raccourci, après " +"l'avoir codé [[!\"wikipedia url_encoding]], et le \"%S\" est remplacé par le " +"texte brut, non codé. La paramètre facultatif `desc` contrôle la description " +"du lien." + +#. type: Plain text +msgid "" +"Remember that the `name` you give the shortcut will become a new [[ikiwiki/" +"directive]]. Avoid using a `name` that conflicts with an existing " +"directive. These directives also accept a `desc` parameter that will " +"override the one provided at definition time." +msgstr "" +"N'oubliez pas que le paramètre `name` donné au raccourci devient une " +"nouvelle [[ikiwiki/directive]]. Évitez de donner un nom qui entre en conflit " +"avec une directive existante. Ces directives acceptent aussi un paramètre " +"`desc` qui primera celui fourni au moment de la définition du raccourci." + +#. type: Plain text +msgid "" +"If you come up with a shortcut that you think others might find useful, " +"consider contributing it to the [shortcuts page on the ikiwiki wiki](http://" +"ikiwiki.info/shortcuts/), so that future versions of ikiwiki will include " +"your shortcut in the standard underlay." +msgstr "" +"Si vous trouvez un raccourci qui vous paraît utile, proposez-le sur la [page " +"des raccourcis du wiki d'ikiwiki](http://ikiwiki.info/shortcuts/). Ainsi les " +"futures versions d'ikiwiki incluront automatiquement ce raccourci." diff --git a/base/shortcuts.mdwn b/base/shortcuts.mdwn new file mode 100644 index 0000000..7d1f491 --- /dev/null +++ b/base/shortcuts.mdwn @@ -0,0 +1,88 @@ +[[!if test="enabled(shortcut)" + then="This wiki has shortcuts **enabled**." + else="This wiki has shortcuts **disabled**."]] + +Some examples of using shortcuts include: + + \[[!google foo]] + \[[!wikipedia War_of_1812]] + \[[!debbug 12345]] + Check the \[[!google ikiwiki desc="google search for %s"]]. + +This page controls what shortcut links the wiki supports. + +* [[!shortcut name=google url="https://encrypted.google.com/search?q=%s"]] +* [[!shortcut name=archive url="http://web.archive.org/*/%S"]] +* [[!shortcut name=gmap url="https://maps.google.com/maps?q=%s"]] +* [[!shortcut name=gmsg url="https://groups.google.com/groups?selm=%s"]] +* [[!shortcut name=wikipedia url="https://en.wikipedia.org/wiki/%W"]] +* [[!shortcut name=wikitravel url="https://wikitravel.org/en/%s"]] +* [[!shortcut name=wiktionary url="https://en.wiktionary.org/wiki/%s"]] +* [[!shortcut name=debbug url="http://bugs.debian.org/%S" desc="Debian bug #%s"]] +* [[!shortcut name=deblist url="https://lists.debian.org/debian-%s" desc="debian-%s@lists.debian.org"]] +* [[!shortcut name=debpkg url="http://packages.debian.org/%s"]] +* [[!shortcut name=debpkgsid url="http://packages.debian.org/sid/%s"]] +* [[!shortcut name=debpts url="http://packages.qa.debian.org/%s"]] +* [[!shortcut name=debmsg url="https://lists.debian.org/msgid-search/%s"]] +* [[!shortcut name=debrt url="https://rt.debian.org/Ticket/Display.html?id=%s"]] +* [[!shortcut name=debss url="http://snapshot.debian.org/package/%s/"]] + * Usage: `\[[!debss package]]` or `\[[!debss package/version]]`. See for details. +* [[!shortcut name=debwiki url="https://wiki.debian.org/%S"]] +* [[!shortcut name=debcve url="https://security-tracker.debian.org/tracker/%S"]] + * also supports Debian bug numbers, packages and whatever the [security tracker](https://security-tracker.debian.org/tracker/) supports. +* [[!shortcut name=fdobug url="https://bugs.freedesktop.org/show_bug.cgi?id=%s" desc="freedesktop.org bug #%s"]] +* [[!shortcut name=fdolist url="http://lists.freedesktop.org/mailman/listinfo/%s" desc="%s@lists.freedesktop.org"]] +* [[!shortcut name=gnomebug url="https://bugzilla.gnome.org/show_bug.cgi?id=%s" desc="GNOME bug #%s"]] +* [[!shortcut name=linuxbug url="https://bugzilla.kernel.org/show_bug.cgi?id=%s" desc="Linux bug #%s"]] +* [[!shortcut name=mozbug url="https://bugzilla.mozilla.org/show_bug.cgi?id=%s" desc="Mozilla bug #%s"]] +* [[!shortcut name=gnulist url="https://lists.gnu.org/mailman/listinfo/%s" desc="%s@gnu.org"]] +* [[!shortcut name=marcmsg url="http://marc.info/?i=%s"]] +* [[!shortcut name=marclist url="http://marc.info/?l=%s"]] +* [[!shortcut name=gmane url="http://dir.gmane.org/gmane.%s" desc="gmane.%s"]] +* [[!shortcut name=gmanemsg url="http://mid.gmane.org/%s"]] +* [[!shortcut name=cpan url="http://search.cpan.org/search?mode=dist&query=%s"]] +* [[!shortcut name=ctan url="http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s"]] +* [[!shortcut name=hoogle url="http://haskell.org/hoogle/?q=%s"]] +* [[!shortcut name=iki url="http://ikiwiki.info/%S/"]] +* [[!shortcut name=ljuser url="http://%s.livejournal.com/"]] +* [[!shortcut name=rfc url="https://www.ietf.org/rfc/rfc%s.txt" desc="RFC %s"]] +* [[!shortcut name=c2 url="http://wiki.c2.com/?%s"]] +* [[!shortcut name=meatballwiki url="http://www.usemod.com/cgi-bin/mb.pl?%s"]] +* [[!shortcut name=emacswiki url="http://www.emacswiki.org/cgi-bin/wiki/%s"]] +* [[!shortcut name=haskellwiki url="http://haskell.org/haskellwiki/%s"]] +* [[!shortcut name=dict url="http://www.dict.org/bin/Dict?Form=Dict1&Strategy=*&Database=*&Query=%s"]] +* [[!shortcut name=imdb url="http://imdb.com/find?q=%s"]] +* [[!shortcut name=gpg url="http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s"]] +* [[!shortcut name=perldoc url="http://perldoc.perl.org/search.html?q=%s"]] +* [[!shortcut name=whois url="http://reports.internic.net/cgi/whois?whois_nic=%s&type=domain"]] +* [[!shortcut name=cve url="https://cve.mitre.org/cgi-bin/cvename.cgi?name=%s"]] +* [[!shortcut name=flickr url="https://secure.flickr.com/photos/%s"]] +* [[!shortcut name=man url="http://manpages.debian.org/%s"]] +* [[!shortcut name=ohloh url="https://www.ohloh.net/p/%s"]] +* [[!shortcut name=cpanrt url="https://rt.cpan.org/Ticket/Display.html?id=%s" desc="CPAN RT#%s"]] +* [[!shortcut name=novellbug url="https://bugzilla.novell.com/show_bug.cgi?id=%s" desc="bug %s"]] +* [[!shortcut name=ubupkg url="http://packages.ubuntu.com/%s"]] +* [[!shortcut name=mozillazinekb url="http://kb.mozillazine.org/%s"]] +* [[!shortcut name=freebsdwiki url="http://wiki.freebsd.org/%s"]] +* [[!shortcut name=hackage url="http://hackage.haskell.org/package/%s"]] +* [[!shortcut name=pkgsrc url="http://pkgsrc.se/%S"]] +* [[!shortcut name=doi url="http://dx.doi.org/%s" desc="doi:%s"]] +* [[!shortcut name=arxiv url="http://arxiv.org/abs/%s" desc="arXiv:%s"]] + +To add a new shortcut, use the `shortcut` +[[ikiwiki/directive]]. In the url, "%s" is replaced with the +text passed to the named shortcut, after [[!wikipedia url_encoding]] +it, and '%S' is replaced with the raw, non-encoded text. +Additionally, `%W` is replaced with the text encoded just right for +Wikipedia. The optional `desc` parameter controls the description of +the link. + +Remember that the `name` you give the shortcut will become a new +[[ikiwiki/directive]]. Avoid using a `name` that conflicts +with an existing directive. These directives also accept a `desc` +parameter that will override the one provided at definition time. + +If you come up with a shortcut that you think others might find useful, +consider contributing it to the [shortcuts page on the ikiwiki +wiki](http://ikiwiki.info/shortcuts/), so that future versions of +ikiwiki will include your shortcut in the standard underlay. diff --git a/images/languages.png b/base/wikiicons/languages.png similarity index 100% rename from images/languages.png rename to base/wikiicons/languages.png diff --git a/android-chrome-192x192.png b/content/android-chrome-192x192.png similarity index 100% rename from android-chrome-192x192.png rename to content/android-chrome-192x192.png diff --git a/android-chrome-512x512.png b/content/android-chrome-512x512.png similarity index 100% rename from android-chrome-512x512.png rename to content/android-chrome-512x512.png diff --git a/apple-touch-icon.png b/content/apple-touch-icon.png similarity index 100% rename from apple-touch-icon.png rename to content/apple-touch-icon.png diff --git a/browserconfig.xml b/content/browserconfig.xml similarity index 100% rename from browserconfig.xml rename to content/browserconfig.xml diff --git a/favicon-16x16.png b/content/favicon-16x16.png similarity index 100% rename from favicon-16x16.png rename to content/favicon-16x16.png diff --git a/favicon-24x24-white.png b/content/favicon-24x24-white.png similarity index 100% rename from favicon-24x24-white.png rename to content/favicon-24x24-white.png diff --git a/favicon-24x24.png b/content/favicon-24x24.png similarity index 100% rename from favicon-24x24.png rename to content/favicon-24x24.png diff --git a/favicon-32x32.png b/content/favicon-32x32.png similarity index 100% rename from favicon-32x32.png rename to content/favicon-32x32.png diff --git a/favicon.ico b/content/favicon.ico similarity index 100% rename from favicon.ico rename to content/favicon.ico diff --git a/favicon.png b/content/favicon.png similarity index 100% rename from favicon.png rename to content/favicon.png diff --git a/footer.fr.mo b/content/footer.fr.mo similarity index 100% rename from footer.fr.mo rename to content/footer.fr.mo diff --git a/footer.fr.po b/content/footer.fr.po similarity index 100% rename from footer.fr.po rename to content/footer.fr.po diff --git a/footer.html b/content/footer.html similarity index 100% rename from footer.html rename to content/footer.html diff --git a/footer.pot b/content/footer.pot similarity index 100% rename from footer.pot rename to content/footer.pot diff --git a/images/banner_black_542x152.png b/content/images/banner_black_542x152.png similarity index 100% rename from images/banner_black_542x152.png rename to content/images/banner_black_542x152.png diff --git a/images/banner_white_86x24.png b/content/images/banner_white_86x24.png similarity index 100% rename from images/banner_white_86x24.png rename to content/images/banner_white_86x24.png diff --git a/images/header_black.png b/content/images/header_black.png similarity index 100% rename from images/header_black.png rename to content/images/header_black.png diff --git a/images/header_black_1368x944.png b/content/images/header_black_1368x944.png similarity index 100% rename from images/header_black_1368x944.png rename to content/images/header_black_1368x944.png diff --git a/images/header_white.png b/content/images/header_white.png similarity index 100% rename from images/header_white.png rename to content/images/header_white.png diff --git a/images/ilot_black_128x128.png b/content/images/ilot_black_128x128.png similarity index 100% rename from images/ilot_black_128x128.png rename to content/images/ilot_black_128x128.png diff --git a/images/ilot_black_1920x1920.png b/content/images/ilot_black_1920x1920.png similarity index 100% rename from images/ilot_black_1920x1920.png rename to content/images/ilot_black_1920x1920.png diff --git a/images/ilot_black_256x256.png b/content/images/ilot_black_256x256.png similarity index 100% rename from images/ilot_black_256x256.png rename to content/images/ilot_black_256x256.png diff --git a/images/ilot_black_512x512.png b/content/images/ilot_black_512x512.png similarity index 100% rename from images/ilot_black_512x512.png rename to content/images/ilot_black_512x512.png diff --git a/images/logo-name_black_128x128.png b/content/images/logo-name_black_128x128.png similarity index 100% rename from images/logo-name_black_128x128.png rename to content/images/logo-name_black_128x128.png diff --git a/images/logo-name_black_1921-1920.png b/content/images/logo-name_black_1921-1920.png similarity index 100% rename from images/logo-name_black_1921-1920.png rename to content/images/logo-name_black_1921-1920.png diff --git a/images/logo-name_black_256x256.png b/content/images/logo-name_black_256x256.png similarity index 100% rename from images/logo-name_black_256x256.png rename to content/images/logo-name_black_256x256.png diff --git a/images/logo-name_black_512x512.png b/content/images/logo-name_black_512x512.png similarity index 100% rename from images/logo-name_black_512x512.png rename to content/images/logo-name_black_512x512.png diff --git a/index.fr.mo b/content/index.fr.mo similarity index 100% rename from index.fr.mo rename to content/index.fr.mo diff --git a/index.fr.po b/content/index.fr.po similarity index 100% rename from index.fr.po rename to content/index.fr.po diff --git a/index.mdwn b/content/index.mdwn similarity index 100% rename from index.mdwn rename to content/index.mdwn diff --git a/index.pot b/content/index.pot similarity index 100% rename from index.pot rename to content/index.pot diff --git a/join.fr.mo b/content/join.fr.mo similarity index 100% rename from join.fr.mo rename to content/join.fr.mo diff --git a/join.fr.po b/content/join.fr.po similarity index 100% rename from join.fr.po rename to content/join.fr.po diff --git a/join.html b/content/join.html similarity index 100% rename from join.html rename to content/join.html diff --git a/join.pot b/content/join.pot similarity index 100% rename from join.pot rename to content/join.pot diff --git a/meta/code-of-conduct.mdwn b/content/meta/code-of-conduct.mdwn similarity index 100% rename from meta/code-of-conduct.mdwn rename to content/meta/code-of-conduct.mdwn diff --git a/meta/license.mdwn b/content/meta/license.mdwn similarity index 100% rename from meta/license.mdwn rename to content/meta/license.mdwn diff --git a/mstile-150x150.png b/content/mstile-150x150.png similarity index 100% rename from mstile-150x150.png rename to content/mstile-150x150.png diff --git a/platforms.fr.mo b/content/platforms.fr.mo similarity index 100% rename from platforms.fr.mo rename to content/platforms.fr.mo diff --git a/platforms.fr.po b/content/platforms.fr.po similarity index 100% rename from platforms.fr.po rename to content/platforms.fr.po diff --git a/platforms.mdwn b/content/platforms.mdwn similarity index 100% rename from platforms.mdwn rename to content/platforms.mdwn diff --git a/platforms.pot b/content/platforms.pot similarity index 100% rename from platforms.pot rename to content/platforms.pot diff --git a/safari-pinned-tab.svg b/content/safari-pinned-tab.svg similarity index 100% rename from safari-pinned-tab.svg rename to content/safari-pinned-tab.svg diff --git a/sidebar.fr.mo b/content/sidebar.fr.mo similarity index 100% rename from sidebar.fr.mo rename to content/sidebar.fr.mo diff --git a/sidebar.fr.po b/content/sidebar.fr.po similarity index 100% rename from sidebar.fr.po rename to content/sidebar.fr.po diff --git a/sidebar.html b/content/sidebar.html similarity index 100% rename from sidebar.html rename to content/sidebar.html diff --git a/sidebar.pot b/content/sidebar.pot similarity index 100% rename from sidebar.pot rename to content/sidebar.pot diff --git a/site.webmanifest b/content/site.webmanifest similarity index 100% rename from site.webmanifest rename to content/site.webmanifest diff --git a/ikiwiki.setup b/ikiwiki.setup index 75d756a..3a62b51 100644 --- a/ikiwiki.setup +++ b/ikiwiki.setup @@ -16,7 +16,7 @@ adminuser: [] # users who are banned from the wiki banned_users: [] # where the source of the wiki is located -srcdir: ./ +srcdir: ./content # where to build the wiki destdir: ./public # base url to the wiki @@ -54,6 +54,7 @@ templatedir: ./templates #templatedir: /usr/share/ikiwiki/templates # base wiki source location #underlaydir: /usr/share/ikiwiki/basewiki +underlaydir: ./base # display verbose messages? verbose: 1 # log to syslog? @@ -91,7 +92,7 @@ hardlink: 0 # group for wrappers to run in #wrappergroup: ikiwiki # extra library and plugin directories -libdirs: [plugins] +libdirs: [lib] # extra library and plugin directory (searched after libdirs) libdir: '' # environment variables @@ -101,7 +102,7 @@ timezone: :/etc/localtime # regexp of normally excluded files to include #include: ^\.htaccess$ # regexp of files that should be skipped -exclude: ^(tools/.*|public/.*|plugins/.*)$ +#exclude: ^(*\.private|Makefile)$ # specifies the characters that are allowed in source filenames wiki_file_chars: -[:alnum:]+/.:_ # allow symlinks in the path leading to the srcdir (potentially insecure) diff --git a/plugins/IkiWiki/Plugin/sidebar2.pm b/lib/IkiWiki/Plugin/sidebar2.pm similarity index 100% rename from plugins/IkiWiki/Plugin/sidebar2.pm rename to lib/IkiWiki/Plugin/sidebar2.pm diff --git a/templates/page.tmpl b/templates/page.tmpl index e89c7a4..c50879f 100644 --- a/templates/page.tmpl +++ b/templates/page.tmpl @@ -52,7 +52,7 @@ - +