Is there a method to embed and execute non-MW PHP within a MediaWiki page? For instance if we want to embed a link-shortening script into a page and run it directly within MediaWiki without having to host separately/externally and embed using an I-frame?
The idea here is that we would like to leverage the existing authentication system of MediaWiki to protect this script, which we’d like only registered users to be able to access.
Looks like there used to be a variety of ways to do this but most of the extensions that once accomplished this task are no longer maintained. Is that because the functionality was built into MW with hooks?
Any ideas appreciated. Thanks!