/var/lib/mediawiki/extensions/Collection is in mediawiki-extensions-collection 3.7.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/share/mediawiki-extensions/collection
/usr/share/mediawiki-extensions/collection