User:Mpradeep/monobook.js

importScript('User:Conrad.Irwin/Api.js'); var localApi = JsMwApi; localApi({action: "query", prop: "info", titles: "Alphabet"}, function (res){    for(var page in res.query.pages)        alert(res.query.pages[page].title); });