Skip to content

Commit

Permalink
Renaming function getPagesTranscludedBy() -> getPagesTranscluding()
Browse files Browse the repository at this point in the history
  • Loading branch information
ValentinBrclz committed Jan 14, 2016
1 parent 979b182 commit 34d40c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -165,7 +165,7 @@ Gets the list of pages in a given namespace - [read more](http://www.mediawiki.o

Gets the list of pages by a given prefix - [read more](https://www.mediawiki.org/wiki/API:Allpages)

### bot.getPagesTranscludedBy(page, callback)
### bot.getPagesTranscluding(page, callback)

Gets the list of pages that transclude the given pages - [read more](https://www.mediawiki.org/wiki/API:Transcludedin)

Expand Down
2 changes: 1 addition & 1 deletion lib/bot.js
Expand Up @@ -300,7 +300,7 @@ module.exports = (function() {
});
},

getPagesTranscludedBy: function (template, callback) {
getPagesTranscluding: function (template, callback) {
this.log("Getting pages from " + template + "...");

this.getAll(
Expand Down

0 comments on commit 34d40c0

Please sign in to comment.