The MediaWiki API has two modes of obtaining API parameter information.
The 'old way' was deprecated in WM API version '1.25wmf4' , forcing the dev team to write code to support the new mode, and make that the default for 1.25wmf4+
The test api_tests.TestParamInfo currently runs the 'new mode' tests against any wiki. We need to determine when the new mode was first added to the API, and not run this test for wikis that do not support it.
And, the documentation should be updated with information about the two modes and which versions use which modes: https://www.mediawiki.org/wiki/API:Parameter_information