MediaWiki API result
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_DBQueryError", "info": "[e34624dd] Exception Caught: A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script\nQuery: SELECT tl_from AS pl_from,tl_namespace AS pl_namespace,tl_title AS pl_title FROM `templatelinks` FORCE INDEX (tl_from) WHERE tl_from = '1' ORDER BY tl_namespace,tl_title LIMIT 11 \nFunction: ApiQueryLinks::run\nError: 1176 Key 'tl_from' doesn't exist in table 'templatelinks' (localhost)\n", "*": "#0 /home/badposting/public_html/wiki/includes/db/Database.php(1205): DatabaseBase->reportQueryError(string, integer, string, string, boolean)\n#1 /home/badposting/public_html/wiki/includes/db/Database.php(1726): DatabaseBase->query(string, string)\n#2 /home/badposting/public_html/wiki/includes/api/ApiQueryBase.php(375): DatabaseBase->select(array, array, array, string, array, array)\n#3 /home/badposting/public_html/wiki/includes/api/ApiQueryLinks.php(143): ApiQueryBase->select(string)\n#4 /home/badposting/public_html/wiki/includes/api/ApiQueryLinks.php(61): ApiQueryLinks->run()\n#5 /home/badposting/public_html/wiki/includes/api/ApiQuery.php(286): ApiQueryLinks->execute()\n#6 /home/badposting/public_html/wiki/includes/api/ApiMain.php(1098): ApiQuery->execute()\n#7 /home/badposting/public_html/wiki/includes/api/ApiMain.php(436): ApiMain->executeAction()\n#8 /home/badposting/public_html/wiki/includes/api/ApiMain.php(409): ApiMain->executeActionWithErrorHandling()\n#9 /home/badposting/public_html/wiki/api.php(88): ApiMain->execute()\n#10 {main}" } }