We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When you try to edit a page using the MBbot library, you encounter an editing error. Using your code:
const MWBot = require('mwbot'); let bot = new MWBot(); bot.loginGetEditToken({ apiUrl: "???", username: my.username, password: my.password }).then(() => { return bot.edit('Test Page', '=Some more Wikitext=', 'Test Upload'); }).then((response) => { // Success }).catch((err) => { // Error });
What to specify in parameters: 'content' and 'summary' and 'customRequestOptions'? There are examples? What to use apiUrl?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When you try to edit a page using the MBbot library, you encounter an editing error. Using your code:
const MWBot = require('mwbot');
let bot = new MWBot();
bot.loginGetEditToken({
apiUrl: "???",
username: my.username,
password: my.password
}).then(() => {
return bot.edit('Test Page', '=Some more Wikitext=', 'Test Upload');
}).then((response) => {
// Success
}).catch((err) => {
// Error
});
What to specify in parameters: 'content' and 'summary' and 'customRequestOptions'?
There are examples?
What to use apiUrl?
The text was updated successfully, but these errors were encountered: