Extension talk:Read Restrict

Good Workaround
I'm wondering if this type of setup could be extended to include 3 or more simultaneous wikis...?

I have never tried. However my interpretation of the documentation  is that it is possible to use more then two. Let us know. -- Suki 02:21, 29 April 2007 (UTC)

extension explained
I am having trouble understanding your instructions, mainly because I do not understand the commands you are using. ie. prompt$ mv config/LcalSettings.php where do I type that? I am trying to figure out a way to do it just by editing files and creating directories in a normal way.


 * Those are Unix style shell commands. They change the permissions of files and directories and move files. In explaining a typical installation for many products the larger user base is running some kind of Unix OS which has a Unix Shell equivalent. Most commands can be translated to a Microsoft variant (DOS Command Line).


 * Without knowing what you consider normal is I cannot postulate what would be the correct instructions for your system. Were you referring to an FTP session? I'll attempt to re-word the commands for what they do so others who do not use a Unix Shell can understand what is happening. I apologize for the vagueness and my assumptions. --Suki 13:09, 10 June 2007 (UTC)

I am trying to understand your directory structure: Bouncingmolar 22:11, 5 May 2007 (UTC)

For clarification: (Suki 13:09, 10 June 2007 (UTC))

Retraction
) is the way allowing wikis to only share same user table. Since each wiki uses different cookies, Logging in one will not log into the other until they share the same cookies. If we want the wikis to use the same cookies, we have to make different wikis use the same site name and database. right?--Roc michael 01:27, 13 May 2007 (UTC)


 * This may very well be true. I know on all the test cases I played with I had both wiki's under the same document root. I did try once to have the two sites on seperate domains and things did work (Don't remember what part didn't; perhaps it was what you described above). --Suki 13:11, 10 June 2007 (UTC)

UserCan Extensions
With the new MediaWiki 1.10 versions the UserCan hook is much more suited for security then the previous versions. And it's use in the case described by the ReadRestrict article could be isolated to not include the Wiki family portion.

It is a good example walk though but I was thinking the actual ReadRestrict.php code could be a separate entity and need not be directly associated the the described Wiki family setup. Thoughts? Suki 17:55, 13 June 2007 (UTC)

500 Server Error
firefox: "A misconfiguration on the server caused a hiccup. Check the server logs, fix the problem, then try again." I get this error when I try to access the wiki_family directory to set up the 2nd wiki. I can't load the installation file. Any ideas? Bouncingmolar 08:12, 16 June 2007 (UTC)


 * I tried copying the index.php from main_wiki/config to the wiki_family/config and i didn't receive the error when I loaded wiki_family/config/index.php . I could then move localsettings.php into the wiki_family directory, however i get the 500 server error again when trying to load wiki_family after that.  My server doesn't like interlinking maybe? Bouncingmolar 08:58, 16 June 2007 (UTC)


 * I also contacted support on my host: "[Thu Jun 14 13:30:12 2007] [error] [client 74.220.195.115] Premature end of script headers:/public_html/wiki_family/index.php. I checked your symlinks and folder permissions. All looked according to the instructions (folders already 755, etc.). I even checked the dB tables to ensure there were no table prefixes. I don't know what the problem is, sorry." Bouncingmolar 09:07, 16 June 2007 (UTC)