I am working on a client library for the MediaWiki action API and would like to always link the source code of the respective PHP class, so for example:
# https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/includes/api/ApiParamInfo.php
However I would like these links to be less verbose and future proof in the case the code is migrated from Gerrit to GitLab in the future, so I would ask an administrator of this wiki to please create a core
interwiki prefix at Special:Interwiki/add with the Forward flag enabled and the URL https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master$1
, so that I could link PHP classes within MediaWiki core as follows:
# https://mediawiki.org/wiki/core:/includes/api/ApiParamInfo.php
Thank you!