From noreply at sourceforge.net Fri Mar 1 11:18:16 2002
From: noreply at sourceforge.net (noreply at sourceforge.net)
Date: Fri Mar 1 11:18:16 2002
Subject: [Moin-devel] [ moin-Bugs-524485 ] bad python syntax in wikiutil.py
Message-ID:
Bugs item #524485, was opened at 2002-03-01 11:00
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=108482&aid=524485&group_id=8482
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: bad python syntax in wikiutil.py
Initial Comment:
line 348::
return formatter.url(
"%s/%s" % (webapi.getScriptname(), params),
text, css_class, **kw)
the kw argument should loose the asterics. I found
this when I ran test.cgi.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=108482&aid=524485&group_id=8482
From jhermann at users.sourceforge.net Fri Mar 1 11:25:14 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Fri Mar 1 11:25:14 2002
Subject: [Moin-devel] CVS: MoinMoin wikiutil.py,1.81,1.82
Message-ID:
Update of /cvsroot/moin/MoinMoin
In directory usw-pr-cvs1:/tmp/cvs-serv6111
Modified Files:
wikiutil.py
Log Message:
Backport to 1.5.2
Index: wikiutil.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/wikiutil.py,v
retrieving revision 1.81
retrieving revision 1.82
diff -C2 -r1.81 -r1.82
*** wikiutil.py 27 Feb 2002 21:27:24 -0000 1.81
--- wikiutil.py 1 Mar 2002 19:21:25 -0000 1.82
***************
*** 346,351 ****
text = params # default
if formatter:
! return formatter.url(
! "%s/%s" % (webapi.getScriptname(), params), text, css_class, **kw)
if css_class:
classattr = ' class="%s"' % css_class
--- 346,351 ----
text = params # default
if formatter:
! return apply(formatter.url,
! ("%s/%s" % (webapi.getScriptname(), params), text, css_class), kw)
if css_class:
classattr = ' class="%s"' % css_class
From brian at dorseys.org Fri Mar 1 17:15:06 2002
From: brian at dorseys.org (Brian Dorsey)
Date: Fri Mar 1 17:15:06 2002
Subject: [Moin-devel] Re: [Moin-user] 0.11 and IIS
In-Reply-To: ; from cmedcoff@hotmail.com on Wed, Feb 27, 2002 at 05:50:52PM -0500
References: <20020225172026.A13107@dorseys.org> <20020226170447.A13792@dorseys.org>
Message-ID: <20020301171534.B15509@dorseys.org>
On Wed, Feb 27, 2002 at 05:50:52PM -0500, Charles Medcoff wrote:
> I'd be happy to review/edit Brians efforts and test out the instructions.
>
I've posted my first draft of the IIS install instructions. Charles, please review/edit and give them a try! :) In wiki fashion, feel free to fix anything that's broken.
Take care,
-Brian
From jh at web.de Sat Mar 2 01:33:21 2002
From: jh at web.de (Juergen Hermann)
Date: Sat Mar 2 01:33:21 2002
Subject: [Moin-devel] Re: [Moin-user] 0.11 and IIS
In-Reply-To: <20020301171534.B15509@dorseys.org>
Message-ID:
On Fri, 1 Mar 2002 17:15:34 -0800, Brian Dorsey wrote:
>On Wed, Feb 27, 2002 at 05:50:52PM -0500, Charles Medcoff wrote:
>> I'd be happy to review/edit Brians efforts and test out the
instructions.
>>
>
>I've posted my first draft of the IIS install instructions. Charles,
please review/edit and give them a try! :) In wiki fashion, feel free
to fix anything that's broken.
I fixed some formatting and text. I also removed any
options/alternatives (esp. not using --prefix): people will be either
confuzed, or clever enough to adapt things themselves.
Ciao, J?rgen
From jh at web.de Sat Mar 2 08:36:41 2002
From: jh at web.de (Juergen Hermann)
Date: Sat Mar 2 08:36:41 2002
Subject: [Moin-devel] 0.11 final release
Message-ID:
Hi!
Next weekend is the sheduled release date for 0.11 final, as the doc
update is nearly completed. I just synched the translation texts, so if
you want to have them 100% up-to-date for the release, the time is
now...
The following command, which lists the untranslated texts, will help
you (replace "fr" with your language):
py MoinMoin\i18n\_check.py fr
Ciao, J?rgen
From jhermann at users.sourceforge.net Sun Mar 3 01:25:06 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Sun Mar 3 01:25:06 2002
Subject: [Moin-devel] CVS: MoinMoin cgimain.py,1.45,1.46
Message-ID:
Update of /cvsroot/moin/MoinMoin
In directory usw-pr-cvs1:/tmp/cvs-serv5357
Modified Files:
cgimain.py
Log Message:
Strip "Goto" pagename
Index: cgimain.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/cgimain.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -r1.45 -r1.46
*** cgimain.py 27 Feb 2002 21:27:24 -0000 1.45
--- cgimain.py 3 Mar 2002 09:24:36 -0000 1.46
***************
*** 80,84 ****
def run(properties={}):
! import cgi, os, sys
# force input/output to binary
--- 80,84 ----
def run(properties={}):
! import cgi, os, sys, string
# force input/output to binary
***************
*** 165,169 ****
else:
if request.form.has_key('goto'):
! query = request.form['goto'].value
elif pagename:
query = pagename
--- 165,169 ----
else:
if request.form.has_key('goto'):
! query = string.strip(request.form['goto'].value)
elif pagename:
query = pagename
From brian at dorseys.org Sun Mar 3 21:50:02 2002
From: brian at dorseys.org (Brian Dorsey)
Date: Sun Mar 3 21:50:02 2002
Subject: [Moin-devel] Re: [Moin-user] 0.11 and IIS
In-Reply-To: ; from jh@web.de on Sat, Mar 02, 2002 at 10:31:56AM +0100
References: <20020301171534.B15509@dorseys.org>
Message-ID: <20020303215036.A2740@dorseys.org>
On Sat, Mar 02, 2002 at 10:31:56AM +0100, Juergen Hermann wrote:
> I fixed some formatting and text. I also removed any
> options/alternatives (esp. not using --prefix): people will be either
> confuzed, or clever enough to adapt things themselves.
Looks great! I'll see if I can track down the permissions issue I had once, but not later... so we can get rid of the TODOs.
-Brian
From jhermann at users.sourceforge.net Mon Mar 4 11:13:16 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Mon Mar 4 11:13:16 2002
Subject: [Moin-devel] CVS: MoinMoin/parser python.py,1.8,1.9
Message-ID:
Update of /cvsroot/moin/MoinMoin/parser
In directory usw-pr-cvs1:/tmp/cvs-serv6443/parser
Modified Files:
python.py
Log Message:
Added linecounts to colorized code displays
Index: python.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/parser/python.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** python.py 19 Feb 2002 23:08:26 -0000 1.8
--- python.py 4 Mar 2002 19:12:57 -0000 1.9
***************
*** 32,44 ****
class Parser:
""" Send colored python source.
"""
! def __init__(self, raw, **kw):
""" Store the source text.
"""
self.raw = string.rstrip(string.expandtabs(raw))
! self.out = kw.get('out', sys.stdout)
def format(self, formatter, form):
--- 32,94 ----
+ class CountedOutput:
+ """ Add line counts and possibly info texts to output
+ """
+
+ def __init__(self, out, lineinfo):
+ self.out = out
+ self.lineinfo = lineinfo
+ self.line = 0
+ self.infocounter = 0
+ self.maxinfo = 0
+
+ if lineinfo:
+ import operator
+ self.maxinfo = reduce(operator.add, map(len, lineinfo.values()), 0)
+
+ def line_no(self):
+ if self.lineinfo:
+ for info in self.lineinfo.get(self.line, []):
+ self.infocounter += 1
+ self.out.write(''
+ '' % (self.infocounter, '#FF0000'))
+ if self.infocounter == 1:
+ self.out.write(' ')
+ else:
+ self.out.write('<< ' % (self.infocounter-1))
+ if self.infocounter == self.maxinfo:
+ self.out.write(' ')
+ else:
+ self.out.write('>> ' % (self.infocounter+1))
+ self.out.write('#%d: %s\n' % (self.infocounter, info))
+ self.out.write('%5d ' % (_colors[_TEXT], self.line))
+
+ def write(self, data):
+ if not self.line:
+ self.line = 1
+ self.line_no()
+
+ parts = data.split('\n')
+ if len(parts) > 1:
+ self.out.write(parts[0])
+ for part in parts[1:]:
+ self.line += 1
+ self.out.write('\n')
+ self.line_no()
+ self.out.write(part)
+ else:
+ self.out.write(data)
+
+
class Parser:
""" Send colored python source.
"""
! def __init__(self, raw, lineinfo={}, **kw):
""" Store the source text.
"""
self.raw = string.rstrip(string.expandtabs(raw))
! self.rawout = kw.get('out', sys.stdout)
! self.out = CountedOutput(self.rawout, lineinfo)
def format(self, formatter, form):
***************
*** 57,61 ****
self.pos = 0
text = cStringIO.StringIO(self.raw)
! self.out.write('')
try:
tokenize.tokenize(text.readline, self)
--- 107,111 ----
self.pos = 0
text = cStringIO.StringIO(self.raw)
! self.rawout.write('')
try:
tokenize.tokenize(text.readline, self)
***************
*** 63,69 ****
msg = ex[0]
line = ex[1][0]
! self.out.write("ERROR: %s
%s\n" % (
msg, self.raw[self.lines[line]:]))
! self.out.write('
')
def __call__(self, toktype, toktext, (srow,scol), (erow,ecol), line):
--- 113,119 ----
msg = ex[0]
line = ex[1][0]
! self.rawout.write("ERROR: %s
%s\n" % (
msg, self.raw[self.lines[line]:]))
! self.rawout.write('
')
def __call__(self, toktype, toktext, (srow,scol), (erow,ecol), line):
From jhermann at users.sourceforge.net Mon Mar 4 12:29:09 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Mon Mar 4 12:29:09 2002
Subject: [Moin-devel] CVS: dist/wiki/data/text HelpOnInstalling_2fInternetInformationServer,1.2,1.3
Message-ID:
Update of /cvsroot/moin/dist/wiki/data/text
In directory usw-pr-cvs1:/tmp/cvs-serv28824
Modified Files:
HelpOnInstalling_2fInternetInformationServer
Log Message:
0.11 IIS install docs
Index: HelpOnInstalling_2fInternetInformationServer
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnInstalling_2fInternetInformationServer,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** HelpOnInstalling_2fInternetInformationServer 13 Feb 2002 21:52:28 -0000 1.2
--- HelpOnInstalling_2fInternetInformationServer 4 Mar 2002 20:18:35 -0000 1.3
***************
*** 1,61 ****
##cvsid: $Id$
! ... someone provide current instructions here ...
! Some more info is on MoinMoin:MoinMoinWinCvs.
! === Older information ===
! This is the INSTALL.IIS file from the 010 distribution:
{{{
! #############################
! # INSTALLATION ON WIN2K/IIS #
! #############################
!
! Steps to set up MoinMoin on Win2K/IIS (Should also work for NT4/IIS)
!
! Installation Pre-Requirements:
! - Win2K Pro or Server (Should also work on NT4)
! - Internet Information Server or Personal Web Server
! - ActivePython (found at http://www.activestate.com)
!
! Unpack the contents of the ZIP into your Python20 directory and rename the
! MoinMoin-X.X directory to "MoinMoin" so that this file (INSTALL) is located
! at "\Python20\MoinMoin".
!
! The next step is to edit the file "C:\MoinMoin\wiki-moinmoin\moin_config.py"
! and adapt it to your particular setup. The only things we need to change to
! get things working are the values of the two variables "data_dir" and
! "url_prefix". For our situation, we need the following values:
!
! data_dir = './data'
! url_prefix = '/wiki-moinmoin'
!
! Incidently, those are the defaults.
!
! Create a Virtual Dir named "wiki-moinmoin" under the root of your web site
! and point it to the "C:\Python20\MoinMoin\wiki-moinmoin" directory. The
! Virtual Dir needs "Read" and "Run Scripts" permission.
!
! On the properties page of the Virtual Dir under Application Settings be
! sure that Execute Permissions is set to either Scripts Only or Scripts
! and Executables. Click the Configuration button and then Add to create
! the following new Application Mapping (NOTE: The "%s %s" IS case
! sensitive):
!
! Executeable: C:\Python20\python.exe %s %s
! Extension: .cgi
! Verbs: All Verbs
! Script Engine: Checked
! Check that file exists: UnChecked
!
! Click OK and close all property pages then restart the web site. Open a
! browser and go to "http://localhost/wiki-moinmoin/test.cgi" and be sure
! everything looks OK.
!
! Then go to "http://localhost/wiki-moinmoin/moin.cgi" and you should get the
! FrontPage. To further test your new Wiki, "EditText" the "FrontPage", save
! it and click on "RecentChanges". Congrats! You have a working Wiki!
! "Gregory Petersen" , 2001-04-04
}}}
--- 1,116 ----
##cvsid: $Id$
+ '''Index'''
+ [[TableOfContents]]
! == Requirements ==
! Before you install MoinMoin:MoinMoin, make sure you have the necessary infra-structure in place, namely the ''Internet Information Services'' webserver (any version should be OK), and a ''Python'' installation (version 2.0 or higher is recommended, don't run 1.5.2 without a compelling reason).
! In the following description, we assume that you have installed or will install things to these locations:
! * IIS to its default location
! * `C:\Python` - the Python interpreter
! * `C:\Moin` - Moin``Moin itself
! Quite often, you might want to install things elsewhere, which is no problem at all; you just have to adapt any paths that appear in a command or config file to the locations you have chosen.
!
! This installation procedure was tested with IIS 5 for Windows running on Windows 2000sp2, and using Python 2.2.
!
! == Preparation ==
!
! === Installing IIS ===
!
! You currently need an external webserver to run Moin``Moin.
!
! From Microsoft: (http://www.microsoft.com/windows2000/en/server/iis/)
!
! To install IIS, add components, or remove components:
!
! Click Start, point to Settings, click Control Panel and start the Add/Remove Programs application.
! Select Configure Windows, click the Components button, and then follow the on-screen instructions
! to install, remove, or add components to IIS.
!
! Make sure that your webserver runs without problems before you start to install Moin``Moin; problems with your webserver installation are not in the scope of this document.
!
! === Installing Python ===
!
! Download [http://www.python.org/ftp/python/2.1.2/Python-2.1.2.exe Python 2.1.2] and install it. Python installation is done via a standard Windows installer program.
!
! === Installing MoinMoin ===
!
! Before creating a wiki instance, you have to download and install the basic Moin``Moin software. We assume you already have downloaded the distribution archive to the "`C:\TEMP`" directory[[FootNote(If you want to install the current development version from CVS, replace "C:\TEMP" with your "moin" working directory.)]].
!
! Open a console window and enter the following commands:
! {{{
! C:
! cd \temp
! unzip moin-0.11.zip
! cd moin-0.11
! python setup.py install --prefix=C:\Moin --record=install.log
! }}}
!
! This will install all necessary files to the "`C:\Moin`" directory, and create a "`install.log`" file listing all the files that are created there.
!
! [[FootNote]]
!
! == Creating a Wiki Instance ==
!
! You could run your wiki directly using the sample wiki created in "`C:\Moin`", but this is not recommended for two reasons:
! 1. updating your wiki is more complicated and more dangerous.
! 1. creating a second wiki instance, even if you currently don't plan for one, is much easier.
!
! So, enter these commands in a console window:
! {{{
! cd \Moin
! md mywiki
! md mywiki\data
! xcopy share\moin\data mywiki\data /E
! copy share\moin\cgi-bin mywiki
! copy share\moin\htdocs\index.html mywiki
! }}}
!
! "`mywiki`" is the name of your wiki instance, you might want to chose a different name best fitting the intended use of this instance; just don't name it simply "`wiki`", because that would result in problems later on.
!
! We have to make sure that `moin.cgi` (and `test.cgi` if you want to run it) can find the Moin``Moin directory, so that "{{{import MoinMoin}}}" will work. You can either setup a `PYTHONPATH` environment variable which includes the installation path, but sometimes it can be tricky to make sure the variable will be set in the CGI environment. The easiest way to make sure `MoinMoin` can be imported is to append to `sys.path` ''within'' `moin.cgi` and `test.cgi`.
!
! You can change the first two lines of code in moin.cgi to something like this:
{{{
! #!python
! import sys
! sys.path.append(r'C:\Moin')
! }}}
! Notice that we're pointing to the directory which contains the Moin``Moin directory, not the directory itself.
!
! /!\ '''Python 2.2''': Python 2.2 changed the installation layout. Because of this, you have to change the line of code given above to "{{{sys.path.append(r'C:\Moin\Lib\site-packages')}}}".
!
! Next, you'll need to create two virtual directories in IIS. One for the shared data, and one for this specific wiki instance.
!
! Go to ''Control Panel => Administrative Tools => Internet Information Service''. Open up the tree to ''Default Web site''.
!
! Right click on ''Default Web Site'' and choose ''New => Virtual directory''. This will bring up a wizard with the manditory useless first screen, hit next. Enter "`wiki`" for the alias name and hit next. Browse to "`C:\Moin\share\moin\htdocs`" and hit next. Leave the ''Access permissions'' at their defaults and hit next. And now you're done, hit finish!
!
! Now follow the same steps, but set the alias to "`mywiki`" and the path to "`C:\Moin\mywiki`".
! TODO: ''Does it need more permissions?''
!
! Now you need to setup the 'mywiki' alias so that it will run Python to interpret `.cgi` files. Right click on your new 'mywiki' alias and choose ''Properties''. On the first tab (''Virtual Directory''), click the ''Configuration'' button. The first tab is the ''App Mappings'' tab, which defines which programs to use for each file exetension. Click ''Add''. Browse to your `python.exe` (probably something like `c:\pythonXX\python.exe`). Then add {{{-u %s %s}}} after the Python executable path. The ''Executable'' line will look something like this: {{{C:\Python22\python.exe -u %s %s}}}. In the ''Extension'' box enter {{{.cgi}}} with the begining period. Confirm that the ''Check that file exists'' option is not checked (if it is, Moin``Moin won't be able to display sub pages). Ok, you're done with the alias configuration, click ''OK'' several times to get back out of all the dialog boxes.
! TODO: Document directory permissions for IUSR_XXXX gotcha.
!
! If you add another wiki instance, you'll only need to setup the reference to its folder, they can safely share the "`wiki`" alias which points to static files only.
!
! That is all, try to access your new-born wiki with the URL "`http://127.0.0.1/mywiki/`". You should see the Front``Page, try to edit and save it, and if that works, see if your edit is reflected on the Recent``Changes page.
!
! Finally, edit "`moin_config.py`" and at least change "`sitename`" and "`logo_url`" to some personal values:
! {{{
! sitename = 'My Wiki'
! logo_url = '/images/mywiki-logo.gif'
! }}}
!
! For a personal or intranet installation, you'll normally also add the line {{{
! allowed_actions = ['DeletePage', 'AttachFile']
}}}
+
+ === Troubleshooting ===
+
+ If you see an error like "{{{ImportError: No module named MoinMoin}}}", it means that python cannot find Moin``Moin. See above for how to set your `PYTHONPATH` or add to `sys.path`.
+
+
From jhermann at users.sourceforge.net Mon Mar 4 12:53:09 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Mon Mar 4 12:53:09 2002
Subject: [Moin-devel] CVS: dist/wiki/data/text MoinMoin_2fInstallationsAnleitung,NONE,1.1 MoinMoin,1.5,1.6
Message-ID:
Update of /cvsroot/moin/dist/wiki/data/text
In directory usw-pr-cvs1:/tmp/cvs-serv4068
Modified Files:
MoinMoin
Added Files:
MoinMoin_2fInstallationsAnleitung
Log Message:
InstallationsAnleitung - installation docs in German
--- NEW FILE: MoinMoin_2fInstallationsAnleitung ---
#pragma section-numbers off
/!\ TODO jh: Replace the static texts here when HilfeZurInstallation is translated. Note that page links are replaced by anchor links!
Diese HTML-Seite fasst die grundlegenden Installationsbeschreibungen von http://purl.net/wiki/moin/MoinMoin/HilfeZurInstallation zusammen.
Sie enth?lt alle notwendigen Informationen, um Ihre eigene Wiki-Umbegung einzurichten, auch ohne online zu sein.
Wenn Sie jedoch eine permanente Internet-Verbindung besitzen, k?nnen Sie auch die zuvor erw?hnte Seite "Hilfe``Zur``Installation" in den Browser laden, die ggf. aktuellere Informationen enth?lt.
Nachdem Sie gem?? der Anleitung Ihr Wiki zum Laufen gebracht haben, k?nnen Sie den Rest der Onlinehilfe direkt dort lesen.
== How to install your own MoinMoin Wiki ==
This page describes the installation procedure applying to MoinMoin:MoinMoin version 0.11 and up. In the next section, there is a list of real-world [#installscenarios Installation Scenarios] that help you to understand how to apply the instructions in different environments.
[#basic-install Basic Installation] explains the "`setup.py`" step of the installation in more detail. This applies equally to all scenarios, and you should read it before trying a live installation.
After a successful installation, you might want to read more about configuration and other options that you, as the wiki administrator, can set up. MoinMoin:HelpOnAdministration contains links to pages that cover these topics.
Especially, the MoinMoin:HelpOnConfiguration and MoinMoin:HelpOnUpdating pages provide additional information regarding wiki setup and maintenance. MoinMoin:MoinMoinWinCvs and MoinMoin:MoinMoinUnixCvs describe how to run your wiki using the current development version from the MoinMoin:SourceForge CVS repository.
[[Anchor(installscenarios)]]
=== Sample Installation Scenarios ===
The following links lead you to concrete examples of installation sessions, showing the commands used and explaining what they do. It is highly recommended that you ''first'' read the general information on installing (especially the next section of this page) before choosing an installation scenario that best fits your intended use of MoinMoin:MoinMoin.
UNIX:
* [#unix-install UNIX Installation]
Windows:
* [#win32apache-install Windows Installation mit Apache]
* [#win32iis-install Windows Installation mit Microsoft/IIS]
[[Anchor(basic-install)]]
[[Include(HilfeZurInstallation/BasisInstallation)]]
------
[[Anchor(unix-install)]]
------
[[Include(HilfeZurInstallation/ApacheAufUnix, "UNIX Installation", 1)]]
------
[[Anchor(win32apache-install)]]
------
[[Include(HilfeZurInstallation/ApacheAufWin32, "Windows Installation mit Apache", 1)]]
------
[[Anchor(win32iis-install)]]
------
[[Include(HilfeZurInstallation/InternetInformationServer, "Windows Installation mit Microsoft/IIS", 1)]]
Index: MoinMoin
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/MoinMoin,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** MoinMoin 27 Feb 2002 21:00:43 -0000 1.5
--- MoinMoin 4 Mar 2002 20:37:23 -0000 1.6
***************
*** 13,16 ****
--- 13,17 ----
* MoinMoin:MoinMoinWikis - list of wiki sites using MoinMoin
* /InstallDocs - all the help pages about installation rolled into one
+ * /InstallationsAnleitung - installation docs in German
Other pages about MoinMoin:
From jhermann at users.sourceforge.net Mon Mar 4 12:54:21 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Mon Mar 4 12:54:21 2002
Subject: [Moin-devel] CVS: dist/wiki/data/text HelpContents,1.10,1.11 HelpForBeginners,1.5,1.6 HelpIndex,1.2,1.3 HelpMiscellaneous_2fFrequentlyAskedQuestions,1.1,1.2 HelpOnAdministration,1.3,1.4 HelpOnConfiguration,1.8,1.9 HelpOnConfiguration_2fSecurityPolicy,1.3,1.4 HelpOnEditing,1.3,1.4 HelpOnEditing_2fSubPages,1.2,1.3 HelpOnFormatting,1.3,1.4 HelpOnHeadlines,1.3,1.4 HelpOnInstalling,1.9,1.10 HelpOnInstalling_2fApacheOnUnix,1.5,1.6 HelpOnInstalling_2fInternetInformationServer,1.3,1.4 HelpOnLinking,1.5,1.6 HelpOnLists,1.3,1.4 HelpOnMacros,1.5,1.6 HelpOnNavigation,1.5,1.6 HelpOnPageCreation,1.5,1.6 HelpOnPageDeletion,1.5,1.6 HelpOnProcessingInstructions,1.3,1.4 HelpOnRules,1.2,1.3 HelpOnSmileys,1.2,1.3 HelpOnSpellCheck,1.4,1.5 HelpOnTables,1.4,1.5 HelpOnUpdating,1.4,1.5 HelpOnXmlPages,1.4,1.5
Message-ID:
Update of /cvsroot/moin/dist/wiki/data/text
In directory usw-pr-cvs1:/tmp/cvs-serv5874
Modified Files:
HelpContents HelpForBeginners HelpIndex
HelpMiscellaneous_2fFrequentlyAskedQuestions
HelpOnAdministration HelpOnConfiguration
HelpOnConfiguration_2fSecurityPolicy HelpOnEditing
HelpOnEditing_2fSubPages HelpOnFormatting HelpOnHeadlines
HelpOnInstalling HelpOnInstalling_2fApacheOnUnix
HelpOnInstalling_2fInternetInformationServer HelpOnLinking
HelpOnLists HelpOnMacros HelpOnNavigation HelpOnPageCreation
HelpOnPageDeletion HelpOnProcessingInstructions HelpOnRules
HelpOnSmileys HelpOnSpellCheck HelpOnTables HelpOnUpdating
HelpOnXmlPages
Log Message:
cvsid does not mix well with -kb
Index: HelpContents
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpContents,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** HelpContents 26 Feb 2002 00:25:10 -0000 1.10
--- HelpContents 4 Mar 2002 20:42:20 -0000 1.11
***************
*** 1,4 ****
- ##cvsid: $Id$
-
== Help Contents ==
--- 1,2 ----
Index: HelpForBeginners
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpForBeginners,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** HelpForBeginners 20 Feb 2002 20:57:58 -0000 1.5
--- HelpForBeginners 4 Mar 2002 20:42:20 -0000 1.6
***************
*** 1,4 ****
- ##cvsid: $Id$
-
== WikiWikiWeb ==
A WikiWikiWeb is a collaborative hypertext environment, with an emphasis on easy access to and modification of information.
--- 1,2 ----
Index: HelpIndex
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpIndex,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** HelpIndex 13 Feb 2002 21:52:28 -0000 1.2
--- HelpIndex 4 Mar 2002 20:42:20 -0000 1.3
***************
*** 1,4 ****
- ##cvsid: $Id$
-
The following is a list of all help pages:
[[PageList(Help.*)]]
--- 1,2 ----
Index: HelpMiscellaneous_2fFrequentlyAskedQuestions
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpMiscellaneous_2fFrequentlyAskedQuestions,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** HelpMiscellaneous_2fFrequentlyAskedQuestions 13 Feb 2002 23:43:15 -0000 1.1
--- HelpMiscellaneous_2fFrequentlyAskedQuestions 4 Mar 2002 20:42:20 -0000 1.2
***************
*** 1,4 ****
- ##cvsid: $Id$
-
'''Index'''
[[TableOfContents]]
--- 1,2 ----
Index: HelpOnAdministration
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnAdministration,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** HelpOnAdministration 20 Feb 2002 20:57:58 -0000 1.3
--- HelpOnAdministration 4 Mar 2002 20:42:20 -0000 1.4
***************
*** 1,4 ****
- ##cvsid: $Id$
-
HelpContents > HelpOnAdministration
--- 1,2 ----
Index: HelpOnConfiguration
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnConfiguration,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** HelpOnConfiguration 27 Feb 2002 21:00:42 -0000 1.8
--- HelpOnConfiguration 4 Mar 2002 20:42:20 -0000 1.9
***************
*** 1,4 ****
- ##cvsid: $Id$
-
HelpContents > HelpOnAdministration > HelpOnConfiguration
--- 1,2 ----
Index: HelpOnConfiguration_2fSecurityPolicy
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnConfiguration_2fSecurityPolicy,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** HelpOnConfiguration_2fSecurityPolicy 20 Feb 2002 20:57:58 -0000 1.3
--- HelpOnConfiguration_2fSecurityPolicy 4 Mar 2002 20:42:20 -0000 1.4
***************
*** 1,4 ****
- ##cvsid: $Id$
-
`SecurityPolicy` is a config option that allows wiki admins to dynamically enable or disable certain key actions in a MoinMoin wiki, most notably editing and deleting content.
--- 1,2 ----
Index: HelpOnEditing
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnEditing,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** HelpOnEditing 13 Feb 2002 21:52:28 -0000 1.3
--- HelpOnEditing 4 Mar 2002 20:42:20 -0000 1.4
***************
*** 1,4 ****
- ##cvsid: $Id$
-
== Page Editing ==
Names of pages have to LookLikeThis. It's called a WikiName. If you write a word that LookLikeThis, it will be automatically turned into a link. More details about this you find on HelpForBeginners.
--- 1,2 ----
Index: HelpOnEditing_2fSubPages
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnEditing_2fSubPages,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** HelpOnEditing_2fSubPages 13 Feb 2002 21:52:28 -0000 1.2
--- HelpOnEditing_2fSubPages 4 Mar 2002 20:42:20 -0000 1.3
***************
*** 1,4 ****
- ##cvsid: $Id$
-
HelpContents > HelpOnEditing
--- 1,2 ----
Index: HelpOnFormatting
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnFormatting,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** HelpOnFormatting 19 Feb 2002 23:20:46 -0000 1.3
--- HelpOnFormatting 4 Mar 2002 20:42:20 -0000 1.4
***************
*** 1,4 ****
- ##cvsid: $Id$
-
== Text Formatting Rules ==
--- 1,2 ----
Index: HelpOnHeadlines
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnHeadlines,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** HelpOnHeadlines 17 Feb 2002 22:36:17 -0000 1.3
--- HelpOnHeadlines 4 Mar 2002 20:42:20 -0000 1.4
***************
*** 1,4 ****
#pragma section-numbers on
- ##cvsid: $Id$
== Section Headings ==
--- 1,3 ----
Index: HelpOnInstalling
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnInstalling,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** HelpOnInstalling 27 Feb 2002 21:00:42 -0000 1.9
--- HelpOnInstalling 4 Mar 2002 20:42:20 -0000 1.10
***************
*** 1,4 ****
- ##cvsid: $Id$
-
HelpContents > HelpOnAdministration > HelpOnInstalling
--- 1,2 ----
Index: HelpOnInstalling_2fApacheOnUnix
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnInstalling_2fApacheOnUnix,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** HelpOnInstalling_2fApacheOnUnix 27 Feb 2002 21:00:43 -0000 1.5
--- HelpOnInstalling_2fApacheOnUnix 4 Mar 2002 20:42:20 -0000 1.6
***************
*** 1,4 ****
- ##cvsid: $Id$
-
## `jh at localhost:~ > `'''`...`'''[[BR]]
## `...`[[BR]]
--- 1,2 ----
Index: HelpOnInstalling_2fInternetInformationServer
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnInstalling_2fInternetInformationServer,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** HelpOnInstalling_2fInternetInformationServer 4 Mar 2002 20:18:35 -0000 1.3
--- HelpOnInstalling_2fInternetInformationServer 4 Mar 2002 20:42:20 -0000 1.4
***************
*** 1,3 ****
- ##cvsid: $Id$
'''Index'''
[[TableOfContents]]
--- 1,2 ----
Index: HelpOnLinking
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnLinking,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** HelpOnLinking 22 Feb 2002 20:15:12 -0000 1.5
--- HelpOnLinking 4 Mar 2002 20:42:20 -0000 1.6
***************
*** 1,4 ****
- ##cvsid: $Id$
-
== URLs and Inline Images ==
There are several way to insert external references[[FootNote(The opposite of external references are the internal, automatic WikiName links.)]] into the text:
--- 1,2 ----
Index: HelpOnLists
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnLists,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** HelpOnLists 17 Feb 2002 21:25:23 -0000 1.3
--- HelpOnLists 4 Mar 2002 20:42:20 -0000 1.4
***************
*** 1,4 ****
- ##cvsid: $Id$
-
== Lists and Indenting ==
You can create bulleted and numbered lists in a quite natural way. All you do is inserting the line containing the list item. To get bulleted items, start the item with an asterisk "{{{*}}}"; to get numbered items, start it with a number template "{{{1.}}}", "{{{a.}}}", "{{{A.}}}", "{{{i.}}}" or "{{{I.}}}". Anything else will just indent the line. To start a numbered list with a certain initial value, append "{{{#}}}''value''" to the number template.
--- 1,2 ----
Index: HelpOnMacros
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnMacros,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** HelpOnMacros 17 Feb 2002 22:34:09 -0000 1.5
--- HelpOnMacros 4 Mar 2002 20:42:20 -0000 1.6
***************
*** 1,3 ****
- ##cvsid: $Id$
##||{{{[[ ]]}}} || || ||
--- 1,2 ----
Index: HelpOnNavigation
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnNavigation,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** HelpOnNavigation 22 Feb 2002 19:55:45 -0000 1.5
--- HelpOnNavigation 4 Mar 2002 20:42:20 -0000 1.6
***************
*** 1,4 ****
- ##cvsid: $Id$
-
== Navigation ==
--- 1,2 ----
Index: HelpOnPageCreation
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnPageCreation,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** HelpOnPageCreation 14 Feb 2002 01:31:55 -0000 1.5
--- HelpOnPageCreation 4 Mar 2002 20:42:20 -0000 1.6
***************
*** 1,4 ****
- ##cvsid: $Id$
-
== Creating a New Page ==
--- 1,2 ----
Index: HelpOnPageDeletion
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnPageDeletion,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** HelpOnPageDeletion 13 Feb 2002 23:43:15 -0000 1.5
--- HelpOnPageDeletion 4 Mar 2002 20:42:20 -0000 1.6
***************
*** 1,4 ****
- ##cvsid: $Id$
-
HelpContents > HelpOnAdministration > HelpOnPageDeletion
--- 1,2 ----
Index: HelpOnProcessingInstructions
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnProcessingInstructions,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** HelpOnProcessingInstructions 20 Feb 2002 20:57:58 -0000 1.3
--- HelpOnProcessingInstructions 4 Mar 2002 20:42:20 -0000 1.4
***************
*** 1,4 ****
- ##cvsid: $Id$
-
== Processing Instructions ==
MoinMoin processing instructions have the same semantics as in XML: they control the paths taken when processing a page. Processing instructions are lines that start with a "{{{#}}}" character followed by a keyword and optionally some arguments; the keyword is always handled case-insensitive. Two consecutive hash marks at the start of a line are a comment that won't appear in the processed page.
--- 1,2 ----
Index: HelpOnRules
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnRules,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** HelpOnRules 13 Feb 2002 21:52:28 -0000 1.2
--- HelpOnRules 4 Mar 2002 20:42:20 -0000 1.3
***************
*** 1,4 ****
- ##cvsid: $Id$
-
== Horizontal Rules ==
You can insert a horizontal rule across the page by typing four or more dashes. The number of dashes in a horizontal rule markup determines how thick it is, up to a limit of 10.
--- 1,2 ----
Index: HelpOnSmileys
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnSmileys,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** HelpOnSmileys 13 Feb 2002 21:52:28 -0000 1.2
--- HelpOnSmileys 4 Mar 2002 20:42:20 -0000 1.3
***************
*** 1,4 ****
- ##cvsid: $Id$
-
== Graphical Smileys ==
To insert a smiley, just type in your favourite from the list below. They're only converted to an icon though if they are ''surrounded by whitespace''.
--- 1,2 ----
Index: HelpOnSpellCheck
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnSpellCheck,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** HelpOnSpellCheck 25 Feb 2002 21:44:34 -0000 1.4
--- HelpOnSpellCheck 4 Mar 2002 20:42:20 -0000 1.5
***************
*** 1,4 ****
- ##cvsid: $Id$
-
HelpContents > HelpOnAdministration > HelpOnSpellCheck
--- 1,2 ----
Index: HelpOnTables
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnTables,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** HelpOnTables 13 Feb 2002 21:52:28 -0000 1.4
--- HelpOnTables 4 Mar 2002 20:42:20 -0000 1.5
***************
*** 1,4 ****
- ##cvsid: $Id$
-
== Table Markup ==
To create a table, you start and end a line using the table marker "{{{||}}}". Between those start and end markers, you can create any number of cells by separating them with "{{{||}}}". To get a centered cell that spans several columns, you start that cell with more than one cell marker. Adjacent lines of the same indent level containing table markup are combined into one table.
--- 1,2 ----
Index: HelpOnUpdating
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnUpdating,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** HelpOnUpdating 13 Feb 2002 21:52:28 -0000 1.4
--- HelpOnUpdating 4 Mar 2002 20:42:20 -0000 1.5
***************
*** 1,4 ****
- ##cvsid: $Id$
-
HelpContents > HelpOnAdministration > HelpOnUpdating
--- 1,2 ----
Index: HelpOnXmlPages
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnXmlPages,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** HelpOnXmlPages 13 Feb 2002 21:52:28 -0000 1.4
--- HelpOnXmlPages 4 Mar 2002 20:42:21 -0000 1.5
***************
*** 1,4 ****
- ##cvsid: $Id$
-
== XML Pages & XSLT Processing ==
If you have Python4Suite installed in your system, it is possible to save XML documents as pages. It's important to start those pages with an XML declaration "{{{}}}" in the very first line. Also, you have to specify the stylesheet that is to be used to process the XML document to HTML. This is done using a [http://www.w3.org/TR/xml-stylesheet/ standard "xml-stylesheet" processing instruction], with the name of a page containing the stylesheet as the "{{{href}}}" parameter.
--- 1,2 ----
From jhermann at users.sourceforge.net Mon Mar 4 12:57:49 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Mon Mar 4 12:57:49 2002
Subject: [Moin-devel] CVS: dist/wiki/data/text CategoryCategory,1.3,1.4 CategoryHomepage,1.2,1.3 EventStats,1.2,1.3 EventStats_2fHitCounts,1.2,1.3 EventStats_2fUserAgents,1.2,1.3 FindPage,1.3,1.4 InterWiki,1.4,1.5 OrphanedPages,1.2,1.3 PageSize,1.2,1.3 Python4Suite,1.2,1.3 PythonLanguage,1.2,1.3 RandomPage,1.3,1.4 RecentChanges,1.4,1.5 SiteNavigation,1.3,1.4 StructuredText,1.2,1.3 SystemInfo,1.3,1.4 TitleIndex,1.4,1.5 UserPreferences,1.3,1.4 WantedPages,1.2,1.3 WikiHomePage,1.4,1.5 WikiName,1.2,1.3 WikiSandBox,1.3,1.4 WikiWikiWeb,1.3,1.4 WordIndex,1.4,1.5
Message-ID:
Update of /cvsroot/moin/dist/wiki/data/text
In directory usw-pr-cvs1:/tmp/cvs-serv8976
Modified Files:
CategoryCategory CategoryHomepage EventStats
EventStats_2fHitCounts EventStats_2fUserAgents FindPage
InterWiki OrphanedPages PageSize Python4Suite PythonLanguage
RandomPage RecentChanges SiteNavigation StructuredText
SystemInfo TitleIndex UserPreferences WantedPages WikiHomePage
WikiName WikiSandBox WikiWikiWeb WordIndex
Log Message:
cvsid does not mix well with -kb
Index: CategoryCategory
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/CategoryCategory,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** CategoryCategory 13 Feb 2002 21:52:28 -0000 1.3
--- CategoryCategory 4 Mar 2002 20:49:09 -0000 1.4
***************
*** 1,4 ****
- ##cvsid: $Id$
-
A category is a WikiName that exploits [wiki:Wiki:WikiWiki WikiWiki]'s reverse linking. If you click on the title of a category page, you'll get a list of pages belonging to that category. To get a list of all categories, click above on the Category''''''Category title.
--- 1,2 ----
Index: CategoryHomepage
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/CategoryHomepage,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** CategoryHomepage 13 Feb 2002 21:52:28 -0000 1.2
--- CategoryHomepage 4 Mar 2002 20:49:09 -0000 1.3
***************
*** 1,4 ****
- ##cvsid: $Id$
-
A category for WikiHomePage''''''s.
--- 1,2 ----
Index: EventStats
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/EventStats,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** EventStats 13 Feb 2002 21:52:28 -0000 1.2
--- EventStats 4 Mar 2002 20:49:09 -0000 1.3
***************
*** 1,4 ****
- ##cvsid: $Id$
-
The following charts are based on the data in the event log:
* /HitCounts
--- 1,2 ----
Index: EventStats_2fHitCounts
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/EventStats_2fHitCounts,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** EventStats_2fHitCounts 13 Feb 2002 21:52:28 -0000 1.2
--- EventStats_2fHitCounts 4 Mar 2002 20:49:09 -0000 1.3
***************
*** 1,3 ****
- ##cvsid: $Id$
-
[[StatsChart(hitcounts)]]
--- 1 ----
Index: EventStats_2fUserAgents
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/EventStats_2fUserAgents,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** EventStats_2fUserAgents 13 Feb 2002 21:52:28 -0000 1.2
--- EventStats_2fUserAgents 4 Mar 2002 20:49:09 -0000 1.3
***************
*** 1,3 ****
- ##cvsid: $Id$
-
[[StatsChart(useragents)]]
--- 1 ----
Index: FindPage
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/FindPage,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** FindPage 13 Feb 2002 21:52:28 -0000 1.3
--- FindPage 4 Mar 2002 20:49:09 -0000 1.4
***************
*** 1,4 ****
- ##cvsid: $Id$
-
You can use this page to search all entries in this WikiWikiWeb. Searches are not case sensitive.
--- 1,2 ----
Index: InterWiki
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/InterWiki,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** InterWiki 13 Feb 2002 22:52:43 -0000 1.4
--- InterWiki 4 Mar 2002 20:49:09 -0000 1.5
***************
*** 1,4 ****
- ##cvsid: $Id$
-
InterWiki links are a quick way to refer to information in other wikis, without having to remember
cryptic URLs. To write an InterWiki link, just use the InterWiki moniker of the foreign wiki,
--- 1,2 ----
Index: OrphanedPages
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/OrphanedPages,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** OrphanedPages 13 Feb 2002 21:52:28 -0000 1.2
--- OrphanedPages 4 Mar 2002 20:49:09 -0000 1.3
***************
*** 1,4 ****
- ##cvsid: $Id$
-
A list of pages no other page links to:
[[OrphanedPages]]
--- 1,2 ----
Index: PageSize
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/PageSize,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** PageSize 13 Feb 2002 21:52:28 -0000 1.2
--- PageSize 4 Mar 2002 20:49:09 -0000 1.3
***************
*** 1,4 ****
- ##cvsid: $Id$
-
[[StatsChart(pagesize)]]
--- 1,2 ----
Index: Python4Suite
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/Python4Suite,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** Python4Suite 13 Feb 2002 21:52:28 -0000 1.2
--- Python4Suite 4 Mar 2002 20:49:09 -0000 1.3
***************
*** 1,4 ****
- ##cvsid: $Id$
-
4Suite is a collection of Python tools for XML processing and object database management. It provides support for XML parsing, several transient and persistent DOM implementations, XPath expressions, XPointer, XSLT transforms, XLink, RDF and ODMG object databases.
--- 1,2 ----
Index: PythonLanguage
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/PythonLanguage,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** PythonLanguage 13 Feb 2002 21:52:28 -0000 1.2
--- PythonLanguage 4 Mar 2002 20:49:09 -0000 1.3
***************
*** 1,4 ****
- ##cvsid: $Id$
-
Python is a dynamic object-oriented language.
--- 1,2 ----
Index: RandomPage
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/RandomPage,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** RandomPage 13 Feb 2002 21:52:28 -0000 1.3
--- RandomPage 4 Mar 2002 20:49:09 -0000 1.4
***************
*** 1,3 ****
- ##cvsid: $Id$
-
A list of 25 random pages (out of [[PageCount]] total):[[RandomPage(25)]]
--- 1 ----
Index: RecentChanges
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/RecentChanges,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** RecentChanges 13 Feb 2002 21:52:28 -0000 1.4
--- RecentChanges 4 Mar 2002 20:49:09 -0000 1.5
***************
*** 1,4 ****
- ##cvsid: $Id$
-
This page contains a list of recent changes in this wiki of '''[[PageCount]] pages''' (more system information on SystemInfo). For changes on other wikis, see OpenWiki:WikiSites/Aggregation.
----
--- 1,2 ----
Index: SiteNavigation
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/SiteNavigation,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** SiteNavigation 13 Feb 2002 21:52:28 -0000 1.3
--- SiteNavigation 4 Mar 2002 20:49:09 -0000 1.4
***************
*** 1,4 ****
- ##cvsid: $Id$
-
SiteNavigation is the central place to explore this wiki. MoinMoin supports these MeatBall:IndexingScheme''''''s:
* RecentChanges
--- 1,2 ----
Index: StructuredText
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/StructuredText,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** StructuredText 13 Feb 2002 21:52:28 -0000 1.2
--- StructuredText 4 Mar 2002 20:49:09 -0000 1.3
***************
*** 1,4 ****
- ##cvsid: $Id$
-
Structured text is text that uses indentation and simple
symbology to indicate the structure of a document. For the next generation of structured text, see [http://dev.zope.org/Members/jim/StructuredTextWiki/StructuredTextNG here].
--- 1,2 ----
Index: SystemInfo
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/SystemInfo,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** SystemInfo 13 Feb 2002 21:52:28 -0000 1.3
--- SystemInfo 4 Mar 2002 20:49:09 -0000 1.4
***************
*** 1,4 ****
- ##cvsid: $Id$
-
[[SystemInfo]]
----
--- 1,2 ----
Index: TitleIndex
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/TitleIndex,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** TitleIndex 26 Feb 2002 00:25:10 -0000 1.4
--- TitleIndex 4 Mar 2002 20:49:09 -0000 1.5
***************
*** 1,4 ****
- ##cvsid: $Id$
-
This is an index of all pages in the this Wiki.
--- 1,2 ----
Index: UserPreferences
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/UserPreferences,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** UserPreferences 13 Feb 2002 21:52:28 -0000 1.3
--- UserPreferences 4 Mar 2002 20:49:09 -0000 1.4
***************
*** 1,4 ****
- ##cvsid: $Id$
-
[[UserPreferences]]
--- 1,2 ----
Index: WantedPages
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/WantedPages,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** WantedPages 13 Feb 2002 21:52:28 -0000 1.2
--- WantedPages 4 Mar 2002 20:49:09 -0000 1.3
***************
*** 1,4 ****
- ##cvsid: $Id$
-
A list of non-existing pages including a list of the pages where they are referred to:
[[WantedPages]]
--- 1,2 ----
Index: WikiHomePage
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/WikiHomePage,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** WikiHomePage 13 Feb 2002 21:52:28 -0000 1.4
--- WikiHomePage 4 Mar 2002 20:49:09 -0000 1.5
***************
*** 1,4 ****
- ##cvsid: $Id$
-
A WikiHomePage is your personal page on a WikiWikiWeb, where you could put information how to contact you, your interests and skills, etc. It is regarded as to be owned by the person that created it, so be careful when editing it.
--- 1,2 ----
Index: WikiName
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/WikiName,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** WikiName 13 Feb 2002 21:52:28 -0000 1.2
--- WikiName 4 Mar 2002 20:49:09 -0000 1.3
***************
*** 1,3 ****
- ##cvsid: $Id$
-
A WikiName is a word that uses capitalized words. WikiName''''''s automagically become hyperlinks to the WikiName's page. See also HelpForBeginners, "Arbitrary Page Names".
--- 1 ----
Index: WikiSandBox
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/WikiSandBox,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** WikiSandBox 13 Feb 2002 21:52:28 -0000 1.3
--- WikiSandBox 4 Mar 2002 20:49:09 -0000 1.4
***************
*** 1,4 ****
- ##cvsid: $Id$
-
Please feel free to experiment here, after the four dashes below... and please do '''NOT''' create new pages without any meaningful content just to try it out.
--- 1,2 ----
Index: WikiWikiWeb
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/WikiWikiWeb,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** WikiWikiWeb 13 Feb 2002 21:52:28 -0000 1.3
--- WikiWikiWeb 4 Mar 2002 20:49:09 -0000 1.4
***************
*** 1,4 ****
- ##cvsid: $Id$
-
The [wiki:Wiki:FrontPage first ever wiki site] was founded in 1994 as an automated supplement to the Wiki:PortlandPatternRepository. The site was immediately popular within the pattern community, largely due to the newness of the internet and a good slate of Wiki:InvitedAuthors. The site was, and remains, dedicated to Wiki:PeopleProjectsAndPatterns.
--- 1,2 ----
Index: WordIndex
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/WordIndex,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** WordIndex 26 Feb 2002 00:25:10 -0000 1.4
--- WordIndex 4 Mar 2002 20:49:09 -0000 1.5
***************
*** 1,4 ****
- ##cvsid: $Id$
-
This is an index of all words occuring in page titles.
--- 1,2 ----
From jhermann at users.sourceforge.net Mon Mar 4 13:07:57 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Mon Mar 4 13:07:57 2002
Subject: [Moin-devel] CVS: dist/wiki/data/text AbandonedPages,1.1,1.2 LocalSpellingWords,1.4,1.5
Message-ID:
Update of /cvsroot/moin/dist/wiki/data/text
In directory usw-pr-cvs1:/tmp/cvs-serv15382
Modified Files:
AbandonedPages LocalSpellingWords
Log Message:
Synching cvs and moin wiki
Index: AbandonedPages
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/AbandonedPages,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** AbandonedPages 17 Feb 2002 22:34:09 -0000 1.1
--- AbandonedPages 4 Mar 2002 21:06:34 -0000 1.2
***************
*** 1 ****
--- 1,3 ----
+ Pages that were not edited since the begin of history (literally); it's a listing of the oldest entries in the editlog.
+
[[AbandonedPages]]
Index: LocalSpellingWords
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/LocalSpellingWords,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** LocalSpellingWords 9 Dec 2001 14:33:45 -0000 1.4
--- LocalSpellingWords 4 Mar 2002 21:06:34 -0000 1.5
***************
*** 1,5 ****
! makefile wiki markup foo email hyperlinks wikis html http morphed moin moinmoin
! J?rgen Hermann Abend Guten Morgen Platt Plattdeutsch freshmeat melodie radiobremen sourceforge
! may doesn shouldn
!
! distutils
--- 1,6 ----
! 1st 2nd Abend Checkbox Diffs Guten Haltet Hermann Homepage Info J?rgen
! Morgen Perl Platt Plattdeutsch Rechtschreibpr?fung Spellchecker Zeitstempel
! automagically backtick blockquote browser calendaring distutils doesn email
! english folgendes foo german html http hyperlinks info internet lowercase
! markup may moin moinmoin morphed navigational preformatted renumbered shouldn
! spam uppercase wiki wikis www ?berschneidet ?bersetzen
From jhermann at users.sourceforge.net Mon Mar 4 13:12:31 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Mon Mar 4 13:12:31 2002
Subject: [Moin-devel] CVS: dist/wiki/data/text WikiSandBox,1.4,1.5
Message-ID:
Update of /cvsroot/moin/dist/wiki/data/text
In directory usw-pr-cvs1:/tmp/cvs-serv17304
Modified Files:
WikiSandBox
Log Message:
Minor fix
Index: WikiSandBox
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/WikiSandBox,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** WikiSandBox 4 Mar 2002 20:49:09 -0000 1.4
--- WikiSandBox 4 Mar 2002 21:11:55 -0000 1.5
***************
*** 18,22 ****
HelpOnEditing MoinMoin:InterWiki
! http:/purl.net/wiki/moin/ [http://www.python.org/ Python]
someone at the.inter.net
--- 18,22 ----
HelpOnEditing MoinMoin:InterWiki
! http://purl.net/wiki/moin/ [http://www.python.org/ Python]
someone at the.inter.net
From jhermann at users.sourceforge.net Mon Mar 4 13:28:05 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Mon Mar 4 13:28:05 2002
Subject: [Moin-devel] CVS: dist/wiki/data/text MoinMoin_2fInstallationsAnleitung,1.1,1.2 StructuredText,1.3,1.4 WikiWikiWeb,1.4,1.5
Message-ID:
Update of /cvsroot/moin/dist/wiki/data/text
In directory usw-pr-cvs1:/tmp/cvs-serv23144
Modified Files:
MoinMoin_2fInstallationsAnleitung StructuredText WikiWikiWeb
Log Message:
More synching
Index: MoinMoin_2fInstallationsAnleitung
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/MoinMoin_2fInstallationsAnleitung,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MoinMoin_2fInstallationsAnleitung 4 Mar 2002 20:37:23 -0000 1.1
--- MoinMoin_2fInstallationsAnleitung 4 Mar 2002 21:27:01 -0000 1.2
***************
*** 1,7 ****
#pragma section-numbers off
! /!\ TODO jh: Replace the static texts here when HilfeZurInstallation is translated. Note that page links are replaced by anchor links!
!
! Diese HTML-Seite fasst die grundlegenden Installationsbeschreibungen von http://purl.net/wiki/moin/MoinMoin/HilfeZurInstallation zusammen.
Sie enth?lt alle notwendigen Informationen, um Ihre eigene Wiki-Umbegung einzurichten, auch ohne online zu sein.
Wenn Sie jedoch eine permanente Internet-Verbindung besitzen, k?nnen Sie auch die zuvor erw?hnte Seite "Hilfe``Zur``Installation" in den Browser laden, die ggf. aktuellere Informationen enth?lt.
--- 1,5 ----
#pragma section-numbers off
! Diese HTML-Seite fasst die grundlegenden Installationsbeschreibungen von http://purl.net/wiki/moin/MoinMoin/InstallationsAnleitung zusammen.
Sie enth?lt alle notwendigen Informationen, um Ihre eigene Wiki-Umbegung einzurichten, auch ohne online zu sein.
Wenn Sie jedoch eine permanente Internet-Verbindung besitzen, k?nnen Sie auch die zuvor erw?hnte Seite "Hilfe``Zur``Installation" in den Browser laden, die ggf. aktuellere Informationen enth?lt.
***************
*** 9,24 ****
Nachdem Sie gem?? der Anleitung Ihr Wiki zum Laufen gebracht haben, k?nnen Sie den Rest der Onlinehilfe direkt dort lesen.
! == How to install your own MoinMoin Wiki ==
! This page describes the installation procedure applying to MoinMoin:MoinMoin version 0.11 and up. In the next section, there is a list of real-world [#installscenarios Installation Scenarios] that help you to understand how to apply the instructions in different environments.
!
! [#basic-install Basic Installation] explains the "`setup.py`" step of the installation in more detail. This applies equally to all scenarios, and you should read it before trying a live installation.
! After a successful installation, you might want to read more about configuration and other options that you, as the wiki administrator, can set up. MoinMoin:HelpOnAdministration contains links to pages that cover these topics.
! Especially, the MoinMoin:HelpOnConfiguration and MoinMoin:HelpOnUpdating pages provide additional information regarding wiki setup and maintenance. MoinMoin:MoinMoinWinCvs and MoinMoin:MoinMoinUnixCvs describe how to run your wiki using the current development version from the MoinMoin:SourceForge CVS repository.
[[Anchor(installscenarios)]]
! === Sample Installation Scenarios ===
! The following links lead you to concrete examples of installation sessions, showing the commands used and explaining what they do. It is highly recommended that you ''first'' read the general information on installing (especially the next section of this page) before choosing an installation scenario that best fits your intended use of MoinMoin:MoinMoin.
UNIX:
--- 7,29 ----
Nachdem Sie gem?? der Anleitung Ihr Wiki zum Laufen gebracht haben, k?nnen Sie den Rest der Onlinehilfe direkt dort lesen.
! == Wie Sie ihr eigenes MoinMoin-Wiki installieren ==
! Diese Seite beschreibt, wie Sie vorgehen m?ssen, um MoinMoin:MoinMoin ab Version 0.11 zu installieren.
! Im n?chsten Abschnitt finden Sie eine Liste von konkreten [#installscenarios Installationsszenarien],
! die Ihnen dabei helfen, diese Anleitung auf verschiedenen Plattformen umzusetzen.
!
! [#basic-install Basisinstallation] erkl?rt detailiert den ersten Schritt jeder Installation, den Aufruf von "`setup.py`".
! Dieser Schritt ist immer durchzuf?hren, deshalb empfiehlt es sich, die dort enthaltenen Information in jedem Fall durchzulesen, bevor Sie den Installationsvorgang beginnen.
!
! Nachdem Sie die Software erfolgreich aufgespielt haben, sollte der n?chste Schritt darin bestehen, mehr ?ber die Konfigurationsoptionen und optionale Erweiterungen zu erfahren, die Sie als Wikiadministrator einrichten k?nnen.
! Die Seite MoinMoin:HilfeZurAdministration enth?lt dazu Verweise auf weitere Seiten, die diese Themen abdecken.
! Insbesondere MoinMoin:HilfeZurKonfiguration und MoinMoin:HilfeZumUpdaten enthalten wertvolle Hinweise zur weiteren Konfiguration und Wartung Ihrer Wiki-Installation.
! MoinMoin:MoinMoinWinCvs und MoinMoin:MoinMoinUnixCvs beschreiben (in englischer Sprache), wie Sie ihr Wiki unter Verwendung der aktuellen Entwicklungsversion betreiben k?nnen, die sich im MoinMoin:SourceForge CVS-Repository befindet.
[[Anchor(installscenarios)]]
! === Beispiele f?r Installationsszenarien ===
! Die folgenden Verweise f?hren zu konkreten Beispielen f?r Installationsprozeduren auf verschiedenen Plattformen (Betriebssystem und Webserver), mit den notwendigen Kommandos und einer Beschreibung, was diese bewirken.
! Es wird dringend empfohlen, ''zun?chst'' die allgemeinen Informationen auf [#basic-install Basisinstallation] durchzulesen, bevor Sie die zu Ihrer Umgebung passende Kombination von Betriebssysteme und Webserver ausw?hlen.
UNIX:
***************
*** 28,31 ****
--- 33,37 ----
* [#win32apache-install Windows Installation mit Apache]
* [#win32iis-install Windows Installation mit Microsoft/IIS]
+
[[Anchor(basic-install)]]
Index: StructuredText
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/StructuredText,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** StructuredText 4 Mar 2002 20:49:09 -0000 1.3
--- StructuredText 4 Mar 2002 21:27:01 -0000 1.4
***************
*** 1,4 ****
Structured text is text that uses indentation and simple
! symbology to indicate the structure of a document. For the next generation of structured text, see [http://dev.zope.org/Members/jim/StructuredTextWiki/StructuredTextNG here].
A structured string consists of a sequence of paragraphs separated by
--- 1,6 ----
Structured text is text that uses indentation and simple
! symbology to indicate the structure of a document. For the next generation of structured text, see
! MoinMoin:ReStructuredText and
! [http://dev.zope.org/Members/jim/StructuredTextWiki/StructuredTextNG here].
A structured string consists of a sequence of paragraphs separated by
Index: WikiWikiWeb
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/WikiWikiWeb,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** WikiWikiWeb 4 Mar 2002 20:49:09 -0000 1.4
--- WikiWikiWeb 4 Mar 2002 21:27:01 -0000 1.5
***************
*** 7,8 ****
--- 7,9 ----
* get some answers on the Wiki:WikiWikiWebFaq
* get to know more about the Wiki:WikiHistory
+ * [http://news.mpr.org/programs/futuretense/daily_rafiles/20011220.ram Ward Cunningham Radio Interview]
From jhermann at users.sourceforge.net Mon Mar 4 13:37:10 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Mon Mar 4 13:37:10 2002
Subject: [Moin-devel] CVS: dist/wiki/data/text FrontPage,1.3,1.4
Message-ID:
Update of /cvsroot/moin/dist/wiki/data/text
In directory usw-pr-cvs1:/tmp/cvs-serv27193
Modified Files:
FrontPage
Log Message:
Removed spaces
Index: FrontPage
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/FrontPage,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** FrontPage 13 Feb 2002 21:52:28 -0000 1.3
--- FrontPage 4 Mar 2002 21:36:05 -0000 1.4
***************
*** 1,4 ****
#pragma section-numbers off
- ##cvsid: $Id$
= MoinMoin Wiki =
--- 1,3 ----
From perky at fallin.lv Mon Mar 4 13:56:03 2002
From: perky at fallin.lv (Hye-Shik Chang)
Date: Mon Mar 4 13:56:03 2002
Subject: [Moin-devel] EditLog for bsddb scheme
Message-ID: <20020305065525.A95587@fallin.lv>
A quick hack for using bsddb as editlog db.
(some change on wikiaction.py is needed for use this class.)
-------------- next part --------------
"""
MoinMoin - Edit log management
Copyright (c) 2000-2001 by J?gen Hermann
All rights reserved, see COPYING for details.
Functions to keep track of when people have changed pages, so we
can do the recent changes page and so on.
$Id: editlog.py,v 1.2 2002/01/16 06:13:35 perky Exp $
"""
# Imports
import cgi, os, string, time
from MoinMoin import config, user, wikiutil
from MoinMoin.Page import Page
# Import bsddb optional
try:
import bsddb
from cPickle import loads, dumps
except ImportError:
bsddb = None
#############################################################################
### Basic Interface
#############################################################################
class LogBase:
""" Basic interface for log stores.
"""
def __init__(self, optstr):
self.options = optstr
def sanityCheck(self):
""" Perform a self-test, i.e. check for correct config, permissions,
etc. Return error message or `false`.
"""
return None
def addEntry(self, pagename, host, mtime, comment):
""" Add an entry to the editlog """
pass
#############################################################################
### Logging to text file
#############################################################################
class LogText(LogBase):
""" Storage for log entries in a plain text file.
The editlog is stored with one record per line, as tab-separated
words: pagename, host, time, hostname, userid
TODO: Check values written in are reasonable
"""
def __init__(self, optstr):
LogBase.__init__(self, optstr)
self.filename = os.path.join(config.data_dir, optstr)
def sanityCheck(self):
""" Check for editlog file access.
"""
if not os.access(self.filename, os.W_OK):
return "The edit log '%s' is not writable!" % (self.filename,)
def addEntry(self, pagename, host, mtime, comment):
""" Add an entry to the editlog """
import socket
try:
hostname = socket.gethostbyaddr(host)[0]
except socket.error:
hostname = host
remap_chars = string.maketrans('\t\r\n', ' ')
comment = string.translate(comment, remap_chars)
logfile = open(self.filename, 'a+')
entry = string.join((wikiutil.quoteFilename(pagename), host, `mtime`,
hostname, user.User().id, comment), "\t") + "\n"
try:
# fcntl.flock(logfile.fileno(), fcntl.LOCK_EX)
logfile.seek(0, 2) # to end
logfile.write(entry)
finally:
# fcntl.flock(logfile.fileno(), fcntl.LOCK_UN)
logfile.close()
#############################################################################
### Logging to bsddb
#############################################################################
if bsddb:
class LogBSDDB(LogBase):
""" Storage for log entries in bsddb.
The editlog is stored as pickled tuple by following order:
(pagename, host, time, hostname, userid, comment)
"""
def __init__(self, optstr):
LogBase.__init__(self, optstr)
self.filename = os.path.join(config.data_dir, optstr)
def sanityCheck(self):
""" Check for editlog file access.
"""
if not os.access(self.filename, os.W_OK):
return "The edit log '%s' is not writable!" % (self.filename,)
def addEntry(self, pagename, host, mtime, comment):
""" Add an entry to the editlog """
import socket
try:
hostname = socket.gethostbyaddr(host)[0]
except socket.error:
hostname = host
remap_chars = string.maketrans('\t\r\n', ' ')
comment = string.translate(comment, remap_chars)
logdb = bsddb.rnopen(self.filename, 'cl')
entry = dumps( (pagename, host, mtime, hostname, user.User().id, comment) )
try:
logdb[len(logdb)+1] = entry
finally:
logdb.close()
#############################################################################
### Factory
#############################################################################
def makeLogStore(option=None):
""" Creates a storage object that provides an implementation of the
storage type given in the `option` parameter; option consists
of a `schema:` part, followed by a schema-specific option string.
Currently supported schemas are: "text", "bsddb".
"""
if option is None: option = config.LogStore
schema, optstr = string.split(option, ':', 1)
if schema == "text":
return LogText(optstr)
elif schema == "bsddb":
return LogBSDDB(optstr)
def makeEditLog(option=None, kw={}):
""" Creates a browse object that provides an implementation of the
storage type given in the `option` parameter; option consists
of a `schema:` part, followed by a schema-specific option string.
Currently supported schemas are: "text", "bsddb".
"""
if option is None: option = config.LogStore
schema, optstr = string.split(option, ':', 1)
if schema == "text":
return EditLogText(filename=optstr, **kw)
elif schema == "bsddb":
return EditLogBSDDB(filename=optstr, **kw)
#############################################################################
### Basic Interface
#############################################################################
class EditLogBase:
""" A read-only form of the editlog. Do NOT access the file
config.editlog_name directly, since this may well end up
in a database.
After you called next(), the following member variables are valid:
pagename, addr, ed_time, hostname, userid, comment
"""
_NUM_FIELDS = 6
def __init__(self, **kw):
pass
#
# Public interface
#
def next(self):
""" Load next editlog entry, return false after last entry """
return 0
def peek(self, offset):
""" Peek `offset` entries ahead (or behind), return false after last entry """
return 1
def reset(self):
""" Reset for a new iteration """
pass
def filter(self, **kw):
""" Filter current entries, reset() does NOT clear any filter
previously set. The cursor is automatically set to the
first entry.
"""
pass
def find(self, **kw):
""" Find an entry, return true on success.
"""
return 0
def getEditorData(self):
""" Return a string or Page object representing the user that did the edit.
"""
result = self.hostname
if self.userid:
if not self._usercache.has_key(self.userid):
self._usercache[self.userid] = user.User(self.userid)
userdata = self._usercache[self.userid]
if userdata.name:
pg = Page(userdata.name)
if pg.exists():
result = pg
else:
result = userdata.name or self.hostname
return result
def getEditor(self):
""" Return a HTML-safe string representing the user that did the edit.
"""
result = self.getEditorData()
if isinstance(result, Page):
return result.link_to()
return cgi.escape(result)
def __len__(self):
return 0
#
# Helper Interface
#
def _make_condition(self, kw):
""" Create a callable that filters an entry according to values
in the dictionary "kw". The keys in that dictionary have to
be the member names of the fields ("pagename", etc.).
"""
expr = "1"
for field in ['pagename', 'addr', 'hostname', 'userid']:
if kw.has_key(field):
expr = "%s and x.%s == %s" % (expr, field, `kw[field]`)
if kw.has_key('ed_time'):
expr = "%s and int(x.ed_time) == %s" % (expr, int(kw['ed_time']))
return eval("lambda x: " + expr)
#############################################################################
### Browse from text log
#############################################################################
class EditLogText(EditLogBase):
""" Browse Interface for log entries in text. """
def __init__(self, **kw):
self.filename = os.path.join(config.data_dir, kw.get('filename', 'editlog'))
self._lines = self._editlog_raw_lines()
if not kw.get('reverse', 0):
self._lines.reverse()
self._index = 0
self._usercache = {}
# set default member values
self._parse_log_line("")
#
# Public interface
#
def next(self):
""" Load next editlog entry, return false after last entry """
if self.peek(0):
self._index = self._index + 1
return 1
return 0
def peek(self, offset):
""" Peek `offset` entries ahead (or behind), return false after last entry """
idx = self._index + offset
if idx < 0 or len(self._lines) <= idx:
self._parse_log_line("")
return 0
self._parse_log_line(self._lines[idx])
return 1
def reset(self):
""" Reset for a new iteration """
self._index = 0
def filter(self, **kw):
""" Filter current entries, reset() does NOT clear any filter
previously set. The cursor is automatically set to the
first entry.
"""
cond = self._make_condition(kw)
rest = []
self.reset()
while self.next():
if cond(self):
rest.append(self._lines[self._index-1])
self._lines = rest
self.reset()
def find(self, **kw):
""" Find an entry, return true on success.
"""
cond = self._make_condition(kw)
for index in range(len(self._lines)):
self._parse_log_line(self._lines[index])
if cond(self):
return 1
self._parse_log_line("")
return 0
def __len__(self):
return len(self._lines)
#
# Helper methods
#
def _editlog_raw_lines(self):
""" Load a list of raw editlog lines """
try:
logfile = open(self.filename, 'rt')
try:
# fcntl.flock(logfile.fileno(), fcntl.LOCK_SH)
return logfile.readlines()
finally:
# fcntl.flock(logfile.fileno(), fcntl.LOCK_UN)
logfile.close()
except IOError, er:
import errno
if er.errno == errno.ENOENT:
# just doesn't exist, return empty list
return []
else:
raise er
return []
def _parse_log_line(self, line):
""" Parse a log line to member variables:
pagename, addr, ed_time, hostname, userid
"""
fields = string.split(string.strip(line), '\t')
while len(fields) < self._NUM_FIELDS: fields.append('')
self.pagename, self.addr, self.ed_time, self.hostname, \
self.userid, self.comment = fields[:self._NUM_FIELDS]
if not self.hostname:
self.hostname = self.addr
self.pagename = wikiutil.unquoteFilename(self.pagename)
self.ed_time = float(self.ed_time or "0")
#############################################################################
### Browse from bsddb
#############################################################################
class EditLogBSDDB(EditLogBase):
""" Browse Interface for log entries in bsddb. """
def __init__(self, **kw):
self.filename = os.path.join(config.data_dir, kw.get('filename', 'editlog'))
self._lines = self._editlog_raw_lines()
if not kw.get('reverse', 0):
self._lines.reverse()
self._index = 0
self._usercache = {}
# set default member values
self._parse_log_line("")
#
# Public interface
#
def next(self):
""" Load next editlog entry, return false after last entry """
if self.peek(0):
self._index = self._index + 1
return 1
return 0
def peek(self, offset):
""" Peek `offset` entries ahead (or behind), return false after last entry """
idx = self._index + offset
if idx < 0 or len(self._lines) <= idx:
self._parse_log_line("")
return 0
self._parse_log_line(self._lines[idx])
return 1
def reset(self):
""" Reset for a new iteration """
self._index = 0
def filter(self, **kw):
""" Filter current entries, reset() does NOT clear any filter
previously set. The cursor is automatically set to the
first entry.
"""
cond = self._make_condition(kw)
rest = []
self.reset()
while self.next():
if cond(self):
rest.append(self._lines[self._index-1])
self._lines = rest
self.reset()
def find(self, **kw):
""" Find an entry, return true on success.
"""
cond = self._make_condition(kw)
for index in range(len(self._lines)):
self._parse_log_line(self._lines[index])
if cond(self):
return 1
self._parse_log_line("")
return 0
def __len__(self):
return len(self._lines)
#
# Helper methods
#
def _editlog_raw_lines(self):
""" Load a list of raw editlog lines """
try:
logfile = open(self.filename, 'rt')
try:
# fcntl.flock(logfile.fileno(), fcntl.LOCK_SH)
return logfile.readlines()
finally:
# fcntl.flock(logfile.fileno(), fcntl.LOCK_UN)
logfile.close()
except IOError, er:
import errno
if er.errno == errno.ENOENT:
# just doesn't exist, return empty list
return []
else:
raise er
return []
def _parse_log_line(self, line):
""" Parse a log line to member variables:
pagename, addr, ed_time, hostname, userid
"""
fields = string.split(string.strip(line), '\t')
while len(fields) < self._NUM_FIELDS: fields.append('')
self.pagename, self.addr, self.ed_time, self.hostname, \
self.userid, self.comment = fields[:self._NUM_FIELDS]
if not self.hostname:
self.hostname = self.addr
self.pagename = wikiutil.unquoteFilename(self.pagename)
self.ed_time = float(self.ed_time or "0")
From jhermann at users.sourceforge.net Mon Mar 4 13:57:07 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Mon Mar 4 13:57:07 2002
Subject: [Moin-devel] CVS: dist CHANGES,1.72,1.73
Message-ID:
Update of /cvsroot/moin/dist
In directory usw-pr-cvs1:/tmp/cvs-serv3005
Modified Files:
CHANGES
Log Message:
Minor addition
Index: CHANGES
===================================================================
RCS file: /cvsroot/moin/dist/CHANGES,v
retrieving revision 1.72
retrieving revision 1.73
diff -C2 -r1.72 -r1.73
*** CHANGES 22 Feb 2002 19:56:09 -0000 1.72
--- CHANGES 4 Mar 2002 21:56:44 -0000 1.73
***************
*** 122,126 ****
* numeric entities (nnnnn;) are now optionally NOT escaped,
which allows you to insert more characters into a Latin-1
! page, especially the Euro symbol.
Unfinished features:
--- 122,126 ----
* numeric entities (nnnnn;) are now optionally NOT escaped,
which allows you to insert more characters into a Latin-1
! page, especially the Euro symbol
Unfinished features:
From jhermann at users.sourceforge.net Mon Mar 4 14:23:07 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Mon Mar 4 14:23:07 2002
Subject: [Moin-devel] CVS: dist/wiki/data/text MoinMoin,1.6,1.7
Message-ID:
Update of /cvsroot/moin/dist/wiki/data/text
In directory usw-pr-cvs1:/tmp/cvs-serv29634
Modified Files:
MoinMoin
Log Message:
Moved IRC info to "MoinMoin"
Index: MoinMoin
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/MoinMoin,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** MoinMoin 4 Mar 2002 20:37:23 -0000 1.6
--- MoinMoin 4 Mar 2002 21:42:04 -0000 1.7
***************
*** 24,25 ****
--- 24,28 ----
* [http://www.oreillynet.com/pub/a/python/2000/11/29/pythonnews.html PythonNews article on wikis]
+ Connect to Foldoc:IRC for meeting the author and other MoinMoin users and developers:
+ * channel `#moin` on server `irc.openprojects.net`
+ * see also [http://www.openprojects.net OPN Home] and esp. [http://www.openprojects.net/irc_servers.shtml OPN IRC Servers] for more information
From jhermann at users.sourceforge.net Mon Mar 4 14:23:12 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Mon Mar 4 14:23:12 2002
Subject: [Moin-devel] CVS: MoinMoin/i18n ko.py,1.3,1.4
Message-ID:
Update of /cvsroot/moin/MoinMoin/i18n
In directory usw-pr-cvs1:/tmp/cvs-serv13484
Modified Files:
ko.py
Log Message:
Update of Korean for 0.11 release
Index: ko.py
===================================================================
RCS file: /cvsroot/moin/MoinMoin/i18n/ko.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** ko.py 2 Mar 2002 16:31:55 -0000 1.3
--- ko.py 4 Mar 2002 22:22:24 -0000 1.4
***************
*** 2,5 ****
--- 2,8 ----
# Maintained by: "Hye-Shik Chang"
# Encoding: euc-kr
+ #
+ # XXX: Don't try to translate messages for 'action=chart'.
+ # Standard distribution of gdchart doesn't support HANGUL_CHARSET.
text = {
'''
***************
*** 116,120 ****
"Attachment '%(filename)s' does not exist!":
! "Attachment '%(filename)s' does not exist!",
'Cookie deleted!':
--- 119,123 ----
"Attachment '%(filename)s' does not exist!":
! "???? '%(filename)s'?? ???????? ????????!",
'Cookie deleted!':
***************
*** 125,129 ****
'Filename of attachment not specified!':
! 'Filename of attachment not specified!',
"Found no account matching the given email address '%(email)s'!":
--- 128,132 ----
'Filename of attachment not specified!':
! '???? ???? ?????? ???????? ??????????!',
"Found no account matching the given email address '%(email)s'!":
***************
*** 200,210 ****
'Bad chart type "%s"!
':
! 'Bad chart type "%s"!
',
'Charts are not available!
':
! 'Charts are not available!
',
'You need to provide a chart type!
':
! 'You need to provide a chart type!
',
'Attached Files
':
--- 203,213 ----
'Bad chart type "%s"!
':
! '?????? ???? ???? "%s"!
',
'Charts are not available!
':
! '?????? ???? ?????? ???????? ????????!
',
'You need to provide a chart type!
':
! '???? ?????? ?????????? ??????!
',
'Attached Files
':
***************
*** 212,219 ****
"Attachment '%(filename)s'
":
! "Attachment '%(filename)s'
",
'Edit drawing
':
! 'Edit drawing
',
"""
--- 215,222 ----
"Attachment '%(filename)s'
":
! "???? '%(filename)s'
",
'Edit drawing
':
! '???? ????
',
"""
***************
*** 261,265 ****
"SHA digest of this page's content is: %(digest)s
":
! "SHA digest of this page's content is: %(digest)s
",
'''To refer to attachments on a page, use attachment:filename,
--- 264,268 ----
"
SHA digest of this page's content is: %(digest)s
":
! "?? ?????? ?????? SHA ???? ????????????: %(digest)s
",
'''To refer to attachments on a page, use attachment:filename,
***************
*** 267,277 ****
Do NOT use the URL of the [get] link,
since this is subject to change and can break easily.
''':
! '''To refer to attachments on a page, use attachment:filename,
! as shown below in the list of files.
! Do NOT use the URL of the [get] link,
! since this is subject to change and can break easily.
''',
'Unknown file type, cannot display this attachment inline.
':
! 'Unknown file type, cannot display this attachment inline.
',
'[goto %s]':
--- 270,279 ----
Do NOT use the URL of the [get] link,
since this is subject to change and can break easily.
''':
! '''?? ???????? ?????? ??????????, ?????? ???? ???? ???? ???? ?? ????
! attachment:???????? ???????? ????????.
! URL?? ???? ???? ?? ???????? [get] ?????? URL?? ???? ???????? ??????.''',
'
Unknown file type, cannot display this attachment inline.
':
! '?? ?? ???? ???? ??????????, ?? ?????? ???? ???? ???? ?????? ?? ????????.
',
'[goto %s]':
***************
*** 297,304 ****
"Attachment '%(filename)s' deleted.":
! "Attachment '%(filename)s' deleted.",
"Attachment '%(target)s' (remote name '%(filename)s') with %(bytes)d bytes saved.":
! "Attachment '%(target)s' (remote name '%(filename)s') with %(bytes)d bytes saved.",
'Attachments for "%(pagename)s"':
--- 299,306 ----
"Attachment '%(filename)s' deleted.":
! "???? '%(filename)s'?? ????",
"Attachment '%(target)s' (remote name '%(filename)s') with %(bytes)d bytes saved.":
! "???? '%(target)s' (???????????????? ???? '%(filename)s', ???? %(bytes)d ??????) ?? ??????????????.",
'Attachments for "%(pagename)s"':
***************
*** 330,334 ****
'Create new drawing "%(filename)s"':
! 'Create new drawing "%(filename)s"',
'Create this page':
--- 332,336 ----
'Create new drawing "%(filename)s"':
! '?? ???? "%(filename)s" ??????',
'Create this page':
***************
*** 360,364 ****
"Drawing '%(filename)s' saved.":
! "Drawing '%(filename)s' saved.",
"ERROR in regex '%s'":
--- 362,366 ----
"Drawing '%(filename)s' saved.":
! "???? '%(filename)s'?? ??????????????.",
"ERROR in regex '%s'":
***************
*** 393,397 ****
'File "%(filename)s for page "%(pagename)s':
! 'File "%(filename)s for page "%(pagename)s',
'File to upload':
--- 395,399 ----
'File "%(filename)s for page "%(pagename)s':
! '"%(pagename)s ???????? "%(filename)s ????',
'File to upload':
***************
*** 402,406 ****
'Fri':
! 'Fri',
'Full text search for "%s"':
--- 404,408 ----
'Fri':
! '??????',
'Full text search for "%s"':
***************
*** 420,427 ****
'HelpContents':
! 'HelpContents',
'Ignore changes in the amount of whitespace':
! 'Ignore changes in the amount of whitespace',
'Info for "%s"':
--- 422,429 ----
'HelpContents':
! '??????',
'Ignore changes in the amount of whitespace':
! '?????? ?? ?????? ????',
'Info for "%s"':
***************
*** 441,445 ****
'LocalSpellingWords':
! 'LocalSpellingWords',
'MIME Type (optional)':
--- 443,447 ----
'LocalSpellingWords':
! '?????? ????',
'MIME Type (optional)':
***************
*** 453,457 ****
'Mon':
! 'Mon',
'Multiple matches for "%s...%s"':
--- 455,459 ----
'Mon':
! '??????',
'Multiple matches for "%s...%s"':
***************
*** 465,469 ****
'Needed %(timer).1f seconds.':
! 'Needed %(timer).1f seconds.',
'No attachments stored for %(pagename)s':
--- 467,471 ----
'Needed %(timer).1f seconds.':
! '%(timer).1f?? ????.',
'No attachments stored for %(pagename)s':
***************
*** 498,502 ****
'Others':
! 'Others',
'Page "%s" was sucessfully deleted!':
--- 500,504 ----
'Others':
! '???? ????',
'Page "%s" was sucessfully deleted!':
***************
*** 555,559 ****
'Sat':
! 'Sat',
'Save Changes':
--- 557,561 ----
'Sat':
! '??????',
'Save Changes':
***************
*** 603,607 ****
'Sun':
! 'Sun',
'The backupped content of this page is deprecated and will not be included in search results!':
--- 605,609 ----
'Sun':
! '??????',
'The backupped content of this page is deprecated and will not be included in search results!':
***************
*** 630,634 ****
'Thu':
! 'Thu',
'Time zone':
--- 632,636 ----
'Thu':
! '??????',
'Time zone':
***************
*** 645,649 ****
'Tue':
! 'Tue',
'Unknown action':
--- 647,651 ----
'Tue':
! '??????',
'Unknown action':
***************
*** 654,661 ****
'Upload new attachment "%(filename)s"':
! 'Upload new attachment "%(filename)s"',
"Upload of attachment '%(filename)s'.":
! "Upload of attachment '%(filename)s'.",
'Version as of %(date)s':
--- 656,663 ----
'Upload new attachment "%(filename)s"':
! '?? ???? "%(filename)s"?? ??????',
"Upload of attachment '%(filename)s'.":
! "???? '%(filename)s'?? ??????",
'Version as of %(date)s':
***************
*** 663,667 ****
'Wed':
! 'Wed',
'XML title index':
--- 665,669 ----
'Wed':
! '??????',
'XML title index':
***************
*** 690,694 ****
'attachment:%(filename)s of %(pagename)s':
! 'attachment:%(filename)s of %(pagename)s',
'date':
--- 692,696 ----
'attachment:%(filename)s of %(pagename)s':
! '%(pagename)s?? attachment:%(filename)s',
'date':
From noreply at sourceforge.net Tue Mar 5 01:34:06 2002
From: noreply at sourceforge.net (noreply at sourceforge.net)
Date: Tue Mar 5 01:34:06 2002
Subject: [Moin-devel] [ moin-Bugs-524485 ] bad python syntax in wikiutil.py
Message-ID:
Bugs item #524485, was opened at 2002-03-01 20:00
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=108482&aid=524485&group_id=8482
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: bad python syntax in wikiutil.py
Initial Comment:
line 348::
return formatter.url(
"%s/%s" % (webapi.getScriptname(), params),
text, css_class, **kw)
the kw argument should loose the asterics. I found
this when I ran test.cgi.
----------------------------------------------------------------------
>Comment By: J?rgen Hermann (jhermann)
Date: 2002-03-01 20:22
Message:
Logged In: YES
user_id=39128
The syntax is perfectly ok... in 2.0 and higher.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=108482&aid=524485&group_id=8482
From noreply at sourceforge.net Tue Mar 5 01:34:06 2002
From: noreply at sourceforge.net (noreply at sourceforge.net)
Date: Tue Mar 5 01:34:06 2002
Subject: [Moin-devel] [ moin-Patches-525122 ] trace messages i18n/ko.py
Message-ID:
Patches item #525122, was opened at 2002-03-03 22:18
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=308482&aid=525122&group_id=8482
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Hye-Shik Chang (perky)
Assigned to: Nobody/Anonymous (nobody)
Summary: trace messages i18n/ko.py
Initial Comment:
additional translations for 0.11 release
Since gdchart doesn't support Korean yet,
chart message wasn't translated.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=308482&aid=525122&group_id=8482
From jhermann at users.sourceforge.net Tue Mar 5 16:29:03 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Tue Mar 5 16:29:03 2002
Subject: [Moin-devel] CVS: dist/wiki/data/text HelpOnActions_2fAttachFile,1.2,1.3 HelpOnConfiguration,1.9,1.10
Message-ID:
Update of /cvsroot/moin/dist/wiki/data/text
In directory usw-pr-cvs1:/tmp/cvs-serv23896
Modified Files:
HelpOnActions_2fAttachFile HelpOnConfiguration
Log Message:
Docs for AttachFile action
Index: HelpOnActions_2fAttachFile
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnActions_2fAttachFile,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** HelpOnActions_2fAttachFile 22 Feb 2002 20:45:02 -0000 1.2
--- HelpOnActions_2fAttachFile 6 Mar 2002 00:28:07 -0000 1.3
***************
*** 1,7 ****
! /!\ TODO
! * AttachFile action, contributed by Ken Sugino; note that you have to enable this action because of the possibility of DoS attacks (malicious uploads), by adding this to your moin_config: allowed_actions = ['AttachFile']
! * "attachment:" URL scheme allows access to attachments, to get files from other pages use "attachment:WikiName/filename.ext".
! * 'inline:' scheme works like 'attachment:', but tries to inline the content of the attachment into the page; currently knows about "*.py" sources and colorizes them
! * other new linking schemes, like attachment: inline: drawing:
--- 1,37 ----
! == Enabling the AttachFile action ==
! The `AttachFile` action lets a page have multiple attached files.
! Since file uploads could be abused for DoS (Denial of Service) attacks, `AttachFile` is an action that has to be enabled by the wiki administrator. See [wiki:Self:HelpOnConfiguration#file-attachments Configuration of MoinMoin] for details.
! == Creating attachments ==
!
! To create a new attachment, you can either add an attachment link to any page (see below on how to do that), or click on the `AtttachFile` link at the bottom of the page. In the first case, you will see an `Upload new attachment` link after saving the page. Clicking on it will lead you to the upload page, just like directly clicking on the `AttachFile` link.
!
! The upload form consist of three fields, in addition to the file input there are two optional fields, one to specify a MIME type for the file (which will be detected automatically otherwise), the second to store the file under a different name than on your own computer.
!
! An upload will never overwrite an existing file. If there is a name
! conflict, you have to rename the file that you want to upload.
! Otherwise, if "Rename to" is left blank, the original filename will be used.
!
! Any upload or deletion of attachments is reflected on RecentChanges and thus subject to peer review. Unlike page changes, there is no history though, so ''keep a local copy of files'' so you can revert possible vandalism.
!
!
! == Linking to attachments ==
!
! To refer to attachments on a page, use `attachment:filename.ext`; a link of this kind follows all the rules for normal links, i.e. pictures are automatically inlined.
! Do '''not''' use the URL of the `[get]` link you can see on the attachments upload page,
! since these links are subject to change and can break easily on reconfigurations of the wiki.
! To refer to files attached to other pages, use `attachment:WikiName/filename.ext`.
!
! Instead of `attachment:`, you can also use `inline:`, which tries to inline the attachment's content. For pictures there is no difference. For Python sources (i.e. attachments with a `.py` extension), they are shown as syntax-highlighted source displays. For all other files, the behaviour is the same as for simple `attachment:` links.
!
! The third type of link is `drawing:`, explained in the next section.
!
!
! == Editing vector drawings ==
!
! A link looking like `drawing:picturename` will allow you to ''interactively'' edit vector diagrams via the built-in Java applet. The applet will then store two attachments, "`picturename.draw`" and "`picturename.gif`". After you first saved a drawing, the generated GIF picture is displayed for the `drawing:` link. This means that you only need Java enabled for editing, while displaying the results works with any browser.
!
! To edit a drawing after the first save, click on `AttachFile` and use the `[edit]` link that is displayed instead of `[view]` for the `.draw` attachment. Saving a drawing is reflected in RecentChanges.
!
! For details on using the drawing applet, see TWiki:Plugins/TWikiDrawPlugin.
Index: HelpOnConfiguration
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnConfiguration,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** HelpOnConfiguration 4 Mar 2002 20:42:20 -0000 1.9
--- HelpOnConfiguration 6 Mar 2002 00:28:07 -0000 1.10
***************
*** 90,91 ****
--- 90,123 ----
special markup for extended WikiName``s `["extended name"]` to get any names
with characters outside the core latin alphabet.
+
+
+ [[Anchor(file-attachments)]]
+ === File attachments ===
+
+ The [wiki:Self:HelpOnActions/AttachFile AttachFile action] lets a page have multiple attached files.
+ Since file uploads could be abused for DoS (Denial of Service) attacks, `AttachFile` is an action that has to be enabled by the wiki administrator. To do this, add "`allowed_actions = ['AttachFile']`" to your configuration file.
+
+ There are also two storage/retrieval models for file attachments:
+ 1. attachments are stored "privately" and can only be retrieved via a CGI GET (via URLs like `http://wiki.net/moin/SomePage?action=AttachFile&do=get&target=filename.ext`).
+ 1. attachments are stored into a directory directly accessible by the web server, and can thus be served directly by the webserver, without any invocation of MoinMoin (leading to URLs like `http://wiki.net/wiki/mywiki/SomePage/attachments/filename.ext`).
+
+ Generally, the second option is preferable[[FootNote(Such a configuration will lead to lower server loads, since you avoid the overhead of a CGI process for every attachment download.)]], but it also requires additional configuration steps, and possibly more rights on the host machine. Because of that, the first option is the default; attachments are stored in the "data" directory, with paths like "`/pages//attachments/`".
+
+ For the second option, you need to add an `attachments` option to your configuration, which is a dictionary of two values: {{{
+ attachments = {
+ 'dir': 'C:/Moin/share/moin/htdocs/mywiki',
+ 'url': '/wiki/mywiki',
+ }
+ }}}
+
+ `dir` is the file system path to the attachment storage, and `url` is the matching URI to get access to that directory. That directory has to exist and be writable for the webserver, so it can create the necessary directories and files for new attachments. Note that you have to ''manually'' create this directory, MoinMoin will ''not'' create it for you.
+
+ The above example shows a typical configuration for Windows that works for an installation according to the default setup procedure (see HelpOnInstalling/ApacheOnWin32).
+ For UNIX, if you followed HelpOnInstalling/ApacheOnUnix, the necessary configuration will look like this: {{{
+ attachments = {
+ 'dir': '/usr/local/share/moin/htdocs/mywiki',
+ 'url': '/wiki/mywiki',
+ }
+ }}}
+
+ After you have completed the configuration changes, try to create an attachment for WikiSandbox to check for any errors. If you have any permission problems, you will likely see a Python traceback or some error message.
From jhermann at users.sourceforge.net Tue Mar 5 16:41:05 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Tue Mar 5 16:41:05 2002
Subject: [Moin-devel] CVS: dist/wiki/data/text HelpOnConfiguration,1.10,1.11
Message-ID:
Update of /cvsroot/moin/dist/wiki/data/text
In directory usw-pr-cvs1:/tmp/cvs-serv27141
Modified Files:
HelpOnConfiguration
Log Message:
Minor: sandbox name typo
Index: HelpOnConfiguration
===================================================================
RCS file: /cvsroot/moin/dist/wiki/data/text/HelpOnConfiguration,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -r1.10 -r1.11
*** HelpOnConfiguration 6 Mar 2002 00:28:07 -0000 1.10
--- HelpOnConfiguration 6 Mar 2002 00:40:37 -0000 1.11
***************
*** 121,123 ****
}}}
! After you have completed the configuration changes, try to create an attachment for WikiSandbox to check for any errors. If you have any permission problems, you will likely see a Python traceback or some error message.
--- 121,123 ----
}}}
! After you have completed the configuration changes, try to create an attachment for WikiSandBox to check for any errors. If you have any permission problems, you will likely see a Python traceback or some error message.
From cmedcoff at hotmail.com Tue Mar 5 17:12:02 2002
From: cmedcoff at hotmail.com (Charles Medcoff)
Date: Tue Mar 5 17:12:02 2002
Subject: [Moin-devel] Re: [Moin-user] 0.11 and IIS
References: <20020225172026.A13107@dorseys.org> <20020226170447.A13792@dorseys.org> <20020301171534.B15509@dorseys.org>
Message-ID:
Brian,
Been away for some training that last couple of days. I think I'll have
time to look at it this week.
I gather that I should use the moin-0.11.tar.gz file from the download area
for testing and the INSTALL.HTML from cvs for review?
Regards,
Chuck
----- Original Message -----
From: "Brian Dorsey"
To: "MoinMoin Development"
Cc:
Sent: Friday, March 01, 2002 8:15 PM
Subject: Re: [Moin-devel] Re: [Moin-user] 0.11 and IIS
> On Wed, Feb 27, 2002 at 05:50:52PM -0500, Charles Medcoff wrote:
> > I'd be happy to review/edit Brians efforts and test out the
instructions.
> >
>
> I've posted my first draft of the IIS install instructions. Charles,
please review/edit and give them a try! :) In wiki fashion, feel free to fix
anything that's broken.
>
> Take care,
> -Brian
>
>
From jh at web.de Tue Mar 5 17:23:17 2002
From: jh at web.de (Juergen Hermann)
Date: Tue Mar 5 17:23:17 2002
Subject: [Moin-devel] Re: [Moin-user] 0.11 and IIS
In-Reply-To:
Message-ID:
On Tue, 5 Mar 2002 20:09:30 -0500, Charles Medcoff wrote:
>I gather that I should use the moin-0.11.tar.gz file from the download area
>for testing and the INSTALL.HTML from cvs for review?
Use the CVS tarball
http://moin.sourceforge.net/files/moin-0.11.tar.gz
Ciao, J?rgen
From jhermann at users.sourceforge.net Tue Mar 5 17:27:04 2002
From: jhermann at users.sourceforge.net (J?rgen Hermann)
Date: Tue Mar 5 17:27:04 2002
Subject: [Moin-devel] CVS: dist INSTALL.html,1.2,1.3
Message-ID:
Update of /cvsroot/moin/dist
In directory usw-pr-cvs1:/tmp/cvs-serv5077
Modified Files:
INSTALL.html
Log Message:
Updated from wiki
Index: INSTALL.html
===================================================================
RCS file: /cvsroot/moin/dist/INSTALL.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** INSTALL.html 27 Feb 2002 21:29:16 -0000 1.2
--- INSTALL.html 6 Mar 2002 01:26:05 -0000 1.3
***************
*** 134,139 ****
UNIX Installation
-
-
Index
- Installation when you are root or the webmaster
- Installing MoinMoin
- Creating a wiki instance
- Troubleshooting
- Installation into your home directory
- Making sure /~username URLs work
- Getting the distribution archive and doing the basic installation
- Setting up a wiki instance
- Setting up public_html and testing the installation
--- 134,137 ----
***************
*** 386,445 ****
Windows Installation using IIS
! ... someone provide current instructions here ...
!
Some more info is on MoinMoinWinCvs.
!
Older information
! This is the INSTALL.IIS file from the 010 distribution:
! #############################
! # INSTALLATION ON WIN2K/IIS #
! #############################
!
! Steps to set up MoinMoin on Win2K/IIS (Should also work for NT4/IIS)
!
! Installation Pre-Requirements:
! - Win2K Pro or Server (Should also work on NT4)
! - Internet Information Server or Personal Web Server
! - ActivePython (found at http://www.activestate.com)
!
! Unpack the contents of the ZIP into your Python20 directory and rename the
! MoinMoin-X.X directory to "MoinMoin" so that this file (INSTALL) is located
! at "\Python20\MoinMoin".
!
! The next step is to edit the file "C:\MoinMoin\wiki-moinmoin\moin_config.py"
! and adapt it to your particular setup. The only things we need to change to
! get things working are the values of the two variables "data_dir" and
! "url_prefix". For our situation, we need the following values:
!
! data_dir = './data'
! url_prefix = '/wiki-moinmoin'
!
! Incidently, those are the defaults.
!
! Create a Virtual Dir named "wiki-moinmoin" under the root of your web site
! and point it to the "C:\Python20\MoinMoin\wiki-moinmoin" directory. The
! Virtual Dir needs "Read" and "Run Scripts" permission.
!
! On the properties page of the Virtual Dir under Application Settings be
! sure that Execute Permissions is set to either Scripts Only or Scripts
! and Executables. Click the Configuration button and then Add to create
! the following new Application Mapping (NOTE: The "%s %s" IS case
! sensitive):
!
! Executeable: C:\Python20\python.exe %s %s
! Extension: .cgi
! Verbs: All Verbs
! Script Engine: Checked
! Check that file exists: UnChecked
!
! Click OK and close all property pages then restart the web site. Open a
! browser and go to "http://localhost/wiki-moinmoin/test.cgi" and be sure
! everything looks OK.
!
! Then go to "http://localhost/wiki-moinmoin/moin.cgi" and you should get the
! FrontPage. To further test your new Wiki, "EditText" the "FrontPage", save
! it and click on "RecentChanges". Congrats! You have a working Wiki!
!
! "Gregory Petersen" <gt_petersen at hotmail.com>, 2001-04-04
!