User

Cewbot

Revision as of 09:28, 27 April 2021 by Kanashimi (talk | contribs) (fix)

Template:Bot Template:Seealso


To create a bot at Lingua Libre using npm - wikiapi:

  1. Create a account at Wikimedia Commons. The account name should includes "bot".
  2. Login Lingua Libre with the account, and browser Special:BotPasswords, create a bot password, e.g., "LinguaLibrebot@LinguaLibrebot".
  3. The code for login:
const wiki = new Wikiapi;
await wiki.login({
	user_name: "LinguaLibrebot@LinguaLibrebot",
	password: 'password given by Lingua Libre',
	API_URL: 'https://lingualibre.org/api.php'
});
  1. The userland will with the prefix "User:LinguaLibrebot".