Topic on Project:Support desk

Force minimum MediaWiki version requirement for extension

3
Arms Away (talkcontribs)

Is there a way to force a minimum MediaWiki version required for using an extension? A quick search on extension.json didn't reveal anything. The reason I ask is because I don't really want to be bothered supporting severely outdated and unsupported versions of MediaWiki for an extension I'm working on. Would it be better to just rely on the errors and exceptions it'll throw instead of explicitly trying to filter out old versions of MediaWiki?

Mainframe98 (talkcontribs)

Extension.json has a field where you can specify the minimum version of MediaWiki: Manual:Extension.json/Schema#requires. Don't mind the version requirement for this field, that is related to extension requirements, not MediaWiki itself.

Arms Away (talkcontribs)

Thanks. I'll use that instead.