For those with 2FA accounts, you need to use consumer and access tokens and secrets. There’s a link that points to a registration page for an owner-only consumer and that link is dead. It currently points to https://commons.wikimedia.org/wiki/Special:OAuthConsumerRegistration/propose but that page does not exist any longer. That’s because all Wikimedia projects now use the central Meta-Wiki for OAuth registration. Therefore, the page should link here: https://www.mediawiki.org/wiki/OAuth/Owner-only_consumers