/etc/mediawiki-extensions/extensions-available/MathCaptcha.php is in mediawiki 1:1.19.14+dfsg-1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/mediawiki/extensions-core/ConfirmEdit/MathCaptcha.php