Apparently, the parser needs database access to handle local links using
a LinkHolderArray. This fails in the "databaseless" test run performed by jenkins.
Change-Id: I7f242abea0c25c07638b4bca4a6732289a3a7e91
This merges the latest core patch into the Wikidata branch,
implementing suggestions collected on gerrit. Most importantly:
* Methods in the Content class no longer rely on a IContextSource
* createArticle and createEditPage were removed from Contenthandler
Representing content_model and content_format as integers in the
database was suggested by Asher mainly to save space.
This change entails some refactoring and renaming, but no big
change in logic.