نتیجه ایپیآی مدیاویکی
This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.
See the complete documentation, or the API help for more information.
{
"error": {
"code": "internal_api_error_ArgumentCountError",
"info": "[02b6bfd05c3de6a64beffbf5] Exception caught: Too few arguments to function MediaWiki\\Extension\\Collection\\Specials\\SpecialCollection::addCategoryFromName(), 1 passed in /mediawiki/w/extensions/Collection/includes/Api/ApiAddCategory.php on line 37 and exactly 2 expected",
"errorclass": "ArgumentCountError",
"*": "ArgumentCountError at /mediawiki/w/extensions/Collection/includes/Specials/SpecialCollection.php(796)\nfrom /mediawiki/w/extensions/Collection/includes/Specials/SpecialCollection.php(796)\n#0 /mediawiki/w/extensions/Collection/includes/Api/ApiAddCategory.php(37): MediaWiki\\Extension\\Collection\\Specials\\SpecialCollection::addCategoryFromName(string)\n#1 /mediawiki/w/extensions/Collection/includes/Api/ApiCollection.php(73): MediaWiki\\Extension\\Collection\\Api\\ApiAddCategory->execute()\n#2 /mediawiki/w/includes/api/ApiMain.php(1931): MediaWiki\\Extension\\Collection\\Api\\ApiCollection->execute()\n#3 /mediawiki/w/includes/api/ApiMain.php(908): ApiMain->executeAction()\n#4 /mediawiki/w/includes/api/ApiMain.php(879): ApiMain->executeActionWithErrorHandling()\n#5 /mediawiki/w/api.php(95): ApiMain->execute()\n#6 /mediawiki/w/api.php(48): wfApiMain()\n#7 {main}"
}
}