From Mark.Martinec+moin at ijs.si Tue Jun 6 16:17:46 2017 From: Mark.Martinec+moin at ijs.si (Mark Martinec) Date: Tue, 06 Jun 2017 22:17:46 +0200 Subject: [moin-user] Table creation in gui mode adds quot Message-ID: <7198d92d297a45dc5a5f5376ea441871@ijs.si> Thomas Hain wrote on 2017-04-11: > I might have done something wrong in configuration - but when I produce > a table via > the GUI (Mac OS Sierra, Firefox 52.0.2 ) I get > > || || || > || || || > > (shown in text mode before saving) which looks fine. If I then save and > reopen it has made > this instead: > > || || || > || || || > > which does not do the job. Worse, after each saving it adds more quot ! > > How I can turn this off please ? > > Any help is greatly appreciated. > > Best > Thomas > > PS. using MoinMoin 1.9.9 downloaded this week. This bug affected us too. After upgrading from 1.9.8 to 1.9.9 a couple of days ago, out website was gradually degenerating as users were editing or touching pages. FCKeditor was not involved in our case. These pesky " and & were slowly creeping in into our tables with style controls, resulting in HTML like: These HTML entities at inappropriate places can also be seen in page caches, i.e. in cache/text_html files. After running diff between the two version and not seeing any obvious changes in MoinMoin code that could produce this, the blame shifted to upgraded libraries bundled with Moin. My first idea was to blame pygments upgrade from 1.6 -> 2.1.3, but it turned out the problem originated from upgraded werkzeug library (0.8.3 -> 0.11.11), or possibly from inappropriate use of it by Moin. Replacing werkzeug library with the same library that came bundled with Moin 1.9.8, and ditching all cached HTML files, the problem with over-quoting went away. Mark From thomas.hain at gmail.com Tue Jun 6 19:31:06 2017 From: thomas.hain at gmail.com (Thomas Hain) Date: Wed, 7 Jun 2017 00:31:06 +0100 Subject: [moin-user] Table creation in gui mode adds quot In-Reply-To: <7198d92d297a45dc5a5f5376ea441871@ijs.si> References: <7198d92d297a45dc5a5f5376ea441871@ijs.si> Message-ID: <26E79CD7-CAF1-497E-ABD7-E05E0EDE47B9@gmail.com> Hi Mark, Thank you very much for this note - very helpful. I?ll definitely try that and will confirm if it worked here too ? Best regards Thomas > On 6 Jun 2017, at 21:17, Mark Martinec wrote: > > Thomas Hain wrote on 2017-04-11: > >> I might have done something wrong in configuration - but when I produce a table via >> the GUI (Mac OS Sierra, Firefox 52.0.2 ) I get >> || || || >> || || || >> (shown in text mode before saving) which looks fine. If I then save and reopen it has made >> this instead: >> || || || >> || || || >> which does not do the job. Worse, after each saving it adds more quot ! >> How I can turn this off please ? >> Any help is greatly appreciated. >> Best >> Thomas >> PS. using MoinMoin 1.9.9 downloaded this week. > > This bug affected us too. After upgrading from 1.9.8 to 1.9.9 a couple > of days ago, out website was gradually degenerating as users were > editing or touching pages. FCKeditor was not involved in our case. > > These pesky " and & were slowly creeping in > into our tables with style controls, resulting in HTML like: > > > > These HTML entities at inappropriate places can also be seen > in page caches, i.e. in cache/text_html files. > > After running diff between the two version and not seeing any obvious > changes in MoinMoin code that could produce this, the blame shifted > to upgraded libraries bundled with Moin. My first idea was to blame > pygments upgrade from 1.6 -> 2.1.3, but it turned out the problem > originated from upgraded werkzeug library (0.8.3 -> 0.11.11), > or possibly from inappropriate use of it by Moin. > > Replacing werkzeug library with the same library that came bundled > with Moin 1.9.8, and ditching all cached HTML files, the problem > with over-quoting went away. > > Mark From lars.nooden at gmail.com Wed Jun 7 10:50:02 2017 From: lars.nooden at gmail.com (=?UTF-8?Q?Lars_Nood=c3=a9n?=) Date: Wed, 7 Jun 2017 17:50:02 +0300 Subject: [moin-user] Initial Configuration : ImportError: No module named wikiconfig Message-ID: <997aa870-e3f1-74f1-a60f-9b658423ac8d@gmail.com> Hello, I've been poring over the HowTos for clues about what to configure in my first setup of MoinMoin. https://moinmo.in/HowTo/ I've got moinmoin-1.9.8 with python-2.7.13p1 via "packages" on OpenBSD 6.1-current (via snapshots) on armv7 using FastCGI with UNIX-domain sockets. I'm stumped by the lack of a single configuration file and would like some pointers to the actual steps needed to configure MoinMoin. $ /usr/local/bin/moin --version MoinMoin 1.9.8 [release] I can get to MoinMoin via the web, but see this error in my browser: ConfigurationError ImportError: No module named wikiconfig Check that the file is in the same directory as the server script. If it is not, you must add the path of the directory where the file is located to the python path in the server script. See the comments at the top of the server script. Check that the configuration file name is either vi "wikiconfig.py" or the module name specified in the wikis list in farmconfig.py. Note that the module name does not include the ".py" suffix. I see that there is a configuration file of sorts, /usr/local/share/moin/config/wikiconfig.py but, given the error above, it seems not to be found and my changes in it ignored. Which file(s) should I be working with instead at this point? Regards, Lars PS. I've used several other scripting languages in the past but not python. From post at volker-wysk.de Sat Jun 17 21:12:39 2017 From: post at volker-wysk.de (Volker Wysk) Date: Sun, 18 Jun 2017 03:12:39 +0200 Subject: [moin-user] Apache configuration trouble Message-ID: <1808361.1FQGCt1KFy@desktop> Hi! I'm new to Apache, and I want to configure it for MoinMoin. MoinMoin should reside under vwysk.now-ip.net/wiki. "vwysk.now-ip.net" is my dynamic IP adress. This means that no virtual server should be used, but a subdirectory on the server. The install instructions in INSTALL.html set up a dedicated, virtual server. I've put this in /etc/apache2/conf-enabled/wiki.conf: ServerName vwysk.now-ip.net ScriptAlias /wiki "/usr/local/share/moin/server/moin.cgi" Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch When I try to access vwysk.now-ip.net/wiki, or http://localhost/wiki, I get: "403 Forbidden. You don't have permission to access /wiki on this server." I've tried different permissions and the owner www-data, of "/usr/local/share/ moin/server/moin.cgi" and its parent directories, but with no effect. I've also set the Loglevel to "debug", which produces this messages, which don't make much sense for me: [Sat Jun 17 21:24:33.062439 2017] [ssl:info] [pid 3850] (70007)The timeout specified has expired: [client 127.0.0.1:36666] AH01991: SSL input filter read failed. [Sat Jun 17 21:24:33.062637 2017] [ssl:debug] [pid 3850] ssl_engine_io.c(1016): [client 127.0.0.1:36666] AH02001: Connection closed to child 6 with standard shutdown (server vwysk.now-ip.net:443) [Sat Jun 17 21:24:33.267440 2017] [ssl:info] [pid 3801] (70007)The timeout specified has expired: [client 127.0.0.1:36668] AH01991: SSL input filter read failed. [Sat Jun 17 21:24:33.267578 2017] [ssl:debug] [pid 3801] ssl_engine_io.c(1016): [client 127.0.0.1:36668] AH02001: Connection closed to child 0 with standard shutdown (server vwysk.now-ip.net:443) [Sat Jun 17 21:24:42.938542 2017] [ssl:info] [pid 3804] [client 127.0.0.1:36670] AH01964: Connection to child 3 established (server vwysk.now- ip.net:443) [Sat Jun 17 21:24:42.939011 2017] [ssl:debug] [pid 3804] ssl_engine_kernel.c(2103): [client 127.0.0.1:36670] AH02044: No matching SSL virtual host for servername localhost found (using default/first virtual host) [Sat Jun 17 21:24:43.111938 2017] [ssl:debug] [pid 3804] ssl_engine_kernel.c(2023): [client 127.0.0.1:36670] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits) [Sat Jun 17 21:24:43.112052 2017] [ssl:debug] [pid 3804] ssl_engine_kernel.c(354): [client 127.0.0.1:36670] AH02034: Initial (No.1) HTTPS request received for child 3 (server vwysk.now-ip.net:443) [Sat Jun 17 21:24:43.113123 2017] [authz_core:debug] [pid 3804] mod_authz_core.c(809): [client 127.0.0.1:36670] AH01626: authorization result of Require all granted: granted [Sat Jun 17 21:24:43.113139 2017] [authz_core:debug] [pid 3804] mod_authz_core.c(809): [client 127.0.0.1:36670] AH01626: authorization result of : granted [Sat Jun 17 21:24:43.113417 2017] [authz_core:debug] [pid 3804] mod_authz_core.c(809): [client 127.0.0.1:36670] AH01626: authorization result of Require all granted: granted [Sat Jun 17 21:24:43.113432 2017] [authz_core:debug] [pid 3804] mod_authz_core.c(809): [client 127.0.0.1:36670] AH01626: authorization result of : granted [Sat Jun 17 21:24:48.186489 2017] [ssl:info] [pid 3804] (70007)The timeout specified has expired: [client 127.0.0.1:36670] AH01991: SSL input filter read failed. [Sat Jun 17 21:24:48.186728 2017] [ssl:debug] [pid 3804] ssl_engine_io.c(1016): [client 127.0.0.1:36670] AH02001: Connection closed to child 3 with standard shutdown (server vwysk.now-ip.net:443) So how does Apache determine which page you are allowed to access? Bye Volker From post at volker-wysk.de Sun Jun 18 06:23:59 2017 From: post at volker-wysk.de (Volker Wysk) Date: Sun, 18 Jun 2017 12:23:59 +0200 Subject: [moin-user] Apache configuration trouble In-Reply-To: <20170618120028.4b6a797c@erker.lan> References: <1808361.1FQGCt1KFy@desktop> <20170618120028.4b6a797c@erker.lan> Message-ID: <2369211.WD0l3mRm0T@desktop> Hi! Am Sonntag, 18. Juni 2017, 12:00:28 CEST schrieb Lars Kruse: > Hi Volker, > > > Am Sun, 18 Jun 2017 03:12:39 +0200 > > schrieb Volker Wysk : > > [..] > > > > When I try to access vwysk.now-ip.net/wiki, or http://localhost/wiki, I get: > > "403 Forbidden. You don't have permission to access /wiki on this > > server." > > > > I've tried different permissions and the owner www-data, of > > "/usr/local/share/ moin/server/moin.cgi" and its parent directories, but > > with no effect. > Did you make sure that you allowed apache to deliver files from that > location? > > > Require all granted > Ok, I've tried this, but with no success. > Or maybe you want to share your complete apache configuration? I've only added /etc/apache2/conf-{enabled,available}/wiki.conf. Here's the (new) contents of the wiki.conf: Loglevel info ServerName vwysk.now-ip.net Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch ScriptAlias /wiki "/usr/local/share/moin/server/moin.cgi" Require all granted Should I post the complete configuration? When accessing localhost/wiki, I get in /var/log/apache2/access.log: 127.0.0.1 - - [18/Jun/2017:12:21:19 +0200] "GET /wiki HTTP/1.1" 403 505 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0" I wonder what that 505 means... Bye Volker From lists at sumpfralle.de Sun Jun 18 06:00:28 2017 From: lists at sumpfralle.de (Lars Kruse) Date: Sun, 18 Jun 2017 12:00:28 +0200 Subject: [moin-user] Apache configuration trouble In-Reply-To: <1808361.1FQGCt1KFy@desktop> References: <1808361.1FQGCt1KFy@desktop> Message-ID: <20170618120028.4b6a797c@erker.lan> Hi Volker, Am Sun, 18 Jun 2017 03:12:39 +0200 schrieb Volker Wysk : > [..] > When I try to access vwysk.now-ip.net/wiki, or http://localhost/wiki, I get: > "403 Forbidden. You don't have permission to access /wiki on this server." > > I've tried different permissions and the owner www-data, of "/usr/local/share/ > moin/server/moin.cgi" and its parent directories, but with no effect. Did you make sure that you allowed apache to deliver files from that location? Require all granted Or maybe you want to share your complete apache configuration? Cheers, Lars From post at volker-wysk.de Sun Jun 18 08:06:54 2017 From: post at volker-wysk.de (Volker Wysk) Date: Sun, 18 Jun 2017 14:06:54 +0200 Subject: [moin-user] Apache configuration trouble In-Reply-To: <20170618120028.4b6a797c@erker.lan> References: <1808361.1FQGCt1KFy@desktop> <20170618120028.4b6a797c@erker.lan> Message-ID: <1645358.Z6oe8iOQVL@desktop> Hi! Am Sonntag, 18. Juni 2017, 12:00:28 CEST schrieb Lars Kruse: > Did you make sure that you allowed apache to deliver files from that > location? > > > Require all granted > I've discovered what's wrong here: The directive doesn't take a path as its argument, but only a basename (file name without path). This does work: Require all granted Thanks for your hint, nevertheless. Volker From post at volker-wysk.de Sun Jun 18 22:54:08 2017 From: post at volker-wysk.de (Volker Wysk) Date: Mon, 19 Jun 2017 04:54:08 +0200 Subject: [moin-user] Installing Moinmoin at at subdirectory of the main web server Message-ID: <4052047.vc2LRLSbbG@desktop> Hi! It seems like Moinmoin is meant to run in its own dedicated Virtual Host. This means that you need to be able to arrange a dedicated domain name. I've not done this, but used a subdirectory of my Apache server for Moinmoin. In other words: Here is the configuration for example.com/wiki instead of wiki.example.com: Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Alias /moin_static199 "/usr/local/lib/python2.7/dist-packages/MoinMoin/ web/static/htdocs" ScriptAlias /wiki "/usr/local/share/moin/server/moin.cgi" Require all granted Require all granted The paths are the ones which get inserted when you use setup.py for Moinmoin installation. As usual, this should go to some file in /etc/apache2/conf-available, say moinmoin.conf. Then use a2enconf wiki to activate it. Bye Volker From post at volker-wysk.de Sun Jun 18 23:47:11 2017 From: post at volker-wysk.de (Volker Wysk) Date: Mon, 19 Jun 2017 05:47:11 +0200 Subject: [moin-user] Installing Moinmoin at at subdirectory of the main web server In-Reply-To: <4052047.vc2LRLSbbG@desktop> References: <4052047.vc2LRLSbbG@desktop> Message-ID: <1554149.4G0gsXQM8r@desktop> Am Montag, 19. Juni 2017, 04:54:08 CEST schrieb Volker Wysk: > As usual, this should go to some file in /etc/apache2/conf-available, say > moinmoin.conf. Then use > a2enconf wiki to activate it. Sorry, that's "a2enconf moinmoin", not "a2enconf wiki". Bye From post at volker-wysk.de Mon Jun 19 12:39:16 2017 From: post at volker-wysk.de (Volker Wysk) Date: Mon, 19 Jun 2017 18:39:16 +0200 Subject: [moin-user] Line break in wiki page? Message-ID: <2242570.N7XC90BYM4@desktop> Hi! Is it possible to insert a line break, like HTML's "
" in a MoinMoin page? Volker From post at volker-wysk.de Mon Jun 19 12:53:11 2017 From: post at volker-wysk.de (Volker Wysk) Date: Mon, 19 Jun 2017 18:53:11 +0200 Subject: [moin-user] Line break in wiki page? In-Reply-To: <20170619164358.6mzompegt2n3etm7@einval.com> References: <2242570.N7XC90BYM4@desktop> <20170619164358.6mzompegt2n3etm7@einval.com> Message-ID: <2435537.EbUhyBQtgE@desktop> Am Montag, 19. Juni 2017, 17:43:58 CEST schrieb Steve McIntyre: > On Mon, Jun 19, 2017 at 06:39:16PM +0200, Volker Wysk wrote: > >Hi! > > > >Is it possible to insert a line break, like HTML's "
" in a MoinMoin > >page? > Yes. :-) > > https://moinmo.in/HelpOnMoinWikiSyntax#Macros_and_Variables: > > <
> inserts a hard line break Perfect. I need to read about what a "macro" is in MoinMoin... Thnx and bye, Volker From steve at einval.com Mon Jun 19 12:43:58 2017 From: steve at einval.com (Steve McIntyre) Date: Mon, 19 Jun 2017 17:43:58 +0100 Subject: [moin-user] Line break in wiki page? In-Reply-To: <2242570.N7XC90BYM4@desktop> References: <2242570.N7XC90BYM4@desktop> Message-ID: <20170619164358.6mzompegt2n3etm7@einval.com> On Mon, Jun 19, 2017 at 06:39:16PM +0200, Volker Wysk wrote: >Hi! > >Is it possible to insert a line break, like HTML's "
" in a MoinMoin page? Yes. :-) https://moinmo.in/HelpOnMoinWikiSyntax#Macros_and_Variables: <
> inserts a hard line break -- Steve McIntyre, Cambridge, UK. steve at einval.com Is there anybody out there? From david.franzkoch at mh-trossingen.de Tue Jun 20 12:03:41 2017 From: david.franzkoch at mh-trossingen.de (David Franzkoch) Date: Tue, 20 Jun 2017 16:03:41 +0000 Subject: [moin-user] Show User Alias for "Last edited by" Message-ID: <0019B98A.5949637C@nt01.mh-trossingen.de> Hi, is it possible to show the user alias name for "Last edited by..." entries on MoinMoin pages? We are working with LDAP accounts. The true login name is a random string of numbers, the user-alias contains a human readable cleartext name. It would be much nicer to show this instead of the login name on each page. Can we configure this somehow globally? I have root access to our MoinMoin server. David Franzkoch -------------- next part -------------- An HTML attachment was scrubbed... URL: From post at volker-wysk.de Wed Jun 21 11:06:16 2017 From: post at volker-wysk.de (Volker Wysk) Date: Wed, 21 Jun 2017 17:06:16 +0200 Subject: [moin-user] Importing pages to MoinMoin Message-ID: <1705744.8MGkYbWCnD@desktop> Hi I've installed and configured MoinMoin now, and now I want to import a few hundred pages in MoinMoin. There doesn't seem to be an import feature, but the storage looks simple. I'm about to write a little program to create MoinMoin data structures (files and directories), from directories of plain text files. My question is, whether it is as simple as it looks. Is there something to regard? What about full-text search? Does an index need to be updated? (In the help page "SeiteFinden" ("find page") there is a dead link at the bottom, "WegWeiser: eine Liste aller unterst?tzten Indizierungsschemata" ("direction sign: a list of all supported indexing schemas")). Bye V.W. From paul at boddie.org.uk Wed Jun 21 11:28:14 2017 From: paul at boddie.org.uk (Paul Boddie) Date: Wed, 21 Jun 2017 17:28:14 +0200 Subject: [moin-user] Importing pages to MoinMoin In-Reply-To: <1705744.8MGkYbWCnD@desktop> References: <1705744.8MGkYbWCnD@desktop> Message-ID: <201706211728.15167.paul@boddie.org.uk> On Wednesday 21. June 2017 17.06.16 Volker Wysk wrote: > > I've installed and configured MoinMoin now, and now I want to import a few > hundred pages in MoinMoin. > > There doesn't seem to be an import feature, but the storage looks simple. > I'm about to write a little program to create MoinMoin data structures > (files and directories), from directories of plain text files. You can try putting your pages in a directory along with a MOIN_PACKAGE file, creating a .zip file, and then using the page package feature to import it. That is perhaps easier than trying to get the storage layout correct, and you can even version the imports. See the help page: https://moinmo.in/HelpOnPackageInstaller > My question is, whether it is as simple as it looks. Is there something to > regard? What about full-text search? Does an index need to be updated? (In > the help page "SeiteFinden" ("find page") there is a dead link at the > bottom, "WegWeiser: eine Liste aller unterst?tzten Indizierungsschemata" > ("direction sign: a list of all supported indexing schemas")). Take a look at the Xapian support: https://moinmo.in/HelpOnXapian As usual, the biggest problems with both of these things is getting the permissions right when running the moin commands. Otherwise, Moin will fail to access the necessary files and maybe even leave incorrectly-permissioned files lying around to obstruct further operations. Paul From post at volker-wysk.de Wed Jun 21 12:49:48 2017 From: post at volker-wysk.de (Volker Wysk) Date: Wed, 21 Jun 2017 18:49:48 +0200 Subject: [moin-user] Importing pages to MoinMoin In-Reply-To: <201706211728.15167.paul@boddie.org.uk> References: <1705744.8MGkYbWCnD@desktop> <201706211728.15167.paul@boddie.org.uk> Message-ID: <2143656.cudoRNsl9e@desktop> Thank you! I'll to more reading, then. Bye Volker From post at volker-wysk.de Thu Jun 22 08:23:28 2017 From: post at volker-wysk.de (Volker Wysk) Date: Thu, 22 Jun 2017 14:23:28 +0200 Subject: [moin-user] Importing pages to MoinMoin In-Reply-To: <201706211728.15167.paul@boddie.org.uk> References: <1705744.8MGkYbWCnD@desktop> <201706211728.15167.paul@boddie.org.uk> Message-ID: <13027576.p3VpAaSqSV@desktop> Am Mittwoch, 21. Juni 2017, 17:28:14 CEST schrieb Paul Boddie: > On Wednesday 21. June 2017 17.06.16 Volker Wysk wrote: > > I've installed and configured MoinMoin now, and now I want to import a few > > hundred pages in MoinMoin. > > > > There doesn't seem to be an import feature, but the storage looks simple. > > I'm about to write a little program to create MoinMoin data structures > > (files and directories), from directories of plain text files. > > You can try putting your pages in a directory along with a MOIN_PACKAGE > file, creating a .zip file, and then using the page package feature to > import it. That is perhaps easier than trying to get the storage layout > correct, and you can even version the imports. See the help page: > > https://moinmo.in/HelpOnPackageInstaller Okay, I've got it working. This was easy. > > My question is, whether it is as simple as it looks. Is there something to > > regard? What about full-text search? Does an index need to be updated? (In > > the help page "SeiteFinden" ("find page") there is a dead link at the > > bottom, "WegWeiser: eine Liste aller unterst?tzten Indizierungsschemata" > > ("direction sign: a list of all supported indexing schemas")). > > Take a look at the Xapian support: > > https://moinmo.in/HelpOnXapian > > As usual, the biggest problems with both of these things is getting the > permissions right when running the moin commands. Otherwise, Moin will fail > to access the necessary files and maybe even leave incorrectly-permissioned > files lying around to obstruct further operations. I don't need Xapian for my little wiki. Even so, it should be safe (indexes updated, permissions) using your PackageInstaller method. So nothing gets screwed up. Thanks again for pointing me in the right direction. Volker From post at volker-wysk.de Sat Jun 24 14:09:28 2017 From: post at volker-wysk.de (Volker Wysk) Date: Sat, 24 Jun 2017 20:09:28 +0200 Subject: [moin-user] Can't install package: "Unhandled Exception" Message-ID: <2620341.8dklWILFsA@desktop> Hi I'm trying to upload my wiki pages via the package installer. I've written a program, which creates packages from source files. This worked relatively well. But now, when I upload the .zip, and click on "install" I get: "Unhandled Exception - An unhandled exception was thrown by the application." I've found no moin logfiles in /var/log. This is a bug. And no chance to find out, what's going wrong, isn't it? Volker From paul at boddie.org.uk Sat Jun 24 15:38:53 2017 From: paul at boddie.org.uk (Paul Boddie) Date: Sat, 24 Jun 2017 21:38:53 +0200 Subject: [moin-user] Can't install package: "Unhandled Exception" In-Reply-To: <2620341.8dklWILFsA@desktop> References: <2620341.8dklWILFsA@desktop> Message-ID: <201706242138.53654.paul@boddie.org.uk> On Saturday 24. June 2017 20.09.28 Volker Wysk wrote: > > I'm trying to upload my wiki pages via the package installer. I've written > a program, which creates packages from source files. This worked > relatively well. But now, when I upload the .zip, and click on "install" I > get: > > "Unhandled Exception - An unhandled exception was thrown by the > application." > > I've found no moin logfiles in /var/log. > > This is a bug. And no chance to find out, what's going wrong, isn't it? I guess so! But I should have been clearer about the way I install packages. Instead of going through the workflow on the HelpOnPackageInstaller page (upload file, click on "install"), I tend to use the command line tool, which is also mentioned on that page. So, given a pages.zip file, I run the following command: python MoinMoin/packages.py i pages.zip URL_PATH Here, URL_PATH corresponds to the published location of the wiki on the host. For me, this almost always works, where failure is usually something to do with the permissions. In fact, I'm using a tool that I wrote to administer Moin instances, but the actual command issued is ultimately the same. You might need to set PYTHONPATH to include the location of the MoinMoin package and also the location of the wikiconfig.py file. Otherwise, the program won't find what it needs and will just fail straight away. As for the logging, you might want to look first at the general error log for your Web server. I'd have to remind myself about Moin's logging configuration if I were to provide any insight on this, anyway. ;-) Paul From Christian.Molecki at stala.bwl.de Mon Jun 26 08:05:16 2017 From: Christian.Molecki at stala.bwl.de (Molecki, Christian (STL)) Date: Mon, 26 Jun 2017 12:05:16 +0000 Subject: [moin-user] own wiki for userpages of farm Message-ID: <205F109FB2535542BD9DB0753EFF6D3326DD8F80@BWLSM15.ZD.BWL.NET> Hello, we have a moinmoin farm with different instances. So I configured a shared authentication for these instances. If the user has a homepage, this one is only accessible in the respective instance. I like to configure that the homepages of all users are in one instance and accessible from all other ones. I create a own UserWiki and configured the InterWiki name in every instance and the user_homewiki in the farmconfig.py. If I want to create a homepage for the current user, by clicking on the username at the top of the page, the wiki wants to create a page named "InterWiki". What's wrong? Do I need a InterWiki-List with all instances an their InterWiki names? If yes, how can I create that? Mit freundlichen Gr??en Christian Molecki -------------------------------------------- Statistisches Landesamt Baden-W?rttemberg Referat 14: Systemtechnik und Datenmanagement OE 143: Systemtechnik, Gro?rechner, Internettechnik, Datenmanagement B?blinger Str. 68 70199 Stuttgart Tel.: 0711/641-2457 Fax: 0711/641-2440 -------------- next part -------------- An HTML attachment was scrubbed... URL: From frank4sam at gmail.com Mon Jun 26 10:40:57 2017 From: frank4sam at gmail.com (Sam Franklin) Date: Mon, 26 Jun 2017 20:10:57 +0530 Subject: [moin-user] Broken URL after migration of wiki to new server Message-ID: Dear Team, Recently had to migrate the wiki to new server, the URL's are all broken. Is there a simple way of having the URL fixed with the new FQDN of the server? Would appreciate any suggestion or recommendation on having the issue resolved. Best Regards, Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at boddie.org.uk Tue Jun 27 17:07:42 2017 From: paul at boddie.org.uk (Paul Boddie) Date: Tue, 27 Jun 2017 23:07:42 +0200 Subject: [moin-user] Broken URL after migration of wiki to new server In-Reply-To: References: Message-ID: <201706272307.43154.paul@boddie.org.uk> On Monday 26. June 2017 16.40.57 Sam Franklin wrote: > Dear Team, > > Recently had to migrate the wiki to new server, the URL's are all > broken. Is there a simple way of having the URL fixed with the new FQDN > of the server? Would appreciate any suggestion or recommendation on having > the issue resolved. I would have thought that Moin would generate links using the hostname of the server (potentially set in the Web server configuration if a virtual host is involved). If Moin is generating URLs with a different hostname, maybe there is something like url_mappings defined in the configuration: https://moinmo.in/HelpOnConfiguration#urls I hope this points you in the right direction! Paul From paul at boddie.org.uk Tue Jun 27 17:26:12 2017 From: paul at boddie.org.uk (Paul Boddie) Date: Tue, 27 Jun 2017 23:26:12 +0200 Subject: [moin-user] own wiki for userpages of farm In-Reply-To: <205F109FB2535542BD9DB0753EFF6D3326DD8F80@BWLSM15.ZD.BWL.NET> References: <205F109FB2535542BD9DB0753EFF6D3326DD8F80@BWLSM15.ZD.BWL.NET> Message-ID: <201706272326.12603.paul@boddie.org.uk> On Monday 26. June 2017 14.05.16 Molecki, Christian (STL) wrote: > Hello, > > we have a moinmoin farm with different instances. > So I configured a shared authentication for these instances. > > If the user has a homepage, this one is only accessible in the respective > instance. I like to configure that the homepages of all users are in one > instance and accessible from all other ones. > > I create a own UserWiki and configured the InterWiki name in every instance > and the user_homewiki in the farmconfig.py. Right. So, you have a definition like this in farmconfig.py: user_homewiki = u"UserWiki" > If I want to create a homepage for the current user, by clicking on the > username at the top of the page, the wiki wants to create a page named > "InterWiki". It looks like the function that tries to identify the InterWiki reference (MoinMoin.wikiutil.resolve_interwiki) fails to find the wiki (UserWiki in your case) and helpfully returns a reference to the InterWiki page. > What's wrong? > Do I need a InterWiki-List with all instances an their InterWiki names? If > yes, how can I create that? The InterWikiMap page could probably be modified to include UserWiki. I guess you'd have to do that on all wikis, though. But it also seems that you can have a global map of InterWiki definitions, too: https://moinmo.in/HelpOnConfiguration#paths The shared_intermap setting seems to allow you to specify the location of a file, apparently containing definitions in the same format as the InterWikiMap page, that can hold a definition for UserWiki. I notice that an interwiki.txt file residing in a wiki's data directory can also do this job as well. Anyway, I hope this gives you a few ideas. Paul From Christian.Molecki at stala.bwl.de Wed Jun 28 04:56:40 2017 From: Christian.Molecki at stala.bwl.de (Molecki, Christian (STL)) Date: Wed, 28 Jun 2017 08:56:40 +0000 Subject: [moin-user] own wiki for userpages of farm In-Reply-To: <201706272326.12603.paul@boddie.org.uk> References: <205F109FB2535542BD9DB0753EFF6D3326DD8F80@BWLSM15.ZD.BWL.NET> <201706272326.12603.paul@boddie.org.uk> Message-ID: <205F109FB2535542BD9DB0753EFF6D3326DD975C@BWLSM15.ZD.BWL.NET> Hello Paul, thanks for your ideas. The solution was to add the InterWiki Name into the intermap.txt With "shared_intermap" I can use one file for all instances. Curiously the path of the file, has to be between square brackets like shared_intermap = ['/path/to/intermap.txt'] Mit freundlichen Gr??en Christian Molecki -------------------------------------------- Referat 14: Systemtechnik und Datenmanagement OE 143: Systemtechnik, Gro?rechner, Internettechnik, Datenmanagement -----Urspr?ngliche Nachricht----- Von: moin-user [mailto:moin-user-bounces+christian.molecki=stala.bwl.de at python.org] Im Auftrag von Paul Boddie Gesendet: Dienstag, 27. Juni 2017 23:26 An: moin-user at python.org Betreff: Re: [moin-user] own wiki for userpages of farm On Monday 26. June 2017 14.05.16 Molecki, Christian (STL) wrote: > Hello, > > we have a moinmoin farm with different instances. > So I configured a shared authentication for these instances. > > If the user has a homepage, this one is only accessible in the respective > instance. I like to configure that the homepages of all users are in one > instance and accessible from all other ones. > > I create a own UserWiki and configured the InterWiki name in every instance > and the user_homewiki in the farmconfig.py. Right. So, you have a definition like this in farmconfig.py: user_homewiki = u"UserWiki" > If I want to create a homepage for the current user, by clicking on the > username at the top of the page, the wiki wants to create a page named > "InterWiki". It looks like the function that tries to identify the InterWiki reference (MoinMoin.wikiutil.resolve_interwiki) fails to find the wiki (UserWiki in your case) and helpfully returns a reference to the InterWiki page. > What's wrong? > Do I need a InterWiki-List with all instances an their InterWiki names? If > yes, how can I create that? The InterWikiMap page could probably be modified to include UserWiki. I guess you'd have to do that on all wikis, though. But it also seems that you can have a global map of InterWiki definitions, too: https://moinmo.in/HelpOnConfiguration#paths The shared_intermap setting seems to allow you to specify the location of a file, apparently containing definitions in the same format as the InterWikiMap page, that can hold a definition for UserWiki. I notice that an interwiki.txt file residing in a wiki's data directory can also do this job as well. Anyway, I hope this gives you a few ideas. Paul _______________________________________________ moin-user mailing list moin-user at python.org https://mail.python.org/mailman/listinfo/moin-user From Christian.Molecki at stala.bwl.de Wed Jun 28 06:15:37 2017 From: Christian.Molecki at stala.bwl.de (Molecki, Christian (STL)) Date: Wed, 28 Jun 2017 10:15:37 +0000 Subject: [moin-user] hide something on recent changes Message-ID: <205F109FB2535542BD9DB0753EFF6D3326DD97ED@BWLSM15.ZD.BWL.NET> Hello everybody, is there a possibility that are changes of a site, are not visible at recent changes? Mit freundlichen Gr??en Christian Molecki -------------------------------------------- Statistisches Landesamt Baden-W?rttemberg Referat 14: Systemtechnik und Datenmanagement OE 143: Systemtechnik, Gro?rechner, Internettechnik, Datenmanagement B?blinger Str. 68 70199 Stuttgart Tel.: 0711/641-2457 Fax: 0711/641-2440 -------------- next part -------------- An HTML attachment was scrubbed... URL: From roland at greentree.systems Wed Jun 28 16:16:08 2017 From: roland at greentree.systems (Roland Giesler) Date: Wed, 28 Jun 2017 22:16:08 +0200 Subject: [moin-user] How do I edit or remove the page footer? Message-ID: I'd like to change the footer on each page. How can I do that? I have seen some references to pre and post footer customisation, but the wiki is not clear on how to use this. Anyway, it's not what I actually want to do. I'd rather change the whole footer. thanks Roland -------------- next part -------------- An HTML attachment was scrubbed... URL: