Pablo-WMDE added a comment.
On my dev system (somewhat dated https://github.com/addshore/mediawiki-docker-dev/) `apache_request_headers` is not defined https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/05e0582/includes/WebRequest.php#1075 but the alternative code path to determine the headers https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/05e0582/includes/WebRequest.php#1082 (almost) only extracts "HTTP_"-prefixed entries from $_SERVER - content type is not one for them. Consequently, the Content-Type can not be detected and the warning happens https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/05e0582/includes/api/ApiMain.php#1538 Ironically, we knew that once (mind the user name) https://www.php.net/manual/en/reserved.variables.server.php#110763 TASK DETAIL https://phabricator.wikimedia.org/T245535 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Pablo-WMDE Cc: Tonina_Zhelyazkova_WMDE, Michael, Lucas_Werkmeister_WMDE, Aklapper, Pablo-WMDE, Sarai-WMDE, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs