Edit this section

How can I disable CamelCase in version 1.6?

I've tried the nocamelcase.py parser but even after making some changes to it, I couldn't get it to work. Please help?

What is the logo of moinmoin? (the man with big nose and a sheet in his hands)? Who is the author?

That's the mascot. The author of it? JürgenHermann might know that. At least he created the mascot by taking a file from his hard drive and exchanging the text on the . :)

german support

why there is no place to ask in ? --DetlevLengsfeld MoinMoinFragen

Where can I find MoinMoin consultants ?

Looking for a company that can provide development and support services to large corporation looking into implementing MoinMoin based system. Do such companies exist? Where can find such?

Mozilla Firefox (sometimes) ignores the CSS stylesheet

Mozilla Firefox does not display MoinMoin pages properly, it ignores the CSS stylesheet.

Solution

Many Apache (and presumably) other web servers send a MIME type of text/plain for CSS files, instead of text/css, which Mozilla Firefox insists on when in strict mode. The Firefox Javascript console will have errors of the form

Error: The stylesheet http://wherever/wiki/classic/css/common.css was not loaded because its MIME type, "text/plain", is not "text/css".

More about this at http://www.astro.uu.nl/~wiersma/dutchguy/archive/computers/cssstylesheetignoredbymoz.html with suggested fixes. In particular, the fix described in http://www.astro.uu.nl/~wiersma/dutchguy/archive/computers/fixingstylesheets.html to use AddType in either srm.conf or .htaccess works well.

Automated deletion of revisions

Is there an automated way to delete previous versions of a page? With every minor edit the complete new page is stored, and for a large wiki, that may soon require too much disc space.

Save deleted attachments

How can I configure MoinMoin to save deleted attachments, so I can restore an attachment that was deleted by mistake?

XSLT bug

Q: I want to import external RssFeeds onto a MoinMoin page. MoinMoinSyndication implies that along with making RSS feeds for indices that there is a way to do this. Especially with AdvogatoXslt, and RssChannelXslt. I have followed the advice on HelpOnXmlPages and have Python4Suite installed. The RecentChanges RSS feed for my site works fine. I have turned on xslt in the config file. I have made pages for XsltVersion and all the other xslt scripts I've found here but always get errors about the stylesheet processing instruction. For example, with the XsltVersion page I get: "UriException: Invalid base URI: u'wiki: //Self/XsltVersion' cannot be used to resolve reference u'XsltVersion'" I'm pretty good with XSLT normally so would like to get it working. Any suggestions on what I need to do?

A: I found that the 4Suite-0.11.1-13 throwed an exception because it didn't like the wiki: URI class. A quick fix was to modify the Uri.py source of the 4Suite distribution. Add the string wiki according to below:

DEFAULT_URI_SCHEMES = ('wiki', 'http', 'ftp', 'file', 'gopher', FTSS_URI_SCHEME)

Converting HTML to wiki markup

Could someone, please, explain in more detail how to insert/convert HTML-content into MoinMoin. I found some words about HTML-parser and HTML-macro that should be installed, but I could not figure out how to install and use these.

Note that 1.5 will include native HTML import capabilities.

Here's a script I wrote up that might help:

htm_to_moinmoin_converter.sh

Mass replacing

Is there an easy way to do replace one string with another on every page the original string occurs, without having to individually edit every page?

Solution

Just use your tool of choice (sed, awk, etc.) and edit the files in data/pages/*/revisions/*. Note that this changes all revisions, not just the most recent. You'll have to do some skillful scripting to limit your change to the current version only (reflected in data/pages/*/revisions/current). And you'll want a MoinMoinBackup...
Also see SearchAndReplace and SearchAndReplace/FromOutsideTheWiki

Is there any way of re-naming a page that also updates references to that page? The existing rename action leaves all references to the renamed page pointing at the old name.

Notification on account creation

How do i make and email appear into my inbox (as an administrator) whenever a new user creates a profile on my frontpage? So that i can decide whether or not i want to give the user the read or write privileges.

Can I export the Wiki to static html?

