Jump to content

Wikia code/includes/api/ApiQuerySiteinfo.php

From mediawiki.org
--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\includes\api\ApiQuerySiteinfo.php	2011-07-18 22:31:06.987304700 +0100
+++ D:\Programming\SVN\wikia\trunk\includes\api\ApiQuerySiteinfo.php	2011-08-17 15:28:14.202148400 +0100
@@ -87,8 +88,11 @@
 					$fit = $this->appendLanguages( $p );
 					break;
 				default :
+					wfRunHooks( 'UseExternalQuerySiteInfo', array(&$this) );
+					if ( !isset($this->noErrors) ) { 
 					ApiBase :: dieDebug( __METHOD__, "Unknown prop=$p" );
 			}
+			}
 			if ( !$fit )
 			{
 				// Abuse siprop as a query-continue parameter