Wikia code/api.php

From mediawiki.org

One of the changes (which showed up in two spots because it was some moved code) is already in core.

Another change involved removing 'wgHideAPI' variable from Wikia's codebase (it wasn't used for anything).

--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\api.php	2011-07-18 22:35:03.421875000 +0100
+++ D:\Programming\SVN\wikia\trunk\api.php	2011-08-17 15:04:57.504882800 +0100
+// Wikia change
+if (function_exists('newrelic_background_job')) {
+	newrelic_background_job(true);
+}
 
 // Set a dummy $wgTitle, because $wgTitle == null breaks various things
 // In a perfect world this wouldn't be necessary