molybdenum-99/mediawiktory

Usability: Page class

Closed this issue · 3 comments

Page is one of main concepts in MediaWiki content, and having it as a Hashie is a bit of under-implementation!

For example, page can have shortcut methods like #category?, and can fetch further data transparently: even if only title and id was fetched, Page#wikitext could make more requests through MediaWiktory client and provide data.

Also, Page class should deal with missing and invalid pages!

Principal fix in a260e0b, more shortcuts will be implemented later, and in another tickets.