https://bugzilla.wikimedia.org/show_bug.cgi?id=31364

       Web browser: ---
             Bug #: 31364
           Summary: FauxRequest::getRequestURL() not implemented
           Product: MediaWiki
           Version: 1.18
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


When attempting to create a page via the API, something is going wrong. But I
cannot tell what, because when it tries to handle the error MediaWiki
encounters another exception and errors out from that:

MediaWiki internal error.<br />
<br />
Original exception: exception 'MWException' with message
'FauxRequest::getRequestURL() not implemented' in
/usr/local/apache/common-local/php-1.18/includes/WebRequest.php:1106<br />
Stack trace:<br />
#0 /usr/local/apache/common-local/php-1.18/includes/WebRequest.php(1135):
FauxRequest-&gt;notImplemented('FauxRequest::ge...')<br />
#1 /usr/local/apache/common-local/php-1.18/includes/Exception.php(154):
FauxRequest-&gt;getRequestURL()<br />
#2 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(362):
MWException-&gt;getLogMessage()<br />
#3 /usr/local/apache/common-local/php-1.18/includes/api/ApiMain.php(342):
ApiMain-&gt;executeActionWithErrorHandling()<br />
#4 /usr/local/apache/common-local/php-1.18/api.php(115):
ApiMain-&gt;execute()<br />
#5 /usr/local/apache/common-local/live-1.5/api.php(3):
require('/usr/local/apac...')<br />
#6 {main}<br />
<br />
Exception caught inside exception handler: exception 'MWException' with message
'FauxRequest::getRequestURL() not implemented' in
/usr/local/apache/common-local/php-1.18/includes/WebRequest.php:1106<br />
Stack trace:<br />
#0 /usr/local/apache/common-local/php-1.18/includes/WebRequest.php(1135):
FauxRequest-&gt;notImplemented('FauxRequest::ge...')<br />
#1 /usr/local/apache/common-local/php-1.18/includes/Exception.php(154):
FauxRequest-&gt;getRequestURL()<br />
#2 /usr/local/apache/common-local/php-1.18/includes/Exception.php(200):
MWException-&gt;getLogMessage()<br />
#3 /usr/local/apache/common-local/php-1.18/includes/Exception.php(392):
MWException-&gt;report()<br />
#4 /usr/local/apache/common-local/php-1.18/includes/Exception.php(471):
MWExceptionHandler::report(Object(MWException))<br />
#5 [internal function]: MWExceptionHandler::handle(Object(MWException))<br />
#6 {main}<br />


Note that this bug is about the failure to return a sensible error message due
to the 'FauxRequest::getRequestURL() not implemented' exception, not the API
failure that is causing the original error. I'll file a separate bug about that
if/when I figure out what is going on there.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to