summaryrefslogtreecommitdiff
path: root/javascript
AgeCommit message (Expand)Author
2012-08-04Sync with HEAD of submodules, and add new submodule osm.Jonas Smedegaard
2012-02-23Sync with HEAD of submodule: javascript.Jonas Smedegaard
2012-02-16Sync with HEAD of submodules: basewiki directives javascript openid-selector ...Jonas Smedegaard
2011-10-14Sync with HEAD of submodule: javascript.Jonas Smedegaard
2011-10-14Sync with HEAD of submodules: javascript perl templates.Jonas Smedegaard
2011-01-30Add ikiwiki submodules.Jonas Smedegaard
1 ikiwiki/pagespec/attachment.mdwn:1 ikiwiki/pagespec/po.mdwn:20 ikiwiki/pagespec/sorting.mdwn:26 ikiwiki/searching.mdwn:1 ikiwiki/subpage.mdwn:1 ikiwiki/subpage/linkingrules.mdwn:1 ikiwiki/wikilink.mdwn:1 templates.mdwn:80
  • #, no-wrap
  • msgid "[[!meta robots=\"noindex, follow\"]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki.mdwn:6
  • #, no-wrap
  • msgid ""
  • "This wiki is powered by [ikiwiki](http://ikiwiki.info/).\n"
  • "[[!if test=\"enabled(version)\"\n"
  • " then=\"(Currently running version [[!version ]].)\"\n"
  • "]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki.mdwn:8
  • msgid "Some documentation on using ikiwiki:"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki.mdwn:17
  • msgid "[[ikiwiki/formatting]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki.mdwn:17
  • msgid "[[ikiwiki/wikilink]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki.mdwn:17
  • msgid "[[ikiwiki/subpage]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki.mdwn:17
  • msgid "[[ikiwiki/pagespec]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki.mdwn:17
  • msgid "[[ikiwiki/directive]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki.mdwn:17
  • msgid "[[ikiwiki/markdown]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki.mdwn:17
  • msgid "[[ikiwiki/openid]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki.mdwn:17
  • msgid "[[ikiwiki/searching]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki.mdwn:17
  • msgid "[[templates]]"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/directive.mdwn:4
  • msgid ""
  • "Directives are similar to a [[ikiwiki/WikiLink]] in form, except they begin "
  • "with `!` and may contain parameters. The general form is:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/directive.mdwn:6
  • #, no-wrap
  • msgid "\t\\[[!directive param=\"value\" param=\"value\"]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/directive.mdwn:9
  • msgid ""
  • "This gets expanded before the rest of the page is processed, and can be used "
  • "to transform the page in various ways."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/directive.mdwn:12
  • msgid ""
  • "The quotes around values can be omitted if the value is a simple word. "
  • "Also, some directives may use parameters without values, for example:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/directive.mdwn:14
  • #, no-wrap
  • msgid "\t\\[[!tag foo]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/directive.mdwn:17
  • msgid ""
  • "A directive does not need to all be on one line, it can be wrapped to "
  • "multiple lines if you like:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/directive.mdwn:20
  • #, no-wrap
  • msgid ""
  • "\t\\[[!directive foo=\"baldersnatch\"\n"
  • "\tbar=\"supercalifragilisticexpialidocious\" baz=11]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/directive.mdwn:24
  • msgid ""
  • "Also, multiple lines of *quoted* text can be used for a value. To allow "
  • "quote marks inside the quoted text, delimit the block of text with "
  • "triple-quotes:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/directive.mdwn:25
  • #, no-wrap
  • msgid "\t\\[[!directive text=\"\"\"\n"
  • msgstr ""
  • #. type: Bullet: ' 1. '
  • #: ikiwiki/directive.mdwn:29
  • msgid "\"foo\""
  • msgstr ""
  • #. type: Bullet: ' 2. '
  • #: ikiwiki/directive.mdwn:29
  • msgid "\"bar\""
  • msgstr ""
  • #. type: Bullet: ' 3. '
  • #: ikiwiki/directive.mdwn:29
  • msgid "\"baz\""
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/directive.mdwn:38
  • msgid ""
  • "ikiwiki also has an older syntax for directives, which requires a space in "
  • "directives to distinguish them from [[wikilinks|ikiwiki/wikilink]]. This "
  • "syntax has several disadvantages: it requires a space after directives with "
  • "no parameters (such as `\\[[pagecount ]]`), and it prohibits spaces in "
  • "[[wikilinks|ikiwiki/wikilink]]. ikiwiki now provides the `!`-prefixed "
  • "syntax shown above as default. However, ikiwiki still supports wikis using "
  • "the older syntax, if the `prefix_directives` option is disabled."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/directive.mdwn:39 ikiwiki/formatting.mdwn:103
  • #, no-wrap
  • msgid "[[!if test=\"enabled(listdirectives)\" then=\"\"\"\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/directive.mdwn:41
  • msgid "Here is a list of currently available directives in this wiki:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/directive.mdwn:42
  • #, no-wrap
  • msgid "[[!listdirectives ]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:1
  • #, no-wrap
  • msgid "[[!meta title=\"Formatting wiki pages\"]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:7
  • msgid ""
  • "Text on this wiki is, by default, written in a form very close to how you "
  • "might write text for an email message. This style of text formatting is "
  • "called [[MarkDown]], and it works like this:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:9
  • msgid "Leave blank lines between paragraphs."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:12
  • msgid ""
  • "You can *\\*emphasise\\** or **\\*\\*strongly emphasise\\*\\*** text by "
  • "placing it in single or double asterisks."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:14
  • msgid "To create a list, start each line with an asterisk:"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/formatting.mdwn:17
  • msgid "\"* this is my list\""
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/formatting.mdwn:17
  • msgid "\"* another item\""
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:20
  • msgid ""
  • "To make a numbered list, start each line with a number (any number will do) "
  • "followed by a period:"
  • msgstr ""
  • #. type: Bullet: '1. '
  • #: ikiwiki/formatting.mdwn:24
  • msgid "\"1. first line\""
  • msgstr ""
  • #. type: Bullet: '2. '
  • #: ikiwiki/formatting.mdwn:24
  • msgid "\"2. second line\""
  • msgstr ""
  • #. type: Bullet: '2. '
  • #: ikiwiki/formatting.mdwn:24
  • msgid "\"2. third line\""
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:28
  • msgid ""
  • "To create a header, start a line with one or more `#` characters followed by "
  • "a space and the header text. The number of `#` characters controls the size "
  • "of the header:"
  • msgstr ""
  • #. type: Title #
  • #: ikiwiki/formatting.mdwn:29
  • #, no-wrap
  • msgid "# h1"
  • msgstr ""
  • #. type: Title ##
  • #: ikiwiki/formatting.mdwn:30
  • #, no-wrap
  • msgid "## h2"
  • msgstr ""
  • #. type: Title ###
  • #: ikiwiki/formatting.mdwn:31
  • #, no-wrap
  • msgid "### h3"
  • msgstr ""
  • #. type: Title ####
  • #: ikiwiki/formatting.mdwn:32
  • #, no-wrap
  • msgid "#### h4"
  • msgstr ""
  • #. type: Title #####
  • #: ikiwiki/formatting.mdwn:33
  • #, no-wrap
  • msgid "##### h5"
  • msgstr ""
  • #. type: Title ######
  • #: ikiwiki/formatting.mdwn:34
  • #, no-wrap
  • msgid "###### h6"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:38
  • msgid ""
  • "To create a horizontal rule, just write three or more dashes or stars on "
  • "their own line:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:42
  • #, no-wrap
  • msgid "To quote someone, prefix the quote with \">\":\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:45
  • #, no-wrap
  • msgid ""
  • "> To be or not to be,\n"
  • "> that is the question.\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:47
  • msgid "To write a code block, indent each line with a tab or 4 spaces:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:50
  • #, no-wrap
  • msgid ""
  • "\t10 PRINT \"Hello, world!\"\n"
  • "\t20 GOTO 10\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:54
  • #, no-wrap
  • msgid ""
  • "To link to an url or email address, you can just put the\n"
  • "url in angle brackets: <<http://ikiwiki.info>>, or you can use the\n"
  • "form \\[link text\\]\\(url\\)\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:59
  • msgid ""
  • "In addition to basic html formatting using [[MarkDown]], this wiki lets you "
  • "use the following additional features:"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/formatting.mdwn:62
  • msgid ""
  • "To link to another page on the wiki, place the page's name inside double "
  • "square brackets. So you would use `\\[[WikiLink]]` to link to [[WikiLink]]."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:63
  • #, no-wrap
  • msgid "[[!if test=\"enabled(smiley) and smileys\" then=\"\"\"\n"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/formatting.mdwn:65
  • msgid "Insert [[smileys]] and some other useful symbols. :-)"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:67
  • #, no-wrap
  • msgid "[[!if test=\"enabled(shortcut) and shortcuts\" then=\"\"\"\n"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/formatting.mdwn:69
  • msgid "Use [[shortcuts]] to link to common resources."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:71
  • #, no-wrap
  • msgid "\t\\[[!wikipedia War\\_of\\_1812]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:73
  • #, no-wrap
  • msgid "[[!if test=\"enabled(template) and templates\" then=\"\"\"\n"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/formatting.mdwn:76
  • msgid ""
  • "Create and fill out [[templates]] for repeated chunks of parameterized wiki "
  • "text."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:80
  • #, no-wrap
  • msgid ""
  • "* Insert various [[directives|directive]] onto a page to perform useful\n"
  • " actions.\n"
  • "[[!if test=\"enabled(toc) or enabled(meta) or enabled(inline)\" "
  • "then=\"\"\"\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:82
  • #, no-wrap
  • msgid " For example, you can:\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:84
  • #, no-wrap
  • msgid "[[!if test=\"enabled(toc)\" then=\"\"\"\n"
  • msgstr ""
  • #. type: Bullet: ' * '
  • #: ikiwiki/formatting.mdwn:86
  • msgid "Add a table of contents to a page:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:88
  • #, no-wrap
  • msgid "\t\\[[!toc]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:91 ikiwiki/pagespec/sorting.mdwn:15 recentchanges.mdwn:1
  • #, no-wrap
  • msgid "[[!if test=\"enabled(meta)\" then=\"\"\"\n"
  • msgstr ""
  • #. type: Bullet: ' * '
  • #: ikiwiki/formatting.mdwn:93
  • msgid "Change the title of a page:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:95
  • #, no-wrap
  • msgid "\t\\[[!meta title=\"full page title\"]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:97
  • #, no-wrap
  • msgid "[[!if test=\"enabled(inline)\" then=\"\"\"\n"
  • msgstr ""
  • #. type: Bullet: ' * '
  • #: ikiwiki/formatting.mdwn:99
  • msgid "Create a blog by inlining a set of pages:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:101
  • #, no-wrap
  • msgid "\t\\[[!inline pages=\"blog/*\"]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:105
  • #, no-wrap
  • msgid " Full list of [[directives|directive]] enabled for this wiki:\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/formatting.mdwn:105
  • #, no-wrap
  • msgid " [[!listdirectives ]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/markdown.mdwn:5
  • msgid ""
  • "[Markdown](http://daringfireball.net/projects/markdown/) is a minimal "
  • "markup language that resembles plain text as used in email messages. It is "
  • "the markup language used by this wiki by default."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/markdown.mdwn:8
  • msgid ""
  • "For documentation about the markdown syntax, see [[formatting]] and "
  • "[Markdown: syntax](http://daringfireball.net/projects/markdown/syntax)."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/markdown.mdwn:11
  • msgid ""
  • "Note that [[WikiLinks|WikiLink]] and [[directives|directive]] are not part "
  • "of the markdown syntax, and are the only bit of markup that this wiki "
  • "handles internally."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/openid.mdwn:1
  • #, no-wrap
  • msgid "[[!meta title=\"OpenID\"]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/openid.mdwn:7
  • #, no-wrap
  • msgid ""
  • "[[!if test=\"enabled(openid)\"\n"
  • " then=\"This wiki has OpenID **enabled**.\"\n"
  • " else=\"This wiki has OpenID **disabled**.\"]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/openid.mdwn:11
  • msgid ""
  • "[OpenID](http://openid.net) is a decentralized authentication mechanism that "
  • "allows you to have one login that you can use on a growing number of "
  • "websites."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/openid.mdwn:15
  • msgid ""
  • "If you have an account with some of the larger web service providers, you "
  • "might already have an OpenID. [Directory of OpenID "
  • "providers](http://openiddirectory.com/openid-providers-c-1.html)"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/openid.mdwn:16
  • #, no-wrap
  • msgid "[[!if test=\"enabled(openid)\" then=\"\"\"\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/openid.mdwn:20
  • msgid ""
  • "To sign in to this wiki using OpenID, just enter it in the OpenID field in "
  • "the signin form. You do not need to give this wiki a password or go through "
  • "any registration process when using OpenID."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/openid.mdwn:26
  • msgid ""
  • "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:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/openid.mdwn:28
  • #, no-wrap
  • msgid ""
  • "\t\\[[!meta openid=\"http://yourid.myopenid.com/\"\n"
  • "\t server=\"http://www.myopenid.com/server\"]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:6
  • msgid ""
  • "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."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:9
  • msgid ""
  • "The simplest PageSpec is a simple list of pages. For example, this matches "
  • "any of the three listed pages:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:11
  • #, no-wrap
  • msgid "\tfoo or bar or baz\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:17
  • msgid ""
  • "More often you will want to match any pages that have a particular thing in "
  • "their name. You can do this using a glob pattern. \"`*`\" stands for any "
  • "part of a page name, and \"`?`\" for any single letter of a page name. So "
  • "this matches all pages about music, and any [[SubPage]]s of the SandBox, but "
  • "does not match the SandBox itself:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:19
  • #, no-wrap
  • msgid "\t*music* or SandBox/*\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:22
  • msgid ""
  • "You can also prefix an item with \"`!`\" to skip pages that match it. So to "
  • "match all pages except for Discussion pages and the SandBox:"
  • msgstr ""
  • #. type: Bullet: ' * '
  • #: ikiwiki/pagespec.mdwn:24
  • msgid "and !SandBox and !*/Discussion"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:26
  • msgid ""
  • "Some more elaborate limits can be added to what matches using these "
  • "functions:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:58
  • #, no-wrap
  • msgid ""
  • "* \"`glob(someglob)`\" - matches pages and other files that match the given "
  • "glob.\n"
  • " Just writing the glob by itself is actually a shorthand for this "
  • "function.\n"
  • "* \"`page(glob)`\" - like `glob()`, but only matches pages, not other "
  • "files\n"
  • "* \"`link(page)`\" - matches only pages that link to a given page (or "
  • "glob)\n"
  • "* \"`tagged(tag)`\" - matches pages that are tagged or link to the given tag "
  • "(or\n"
  • " tags matched by a glob)\n"
  • "* \"`backlink(page)`\" - matches only pages that a given page links to\n"
  • "* \"`creation_month(month)`\" - matches only files created on the given "
  • "month\n"
  • "* \"`creation_day(mday)`\" - or day of the month\n"
  • "* \"`creation_year(year)`\" - or year\n"
  • "* \"`created_after(page)`\" - matches only files created after the given "
  • "page\n"
  • " was created\n"
  • "* \"`created_before(page)`\" - matches only files created before the given "
  • "page\n"
  • " was created\n"
  • "* \"`internal(glob)`\" - like `glob()`, but matches even internal-use \n"
  • " pages that globs do not usually match.\n"
  • "* \"`title(glob)`\", \"`author(glob)`\", \"`authorurl(glob)`\",\n"
  • " \"`license(glob)`\", \"`copyright(glob)`\", \"`guid(glob)`\" \n"
  • " - match pages that have the given metadata, matching the specified glob.\n"
  • "* \"`user(username)`\" - tests whether a modification is being made by a\n"
  • " user with the specified username. If openid is enabled, an openid can "
  • "also\n"
  • " be put here. Glob patterns can be used in the username. For example, \n"
  • " to match all openid users, use `user(*://*)`\n"
  • "* \"`admin()`\" - tests whether a modification is being made by one of the\n"
  • " wiki admins.\n"
  • "* \"`ip(address)`\" - tests whether a modification is being made from the\n"
  • " specified IP address.\n"
  • "* \"`comment(glob)`\" - matches comments to a page matching the glob.\n"
  • "* \"`comment_pending(glob)`\" - matches unmoderated, pending comments.\n"
  • "* \"`postcomment(glob)`\" - matches only when comments are being \n"
  • " posted to a page matching the specified glob\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:61
  • msgid ""
  • "For example, to match all pages in a blog that link to the page about music "
  • "and were written in 2005:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:63
  • #, no-wrap
  • msgid "\tblog/* and link(music) and creation_year(2005)\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:69
  • msgid ""
  • "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."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:73
  • msgid ""
  • "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:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:75
  • #, no-wrap
  • msgid "\tblog/* and (tagged(foo) or tagged(bar))\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec.mdwn:80
  • msgid ""
  • "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\"."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec/attachment.mdwn:5
  • #, no-wrap
  • msgid ""
  • "[[!if test=\"enabled(attachment)\"\n"
  • " then=\"This wiki has attachments **enabled**.\"\n"
  • " else=\"This wiki has attachments **disabled**.\"]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec/attachment.mdwn:9
  • msgid ""
  • "If attachments are enabled, the wiki admin can control what types of "
  • "attachments will be accepted, via the `allowed_attachments` configuration "
  • "setting."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec/attachment.mdwn:14
  • msgid ""
  • "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:"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec/attachment.mdwn:16
  • #, no-wrap
  • msgid ""
  • "\tvirusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) "
  • "and maxsize(15mb)) or (mimetype(image/*) and maxsize(50kb)))\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec/attachment.mdwn:19
  • msgid ""
  • "The regular [[ikiwiki/PageSpec]] syntax is expanded with the following "
  • "additional tests:"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/pagespec/attachment.mdwn:23
  • msgid ""
  • "\"`maxsize(size)`\" - tests whether the attachment is no larger than the "
  • "specified size. The size defaults to being in bytes, but \"kb\", \"mb\", "
  • "\"gb\" etc can be used to specify the units."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/pagespec/attachment.mdwn:26
  • msgid ""
  • "\"`minsize(size)`\" - tests whether the attachment is no smaller than the "
  • "specified size."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/pagespec/attachment.mdwn:30
  • msgid ""
  • "\"`ispage()`\" - tests whether the attachment will be treated by ikiwiki as "
  • "a wiki page. (Ie, if it has an extension of \".mdwn\", or of any other "
  • "enabled page format)."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec/attachment.mdwn:34
  • #, no-wrap
  • msgid ""
  • " So, if you don't want to allow wiki pages to be uploaded as attachments,\n"
  • " use `!ispage()` ; if you only want to allow wiki pages to be uploaded\n"
  • " as attachments, use `ispage()`.\n"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/pagespec/attachment.mdwn:37
  • msgid ""
  • "\"`mimetype(foo/bar)`\" - checks the MIME type of the attachment. You can "
  • "include a glob in the type, for example `mimetype(image/*)`."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/pagespec/attachment.mdwn:38
  • msgid "\"`virusfree()`\" - checks the attachment with an antiviral program."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec/po.mdwn:4
  • #, no-wrap
  • msgid ""
  • "[[!if test=\"enabled(po)\"\n"
  • " then=\"This wiki has po support **enabled**.\"\n"
  • " else=\"This wiki has po support **disabled**.\"]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec/po.mdwn:9
  • msgid ""
  • "If the [[!iki plugins/po desc=po]] plugin is enabled, the regular "
  • "[[ikiwiki/PageSpec]] syntax is expanded with the following additional tests "
  • "that can be used to improve user navigation in a multi-lingual wiki:"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/pagespec/po.mdwn:16
  • msgid ""
  • "\"`lang(LL)`\" - tests whether a page is written in the language specified "
  • "as a ISO639-1 (two-letter) language code."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/pagespec/po.mdwn:16
  • msgid ""
  • "\"`currentlang()`\" - tests whether a page is written in the same language "
  • "as the current page."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/pagespec/po.mdwn:16
  • msgid ""
  • "\"`needstranslation()`\" - tests whether a page needs translation work. Only "
  • "slave pages match this PageSpec."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec/po.mdwn:19
  • msgid ""
  • "Note that every non-po page is considered to be written in "
  • "`po_master_language`, as specified in `ikiwiki.setup`."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec/sorting.mdwn:5
  • msgid ""
  • "Some [[directives|ikiwiki/directive]] that use "
  • "[[PageSpecs|ikiwiki/pagespec]] allow specifying the order that matching "
  • "pages are shown in. The following sort orders can be specified."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/pagespec/sorting.mdwn:7
  • msgid "`age` - List pages from the most recently created to the oldest."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/pagespec/sorting.mdwn:9
  • msgid "`mtime` - List pages with the most recently modified first."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec/sorting.mdwn:11
  • #, no-wrap
  • msgid ""
  • "* `title` - Order by title (page name).\n"
  • "[[!if test=\"enabled(sortnaturally)\" then=\"\"\"\n"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/pagespec/sorting.mdwn:14
  • msgid ""
  • "`title_natural` - Orders by title, but numbers in the title are treated as "
  • "such, (\"1 2 9 10 20\" instead of \"1 10 2 20 9\")"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/pagespec/sorting.mdwn:20
  • msgid ""
  • "`meta(title)` - Order according to the `\\[[!meta title=\"foo\" "
  • "sortas=\"bar\"]]` or `\\[[!meta title=\"foo\"]]` [[ikiwiki/directive]], or "
  • "the page name if no full title was set. `meta(author)`, `meta(date)`, "
  • "`meta(updated)`, etc. also work."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/pagespec/sorting.mdwn:25
  • msgid ""
  • "In addition, you can combine several sort orders and/or reverse the order of "
  • "sorting, with a string like `age -title` (which would sort by age, then by "
  • "title in reverse order if two pages have the same age)."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/searching.mdwn:6
  • #, no-wrap
  • msgid ""
  • "[[!if test=\"enabled(search)\"\n"
  • "then=\"This wiki has searching **enabled**.\"\n"
  • "else=\"This wiki has searching **disabled**.\"]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/searching.mdwn:10
  • msgid ""
  • "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."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/searching.mdwn:20
  • msgid "To match a phrase, enclose it in double quotes."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/searching.mdwn:20
  • msgid "`AND` can be used to search for documents containing two expressions."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/searching.mdwn:20
  • msgid ""
  • "`OR` can be used to search for documents containing either one of two "
  • "expressions."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/searching.mdwn:20
  • msgid ""
  • "Parentheses can be used to build up complicated search expressions. For "
  • "example, \"(foo AND bar) OR (me AND you)\""
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/searching.mdwn:20
  • msgid ""
  • "Prefix a search term with \"-\" to avoid it from appearing in the results. "
  • "For example, \"-discussion\" will omit \"discussion\"."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/searching.mdwn:20
  • msgid "To search for a page with a given title, use \"title:foo\"."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: ikiwiki/searching.mdwn:20
  • msgid "To search for pages that contain a \"bar\" link, use \"link:bar\"."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/subpage.mdwn:6
  • msgid ""
  • "ikiwiki supports placing pages in a directory hierarchy. For example, this "
  • "page, [[SubPage]] has some related pages placed under it, like "
  • "[[SubPage/LinkingRules]]. This is a useful way to add some order to your "
  • "wiki rather than just having a great big directory full of pages."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/subpage.mdwn:11
  • msgid ""
  • "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."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/subpage.mdwn:12
  • msgid "Linking to and from a SubPage is explained in [[LinkingRules]]."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/subpage/linkingrules.mdwn:6
  • msgid ""
  • "To link to or from a [[SubPage]], you can normally use a regular "
  • "[[WikiLink]] that does not contain the name of the parent directory of the "
  • "[[SubPage]]. Ikiwiki descends the directory hierarchy looking for a page "
  • "that matches your link."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/subpage/linkingrules.mdwn:10
  • msgid ""
  • "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."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/subpage/linkingrules.mdwn:16
  • msgid ""
  • "Note that this means that if a link on FooBar/SomePage to \"OtherPage\" "
  • "currently links to OtherPage, in the root of the wiki, and FooBar/OtherPage "
  • "is created, the link will _change_ to point to FooBar/OtherPage. On the "
  • "other hand, a link from BazBar to \"OtherPage\" would be unchanged by this "
  • "creation of a [[SubPage]] of FooBar."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/subpage/linkingrules.mdwn:20
  • msgid ""
  • "You can also specify a link that contains a directory name, like "
  • "\"FooBar/OtherPage\" to more exactly specify what page to link to. This is "
  • "the only way to link to an unrelated [[SubPage]]."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/subpage/linkingrules.mdwn:23
  • msgid ""
  • "You can use this to, for example, to link from BazBar to \"FooBar/SubPage\", "
  • "or from BazBar/SubPage to \"FooBar/SubPage\"."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/subpage/linkingrules.mdwn:29
  • msgid ""
  • "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\"."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/subpage/linkingrules.mdwn:33
  • msgid ""
  • "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."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/wikilink.mdwn:5
  • msgid ""
  • "WikiLinks provide easy linking between pages of the wiki. To create a "
  • "[[WikiLink]], just put the name of the page to link to in double brackets. "
  • "For example `\\[[WikiLink]]`."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/wikilink.mdwn:8
  • msgid ""
  • "If you ever need to write something like `\\[[WikiLink]]` without creating a "
  • "wikilink, just prefix it with a `\\`, like `\\\\[[WikiLink]]`."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/wikilink.mdwn:11
  • msgid ""
  • "There are some special [[SubPage/LinkingRules]] that come into play when "
  • "linking between [[SubPages|SubPage]]."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/wikilink.mdwn:15
  • msgid ""
  • "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."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/wikilink.mdwn:19
  • msgid ""
  • "It's also possible to write a WikiLink that uses something other than the "
  • "page name as the link text. For example `\\[[foo_bar|SandBox]]` links to the "
  • "SandBox page, but the link will appear like this: [[foo_bar|SandBox]]."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/wikilink.mdwn:22
  • msgid ""
  • "To link to an anchor inside a page, you can use something like "
  • "`\\[[WikiLink#foo]]` ."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/wikilink.mdwn:25
  • msgid ""
  • "If the file linked to by a WikiLink looks like an image, it will be "
  • "displayed inline on the page."
  • msgstr ""
  • #. type: Plain text
  • #: ikiwiki/wikilink.mdwn:29
  • msgid ""
  • "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."
  • msgstr ""
  • #. type: Plain text
  • #: index.mdwn:2
  • msgid "Welcome to your new wiki."
  • msgstr ""
  • #. type: Plain text
  • #: index.mdwn:4
  • msgid "All wikis are supposed to have a [[SandBox]], so this one does too."
  • msgstr ""
  • #. type: Plain text
  • #: index.mdwn:7
  • msgid "This wiki is powered by [[ikiwiki]]."
  • msgstr ""
  • #. type: Plain text
  • #: recentchanges.mdwn:2
  • #, no-wrap
  • msgid "[[!meta title=\"RecentChanges\"]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: recentchanges.mdwn:5
  • msgid "Recent changes to this wiki:"
  • msgstr ""
  • #. type: Plain text
  • #: recentchanges.mdwn:7
  • #, no-wrap
  • msgid ""
  • "[[!inline pages=\"internal(recentchanges/change_*) and !*/Discussion\" \n"
  • "template=recentchanges show=0]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: sandbox.mdwn:2
  • msgid "This is the SandBox, a page anyone can edit to learn how to use the wiki."
  • msgstr ""
  • #. type: Plain text
  • #: sandbox.mdwn:6
  • msgid "Here's a paragraph."
  • msgstr ""
  • #. type: Plain text
  • #: sandbox.mdwn:8
  • msgid "Here's another one with *emphasised* text."
  • msgstr ""
  • #. type: Title #
  • #: sandbox.mdwn:9
  • #, no-wrap
  • msgid "Header"
  • msgstr ""
  • #. type: Title ##
  • #: sandbox.mdwn:11
  • #, no-wrap
  • msgid "Subheader"
  • msgstr ""
  • #. type: Plain text
  • #: sandbox.mdwn:20
  • #, no-wrap
  • msgid ""
  • "> This is a blockquote.\n"
  • ">\n"
  • "> This is the first level of quoting.\n"
  • ">\n"
  • "> > This is nested blockquote.\n"
  • ">\n"
  • "> Back to the first level.\n"
  • msgstr ""
  • #. type: Plain text
  • #: sandbox.mdwn:22
  • msgid "Numbered list"
  • msgstr ""
  • #. type: Bullet: '1. '
  • #: sandbox.mdwn:26
  • msgid "First item."
  • msgstr ""
  • #. type: Bullet: '1. '
  • #: sandbox.mdwn:26
  • msgid "Another."
  • msgstr ""
  • #. type: Bullet: '1. '
  • #: sandbox.mdwn:26
  • msgid "And another.."
  • msgstr ""
  • #. type: Plain text
  • #: sandbox.mdwn:28
  • msgid "Bulleted list"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: sandbox.mdwn:31
  • msgid "*item*"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: sandbox.mdwn:31
  • msgid "item"
  • msgstr ""
  • #. type: Plain text
  • #: sandbox.mdwn:32
  • msgid "[[ikiwiki/WikiLink]]"
  • msgstr ""
  • #. type: Plain text
  • #: shortcuts.mdwn:4
  • #, no-wrap
  • msgid ""
  • "[[!if test=\"enabled(shortcut)\"\n"
  • " then=\"This wiki has shortcuts **enabled**.\"\n"
  • " else=\"This wiki has shortcuts **disabled**.\"]]\n"
  • msgstr ""
  • #. type: Plain text
  • #: shortcuts.mdwn:6
  • msgid "Some examples of using shortcuts include:"
  • msgstr ""
  • #. type: Plain text
  • #: shortcuts.mdwn:11
  • #, 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 ""
  • #. type: Plain text
  • #: shortcuts.mdwn:13
  • msgid "This page controls what shortcut links the wiki supports."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid "[[!shortcut name=google url=\"http://www.google.com/search?q=%s\"]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid "[[!shortcut name=archive url=\"http://web.archive.org/*/%S\"]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid "[[!shortcut name=gmap url=\"http://maps.google.com/maps?q=%s\"]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid "[[!shortcut name=gmsg url=\"http://groups.google.com/groups?selm=%s\"]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid "[[!shortcut name=wikipedia url=\"http://en.wikipedia.org/wiki/%s\"]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid "[[!shortcut name=wikitravel url=\"http://wikitravel.org/en/%s\"]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid "[[!shortcut name=wiktionary url=\"http://en.wiktionary.org/wiki/%s\"]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid ""
  • "[[!shortcut name=debbug url=\"http://bugs.debian.org/%S\" desc=\"Debian bug "
  • "#%s\"]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid ""
  • "[[!shortcut name=deblist url=\"http://lists.debian.org/debian-%s\" "
  • "desc=\"debian-%s@lists.debian.org\"]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid "[[!shortcut name=debpkg url=\"http://packages.debian.org/%s\"]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid "[[!shortcut name=debpkgsid url=\"http://packages.debian.org/sid/%s\"]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid "[[!shortcut name=debpts url=\"http://packages.qa.debian.org/%s\"]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid "[[!shortcut name=debmsg url=\"http://lists.debian.org/msgid-search/%s\"]]"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: shortcuts.mdwn:64
  • msgid ""
  • "[[!shortcut name=debrt "
  • "url=\"https://rt.debian.org/Ticket/Display.html?id=%s\"]]"
  • msgstr ""
  • #. type: Plain text
  • #: shortcuts.mdwn:64
  • #, 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"
  • "* [[!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 ""
  • #. type: Plain text
  • #: shortcuts.mdwn:70
  • 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 ""
  • #. type: Plain text
  • #: shortcuts.mdwn:75
  • 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 ""
  • #. type: Plain text
  • #: shortcuts.mdwn:79
  • 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 ""
  • #. type: Plain text
  • #: templates.mdwn:3
  • msgid ""
  • "[[Ikiwiki]] uses many templates for many purposes. By editing its templates, "
  • "you can fully customise this site."
  • msgstr ""
  • #. type: Plain text
  • #: templates.mdwn:8
  • msgid ""
  • "Templates are located in `/usr/share/ikiwiki/templates` by default; the "
  • "`templatedir` setting can be used to make another directory be searched "
  • "first. Customised templates can also be placed inside the \"templates/\" "
  • "directory in your wiki's source."
  • msgstr ""
  • #. type: Plain text
  • #: templates.mdwn:12
  • msgid ""
  • "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:"
  • msgstr ""
  • #. type: Bullet: '* '
  • #: templates.mdwn:18
  • msgid "To insert the value of a template variable, use `<TMPL_VAR variable>`."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: templates.mdwn:18
  • msgid ""
  • "To make a block of text conditional on a variable being set use `<TMPL_IF "
  • "variable>text</TMPL_IF>`."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: templates.mdwn:18
  • msgid ""
  • "To use one block of text if a variable is set and a second if it's not, use "
  • "`<TMPL_IF variable>text<TMPL_ELSE>other text</TMPL_IF>`"
  • msgstr ""
  • #. type: Plain text
  • #: templates.mdwn:19
  • #, no-wrap
  • msgid "[[!if test=\"enabled(template)\" then=\"\"\"\n"
  • msgstr ""
  • #. type: Title ##
  • #: templates.mdwn:20
  • #, no-wrap
  • msgid "template pages"
  • msgstr ""
  • #. type: Plain text
  • #: templates.mdwn:25
  • msgid ""
  • "The [[!iki ikiwiki/directive/template desc=\"template directive\"]] allows "
  • "wiki pages to be used as templates, filled out and inserted into other pages "
  • "in the wiki."
  • msgstr ""
  • #. type: Plain text
  • #: templates.mdwn:27
  • #, no-wrap
  • msgid "[[!if test=\"enabled(edittemplate)\" then=\"\"\"\n"
  • msgstr ""
  • #. type: Title ##
  • #: templates.mdwn:28
  • #, no-wrap
  • msgid "default content for new pages"
  • msgstr ""
  • #. type: Plain text
  • #: templates.mdwn:33
  • msgid ""
  • "The [[!iki ikiwiki/directive/edittemplate desc=\"edittemplate directive\"]] "
  • "can be used to make new pages default to containing text from a template "
  • "page, which can be filled as out the page is edited."
  • msgstr ""
  • #. type: Plain text
  • #: templates.mdwn:36
  • #, no-wrap
  • msgid ""
  • "[[!if test=\"(enabled(template) or enabled(edittemplate))\n"
  • "and enabled(inline)\" then=\"\"\"\n"
  • msgstr ""
  • #. type: Plain text
  • #: templates.mdwn:40
  • #, no-wrap
  • msgid ""
  • "[[!inline pages=\"templates/* and !*.tmpl and !templates/*/* and "
  • "!*/discussion\"\n"
  • "feeds=no archive=yes sort=title template=titlepage\n"
  • "rootpage=templates postformtext=\"Add a new template named:\"]]\n"
  • msgstr ""
  • #. type: Title ##
  • #: templates.mdwn:42
  • #, no-wrap
  • msgid "wiki templates"
  • msgstr ""
  • #. type: Plain text
  • #: templates.mdwn:46
  • msgid ""
  • "These templates are used to build the wiki. The aim is to keep almost all "
  • "html out of ikiwiki and in the templates."
  • msgstr ""
  • #. type: Bullet: '* '
  • #: templates.mdwn:48
  • msgid ""
  • "`page.tmpl` - Used for displaying all regular wiki pages. This is the key "
  • "template to customise. [[!if test=\"enabled(pagetemplate)\" then=\"\"\""
  • msgstr ""
  • #. type: Plain text
  • #: templates.mdwn:79
  • #, no-wrap
  • msgid ""
  • " (The [[!iki ikiwiki/directive/pagetemplate desc=\"pagetemplate "
  • "directive\"]]\n"
  • " can be used to make a page use a different template than "
  • "`page.tmpl`.)\"\"\"]]\n"
  • "* `rsspage.tmpl` - Used for generating rss feeds for blogs.\n"
  • "* `rssitem.tmpl` - Used for generating individual items on rss feeds.\n"
  • "* `atompage.tmpl` - Used for generating atom feeds for blogs.\n"
  • "* `atomitem.tmpl` - Used for generating individual items on atom feeds.\n"
  • "* `inlinepage.tmpl` - Used for displaying a post in a blog.\n"
  • "* `archivepage.tmpl` - Used for listing a page in a blog archive page.\n"
  • "* `titlepage.tmpl` - Used for listing a page by title in a blog archive "
  • "page.\n"
  • "* `microblog.tmpl` - Used for showing a microblogging post inline.\n"
  • "* `blogpost.tmpl` - Used for a form to add a post to a blog (and a rss/atom "
  • "links)\n"
  • "* `feedlink.tmpl` - Used to add rss/atom links if `blogpost.tmpl` is not "
  • "used.\n"
  • "* `aggregatepost.tmpl` - Used by the aggregate plugin to create\n"
  • " a page for a post.\n"
  • "* `searchform.tmpl`, `googleform.tmpl` - Used by the search plugin \n"
  • " and google plugin to add search forms to wiki pages.\n"
  • "* `searchquery.tmpl` - This is a Omega template, used by the\n"
  • " search plugin.\n"
  • "* `comment.tmpl` - Used by the comments plugin to display a comment.\n"
  • "* `change.tmpl` - Used to create a page describing a change made to the "
  • "wiki.\n"
  • "* `recentchanges.tmpl` - Used for listing a change on the RecentChanges "
  • "page.\n"
  • "* `autoindex.tmpl` - Filled in by the autoindex plugin to make index "
  • "pages.\n"
  • "* `autotag.tmpl` - Filled in by the tag plugin to make tag pages.\n"
  • "* `calendarmonth.tmpl`, `calendaryear.tmpl` - Used by ikiwiki-calendar to\n"
  • " make calendar archive pages.\n"
  • "* `editpage.tmpl`, `editconflict.tmpl`, `editcreationconflict.tmpl`,\n"
  • " `editfailedsave.tmpl`, `editpagegone.tmpl`, `pocreatepage.tmpl`,\n"
  • " `editcomment.tmpl` `commentmoderation.tmpl`, `renamesummary.tmpl`,\n"
  • " `passwordmail.tmpl`, `openid-selector.tmpl` - Parts of ikiwiki's user\n"
  • " interface; do not normally need to be customised.\n"
  • msgstr ""
  • #. type: Plain text
  • #: templates/note.mdwn:11
  • #, no-wrap
  • msgid ""
  • "<div class=\"notebox\">\n"
  • "<TMPL_VAR text>\n"
  • "</div>\n"
  • "<TMPL_UNLESS text>\n"
  • "Use this template to insert a note into a page. The note will be styled to\n"
  • "float to the right of other text on the page. This template has one\n"
  • "parameter:\n"
  • "<ul>\n"
  • "<li>`text` - the text to display in the note\n"
  • "</ul>\n"
  • "</TMPL_UNLESS>\n"
  • msgstr ""
  • #. type: Plain text
  • #: templates/popup.mdwn:16
  • #, no-wrap
  • msgid ""
  • "<TMPL_UNLESS mouseover>\n"
  • "Use this template to create a popup window that is displayed when the "
  • "mouse\n"
  • "is over part of the page. This template has two parameters:\n"
  • "<ul>\n"
  • "<li>`mouseover` - This is the text or other content that triggers the\n"
  • "popup.\n"
  • "<li>`popup` - This should be the content of the popup window. It can be\n"
  • "anything, even images or a whole little wiki page, but should not be too\n"
  • "large for good usability.\n"
  • "</ul>\n"
  • "Note that browsers that do not support the CSS will display the popup\n"
  • "inline in the page, inside square brackets.\n"
  • "</TMPL_UNLESS>\n"
  • "<span class=\"popup\"><TMPL_VAR mouseover>\n"
  • "<span class=\"paren\">[</span><span class=\"balloon\"><TMPL_VAR "
  • "popup></span><span class=\"paren\">]</span>\n"
  • "</span>\n"
  • msgstr ""