The Wikimedia Foundation suffered a security incident today after a self-propagating JavaScript worm began vandalizing pages and modifying user scripts across multiple wikis.
This library has been tested on a limited set of documents. It is highly likely that documents exist this from which the library, in its current state, cannot extract text.