There are a number of ways to express infinity in MediaWiki APIs/forms ("infinite", "indefinite", "infinity", "never") but it's normalized during input processing and there is no distinction between infinite and indefinite in the business logic and database.