diff --git a/src/bot.ts b/src/bot.ts index 8dd5781..6731cf3 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -890,7 +890,7 @@ export class Mwn { this.shutoff.state = true; this.disableEmergencyShutoff(); // user callback executed last, so that an error thrown by - // it doesn't prevent the the above from being run + // it doesn't prevent the above from being run this.options.shutoff.onShutoff(text); } }, this.options.shutoff.intervalDuration); @@ -1254,7 +1254,7 @@ export class Mwn { } /** - * Upload an image from a the local disk to the wiki. + * Upload an image from the local disk to the wiki. * If a file with the same name exists, it will be over-written. * @param {string} filepath * @param {string} title diff --git a/src/wikitext.ts b/src/wikitext.ts index bb47a9e..66cc0b8 100644 --- a/src/wikitext.ts +++ b/src/wikitext.ts @@ -29,7 +29,7 @@ export interface MwnWikitextStatic { * 2. It doesn't use any templates to produce any table markup. * 3. Further restrictions may apply. * - * Tables generated via mwn.table() class are intended to be parsable. + * Tables generated via mwn.Table() class are intended to be parsable. * * This method throws when it finds an inconsistency (rather than silently * cause undesired behaviour). @@ -138,7 +138,7 @@ export interface TemplateConfig { */ recursive?: boolean; /** - * Include template in result only if the its name matches this predicate. + * Include template in result only if its name matches this predicate. * More efficient than templatePredicate as the template parameters * aren't parsed if name didn't match. */