Last modified: 2014-02-07 16:21:02 UTC
In action=parse, the documentation states that "contentmodel - Content model of the input text. Default is the model of the specified title, or wikitext if title is not specified" long ago. However, https://git.wikimedia.org/commitdiff/mediawiki%2Fcore.git/1104392eba1b7701582054fed11d353868614d62 discourages doing so by showing a warning that there should be a contentmodel if title is not specified. Hence, now the code and the documentation are inconsistent. To make them consistent, either suppressing the warning or changing the documentation to discourage input without contentmodel must be done. I don't know, though, that which way is better.
Latter.
Change 108307 had a related patch set uploaded by Nullzero: Update documentation and suppress warning when parsing summary https://gerrit.wikimedia.org/r/108307
Change 108307 merged by jenkins-bot: API: update documentation and suppress warning when parsing summary https://gerrit.wikimedia.org/r/108307
Should be deployed to WMF wikis with 1.23wmf14, see https://www.mediawiki.org/wiki/MediaWiki_1.23/Roadmap for the schedule.