Yes, use moin_dump script, it should be in your prefix/bin

How to create multiple subpages using multiple templates at once

I'd like to be able to automatically create a "batch" of subpages at once using a certain template for each new subpage. For example:

ABCPage (the parent)
 /Subpage1 (based on template page name 1)
 /Subpage2 (based on template page name 2)
 /Subpage3 (based on template page name 3)
 /Subpage4 (based on template page name 4)
 /Subpage5 (based on template page name 5)
 /Subpage6 (based on template page name 6)
 /Subpage7 (based on template page name 7)
 /Subpage8 (based on template page name 8)
 /Subpage9 (based on template page name 9)
 /Subpage10 (based on template page name 10)

I've looked at the NewPage macro, which kind of touches upon the concept, but that really isn't what I'm looking for. It would be great to use some sort of variable for each new subpage name and each template page name (which may also be a subpage), and create all of them at once instead of having to create each page one at a time. Maybe some kind of loop is the answer. Thanks.

Content Licensing

I've just started a new public MoinMoin wiki (Reluctant Expatriates), and am wondering what others do re: licensing the content. Wikipedia uses the GNU Free Documentation License--are there other possibilities? Need a license be used at all? What are the advantages/disadvantages when using a license?

On a related note, who owns the Wiki content? The original author? Everyone who worked on it? Nobody?

Just thought I'd ask. -- Walter Gildersleeve, Freiburg, Germany

Knowing what version a bug is fixed in

Often I'll find a bug I'd like fixed in the MoinMoinBugs section, or a feature I'd line (FeatureRequests), and see that it has been implemented. However, I'm not able to tell what version first contains the fix. I need to know this in order to tell if the version I have should contain the fix already, or if it's already released so I can judge whether the upgrade is worth the effort, or if it's not released yet, I'd like some idea of when it might become available.

From the information placed on a fixed bug, I have no idea how to turn it into an actual version number. Example: MoinMoinBugs/OverwriteAttachmentShouldDependOnDeleteRight. The status says fixed in 1.5, but it doesn't say 1.5.8, 1.5.9, etc., and the link doesn't really help me either.

Is there a reasonable way to do this?

Downgrading MoinMoin

On rare occasions, one might want to downgrade a MoinMoin installation. In my case, it was because I wanted to go from Debian/testing (sort of) to Debian/stable. After doing that, I always got "CacheNeedsUpdate" exeptions, but couldn't figure out why. I already had replaced the underlay directory in my wiki, as well as purging all pre-compiled Python stuff. Since I was in a hurry, I created a backport of a more recent MoinMoin which solved the immediate problem and made the wiki work again, but just in case, is there an official procedure about how to downgrade a MoinMoin installation?

cd mywiki
find . -name cache -type d -exec rm -r '{}' \;

Using "editlink" and "titlesonly"

I try to include the headers from other pages with an include-Statement.
This works great, but i simply cannot manage to add an "edit" Link to those included pages - it seems "editlink" does not work?!?
I already managed to find out, that the "to=" argument needs to be set - contrary to what the documentation says.
He is an example of what i try:

<<Include(^TODO/.*, "Header ...", 3, to='^----', titlesonly, editlink)>>

