Mediawiki API notes

From Simson Garfinkel
Jump to navigation Jump to search

class Article():

getSection($text,$section) - $text - string to look in; $section - section number
                           - depricated
getTitle() 
clear()
getContent() - does not follow redirects anymore. 
             Article::followContent() - to follow the redirects
 exists() - returns true if page is in database