I think the best thing would be to set up 2 seperate wikis to handle
it, with shared uploads, users, etc. See DefaultSettings.php.
You then set up interwiki links between them and make them local
(check the table).
Currently, there is no way to limit access on a namespace level, just
absolute naming of pages. (eg, they can read Main Page, About, and
Contact.)
On 6/24/05, Fernando Carpani <jfklecter(a)yahoo.com> wrote:
We are testing the Mediawiki environment as a
colaboration tool in an investigation group.
We expect to have "public pages" that everyone in the
world can access and, some "private pages" that only
the group members can access.
We make a lot of work trough the local network (a
intranet) but, also we make some work trough internet.
If we made all access trough the central web server,
we are generating an unnecesary load when we work
from the intranet.
In this context, we want two URL to the same wiki
pages:
* one accesible from internet.
* one accesible from intranet.
On 1.4.0, I had working the two URL's but with some
cache problems with the links. This was solved by
providing the same path to the proxy URL and the
internal URL, but I think that may be solved too with
a high value in $wgCacheEpoch (at least in 1.4.5).
To have two URL's, I've made one on a "real"
installation and the other, on a directory which
contains the files of the first level but all sub
directories are symbolic links to the "real"
installation. In this way, I can have different
LocalSettings.php. In each LocalSettings file, I've
defined the $wgServer with the different URL's.
Also, we modified SpecialUserlogin.php in an attempt
to force https ONLY for the login form... I think that
this may be solve using an external authentication
script...(I'm not happy with my solution !!!... but it
was coded in a short time... I expect re-made it in a
better way)
This work fine by a moment... until we move to 1.4.5.
The new release 1.4.5 has a some great improvements
for us, like real custom namespaces and subpages (in
1.4.0 I can't do to work fine...EXUSE MY ENGLISH :-(
).
But in 1.4.5, when return from the login form, the
$wgServer has the value taken from the "real"
installation... I think that in some file in the
includes directory, exists a ../LocalSettings.php
reference but I couldn't find it.
I hope that this may be useful.
FDO.
PD: We think implement a better way to "publish pages"
than the $wgWhiteListRead, in first time using a
"public" namespace... does anyone have a better idea?
Thanks.
-- Jamie
-------------------------------------------------------------------
http://endeavour.zapto.org/astro73/
Thank you to JosephM for inviting me to Gmail!
Have lots of invites. Gmail now has 2GB.