According to the extension´s documentation, it should run on Windows, can anyone confirm that?
Apache Error.log message: fwrite(): Write of 17 bytes failed with errno=22 Invalid argument in C:\\xampp\\htdocs\\wiki\\includes\\shell\\Command.php
(Unfortunately, I get no other messages even with more debug options on)
- MediaWiki: 1.35.3
- Windows 10 64bit
- Python 3.11 and Pygments package installed
There are several hack suggestions in the talk pages: Topic:Vibz8ak3wnpu9mv8, Topic:V4n3pjg78pvmh12n (no temp out files created), Topic:Ugtwpe4lyuly6q98. None of them helped me so far.
I also found this entry: https://phabricator.wikimedia.org/T199989
After editing Command.php
with the proposed patch (https://gerrit.wikimedia.org/r/c/mediawiki/core/+/762736/4/includes/shell/Command.php), the extension works. However, I would prefer a proper solution without hacking the MediaWiki core.