Wikia code/includes/AjaxDispatcher.php
< Wikia code | includes
This page is obsolete. It is being retained for archival purposes. It may document extensions or features that are obsolete and/or no longer supported. Do not rely on the information here being up-to-date. The information shown below refers to the now unmaintained 1.16 MediaWiki release. The current stable release number is 1.42.3. |
--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\includes\AjaxDispatcher.php 2011-07-18 22:31:28.074218800 +0100
+++ D:\Programming\SVN\wikia\trunk\includes\AjaxDispatcher.php 2011-08-17 15:28:46.435546900 +0100
@@ -107,7 +107,11 @@
. $this->func_name . "(" . var_export( $this->args, true ) . "): "
. "no data returned\n" );
- wfHttpError( 500, 'Internal Error',
+ /* Wikia changes start */
+ //let's avoid falling back to Iowa (500, 503) in this case,
+ //probably someone is asking for a non-existing dynamic method name
+ wfHttpError( 501, 'Not Implemented',
+ /* Wikia changes end */
"{$this->func_name} returned no data" );
}
else {