Skip to content

Commit

Permalink
fix typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthvp committed Nov 13, 2024
1 parent 464d05f commit aca24c7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/wikitext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down Expand Up @@ -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.
*/
Expand Down

0 comments on commit aca24c7

Please sign in to comment.