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

--- Comment #2 from Mark A. Hershberger <[email protected]> 2011-11-05 
02:42:30 UTC ---
With the basic config changed to include:

    $wgEnableUploads = true;
    $wgGroupPermissions['*']['upload'] = true;
    $wgGroupPermissions['*']['reupload'] = true;
    $wgGroupPermissions['*']['reupload-shared'] = true;
    $wgGroupPermissions['*']['upload_by_url'] = true;
    $wgAllowCopyUploads = true;

    $wgShowExceptionDetails = true;

Both 1.17 and 1.18 give the following backtrace:

    <?xml version="1.0"?><p>Internal error in ApiFormatXml::recXmlPrint:
(allowed, ...) has integer keys without _element value. Use
ApiResult::setIndexedTagName().</p><p>Backtrace:</p><p>#0
/home/mah/work/code/mediawiki/1.18/phase3/includes/api/ApiBase.php(1241):
wfDebugDieBacktrace('Internal error ...')<br />
    #1
/home/mah/work/code/mediawiki/1.18/phase3/includes/api/ApiFormatXml.php(156):
ApiBase::dieDebug('ApiFormatXml::r...', '(allowed, ...) ...')<br />
    #2
/home/mah/work/code/mediawiki/1.18/phase3/includes/api/ApiFormatXml.php(171):
ApiFormatXml::recXmlPrint('allowed', Array, NULL)<br />
    #3
/home/mah/work/code/mediawiki/1.18/phase3/includes/api/ApiFormatXml.php(171):
ApiFormatXml::recXmlPrint('error', Array, NULL)<br />
    #4
/home/mah/work/code/mediawiki/1.18/phase3/includes/api/ApiFormatXml.php(81):
ApiFormatXml::recXmlPrint('api', Array, NULL, false)<br />
    #5 /home/mah/work/code/mediawiki/1.18/phase3/includes/api/ApiMain.php(722):
ApiFormatXml-&gt;execute()<br />
    #6 /home/mah/work/code/mediawiki/1.18/phase3/includes/api/ApiMain.php(387):
ApiMain-&gt;printResult(true)<br />
    #7 /home/mah/work/code/mediawiki/1.18/phase3/includes/api/ApiMain.php(342):
ApiMain-&gt;executeActionWithErrorHandling()<br />
    #8 /home/mah/work/code/mediawiki/1.18/phase3/api.php(115):
ApiMain-&gt;execute()<br />
    #9 {main}</p>

for the following api request:

 "filename" = robots.txt
 "url"      = http://en.wikipedia.org/robots.txt

-- 
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