Difference between revisions of "Talk:OD/Wikia"

From Organic Design wiki
(from freg, author of farmer)
(comments)
Line 2: Line 2:
  
 
Regarding to how you can host multiple sites, you can override the function that is used to figure out the profile/site to load based on environment variables (like the server and URL in $_SERVER).  Regarding sharing between sites, I'm not sure how feasible that is.  The last time I checked, MediaWiki wasn't too supportive of shared content or multiple installs running from the same code base.
 
Regarding to how you can host multiple sites, you can override the function that is used to figure out the profile/site to load based on environment variables (like the server and URL in $_SERVER).  Regarding sharing between sites, I'm not sure how feasible that is.  The last time I checked, MediaWiki wasn't too supportive of shared content or multiple installs running from the same code base.
 
+
:I haven't had any problems running multiple installs off the same codebase. in fact it's common practice across many PHP web apps. I thought the shared DB tables was a bit risky though, and would not be implementing that in OD/Wikia. Shared images is no problem and is supported natively. --[[User:Nad|Nad]] 10:36, 2 August 2007 (NZST)
 
Finally, I have given up on MediaWiki development for multiple reasons, including dissatisfaction with development practices and employment that severely frowns upon me doing anything with open source.  I wish I could help, but I can't.  I committed Farmer to the MediaWiki Subversion repository because the MediaWiki guys were excited about it.  Perhaps you could rekindle interest in the extension on the MediaWiki mailing lists.
 
Finally, I have given up on MediaWiki development for multiple reasons, including dissatisfaction with development practices and employment that severely frowns upon me doing anything with open source.  I wish I could help, but I can't.  I committed Farmer to the MediaWiki Subversion repository because the MediaWiki guys were excited about it.  Perhaps you could rekindle interest in the extension on the MediaWiki mailing lists.
 +
:That's disgusting and he should get another job! --[[User:Nad|Nad]] 10:36, 2 August 2007 (NZST)
 
----
 
----
  

Revision as of 22:36, 1 August 2007

The Farmer extension was developed as a proof-of-concept and was never completely to the level desired. However, it did work, although crudely.

Regarding to how you can host multiple sites, you can override the function that is used to figure out the profile/site to load based on environment variables (like the server and URL in $_SERVER). Regarding sharing between sites, I'm not sure how feasible that is. The last time I checked, MediaWiki wasn't too supportive of shared content or multiple installs running from the same code base.

I haven't had any problems running multiple installs off the same codebase. in fact it's common practice across many PHP web apps. I thought the shared DB tables was a bit risky though, and would not be implementing that in OD/Wikia. Shared images is no problem and is supported natively. --Nad 10:36, 2 August 2007 (NZST)

Finally, I have given up on MediaWiki development for multiple reasons, including dissatisfaction with development practices and employment that severely frowns upon me doing anything with open source. I wish I could help, but I can't. I committed Farmer to the MediaWiki Subversion repository because the MediaWiki guys were excited about it. Perhaps you could rekindle interest in the extension on the MediaWiki mailing lists.

That's disgusting and he should get another job! --Nad 10:36, 2 August 2007 (NZST)

In LocalSettings.php: <bash> include("extensions/GeSHiCodeTag/GeSHiCodeTag.php"); </bash> In geSHiCodeTag.php: <bash> include("extensions/geshi/geshi.php"); $languagesPath = "extensions/geshi/geshi"; </bash>

<bash> extensions/GeSHiCodeTag-1.0.0/GeSHiCodeTag.php extensions/GeSHiCodeTag -> GeSHiCodeTag-1.0.0 extensions/GeSHi-1.0.7.19/geshi extensions/GeSHi-1.0.7.20/geshi extensions/geshi -> GeSHi-1.0.7.20 </bash>

The only hassle with this is that GeSHi-1.0.7.20 physically unbundles to <bash> ./geshi/geshi/ </bash> and we want to make a sim link to geshi so we have to rename the directory structure. <bash>

  1. In the extensions directory:

tar -zxvf GeSHi-1.0.7.20.tar.gz mv geshi GeSHi-1.0.7.20 ln -s GeSHi-1.0.7.20 geshi </bash> --Sven 08:41, 2 July 2007 (NZST)