diff options
-rw-r--r-- | _.gif | bin | 0 -> 49 bytes | |||
-rw-r--r-- | directive.mdwn | 45 | ||||
-rw-r--r-- | ikiwiki.mdwn | 16 | ||||
-rw-r--r-- | ikiwiki/blog.mdwn | 8 | ||||
-rw-r--r-- | ikiwiki/directive.mdwn | 45 | ||||
-rw-r--r-- | ikiwiki/formatting.mdwn | 106 | ||||
-rw-r--r-- | ikiwiki/markdown.mdwn | 13 | ||||
-rw-r--r-- | ikiwiki/openid.mdwn | 34 | ||||
-rw-r--r-- | ikiwiki/pagespec.mdwn | 91 | ||||
-rw-r--r-- | ikiwiki/pagespec/attachment.mdwn | 37 | ||||
-rw-r--r-- | ikiwiki/subpage.mdwn | 12 | ||||
-rw-r--r-- | ikiwiki/subpage/linkingrules.mdwn | 33 | ||||
-rw-r--r-- | ikiwiki/wikilink.mdwn | 36 | ||||
-rw-r--r-- | index.mdwn | 7 | ||||
-rw-r--r-- | n4_upgrade.gif | bin | 0 -> 2805 bytes | |||
-rw-r--r-- | nn4.css | 80 | ||||
-rw-r--r-- | real.css | 98 | ||||
-rw-r--r-- | sandbox.mdwn | 32 | ||||
-rw-r--r-- | templates.mdwn | 87 | ||||
-rw-r--r-- | wikiicons/openidlogin-bg.gif | bin | 142 -> 0 bytes |
20 files changed, 178 insertions, 602 deletions
Binary files differ diff --git a/directive.mdwn b/directive.mdwn deleted file mode 100644 index c4342de..0000000 --- a/directive.mdwn +++ /dev/null @@ -1,45 +0,0 @@ -[[!meta robots="noindex, follow"]] -Directives are similar to a [[ikiwiki/WikiLink]] in form, except they -begin with `!` and may contain parameters. The general form is: - - \[[!directive param="value" param="value"]] - -This gets expanded before the rest of the page is processed, and can be used -to transform the page in various ways. - -The quotes around values can be omitted if the value is a simple word. -Also, some directives may use parameters without values, for example: - - \[[!tag foo]] - -A directive does not need to all be on one line, it can be -wrapped to multiple lines if you like: - - \[[!directive foo="baldersnatch" - bar="supercalifragilisticexpialidocious" baz=11]] - -Also, multiple lines of *quoted* text can be used for a value. -To allow quote marks inside the quoted text, delimit the block -of text with triple-quotes: - - \[[!directive text=""" - 1. "foo" - 2. "bar" - 3. "baz" - """]] - -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 the preferred alternative. However, ikiwiki still supports -wikis using the older syntax, if the `prefix_directives` option is not enabled. -For backward compatibility with existing wikis, this option currently -defaults to off, so ikiwiki supports the old syntax. - -[[!if test="enabled(listdirectives)" then=""" -Here is a list of currently available directives in this wiki: - -[[!listdirectives ]] -"""]] diff --git a/ikiwiki.mdwn b/ikiwiki.mdwn deleted file mode 100644 index e0a971d..0000000 --- a/ikiwiki.mdwn +++ /dev/null @@ -1,16 +0,0 @@ -[[!meta robots="noindex, follow"]] -This wiki is powered by [ikiwiki](http://ikiwiki.info/). -[[!if test="enabled(version)" - then="(Currently running version [[!version ]].)" -]] - -Some documentation on using ikiwiki: - -* [[ikiwiki/formatting]] -* [[ikiwiki/wikilink]] -* [[ikiwiki/subpage]] -* [[ikiwiki/pagespec]] -* [[ikiwiki/directive]] -* [[ikiwiki/markdown]] -* [[ikiwiki/openid]] -* [[ikiwiki/searching]] diff --git a/ikiwiki/blog.mdwn b/ikiwiki/blog.mdwn deleted file mode 100644 index 0a5a524..0000000 --- a/ikiwiki/blog.mdwn +++ /dev/null @@ -1,8 +0,0 @@ -[[!meta robots="noindex, follow"]] - -This page has been removed from ikiwiki's basewiki. For documentation about -creating a blog with ikiwiki, see the documentation of the -[[!iki ikiwiki/directive/inline desc=inline]] directive. - -Please update your links, as this redirection page will be removed in a -future ikiwiki release. diff --git a/ikiwiki/directive.mdwn b/ikiwiki/directive.mdwn deleted file mode 100644 index c4342de..0000000 --- a/ikiwiki/directive.mdwn +++ /dev/null @@ -1,45 +0,0 @@ -[[!meta robots="noindex, follow"]] -Directives are similar to a [[ikiwiki/WikiLink]] in form, except they -begin with `!` and may contain parameters. The general form is: - - \[[!directive param="value" param="value"]] - -This gets expanded before the rest of the page is processed, and can be used -to transform the page in various ways. - -The quotes around values can be omitted if the value is a simple word. -Also, some directives may use parameters without values, for example: - - \[[!tag foo]] - -A directive does not need to all be on one line, it can be -wrapped to multiple lines if you like: - - \[[!directive foo="baldersnatch" - bar="supercalifragilisticexpialidocious" baz=11]] - -Also, multiple lines of *quoted* text can be used for a value. -To allow quote marks inside the quoted text, delimit the block -of text with triple-quotes: - - \[[!directive text=""" - 1. "foo" - 2. "bar" - 3. "baz" - """]] - -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 the preferred alternative. However, ikiwiki still supports -wikis using the older syntax, if the `prefix_directives` option is not enabled. -For backward compatibility with existing wikis, this option currently -defaults to off, so ikiwiki supports the old syntax. - -[[!if test="enabled(listdirectives)" then=""" -Here is a list of currently available directives in this wiki: - -[[!listdirectives ]] -"""]] diff --git a/ikiwiki/formatting.mdwn b/ikiwiki/formatting.mdwn deleted file mode 100644 index 2ed5cc2..0000000 --- a/ikiwiki/formatting.mdwn +++ /dev/null @@ -1,106 +0,0 @@ -[[!meta title="Formatting wiki pages"]] -[[!meta robots="noindex, follow"]] - -Text on this wiki is, by default, written in a form very close to how you -might write text for an email message. This style of text formatting is -called [[MarkDown]], and it works like this: - -Leave blank lines between paragraphs. - -You can \**emphasise*\* or \*\***strongly emphasise**\*\* text by placing it -in single or double asterisks. - -To create a list, start each line with an asterisk: - -* "* this is my list" -* "* another item" - -To make a numbered list, start each line with a number (any number will -do) followed by a period: - -1. "1. first line" -2. "2. second line" -2. "2. third line" - -To create a header, start a line with one or more `#` characters followed -by a space and the header text. The number of `#` characters controls the -size of the header: - -# # h1 -## ## h2 -### ### h3 -#### #### h4 -##### ##### h5 -###### ###### h6 - -To create a horizontal rule, just write three or more dashes or stars on -their own line: - ----- - -To quote someone, prefix the quote with ">": - -> To be or not to be, -> that is the question. - -To write a code block, indent each line with a tab or 4 spaces: - - 10 PRINT "Hello, world!" - 20 GOTO 10 - -To link to an url or email address, you can just put the -url in angle brackets: <<http://ikiwiki.info>>, or you can use the -form \[link text\]\(url\) - ----- - -In addition to basic html formatting using [[MarkDown]], this wiki lets -you use the following additional features: - -* To link to another page on the wiki, place the page's name inside double - square brackets. So you would use `\[[WikiLink]]` to link to [[WikiLink]]. - -[[!if test="enabled(smiley) and smileys" then=""" -* Insert [[smileys]] and some other useful symbols. :-) -"""]] - -[[!if test="enabled(shortcut) and shortcuts" then=""" -* Use [[shortcuts]] to link to common resources. - - \[[!wikipedia War\_of\_1812]] -"""]] - -[[!if test="enabled(template) and templates" then=""" -* Create and fill out [[templates]] for repeated chunks of - parameterized wiki text. -"""]] - -* Insert various [[directives|directive]] onto a page to perform useful - actions. -[[!if test="enabled(toc) or enabled(meta) or enabled(inline)" then=""" - For example, you can: -"""]] - -[[!if test="enabled(toc)" then=""" - * Add a table of contents to a page: - - \[[!toc]] -"""]] - - -[[!if test="enabled(meta)" then=""" - * Change the title of a page: - - \[[!meta title="full page title"]] -"""]] - -[[!if test="enabled(inline)" then=""" - * Create a blog by inlining a set of pages: - - \[[!inline pages="blog/*"]] -"""]] - -[[!if test="enabled(listdirectives)" then=""" - Full list of [[directives|directive]] enabled for this wiki: - [[!listdirectives ]] -"""]] diff --git a/ikiwiki/markdown.mdwn b/ikiwiki/markdown.mdwn deleted file mode 100644 index a419094..0000000 --- a/ikiwiki/markdown.mdwn +++ /dev/null @@ -1,13 +0,0 @@ -[[!meta robots="noindex, follow"]] -[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. - -For documentation about the markdown syntax, see [[formatting]] and -[Markdown: syntax](http://daringfireball.net/projects/markdown/syntax). A -[markdown mode](http://jblevins.org/projects/markdown-mode/) for -emacs can help in editing. - -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. diff --git a/ikiwiki/openid.mdwn b/ikiwiki/openid.mdwn deleted file mode 100644 index dd851e5..0000000 --- a/ikiwiki/openid.mdwn +++ /dev/null @@ -1,34 +0,0 @@ -[[!meta title="OpenID"]] -[[!meta robots="noindex, follow"]] - -[[!if test="enabled(openid)" - then="This wiki has OpenID **enabled**." - else="This wiki has OpenID **disabled**."]] - -[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. - -To sign up for an OpenID, visit one of the following identity providers: - -* [MyOpenID](https://www.myopenid.com/) -* [GetOpenID](https://getopenid.com/) -* [Videntity](http://videntity.org/) -* [LiveJournal](http://www.livejournal.com/openid/) -* [TrustBearer](https://openid.trustbearer.com/) -* or any of the [many others out there](http://openiddirectory.com/openid-providers-c-1.html). - -Your OpenID is the URL that you are given when you sign up. -[[!if test="enabled(openid)" then=""" -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. -"""]] - ---- - -It's also possible to make a page in the wiki usable as an OpenID url, -by delegating it to an openid server. Here's an example of how to do that: - - \[[!meta openid="http://yourid.myopenid.com/" - server="http://www.myopenid.com/server"]] diff --git a/ikiwiki/pagespec.mdwn b/ikiwiki/pagespec.mdwn deleted file mode 100644 index c78666c..0000000 --- a/ikiwiki/pagespec.mdwn +++ /dev/null @@ -1,91 +0,0 @@ -[[!meta robots="noindex, follow"]] -To select a set of pages, such as pages that are locked, pages -whose commit emails you want subscribe to, or pages to combine into a -blog, the wiki uses a PageSpec. This is an expression that matches -a set of pages. - -The simplest PageSpec is a simple list of pages. For example, this matches -any of the three listed pages: - - foo or bar or baz - -More often you will want to match any pages that have a particular thing in -their name. You can do this using a glob pattern. "`*`" stands for any part -of a page name, and "`?`" for any single letter of a page name. So this -matches all pages about music, and any [[SubPage]]s of the SandBox, but does -not match the SandBox itself: - - *music* or SandBox/* - -You can also prefix an item with "`!`" to skip pages that match it. So to -match all pages except for Discussion pages and the SandBox: - - * and !SandBox and !*/Discussion - -Some more elaborate limits can be added to what matches using these functions: - -* "`link(page)`" - match only pages that link to a given page (or glob) -* "`backlink(page)`" - match only pages that a given page links to -* "`creation_month(month)`" - match only pages created on the given month -* "`creation_day(mday)`" - or day of the month -* "`creation_year(year)`" - or year -* "`created_after(page)`" - match only pages created after the given page - was created -* "`created_before(page)`" - match only pages created before the given page - was created -* "`glob(someglob)`" - match pages that match the given glob. Just writing - the glob by itself is actually a shorthand for this function. -* "`internal(glob)`" - like `glob()`, but matches even internal-use - pages that globs do not usually match. -* "`title(glob)`", "`author(glob)`", "`authorurl(glob)`", - "`license(glob)`", "`copyright(glob)`" - match pages that have the given - metadata, matching the specified glob. -* "`user(username)`" - tests whether a modification is being made by a - user with the specified username. If openid is enabled, an openid can also - be put here. -* "`admin()`" - tests whether a modification is being made by one of the - wiki admins. -* "`ip(address)`" - tests whether a modification is being made from the - specified IP address. - -For example, to match all pages in a blog that link to the page about music -and were written in 2005: - - blog/* and link(music) and creation_year(2005) - -Note the use of "and" in the above example, that means that only pages that -match each of the three expressions match the whole. Use "and" when you -want to combine expression like that; "or" when it's enough for a page to -match one expression. Note that it doesn't make sense to say "index and -SandBox", since no page can match both expressions. - -More complex expressions can also be created, by using parentheses for -grouping. For example, to match pages in a blog that are tagged with either -of two tags, use: - - blog/* and (link(tag/foo) or link(tag/bar)) - -Note that page names in PageSpecs are matched against the absolute -filenames of the pages in the wiki, so a pagespec "foo" used on page -"a/b" will not match a page named "a/foo" or "a/b/foo". To match -relative to the directory of the page containing the pagespec, you can -use "./". For example, "./foo" on page "a/b" matches page "a/foo". - -## Old syntax - -The old PageSpec syntax was called a "GlobList", and worked differently in -two ways: - -1. "and" and "or" were not used; any page matching any item from the list - matched. -2. If an item was prefixed with "`!`", then no page matching that item - matched, even if it matched an earlier list item. - -For example, here is the old way to match all pages except for the SandBox -and Discussion pages: - - * !SandBox !*/Discussion - -Using this old syntax is still supported. However, the old syntax is -deprecated and will be removed at some point, and using the new syntax is -recommended. diff --git a/ikiwiki/pagespec/attachment.mdwn b/ikiwiki/pagespec/attachment.mdwn deleted file mode 100644 index 2d33db7..0000000 --- a/ikiwiki/pagespec/attachment.mdwn +++ /dev/null @@ -1,37 +0,0 @@ -[[!meta robots="noindex, follow"]] -[[!if test="enabled(attachment)" - then="This wiki has attachments **enabled**." - else="This wiki has attachments **disabled**."]] - -If attachments are enabled, the wiki admin can control what types of -attachments will be accepted, via the `allowed_attachments` -configuration setting. - -For example, to limit arbitrary files to 50 kilobytes, but allow -larger mp3 files to be uploaded by joey into a specific directory, and -check all attachments for virii, something like this could be used: - - virusfree() and ((user(joey) and podcast/*.mp3 and mimetype(audio/mpeg) and maxsize(15mb)) or (!ispage() and maxsize(50kb))) - -The regular [[ikiwiki/PageSpec]] syntax is expanded with the following -additional tests: - -* "`maxsize(size)`" - Tests whether the attachment is no larger than the - specified size. The size defaults to being in bytes, but "kb", "mb", "gb" - etc can be used to specify the units. - -* "`minsize(size)`" - Tests whether the attachment is no smaller than the - specified size. - -* "`ispage()`" - Tests whether the attachment will be treated by ikiwiki as a - wiki page. (Ie, if it has an extension of ".mdwn", or of any other enabled - page format). - - So, if you don't want to allow wiki pages to be uploaded as attachments, - use `!ispage()` ; if you only want to allow wiki pages to be uploaded - as attachments, use `ispage()`. - -* "`mimetype(foo/bar)`" - This checks the MIME type of the attachment. You can - include a glob in the type, for example `mimetype(image/*)`. - -* "`virusfree()`" - Checks the attachment with an antiviral program. diff --git a/ikiwiki/subpage.mdwn b/ikiwiki/subpage.mdwn deleted file mode 100644 index e047b86..0000000 --- a/ikiwiki/subpage.mdwn +++ /dev/null @@ -1,12 +0,0 @@ -[[!meta robots="noindex, follow"]] -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. - -To add a SubPage, just make a subdirectory and put pages in it. For -example, this page is SubPage.mdwn in this wiki's source, and there is also -a SubPage subdirectory, which contains SubPage/LinkingRules.mdwn. Subpages -can be nested as deeply as you'd like. - -Linking to and from a SubPage is explained in [[LinkingRules]]. diff --git a/ikiwiki/subpage/linkingrules.mdwn b/ikiwiki/subpage/linkingrules.mdwn deleted file mode 100644 index e547f30..0000000 --- a/ikiwiki/subpage/linkingrules.mdwn +++ /dev/null @@ -1,33 +0,0 @@ -[[!meta robots="noindex, follow"]] -To link to or from a [[SubPage]], you can normally use a regular -[[WikiLink]] that does not contain the name of the parent directory of -the [[SubPage]]. Ikiwiki descends the directory hierarchy looking for a -page that matches your link. - -For example, if FooBar/SubPage links to "OtherPage", ikiwiki will first -prefer pointing the link to FooBar/SubPage/OtherPage if it exists, next -to FooBar/OtherPage and finally to OtherPage in the root of the wiki. - -Note that this means that if a link on FooBar/SomePage to "OtherPage" -currently links to OtherPage, in the root of the wiki, and FooBar/OtherPage -is created, the link will _change_ to point to FooBar/OtherPage. On the -other hand, a link from BazBar to "OtherPage" would be unchanged by this -creation of a [[SubPage]] of FooBar. - -You can also specify a link that contains a directory name, like -"FooBar/OtherPage" to more exactly specify what page to link to. This is -the only way to link to an unrelated [[SubPage]]. - -You can use this to, for example, to link from BazBar to "FooBar/SubPage", -or from BazBar/SubPage to "FooBar/SubPage". - -You can also use "/" at the start of a link, to specify exactly which page -to link to, when there are multiple pages with similar names and the link -goes to the wrong page by default. For example, linking from -"FooBar/SubPage" to "/OtherPage" will link to the "OtherPage" in the root -of the wiki, even if there is a "FooBar/OtherPage". - -Also, if the wiki is configured with a userdir, you can link to pages -within the userdir without specifying a path to them. This is to allow for -easy linking to a user's page in the userdir, to sign a comment. These -links are checked for last of all. diff --git a/ikiwiki/wikilink.mdwn b/ikiwiki/wikilink.mdwn deleted file mode 100644 index 371c252..0000000 --- a/ikiwiki/wikilink.mdwn +++ /dev/null @@ -1,36 +0,0 @@ -[[!meta robots="noindex, follow"]] -WikiLinks provide easy linking between pages of the wiki. To create a -[[WikiLink]], just put the name of the page to link to in double brackets. -For example `\[[WikiLink]]`. - -If you ever need to write something like `\[[WikiLink]]` without creating a -wikilink, just prefix it with a `\`, like `\\[[WikiLink]]`. - -There are some special [[SubPage/LinkingRules]] that come into play when -linking between [[SubPages|SubPage]]. - -Also, if the file linked to by a WikiLink looks like an image, it will -be displayed inline on the page. - -WikiLinks are matched with page names in a case-insensitive manner, so you -don't need to worry about getting the case the same, and can capitalise -links at the start of a sentence, and so on. - -It's also possible to write a WikiLink that uses something other than the page -name as the link text. For example `\[[foo_bar|SandBox]]` links to the SandBox -page, but the link will appear like this: [[foo_bar|SandBox]]. - -To link to an anchor inside a page, you can use something like -`\[[WikiLink#foo]]` - -## Directives and WikiLinks - -ikiwiki has two syntaxes for -[[directives|directive]]. The older syntax -used spaces to distinguish between directives and -wikilinks; as a result, with that syntax in use, you cannot use spaces -in WikiLinks, and must replace spaces with underscores. The newer -syntax, enabled with the `prefix_directives` option in an ikiwiki -setup file, prefixes directives with `!`, and thus does not prevent -links with spaces. Future versions of ikiwiki will turn this option -on by default. diff --git a/index.mdwn b/index.mdwn deleted file mode 100644 index 05834e0..0000000 --- a/index.mdwn +++ /dev/null @@ -1,7 +0,0 @@ -Welcome to your new wiki. - -All wikis are supposed to have a [[SandBox]], so this one does too. - ----- - -This wiki is powered by [ikiwiki](http://ikiwiki.info/). diff --git a/n4_upgrade.gif b/n4_upgrade.gif Binary files differnew file mode 100644 index 0000000..025cb1a --- /dev/null +++ b/n4_upgrade.gif @@ -0,0 +1,80 @@ +/*simple styles for simple browsers. primarily nn4. make darn sure everything in here is overridden in the real css*/ + +/*ie4.5mac has problems with this. it makes text small, and the nested list is impossibly small, even when user increases to largest. solution? ignore it. you will go nuts trying to serve different styles to nn4 and ie4.5mac. either give them both plain xhtml, or style for nn4 at the slight inconvenience of the few, or zero, remaining ie4.5mac users.*/ + +body, h1, h2, h3, h4, h5, h6,ol, ul, li, p { + font-family: verdana, arial, helvetica, sans-serif; + color: #000; + } +body { + margin: 0; + padding: 40px 5% 5% 5%; + background-color: #fff; + background-image: url(http://source.jones.dk/ikiwiki_scs/n4_upgrade.gif);/*use full url so both ie45mac and nn4 can find it. and for gosh sakes people, if you use this code, point to an img on _your_ server, not mine.*/ + background-repeat: no-repeat; + background-position: top left; + } + +/*the following classes are to demonstrate better line heights for narrow columns*/ +.narrow1{ + width: 50%; + line-height: 90%; + } +.narrow2{ + width: 50%; + line-height: 105%; + } + +/*typography*/ +a:link { + } +a:visited { + } +a:active { + } +a:hover { + /*hover doesn't work in nn4*/ + } +h1 { + font-size: 150%; + font-weight: normal; + } +h2 { + font-size: 120%; + font-weight: normal; + } +h3 { + font-size: 100%; + font-weight: normal; + } +h4 { + font-size: 80%; + font-weight: bold; + } +h5 { + font-size: 70%; + font-weight: bold; + } +h6 { + font-size: 64%; + font-weight: bold; + } +img { + border: 0; + } +ol, ul, li {/* + list-style: none;*/ + font-size: 80%; + line-height: 120%; + } +p { + font-size: 80%; + line-height: 120%; + } +pre { + font-family: monospace; + font-size: 80%; + } +strong, b { + font-weight: bold; + } diff --git a/real.css b/real.css new file mode 100644 index 0000000..2137d2e --- /dev/null +++ b/real.css @@ -0,0 +1,98 @@ +body { + margin: 0; + padding: 0; + font-family: verdana, arial, helvetica, sans-serif; + font-size: 76%;/* font sizing in ems, baby. if you want to change anything, just change this.*/ + /*funny thing happens at 75% and lower. opera goes to a nice small size, but moz and ie pc change almost not at all. seems 76% is as small as you can go and stay the same across browsers. poop.*/ + color: #000; + background-color: #fff; + background-image: url(http://source.jones.dk/ikiwiki_scs/_.gif);/*these three lines replace the n4_upgrade.gif in n4.css. and if you use this code, make sure you point to an img on _your_ server, not mine.*/ + background-repeat: no-repeat; + background-position: top left; + } +#content { + margin: 0em; + padding: 4em 6em 2em 6em;/* use padding instead of margin for multicolumn layouts because of a really odd ie5pc bug where it sometimes relates the width of an unrelated menu div to this div. i'll, uh, write about that somewhere. it was hard to figure out what was causing it, so i want this note here to remind me. */ + } + +/*the following classes are to demonstrate better line heights for narrow columns*/ +.narrow1{ + width: 50%; + line-height: 1.3em; + } +.narrow2{ + width: 50%; + line-height: 1.5em; + } + +/*typography*/ +a { + text-decoration: none; + font-weight: bold; + color: #000; + } +a:link { + } +a:visited { + } +a:active { + } +a:hover { + text-decoration: underline; + } +h1 { + font-size: 2.0em; + font-weight: normal; + margin-top: 0em; + margin-bottom: 0em;/*both set to zero and padding in header div is used intead to deal with compound ie pc problems that are beyound summary in a simple comment.*/ + } +h2 { + font-size: 1.7em; + margin: 1.2em 0em 1.2em 0em; + font-weight: normal; + } +h3 { + font-size: 1.4em; + margin: 1.2em 0em 1.2em 0em; + font-weight: normal; + } +h4 { + font-size: 1.2em; + margin: 1.2em 0em 1.2em 0em; + font-weight: bold; + } +h5 { + font-size: 1.0em; + margin: 1.2em 0em 1.2em 0em; + font-weight: bold; + } +h6 { + font-size: 0.8em; + margin: 1.2em 0em 1.2em 0em; + font-weight: bold; + } +img { + border: 0; + } +ol, ul, li {/* + list-style: none;*/ + font-size: 1.0em; + line-height: 1.8em; + margin-top: 0.2em; + margin-bottom: 0.1em; + } +p { + font-size: 1.0em; + line-height: 1.8em; + margin: 1.2em 0em 1.2em 0em; + } +li > p { + margin-top: 0.2em; + } +pre {/*moz 1.0/1.1/1.2.1, net 7.0/7.01 make this way too small, but i'm not going to go larger because monospace tends to run you into overflow pretty quick. prior moz and net are okay.*/ + font-family: monospace; + font-size: 1.0em; + } +strong, b { + font-weight: bold; + } diff --git a/sandbox.mdwn b/sandbox.mdwn deleted file mode 100644 index c66534f..0000000 --- a/sandbox.mdwn +++ /dev/null @@ -1,32 +0,0 @@ -This is the SandBox, a page anyone can edit to learn how to use the wiki. - ----- - -Here's a paragraph. - -Here's another one with *emphasised* text. - -# Header - -## Subheader - -> This is a blockquote. -> -> This is the first level of quoting. -> -> > This is nested blockquote. -> -> Back to the first level. - -Numbered list - -1. First item. -1. Another. -1. And another.. - -Bulleted list - -* *item* -* item - -[[ikiwiki/WikiLink]] diff --git a/templates.mdwn b/templates.mdwn deleted file mode 100644 index eff0e15..0000000 --- a/templates.mdwn +++ /dev/null @@ -1,87 +0,0 @@ -[[!meta robots="noindex, follow"]] -[[!if test="enabled(template)" -then="This wiki has templates **enabled**." -else="This wiki has templates **disabled**." -]] - -Templates are files that can be filled out and inserted into pages in the -wiki. - -[[!if test="enabled(template) and enabled(inline)" then=""" - -These templates are available for inclusion onto other pages in this -wiki: - -[[!inline pages="templates/* and !*/discussion" feeds=no archive=yes -sort=title template=titlepage]] -"""]] - -## Using a template - -Using a template works like this: - - \[[!template id=note text="""Here is the text to insert into my note."""]] - -This fills out the [[note]] template, filling in the `text` field with -the specified value, and inserts the result into the page. - -Generally, a value can include any markup that would be allowed in the wiki -page outside the template. Triple-quoting the value even allows quotes to -be included in it. Combined with multi-line quoted values, this allows for -large chunks of marked up text to be embedded into a template: - - \[[!template id=foo name="Sally" color="green" age=8 notes=""" - * \[[Charley]]'s sister. - * "I want to be an astronaut when I grow up." - * Really 8 and a half. - """]] - -## Creating a template - -To create a template, simply add a template directive to a page, and the -page will provide a link that can be used to create the template. The template -is a regular wiki page, located in the `templates/` subdirectory inside -the source directory of the wiki. - -The template uses the syntax used by the [[!cpan HTML::Template]] perl -module, which allows for some fairly complex things to be done. Consult its -documentation for the full syntax, but all you really need to know are a -few things: - -* Each parameter you pass to the template directive will generate a - template variable. There are also some pre-defined variables like PAGE - and BASENAME. -* To insert the value of a variable, use `<TMPL_VAR variable>`. Wiki markup - in the value will first be converted to html. -* To insert the raw value of a variable, with wiki markup not yet converted - to html, use `<TMPL_VAR raw_variable>`. -* To make a block of text conditional on a variable being set use - `<TMPL_IF NAME="variable">text</TMPL_IF>`. -* To use one block of text if a variable is set and a second if it's not, - use `<TMPL_IF NAME="variable">text<TMPL_ELSE>other text</TMPL_IF>` - -Here's a sample template: - - <span class="infobox"> - Name: \[[<TMPL_VAR raw_name>]]<br /> - Age: <TMPL_VAR age><br /> - <TMPL_IF NAME="color"> - Favorite color: <TMPL_VAR color><br /> - <TMPL_ELSE> - No favorite color.<br /> - </TMPL_IF> - <TMPL_IF NAME="notes"> - <hr /> - <TMPL_VAR notes> - </TMPL_IF> - </span> - -The filled out template will be formatted the same as the rest of the page -that contains it, so you can include WikiLinks and all other forms of wiki -markup in the template. Note though that such WikiLinks will not show up as -backlinks to the page that uses the template. - -Note the use of "raw_name" inside the [[ikiwiki/WikiLink]] generator. This -ensures that if the name contains something that might be mistaken for wiki -markup, it's not converted to html before being processed as a -[[ikiwiki/WikiLink]]. diff --git a/wikiicons/openidlogin-bg.gif b/wikiicons/openidlogin-bg.gif Binary files differdeleted file mode 100644 index c8f43d0..0000000 --- a/wikiicons/openidlogin-bg.gif +++ /dev/null |