Mediawiki API notes

From Simson Garfinkel
Jump to navigationJump 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