Short description
On some Wikis, it is convenient to have the user home pages under a common parent prefix so that they do not get mixed up with the other pages. In Moin 1.8 and 1.9, although functions exist to discover the user's home page, there are places where it is assumed that the user's home page is a top-level page having the same name as the username. Attached is a patch for Moin 1.9 and a patch for Moin 1.8 which add support for a homeprefix indicating where all the user home pages live in a Wiki.
Affected areas of the Moin code base also include:
The serveopenid action, which must serve an identity for the user's home page
The autoadmin security policy, which has to recognise the actual home page in order to confer rights (and potentially to create extra subpages)
The MyPages action which must also recognise the actual home page of a user
The MoinMoin.Page.Page class which must advertise an OpenID identity on the correct page, and also invoke the home page creation related to the MyPages action for a missing home page
The patches have been updated to fix the autoadmin policy when installing page packages. -- PaulBoddie 2011-04-18 18:49:37
It looks like a patch connected to FeatureRequests/UserNamespace also tries to solve this problem, although I don't know whether it works with all of the above affected areas. -- PaulBoddie 2011-09-28 22:43:46
I've just uploaded revised versions of the patches to fix a blatant problem with anonymous users. -- PaulBoddie 2011-10-09 18:13:14