Talk:Repository

Error enabling ArticleComments extension
Hi,

It's the very first time that I try to enable any MediaWiki extension made by wikia in a private setup and I, as expected, got an error.

As a result of  I got

I'm running a clean setup of MediaWiki 1.19.1 on a bitnami virtual machine.

Maybe the error is related to the custom core changes on MediaWiki made by wikia?

Best, 555 04:02, July 1, 2012 (UTC)
 * Hi, Wikia has its own custom MW framework, Nirvana, as well as several other changes. Try downloading the contents of https://github.com/Wikia/app/tree/dev/includes/wikia into a folder named  in your installation's   folder. TK-999 (talk) 20:17, October 1, 2013 (UTC)

Installing public Wikia code
Hi,

I want to install Wikia. Redirected to the setup on: http://localhost/wikia/mw-config/index.php ...I get the following output: Error, Setup.php must be included from the file scope, after DefaultSettings.php Is there any help availabel to solve this problem? Samual3 (talk) 20:02, October 1, 2013 (UTC)
 * Place  somewhere before line 174 in  . TK-999 (talk) 20:17, October 1, 2013 (UTC)

Example LocalSettings.php
Hello,

is there any example of the LocalSettings.php of Wikia and its extension available? Samual3 (talk) 20:11, October 1, 2013 (UTC)
 * Not that I'm aware of TK-999 (talk) 20:17, October 1, 2013 (UTC)


 * Let's say we want to install a specific extension form the Wikia repo. Is there a way to determine the necessary wg-variables and could we be sure that database changes for the extension will be handled over "/maintenance/update.php"?  Samual3 (talk) 21:59, October 1, 2013 (UTC)
 * I believe most Wikia extensions are self-contained (except for Wikia-specific includes as outlined above), so theoretically stuff should work. TK-999 (talk) 20:41, October 1, 2013 (UTC)


 * Thank you for reply...any suggestions to this:


 * Mediawiki tried to access the database via wfGetDB. This is not allowed.

Samual3 (talk) 21:59, October 1, 2013 (UTC)



Some Contributions
Currently the code from the public Wikia repo is not installable.This makes it  inmpossible for external developers to contribute. I could locate the following bugs, invalid PHP codings, hard coded references and notices:

PHP Parse error:  syntax error, unexpected '[' in   C:\\xampp\\htdocs\\ImproveWikia\\includes\\Title.php on line 2015, referer: http://localhost/ImproveWikia/

PHP Warning:  include_once(/usr/wikia/deploy/code/src/wgCacheBuster.php) [function.include-once]: failed to open stream: No such file or directory in C:\\xampp\\htdocs\\ImproveWikia\\includes\\wikia\\wgCacheBuster.php on line 16, referer: http://localhost/ImproveWikia/

PHP Warning:  include_once [function.include]: Failed opening '/usr/wikia/deploy/code/src/wgCacheBuster.php' for inclusion (include_path='.;C:\\xampp\\php\\PEAR') in C:\\xampp\\htdocs\\ImproveWikia\\includes\\wikia\\wgCacheBuster.php on line 16, referer: http://localhost/ImproveWikia/

PHP Notice:  Undefined variable: wgEnableSelenium in C:\\xampp\\htdocs\\wikia\\includes\\WebStart.php on line 144, referer: http://localhost/wikia/

PHP  Notice:  Undefined variable: wgCacheBuster in C:\\xampp\\htdocs\\wikia\\includes\\wikia\\DefaultSettings.php on line 24, referer: http://localhost/wikia/ ...Alfter fixing the above, $wgShowExceptionDetails = true; outputs: Mediawiki tried to access the database via wfGetDB. This is not allowed.



Are there any suggestions available to solve this problems?

I use Linux as well as Windows. Samual3 ( talk ) 23:20, October 1, 2013 (UTC)