From a29e01ed543c9905d883aeadebede12e36eadcb7 Mon Sep 17 00:00:00 2001 From: Bernardo Innocenti Date: Wed, 11 Apr 2007 16:17:37 +0200 Subject: [PATCH 1/1] Initial import of my wiki --- BernardoInnocenti | 3 ++ ContactInformation | 43 +++++++++++++++++++++++++ EditingTips | 74 ++++++++++++++++++++++++++++++++++++++++++++ FindPage | 21 +++++++++++++ FrontPage | 33 ++++++++++++++++++++ GerardoPoggiali | 5 +++ HorizontalRules | 7 +++++ LinuxCare | 1 + MartinPool | 3 ++ MassimoSantoro | 1 + OriginalWiki | 5 +++ PikiPiki | 3 ++ PikiPlusToDo | 12 +++++++ PikiSandBox | 7 +++++ PikiToDo | 33 ++++++++++++++++++++ PikiWiki | 9 ++++++ PopularisingPikiPiki | 18 +++++++++++ PythonLanguage | 6 ++++ RecentChanges | 1 + TipsForBeginners | 3 ++ TitleIndex | 10 ++++++ UploadFile | 7 +++++ WikiWikiWeb | 1 + WordIndex | 10 ++++++ 24 files changed, 316 insertions(+) create mode 100644 BernardoInnocenti create mode 100644 ContactInformation create mode 100644 EditingTips create mode 100644 FindPage create mode 100644 FrontPage create mode 100644 GerardoPoggiali create mode 100644 HorizontalRules create mode 100644 LinuxCare create mode 100644 MartinPool create mode 100644 MassimoSantoro create mode 100644 OriginalWiki create mode 100644 PikiPiki create mode 100644 PikiPlusToDo create mode 100644 PikiSandBox create mode 100644 PikiToDo create mode 100644 PikiWiki create mode 100644 PopularisingPikiPiki create mode 100644 PythonLanguage create mode 100644 RecentChanges create mode 100644 TipsForBeginners create mode 100644 TitleIndex create mode 100644 UploadFile create mode 100644 WikiWikiWeb create mode 100644 WordIndex diff --git a/BernardoInnocenti b/BernardoInnocenti new file mode 100644 index 0000000..474b325 --- /dev/null +++ b/BernardoInnocenti @@ -0,0 +1,3 @@ +Some pictures of myself: + +'''CENSORED''' diff --git a/ContactInformation b/ContactInformation new file mode 100644 index 0000000..bad1464 --- /dev/null +++ b/ContactInformation @@ -0,0 +1,43 @@ + * e-mail: bernie-nospam@codewiz.org ('''remove -nospam''') + * Web page: http://www.codewiz.org/ + * IRC: {{_bernie}} on {{irc.freenode.org}} (rarely online) + * Snail mail: + {{{ +Bernardo Innocenti +Via Ventiquattro Maggio, 14 +50129 Firenze +ITALY + }}} + * Public GPG key: {{71FF4BAC}} + {{{ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.7 (GNU/Linux) + +mQGiBEW+r2MRBAC6Mb2Ib+2TdEYVyjgHQFoTyNAYPZPqd0uzVktRAlafrMEctBd0 +BRjWttoiJbUsuTGWEsN01BmagZMvWWD8EMVvnJ+ERtf4qij3TTqFVGYcAjddImCR +D7o76FRxXNKUra9MxLp6lSA9P862EW3QbwEl4643rhmUoenPbmzhb0pL/wCg4/H1 +E+s6/35zn/KXCg1KWEov/F8D/ji7wbDNEZJ0Nwc7gvoxj+3o5airpS/etVNyojdz +nXf5RF/pk6GzX4XsVQxjZMLPTkR8csWww3OAnGLjQTXxB0lPzFfEKQXp06IOJp0I +cFlOdqHoL2zv7+gyQhX0QBlaeYimrFKziSbvETBpQ+++99xZuAeYLBiZVdcQRSjc +mAZpA/41pYIAngJ0KNa9+FzW3g6gGeQdkZe3mRSvZWSpG7vWxVst5QIytm4vg0Sm +OLevLHebfZGJ5ezlbytQP3B8SGj+VBkOnw5YS3CjsGpD1IWteT+LdS9xiWfJhl63 +9yl2wXJi0zYwu93nJmn2hBWL1sfrP/12qyyCg4sSr3tF0edc77QnQmVybmFyZG8g +SW5ub2NlbnRpIDxiZXJuaWVAY29kZXdpei5vcmc+iGYEExECACYFAkW+r2MCGyMF +CQlmAYAGCwkIBwMCBBUCCAMEFgIDAQIeAQIXgAAKCRDEUQMHcf9LrMHhAKClLf07 +DjGPqxOZqHb1XCfFb6pvrgCbBR0FXhWMfXYAbA0CocqO/eTn6K65Ag0ERb6vnhAI +ALpqedHHgIoAXlKc1v4F0wT6gi6aFpov/NmaHvPmHAJlt+sjohEFZYv+mr6NOJtX +XyW/GHlh5s8WzsBf7PVEPuJP+6CfUfKE7HeOI4IvmtQZsrTxkxg7yVuZPrhN57NA +gz5tRjRhFTFtzPDs2gVNzbnwEhupayQUm0ar65ALqrvx+/qhJx86sSmC47++Jfaz +jH/WOussaVBfZkcdvG5ln6uX3j1I0rHCC1jRks/Flpy9zBaTvG+yHB3Oim3yeKge +6idc1vi7V78dxQrP93EHfH3DGlnjnmbRY95g/iTCNVh5B7Qt5zTh3tYt0UF7znLy +WdT1QeRuGL+QX3GXPnKLarcABR0H/1YcZ7pr9H5AjnozabYBY/YNmXP2PdtPTLz3 +cJ0soi5I4QWHHpCvEHxSStsEjw1W2yVAc+Ryn2alrMpA+8We9gL5xLwYm7t2R22w +FnIN7K9UosXG4J84gleMdyvLqUZ+lyRe9voVTGxQbrFR0aK3If3b2+4pa2M5k2Qw +rhIAWVbB46f62QaXL2o7BmAN1OR9CF+xLi2guGpnOgeGVac4+NJr/Z02kEMtiQvR +fmGmqa3wiXaJgd7dYpNgiF3WUR+lSejec5Kw7+7kGlqfrIrnUTWhjy/dTaw3po3z +Gdc/7RfbczS6ckMIwm36SlA5/NI+KmDFr3nktMrETfWe2budV1GITwQYEQIADwUC +Rb6vngIbDAUJCWYBgAAKCRDEUQMHcf9LrJ32AJ0eTywzPTsGt3wEqwtQJEfZ5XJk +TQCgu3PfSgp6y68u5+Qu85KLxbUV7vY= +=oRy4 +-----END PGP PUBLIC KEY BLOCK----- + }}} diff --git a/EditingTips b/EditingTips new file mode 100644 index 0000000..1e5fea6 --- /dev/null +++ b/EditingTips @@ -0,0 +1,74 @@ +Note: You should use formatting sparingly, WikiWikiWeb is about content, not look. + + +==Text Styles== + +You can also write ''italics'' and '''bold'''. +To write italics, enclose the text in double single quotes. +To write bold, enclose the text in triple single quotes. + +Leave blank lines between paragraphs. + +If you can't figure out what I mean, click EditPage to look at the source for this page. + + +==Links== + +Names of pages have to LookLikeThis. +It's called a WikiName. +If you write a word that LooksLikeThis, it will be automatically turned into a link. + +You can use URLs directly: http://www.codewiz.org/ , or you can make descriptive links with [[http://www.codewiz.org/ some anchor text]]. Links to images will appear inline: http://www.w3.org/Icons/valid-css.png + + +Anchored links also work with [[FrontPage wiki pages]] +and [[/index.html local paths]]. + + +==Block elements== + +If you indent text + like this, then it is indented in the output + you can have multiple levels of indent + +And if you put asterisks at the start of the line + + * you get a + * bulleted + * list + * which can also be indented + * to several levels + +To insert program source without reformatting in a monospace font, use three curly braces: + +{{{ + public static void main(String[] args) { + out.println("Hello"); + } +}}} + +Just like that. + +==Rulers== + +--- +---- +----- +------ + +==Headings== + +===Level 2=== +====Level 3==== +=====Level 4===== +======Level 5====== + + +==Final Notes== + +Be aware that PikiPiki does not lock pages during editing, so if you pause for a long time on the edit screen you may overwrite somebody else's changes. + +Now click Edit''''''Text in the header to see the markup for this page, and try it yourself in PikiSandBox. + +---- +Contributors and PikiGurus: JohnFarrell, MartinPool diff --git a/FindPage b/FindPage new file mode 100644 index 0000000..5c5cd87 --- /dev/null +++ b/FindPage @@ -0,0 +1,21 @@ +You can use this page to search all entries in PikiPiki. Searches are not case sensitive. + +Here are some good starting points for browsing: + + * FrontPage -- top of this system + * RecentChanges recorded automatically + * TipsForBeginners + * TitleIndex -- all pages in the database + * WordIndex -- all words in all titles + +Here's a title search. Try something like ''wiki'': + + [[TitleSearch]] + +Here's a full-text search: + + [[FullSearch]] + +You can also use regular expressions, such as + +{{{ seriali[sz]e}}} diff --git a/FrontPage b/FrontPage new file mode 100644 index 0000000..a7f10d0 --- /dev/null +++ b/FrontPage @@ -0,0 +1,33 @@ +#acl BernardoInnocenti:write All:read + +'''This is BernardoInnocenti's home page - Long live and prosper''' + +[[/wikidata/pics/bernie_manga_color_alpha.png bernie manga]] + +== Projects == + + TODO + +== About Me == + + * ContactInformation + * CurriculumVitae + + TODO + +== About This Wiki == + +This WikiWikiWeb runs a customized version of PikiWiki, originally written by MartinPool. + +Authenticated users are allowed to edit this wiki. Even if you don't have a real +account, you can login as '''Anonymous''''''Coward''' with password '''guest'''. +You may want to read the TipsForBeginners and EditingTips to get started. + +This wiki uses [[http://git.or.cz/ Git]] as a versioning backend. Here you can browse the +[[/wikigit/wiki.git Revision History]]. + +The modified source code is available here: + * [[/wikidata/pikiplus.py pikiplus.py]] -- The CGI itself + * [[/wikidata/codewiz.css codewiz.css]] -- The stylesheet used at this site + * [[/wikidata/post_edit_hook.sh post_edit_hook.sh]] -- Some glue to integrate with Git + * PikiPlusToDo diff --git a/GerardoPoggiali b/GerardoPoggiali new file mode 100644 index 0000000..17cb7af --- /dev/null +++ b/GerardoPoggiali @@ -0,0 +1,5 @@ +A great friend and co-worker who will always live in our memories. + +Some of Gerry's web resources are still available: + * http://www.develer.com/~gerry/ + * http://www.gerardopoggiali.com/ diff --git a/HorizontalRules b/HorizontalRules new file mode 100644 index 0000000..0bce238 --- /dev/null +++ b/HorizontalRules @@ -0,0 +1,7 @@ +You can rule a line across the page by typing four or more dashes. In PikiPiki the number of dashes in a horizontal rule markup determine how thick it is: use them in moderation. (A suggestion from JohnFarrell.) + +--- +---- +----- +------ +------- \ No newline at end of file diff --git a/LinuxCare b/LinuxCare new file mode 100644 index 0000000..e8ec8ec --- /dev/null +++ b/LinuxCare @@ -0,0 +1 @@ +http://www.linuxcare.com/ \ No newline at end of file diff --git a/MartinPool b/MartinPool new file mode 100644 index 0000000..1e2876e --- /dev/null +++ b/MartinPool @@ -0,0 +1,3 @@ +A very lovely guy. + +http://sourcefrog.net/ diff --git a/MassimoSantoro b/MassimoSantoro new file mode 100644 index 0000000..a323114 --- /dev/null +++ b/MassimoSantoro @@ -0,0 +1 @@ +Eccomi qua! diff --git a/OriginalWiki b/OriginalWiki new file mode 100644 index 0000000..276c2c3 --- /dev/null +++ b/OriginalWiki @@ -0,0 +1,5 @@ + + http://www.c2.com/cgi/wiki + + http://www.c2.com/cgi/wiki?RecentChanges + diff --git a/PikiPiki b/PikiPiki new file mode 100644 index 0000000..15ec37e --- /dev/null +++ b/PikiPiki @@ -0,0 +1,3 @@ +PikiPiki has a public home page here: + + http://www.linuxcare.com.au/piki/ \ No newline at end of file diff --git a/PikiPlusToDo b/PikiPlusToDo new file mode 100644 index 0000000..7d28685 --- /dev/null +++ b/PikiPlusToDo @@ -0,0 +1,12 @@ +=== Soon === + + * Edit preview + * Remove recent changes, use GitWeb exclusively + * Link to page history + +=== L8R === + + * Remove sandbox, use the versioned repository directly + * Stage changes by user until committed explicitly (i.e.: wiki changesets) + * Put code under version control :-) + * See also the original PikiToDo \ No newline at end of file diff --git a/PikiSandBox b/PikiSandBox new file mode 100644 index 0000000..8957f03 --- /dev/null +++ b/PikiSandBox @@ -0,0 +1,7 @@ +'''I dare you''': press the Edit button and add something to this page. -- MartinPool + +Aha +Haha! +Hahaha! +hehehe +hehehe diff --git a/PikiToDo b/PikiToDo new file mode 100644 index 0000000..1aa8f03 --- /dev/null +++ b/PikiToDo @@ -0,0 +1,33 @@ +Add to this page features you think are missing in PikiPiki: + + * Find a better logo. (Now we have a nice snake by DrJohn.) + + * Should have a way to attach images to uploaded pages using an HtmlFileField. + + * Implement EditCopy as in OriginalWiki. http://c2.com/cgi/wiki?MoreAboutBackupCopies + + * http://www.c2.com/cgi/wiki?FederatedWiki + + * Show most-often-read pages. + + * Fix atomic-rename and locking of editlog on NT. + + LeonMar says we should just open the file with an exclusive lock, rather than using a temporary file. That sounds nice and simple. NT implicitly locks the file against deletion but not against simultaneous modification when it's open for write. The fcntl locking mechanism doesn't seem to work, but perhaps there is a separate msvcrt routine which will do it. + + Can we use the same strategy on Unix, or do we have to switch? + + ''I think I have a portable posix locking Python module now, but I haven't tried it yet.'' -- MartinPool + + * Clear up the few inconsistencies between normal and magic pages like RecentChanges. In OriginalWiki they do this by magic markup tags inside the pages, rather than by trapping the names. This is nice: amongst other things, it means that people can easily and consistently add documentation/explanation to those pages. + + * Don't put configuration options into the main script. (Perhaps instead put configuration into the CGI, then have it import the body of the program.) + + * Merge implementations of FullSearch and TitleSearch + + * FullSearch should also search titles + + * NT's bizarre filename case handling causes MinescapeAdaptor and MineScapeAdaptor to link to the same page but look different to Piki. + + * Feature to link to a randomly-selected page. + + * Resolve concurrent updates. diff --git a/PikiWiki b/PikiWiki new file mode 100644 index 0000000..6be4ba9 --- /dev/null +++ b/PikiWiki @@ -0,0 +1,9 @@ +Piki''''''Piki is a tiny wiki engine written in 1999 by MartinPool. +The original version was less than 600 lines of Python code and +is still available here: http://sourcefrog.net/projects/piki/ + +The version running on this site includes some enhancements +by GerardoPoggiali and BernardoInnocenti, but still runs in +less than 700 LOCs. + +You can grab the source code here: http://bender.codewiz.org/wiki/berniepiki.py diff --git a/PopularisingPikiPiki b/PopularisingPikiPiki new file mode 100644 index 0000000..a78b50b --- /dev/null +++ b/PopularisingPikiPiki @@ -0,0 +1,18 @@ +I think we need better communication in the MineStarTeam: people don't want to write heavyweight documentation, but we can't find information when we want it later. + +Therefore: + + 1. Is PikiPiki a useful SimpleTool for improving our work? + + 2. How do we encourage people to start using it? + +-- MartinPool +---- +I am writing MinescapeAdaptor documentation. +If enough documentation gets here, it will be in people's interests to start reading, and inevitably they will start writing. +Another option is RudeJokes. --JohnFarrell +---- +I thought I'd also send email containing the URLs of documentation pages within PikiPiki. -- MartinPool +---- + +''(Your suggestions/questions go here.)'' \ No newline at end of file diff --git a/PythonLanguage b/PythonLanguage new file mode 100644 index 0000000..fc563b0 --- /dev/null +++ b/PythonLanguage @@ -0,0 +1,6 @@ + + http://www.python.org/ + +Python is a dynamic object-oriented language. + +Python is one candidate for MineStar scripting, through a version that runs within a JavaVirtualMachine. \ No newline at end of file diff --git a/RecentChanges b/RecentChanges new file mode 100644 index 0000000..21c58a7 --- /dev/null +++ b/RecentChanges @@ -0,0 +1 @@ +[[RecentChanges]] diff --git a/TipsForBeginners b/TipsForBeginners new file mode 100644 index 0000000..b4866dc --- /dev/null +++ b/TipsForBeginners @@ -0,0 +1,3 @@ + * The highlighted PageTitle shows a list of all pages that link to the current page. It even works on pages that are not defined yet. + + * A question mark after a link (e.g. NoSuchPage) means that the page is not defined: you can click the question mark to offer a definition. \ No newline at end of file diff --git a/TitleIndex b/TitleIndex new file mode 100644 index 0000000..8248566 --- /dev/null +++ b/TitleIndex @@ -0,0 +1,10 @@ +This is an index of all pages in PikiPiki. + +See also: + + * WordIndex -- a permuted index of all words occuring in titles + * RecentChanges + +---- + +[[TitleIndex]] \ No newline at end of file diff --git a/UploadFile b/UploadFile new file mode 100644 index 0000000..a939d5e --- /dev/null +++ b/UploadFile @@ -0,0 +1,7 @@ +It would be nice for PikiPiki to allow people to upload files and embed them into the page. We can do this using HTTP/HTML file upload in a form. This could be either a picture to be inserted directly, or some other document to be linked. + +The KmWiki WikiClone supports in-place editing of diagrams using a JavaHotDraw-derived widget, and objects in the diagram can link to pages. This is pretty cool, but quite complicated and not necessarily terribly useful. + +OriginalWiki just supports links to documents, but doesn't give people a way to upload: they have to have their own web server, which makes things difficult in some environments. + +It would be nice to let people upload multiple files and replace them later. \ No newline at end of file diff --git a/WikiWikiWeb b/WikiWikiWeb new file mode 100644 index 0000000..fc3f434 --- /dev/null +++ b/WikiWikiWeb @@ -0,0 +1 @@ +See: http://c2.com/cgi/wiki?WikiWikiWeb diff --git a/WordIndex b/WordIndex new file mode 100644 index 0000000..496e3c5 --- /dev/null +++ b/WordIndex @@ -0,0 +1,10 @@ +This is an index of all words occuring in page titles. + +See also: + + * TitleIndex -- a shorter index + * RecentChanges + +---- + +[[WordIndex]] \ No newline at end of file -- 2.25.1