Steps to replicate the issue (include links if applicable):
- Open the Details modal on Lingua Libre, WikiLex, Crystal Pool, https://reprexbase.eu/textilebase, https://reprexbase.eu/skcmdb, WikiHum, ScoutMedia
- Observe lack of displayed Action API
What happens?:
Action API does not appear
What should have happened instead?:
For the above wikibases, the scriptPath is empty, which is a valid case; the action api is then [base_url]/api.php. Somewhere in the logic, an empty string is treated like a null string, and not displayed
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):