The OAuth extension requires version 7.4 of php to install successfully on mediawiki, but the mw cli image used comes with php version 7.3. OAuth seems like a popular enough extension where it may be worthwhile to use the newest php image.
Description
Description
Event Timeline
Comment Actions
I don't know how to determine which image will be used, but customizing seems to be possible according to this section on the wiki.
mw docker env set MEDIAWIKI_IMAGE docker-registry.wikimedia.org/dev/buster-php74-fpm:1.0.0 mw docker mediawiki create