def METHOD_NAME(self, token):
    """
    Fetches the Mediawiki access token.
    """
    auth_token = self.oauth_auth(token)
    response = requests.post(
        url=self.setting("MEDIAWIKI_URL"),
        params={"title": "Special:Oauth/token"},
        auth=auth_token,
    )
    credentials = parse_qs(response.content)
    oauth_token_key = credentials.get(b"oauth_token")[0]
    oauth_token_secret = credentials.get(b"oauth_token_secret")[0]
    oauth_token_key = oauth_token_key.decode()
    oauth_token_secret = oauth_token_secret.decode()
    return {
        "oauth_token": oauth_token_key,
        "oauth_token_secret": oauth_token_secret,
    }