contents of the library objects and functions to be used outside situation late august classes page a mediawiki page init page site title the page with title title on wikimedia site site title the name of the page in a form suitable for an interwiki link urlname the name of the page in a form suitable for a url titlewithoutnamespace the name of the page with the namespace part removed section the section of the page the part of the name after ' ' sectionfreetitle the name without the section part aslink the name of the page in the form title or lang title site the wiki this page is in encoding the encoding of the page isautotitle if the title is a well known auto translatable title autoformat returns dictname value where value can be a year date etc and dictname is 'yearbc' 'december' etc iscategory true if the page is a category false otherwise isimage true if the page is an image false otherwise get the text of the page exists true if the page actually exists false otherwise isredirectpage true if the page is a redirect false otherwise isempty true if the page has characters or less content not counting interwiki and category links botmayedit true if bot is allowed to edit page interwiki the interwiki links from the page list of pages categories the categories the page is in list of pages linkedpages the normal pages linked from the page list of pages imagelinks the pictures on the page list of imagepages templates all templates referenced on the page list of strings getredirecttarget the page the page redirects to isdisambig true if the page is a disambiguation page getreferences list of pages linking to the page namespace the namespace in which the page is permalink the url of the permalink of the current version move move the page to another title put newtext saves the page put async newtext queues the page to be saved asynchronously delete deletes the page requires being logged in this loads the page if it has not been loaded before permalink might even reload it if it has been loaded before site a mediawiki site messages there are new messages on the site forcelogin does not continue until the user has logged in to the site geturl retrieve an url from the site mediawiki message key retrieve the text of the mediawiki message with the key key has mediawiki message key true if this site defines a mediawiki message with the key key special pages dynamic pages allpages special allpages newpages special newpages longpages special longpages shortpages special shortpages categories special categories cached pages deadendpages special deadendpages ancientpages special ancientpages lonelypages special lonelypages uncategorizedcategories special uncategorizedcategories uncategorizedpages special uncategorizedpages unusedcategories special unusuedcategories other functions getall load pages via special export setaction text use 'text' instead of wikipedia python library in editsummaries handleargs checks whether text is an argument defined on wikipedia py these are family lang log and others translate xx dict dict is a dictionary giving text depending on language xx is a language returns the text in the most applicable language for the xx wiki setuseragent text sets the string being passed to the http server as the user agent header defaults to 'pywikipediabot ' output text prints the text 'text' in the encoding of the user's console newl