diff --git a/README.md b/README.md index 7998cdec..dc1887c4 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/lib/bot.js b/lib/bot.js index 5ce4b279..bac883a6 100644 --- a/lib/bot.js +++ b/lib/bot.js @@ -300,7 +300,7 @@ module.exports = (function() { }); }, - getPagesTranscludedBy: function (template, callback) { + getPagesTranscluding: function (template, callback) { this.log("Getting pages from " + template + "..."); this.getAll(