This shows the headers from all TODO/* pages, does not show "Header ..." and - this is my problem - does not show edit-links :-O
Any idea?

I wanted to have a page that includes the tables of content of many others pages, but for each such page offers an edit-link to directly edit this included page - any other way to reach that?!

Thanx!

Restricting "titlesonly" to level 1 or 2 ...

Is it somehow possible to restrict the "titlesonly" option to the Include-Statement to a certain level of headers?

In our overview-page, i want to include the table of contents of some other pages, so i use an Include-Statement with "titlesonly" - but then, i get ALL the table of content, down to level 5 - this is just too much for the overview pages!

Any other way to handle this?

Serious trouble opening the MoinMoinQuestions page here in this wiki

When trying to open the huge MoinMoinQuestions page, IE7 and FF2 (on WinXP with DSL) hang for at least 1 minute (>>1 min!!)! Opening the page with Opera on the same system works fine, takes only about 15s. Using Safari on my Mac (which uses the same DSL modem), it works also neatly. Don't know why this happens on IE7 and FF2. Any ideas? Disabling javascript seems to make some difference (especially for IE) but not a big one. I tested also on http://moinmoin.wikiwikiweb.de (running 1.5.9) but it is the same there as here on this wiki. -- OliverSiemoneit 2008-06-07 22:34:08

Google App Engine

Are there any plans of making MoinMoin compatible with Google App Engine?

There is GAE support now in moin2, see http://hg.moinmo.in/moin/2.0 "gae" branch. Contributions for this are welcome! -- ThomasWaldmann 2012-10-07 04:11:35

Specifying a font for a section, a page or a whole wiki

I want to use something like <font face="MS comic sans">blablabla</font> ... Is it doable ? @-- JosefZelhar 2008-12-23 18:11:14@

-- JosefZelhar 2008-12-23 18:14:46

Don't ever use font as html tag.. it is "depraced" and ugly anyway. you could simple write someting like

{{{#!wiki comicfont
blablablabla
}}}

and add then in your common.css or screen.css something like this:

.comicfont {
font-family: "MS comic sans", serif;
}

But be aware using different and non standards fonts is not a good style and maybe also not working with different browser/os.

Add watermark to page and/or load specific css sheet for a single page

I'm trying to find a way to add a watermark (Same as when you hit preview for a draft) to a page using a simple macro or calling a different css sheet that would use an image file in moin directory. I guess implementing the same function as the preview button to a macro would be the simplest and cleanest way to do it, but I don't have any knowledge of how to do it.

Is it possible or do I need to ask for a feature request?

By now I will use the Icon macro and add a banner, at the beginning and at the end of the page, to identify the page as "Work in progress" or whatever.

-- SamRoy 2009-04-16 15:05:28

Why do I have to click twice to download attachments, e.g. pdf?

For attachments that are not (usually) rendered in preview (e.g. pdf) the attachment page shows nothing useful, and can be confusing, because a second click on download is needed to view the image. The reasons for this are in UnifyPagesAndAttachments and the associated Discussion, and one solution is do=get.

[[attachment:my.pdf|my paper|&do=get]]

[[attachment:foo.txt|...|&do=get]]

Recent Performance Issue -- moinmoin's fault or not?

I have been running moinmoin happily for a couple of years for a project that I shut down over the summer. I actually removed the directories from the machine. The other day I restored the directories and started moinmoin up. It seemed to start OK (no error message), but performance is horribly bad. Maybe a minute to load a page (using firefox). And some browsers (chrome) can't access moinmoin at all. I might have messed something up when removing/restoring the installation, but I think it's more likely that some software I installed since I last used moinmoin is getting in the way. Any ideas? -- PaulBerglund 2009-09-14 12:47:08

Which moin version is that?

For a fresh install (empty data/cache/) it can take a while until moin has rebuilt the cache contents. That means that especially the first access or the first backlink search can be rather slow. One should just wait until that access finishes though (and not cancel it), so it can rebuild the cache completely. If you run CGI and it times out, maybe try the standalone server or something else that is a persistent (long running) server (and does not time out).

Also please check whether moin has full permissions (esp. write perms) to everything below the data/ directory.

If that doesn't help, try cleaning the cache and retry.

-- ThomasWaldmann 2009-09-14 17:17:13

It turned out not to be a moin issue. It was firefox. I'd recently upgraded firefox and there must have been a problem with the install. I uninstalled and reinstalled it and now everything is fine. -- PaulBerglund 2009-09-16 18:17:44

What version of MoinMoin is installed on my PC?

Is there an easy way for a user to tell what version of MoinMoin is installed? I cannot find information on the wiki itself ("MoinMoin Powered" but no version information), and MoinMoin.__version__ is not available.

Call the page SystemInfo (example: http://localhost:8080/SystemInfo ) -- MarcelHäfner 2009-12-21 16:08:13

MoinMoin: MoinMoinQuestions/Other (last edited 2012-11-12 09:24:52 by 199-48-195-220)