store previous title when extracting
When extracting text, the previous title should be extracted too. This is because we want to query the database later for certain text passages. We do not just want to be taken to the given page but to the correct paragraph too. With the title «the number two» for example, we automatically receive a MediaWiki anchor:
http://mispar.ethz.ch/wiki/Anonymous#the_number_two
Of course, it would be nice to have the corresponding text being highlighted too. This could be achieved by adding additional information in the URL:
http://mispar.ethz.ch/wiki/Anonymous#the_number_two?annotated_text=מעריכת אחד
and then use the rendering hook to find that text passage and highlight it.