Talk:OD/Wikia

From Organic Design wiki

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)

Files with passwords

Files such as the AdminSettings.php should be handled globally, security is simpler that way too. --Sven 20:45, 8 December 2007 (NZDT)

Selenium testing environment

what we want is a sub domain which constantly runs the latest SVN build, with a set of the latest SVN extensions. Every single SVN extension can then have a suite of Selenium tests, if these all pass in the selenium test envioronment, then the extensions can propogate to the current MediaWiki instances. If they fail information (emails etc) can be given about which ones fail... --Sven 13:29, 21 May 2008 (NZST)