Referring to discussions about this topic
http://lists.wikimedia.org/mailman/htdig/mediawiki-l/2005-October/007450.htm...
I want to have two wikis installed on the one server.
Both will use the same MySQL database, wikidb
Both will have the same database prefix (or both will have NO database prefix).
Both the wikis will have separate virtual paths e.g. /wikiA and /wikiB configured in Apache
I want to configure one (wiki "A") with extra Custom Namespaces (via $wgExtraNamespaces in LocalSettings.php), and limit Apache to serving those pages only to users within a specific in-house IP address block. Consider this to be the "Private:" namespace, plus an associateed "Private_Talk:" namespace for discussion pages.
The other wiki (wiki "B") will have just the standard MediaWiki namespaces. This is the "Ordinary user" namespace.
Each wiki will have its own LocalSettings.php to account for this., but all the other files will be shared between the two wikis.
Some questions:
1. Will searches by users on wiki "B" only see articles in the "Ordinary user" namespaces ? Or will it also see the "Private" namespaces too ?
2. What takes precedence: interwiki prefixes or namespace prefixes ? If I set up the interwiki table so that Private: and Private_Talk: redirect to wiki "B"'s http address, will that also affect wiki "A"'s users ?
It seems, perhaps simplistically, to be an easy way of having one set of wiki tables, yet giving some simple security to the "Private" namespaces that wiki "A"'s users can edit and view.
Is this possible ? Or am I miles off track ? Are there any security aspects I didn't consider ?
Cheers
Jason
I thought it was possible to set certain namespaces to be only viewable by certain usergroups (I've no idea how to do it, but I thought it was possible). If that's so, you wouldn't need two instances of MediaWiki at all.
On 09/03/07, Thomas Dalton thomas.dalton@gmail.com wrote:
I thought it was possible to set certain namespaces to be only viewable by certain usergroups (I've no idea how to do it, but I thought it was possible). If that's so, you wouldn't need two instances of MediaWiki at all.
Not in a vanilla MediaWiki installation.
Rob Church
I thought it was possible to set certain namespaces to be only viewable by certain usergroups (I've no idea how to do it, but I thought it was possible). If that's so, you wouldn't need two instances of MediaWiki at all.
Try this: http://meta.wikimedia.org/wiki/Preventing_Access#Setting_permissions_for_a_G...
Unless your users are a lot more disciplined than mine, new page creation will leak across the namespaces.
Actually, what will happen is that everyone in the protected namespaces will create new pages in Main.
Jim ===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
On Mar 9, 2007, at 5:27 PM, Thomas Dalton wrote:
I thought it was possible to set certain namespaces to be only viewable by certain usergroups (I've no idea how to do it, but I thought it was possible). If that's so, you wouldn't need two instances of MediaWiki at all.
Try this: http://meta.wikimedia.org/wiki/ Preventing_Access#Setting_permissions_for_a_Group_on_a_whole_new_Names pace
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
JJArmistead@comcast.net schrieb:
Referring to discussions about this topic
http://lists.wikimedia.org/mailman/htdig/mediawiki-l/2005-October/007450.htm...
I want to have two wikis installed on the one server.
What do you really want? Secure namespaces or the fun of installing multiple wikis?
If you look into secure namespaces, you may look into Extension Lockup, which I tried and was very satisfied.
It depends on the security level you want to achieve. By design, MediaWiki is not build for this and can not be regarded hack proof.
Both will use the same MySQL database, wikidb
Both will have the same database prefix (or both will have NO database prefix).
Both the wikis will have separate virtual paths e.g. /wikiA and /wikiB configured in Apache
I want to configure one (wiki "A") with extra Custom Namespaces (via $wgExtraNamespaces in LocalSettings.php), and limit Apache to serving those pages only to users within a specific in-house IP address block. Consider this to be the "Private:" namespace, plus an associateed "Private_Talk:" namespace for discussion pages.
The other wiki (wiki "B") will have just the standard MediaWiki namespaces. This is the "Ordinary user" namespace.
Each wiki will have its own LocalSettings.php to account for this., but all the other files will be shared between the two wikis.
Some questions:
- Will searches by users on wiki "B" only see articles in the "Ordinary user" namespaces ? Or will it also see the "Private" namespaces too ?
Since in wiki B the namespace is not configured, the search will not list any results. All database operations require a namespace as key.
If you have Mynamespace:MyArticle in Wiki A, the article will be in the namespace Mynamespace. If you create the same article in Wiki B, it will be an article in the main namespace, called Mynamespace:MyArticle. Thus, even if a user guesses the right name of a protected article, all he can do is create a new one, which is stored differently in the database.
- What takes precedence: interwiki prefixes or namespace prefixes ? If I set up the interwiki table so that Private: and Private_Talk: redirect to wiki "B"'s http address, will that also affect wiki "A"'s users ?
Why don't you just try it out? you basically need to copy the whole sourcefiles of your current wiki, change the script position in the localsettings and comment out or create the extra namespace.
GunterS
mediawiki-l@lists.wikimedia.org