![]() ![]() Languages that support variant conversion include gan, iu, kk, ku, shi, sr, tg, uz, zh. Only works if the wiki's content language supports variant conversion. One value: allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, alltransclusions, backlinks, categories, categorymembers, deletedrevisions, duplicatefiles, embeddedin, exturlusage, fileusage, images, imageusage, iwbacklinks, langbacklinks, links, linkshere, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, redirects, revisions, search, templates, transcludedin, watchlist, watchlistraw redirectsĪutomatically resolve redirects in titles, pageids, and revids, and in pages returned by generator.Ĭonvert titles to other variants if necessary. Note: Generator parameter names must be prefixed with a "g", see examples. ![]() Get the list of pages to work on by executing the specified query module. For numerous reasons, I decided to write a script that will automatically export everything using the default export renderer available via the web service. Maximum number of values is 50 (500 for bots). In the future, continue will become the default and this will be needed to receive the raw query-continue data. This parameter is recommended for all new development, and will be made default in the next API version.Ĭurrently ignored. This parameter must be set to an empty string in the initial query. When present, formats query-continue as key-value pairs that should simply be merged into the original request. Whether to get the full URL if the title is an interwiki link. Return the export XML without wrapping it in an XML result (same format as Special:Export). Include an additional pageids section listing all returned page IDs.Įxport the current revisions of all given or generated pages. Values (separate with |): allmessages, filerepoinfo, siteinfo, tokens, userinfo indexpageids Values (separate with |): allcategories, alldeletedrevisions, allfileusages, allimages, alllinks, allpages, allredirects, alltransclusions, allusers, backlinks, blocks, categorymembers, deletedrevs, embeddedin, exturlusage, filearchive, imageusage, iwbacklinks, langbacklinks, logevents, pagepropnames, pageswithprop, prefixsearch, protectedtitles, querypage, random, recentchanges, search, tags, usercontribs, users, watchlist, watchlistraw meta Parsing the output of Special:Allpages Querying the database Step 2: fetching the page data. Values (separate with |): categories, categoryinfo, contributors, deletedrevisions, duplicatefiles, extlinks, fileusage, imageinfo, images, info, iwlinks, langlinks, links, linkshere, pageprops, redirects, revisions, stashimageinfo, templates, transcludedin list Which properties to get for the queried pages. ![]()
0 Comments
Leave a Reply. |