Fix bug which lead to infinite loop when parsing strings containing $0 (e.g. http://commons.wikimedia.org/wiki/File:Yangzhou_-_supermarket_-_watermelons_-_P1070029.JPG which has

description = "{{en|Watermelons of 3 varieties sold in a Yangzhou supermarket. This is January, so they must have been brought from somewhere like Hainan, and are fairly expensive (4Y, i.e. $0.70, per pound).}}" )

By using str_replace whenever a constant string is being replaced, rather than preg_replace, we avoid using regexp substitution in the replacement string, and the code is also simpler and faster.
Allow strip_tags to strip nested tags such as <b><i>foo</i></b> or even (as occurs in parsed wikitext) <b><i>foo</b></i>. Also strip <br> and <br /> tags (which do not have closing tags).
Change incorrectly marked "static" variables to "private". These are class variables that should contain unique values for each separate instantiated object.

Presumably this is simply a typo and they were meant to be marked "private" originally
The current UTF checking code causes a segfault on some strings. See http://stackoverflow.com/questions/1282986/utf-8-validation-in-php-without-using-preg-match. Replace it with the builtin version.
DATA-1342 University of Capetown Biology Dept. Animal Demography Unit Virtual Museum
Follow-up work on Turbellarian and ADU Virtual Museum (agents).
Follow-up work Rotifers, add furtherInformationURL.
Correct some more variables to private not static
Merge branch 'wikimedia_minor_improvements' into allow_wikimedia_multiple_taxonomies
Merge branch 'wikiparser_preg_bugfix' into allow_wikimedia_multiple_taxonomies
Add multibyte versions of trim & ucfirst
Add new class to allow proper parsing of taxonomy information
Change constructor to deal with badly formatted XML, and also to add timestamp information
use some of the new multibyte functions, also correct a typo for continue
MAJOR changes - start using the new taxonomy class (allows us to identify taxonomic subsets, etc, and hence allow through images with multiple taxa). Also change the template code to pass on info about last updated status, so that potentially we can just check recently changed files or taxonomies
More generic status reporting from routines, with fewer class varibles needed
Allow multiple galleries per file, and use new taxonomy class for taxon parameters
Oops - use newly changed function name
Should no longer need sseparate debug message
A few tidying issues (surplus parameters in functions, error messages, etc)