I\'m using Python wikipedia library to obtain the list of the categories of a page. I saw it\'s a wrapper of MediaWiki API.
Anyway I\'m wondering how